:root {
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --text: #16151d;
  --muted: #5b5a6b;
  --line: #e6e5ef;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --accent: #f59e0b;
  --card: #ffffff;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e15;
    --bg-soft: #16151f;
    --text: #ecebf5;
    --muted: #a3a1b8;
    --line: #2a2838;
    --brand: #8b85ff;
    --brand-2: #a78bfa;
    --card: #17161f;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand span small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: -4px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.12; margin: 18px 0 18px; letter-spacing: -.02em; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--text); }
.btn:hover { text-decoration: none; border-color: var(--brand); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.product { display: flex; flex-direction: column; gap: 14px; }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.product .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; }
.product .link { margin-top: auto; font-weight: 600; }
.i-kardoh { background: linear-gradient(135deg, #f97316, #ef4444); }
.i-djr { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.i-gad { background: linear-gradient(135deg, #10b981, #84cc16); }

.num { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .08em; }

/* Company details */
.details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.facts { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { color: var(--muted); font-weight: 500; width: 40%; }
.facts td { font-weight: 600; word-break: break-word; }

/* Legal pages */
.legal { padding: 56px 0 80px; max-width: 760px; }
.legal h1 { font-size: 34px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer strong { color: var(--text); }
.site-footer p { margin: 4px 0; }
.site-footer .links { display: flex; gap: 18px; }
.site-footer .links a { color: var(--muted); }

@media (max-width: 760px) {
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
  .details { grid-template-columns: 1fr; }
  .facts th { width: 38%; }
}
