/* ============================================================
   Anrix — Marketing Site Design System
   "Precision Light": paper ground, ink text, restrained deep-teal,
   hairline rules, monospace data. Enterprise / engineering-tool.
   ============================================================ */

:root {
  /* Brand — deep teal, used with restraint */
  --brand: #0E6E5C;
  --brand-2: #0B5A4B;
  --brand-3: #0E6E5C;
  --brand-hover: #0B5A4B;
  --brand-soft: rgba(14, 110, 92, .08);
  --brand-ring: rgba(14, 110, 92, .26);
  --accent: #0E6E5C;
  --accent-2: #0E6E5C;

  /* Paper surfaces */
  --bg: #FAFAF9;
  --bg-2: #F3F2EE;
  --surface: #FFFFFF;
  --surface-2: #FAFAF9;
  --surface-3: #F3F2EE;
  --elev: rgba(16, 18, 28, .015);

  /* Ink on paper */
  --ink: #16181C;
  --ink-2: #33363D;
  --muted: #6B6E76;
  --faint: #9A9DA4;

  /* Hairlines */
  --border: #E7E5DF;
  --border-strong: #D8D5CD;

  /* Status */
  --success: #0E7A54;
  --danger: #B4402E;
  --warning: #A9791A;

  /* Radii — tight, precise */
  --r-sm: 6px; --r: 8px; --r-md: 12px; --r-lg: 16px; --r-full: 999px;

  /* Shadows — soft, subtle (no glow) */
  --shadow: 0 1px 2px rgba(16, 18, 28, .04), 0 4px 14px rgba(16, 18, 28, .045);
  --shadow-lg: 0 2px 4px rgba(16, 18, 28, .04), 0 18px 44px rgba(16, 18, 28, .07);
  --glow: none;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .18s var(--ease);

  /* Layout */
  --maxw: 1140px;
  --nav-h: 66px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background field */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 50% -12%, rgba(14, 110, 92, .05), transparent 62%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(16, 18, 28, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 28, .022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(1200px 680px at 50% -6%, #000 26%, transparent 72%);
  -webkit-mask-image: radial-gradient(1200px 680px at 50% -6%, #000 26%, transparent 72%);
  pointer-events: none;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand-3); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }

::selection { background: var(--brand-soft); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-3);
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--brand-soft); border: 1px solid var(--border-strong);
}
.eyebrow i { font-size: 12px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 18px 0 14px; color: var(--ink); }
.section-head p { font-size: 18px; color: var(--muted); }

.lead { font-size: 19px; color: var(--ink-2); }
.text-grad { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r);
  font-size: 15.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
}
.btn i { font-size: 14px; }
.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 1px 2px rgba(14,110,92,.28);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; background: var(--brand-hover); box-shadow: 0 4px 14px rgba(14,110,92,.26); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-1px); color: var(--brand); background: var(--surface); border-color: var(--brand); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-ring); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250, 250, 249, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled { border-bottom-color: var(--border-strong); background: rgba(250, 250, 249, .92); }
.nav .container { display: flex; align-items: center; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .logo {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 16px;
  background: var(--brand);
}
.nav-links {
  display: flex; align-items: center; gap: 2px; white-space: nowrap; margin-left: 12px;
}
.nav-links a { white-space: nowrap; }
@media (max-width: 900px) { .nav-links { display: none; } }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 8px 13px; border-radius: var(--r-sm); }
.nav-links a:hover { color: var(--ink); background: var(--elev); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  background: var(--elev); border: 1px solid var(--border);
}
.lang-btn:hover { color: var(--ink); border-color: var(--border-strong); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t); z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; }
.lang-menu a:hover { background: var(--elev); color: var(--ink); }
.lang-menu a.active { color: var(--brand-3); }
.lang-menu a .tag { margin-left: auto; font-size: 11px; color: var(--faint); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 20px; cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); color: var(--ink); margin: 22px 0 20px; letter-spacing: -.03em; }
.hero p.lead { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 28px; align-items: center; color: var(--muted); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--success); }

/* Platform chips */
.plat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.plat-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--r-full); background: var(--elev); border: 1px solid var(--border);
}
.plat-chip i { color: var(--brand-3); font-size: 15px; }

/* Hero visual: layered protection card */
.hero-visual { position: relative; }
.stack-card {
  position: relative; border-radius: var(--r-lg); padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.stack-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--muted); font-size: 13px; font-family: var(--mono); }
.stack-dots { display: flex; gap: 6px; }
.stack-dots i { width: 11px; height: 11px; border-radius: 50%; background: #33415a; }
.stack-dots i:first-child { background: #f87171; } .stack-dots i:nth-child(2){ background:#fbbf24;} .stack-dots i:nth-child(3){ background:#34d399;}
.layer {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: var(--r);
  background: var(--elev); border: 1px solid var(--border); margin-bottom: 9px;
  animation: floatIn .6s var(--ease) both;
}
.layer:nth-child(2){animation-delay:.05s} .layer:nth-child(3){animation-delay:.1s} .layer:nth-child(4){animation-delay:.15s} .layer:nth-child(5){animation-delay:.2s} .layer:nth-child(6){animation-delay:.25s}
.layer .ic { width: 38px; height: 38px; flex: none; border-radius: 9px; display: grid; place-items: center; font-size: 16px; color: var(--brand); background: var(--brand-soft); }
.layer .ic.c2, .layer .ic.c3, .layer .ic.c4 { background: var(--brand-soft); color: var(--brand); }
.layer .tx { flex: 1; min-width: 0; }
.layer .tx b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.layer .tx span { font-size: 12.5px; color: var(--muted); }
.layer .chk { color: var(--success); font-size: 15px; }
.stack-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.stack-foot b { color: var(--success); }

@keyframes floatIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Marquee / logos strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface-2); }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; padding-block: 26px; }
.strip .lbl { color: var(--faint); font-size: 13px; letter-spacing: .04em; }
.strip .item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.strip .item i { color: var(--brand-3); font-size: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.stat .n { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stat .n .text-grad { display: inline; }
.stat .l { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- Cards / feature grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 26px; border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity var(--t);
  background: radial-gradient(400px 200px at 20% 0%, rgba(14,110,92,.05), transparent 70%); pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card .ic {
  width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; color: var(--brand); margin-bottom: 18px;
  background: var(--brand-soft);
  border: 1px solid var(--border);
}
.card .ic.v2, .card .ic.v3, .card .ic.v4 { background: var(--brand-soft); color: var(--brand); }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--muted); }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.card .tags span { font-size: 12px; color: var(--ink-2); padding: 4px 10px; border-radius: var(--r-full); background: var(--elev); border: 1px solid var(--border); }

/* ---------- Platform matrix ---------- */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pf {
  padding: 28px 20px; border-radius: var(--r-md); text-align: center;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}
.pf:hover { transform: translateY(-4px); border-color: var(--brand); }
.pf .pic { font-size: 34px; color: var(--brand-3); margin-bottom: 14px; }
.pf h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.pf .fmt { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 12px; }
.pf ul { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.pf li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.pf li i { color: var(--success); font-size: 12px; margin-top: 4px; }

/* ---------- Split / feature detail ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); margin: 16px 0 16px; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .fi { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--ink); font-size: 16px; background: var(--brand-soft); border: 1px solid var(--border-strong); color: var(--brand-3); }
.feature-list b { color: var(--ink); display: block; font-size: 15.5px; margin-bottom: 2px; }
.feature-list p { font-size: 14.5px; color: var(--muted); }

.panel {
  border-radius: var(--r-lg); border: 1px solid var(--border-strong); padding: 24px;
  background: linear-gradient(180deg, rgba(18,27,48,.75), rgba(10,16,32,.85)); box-shadow: var(--shadow-lg); position: relative;
}
.code-card { font-family: var(--mono); font-size: 13px; }
.code-card .bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--faint); }
.code-line { padding: 3px 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code-line .k { color: var(--accent-2); } .code-line .s { color: var(--success); } .code-line .c { color: var(--faint); } .code-line .fn { color: var(--brand-3); }

/* device console mock */
.dev-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--elev); border: 1px solid var(--border); margin-bottom: 9px; }
.dev-row .avt { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-3); font-size: 14px; flex: none; }
.dev-row .info { flex: 1; min-width: 0; } .dev-row .info b { color: var(--ink); font-size: 13.5px; display: block; } .dev-row .info span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.badge { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-full); }
.badge.ok { color: var(--success); background: rgba(52,211,153,.12); } .badge.ban { color: var(--danger); background: rgba(248,113,113,.12); } .badge.new { color: var(--brand-3); background: var(--brand-soft); }

/* ---------- Protection layers viz ---------- */
.layers-viz { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.lv {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); position: relative;
}
.lv::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--brand); }
.lv:nth-child(2)::before { background: var(--accent); } .lv:nth-child(3)::before { background: var(--accent-2); } .lv:nth-child(4)::before { background: var(--success); } .lv:nth-child(5)::before { background: var(--warning); }
.lv .ln { font-family: var(--mono); font-size: 13px; color: var(--faint); width: 44px; flex: none; }
.lv .lic { font-size: 22px; color: var(--brand-3); width: 30px; text-align: center; flex: none; }
.lv .lt b { color: var(--ink); font-size: 16px; } .lv .lt p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.cmp thead th { color: var(--muted); font-weight: 600; font-size: 13.5px; background: var(--surface-2); position: sticky; top: 0; }
table.cmp thead th.us { color: var(--ink); }
table.cmp th.us, table.cmp td.us { background: rgba(14,110,92,.06); }
table.cmp thead th.us { background: rgba(14,110,92,.12); box-shadow: inset 0 -2px 0 var(--brand); }
table.cmp tbody th { text-align: left; color: var(--ink); font-weight: 600; }
table.cmp td .y { color: var(--success); } table.cmp td .n { color: var(--faint); } table.cmp td .p { color: var(--warning); }
table.cmp tbody tr:last-child td, table.cmp tbody tr:last-child th { border-bottom: 0; }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.cmp-brand .logo { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: linear-gradient(150deg, var(--brand-2), var(--brand-hover)); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color var(--t); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qi { margin-left: auto; transition: transform var(--t); color: var(--brand-3); }
.faq details[open] summary .qi { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; overflow: hidden;
  background: linear-gradient(150deg, #0E6E5C, #0A4A3E 68%); border: 1px solid transparent; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(255,255,255,.08), transparent 60%); pointer-events: none; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); color: var(--ink); margin-bottom: 16px; position: relative; }
.cta-band p { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: rgba(7,11,22,.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 16px; }
.footer .desc { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer .fcol a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer .fcol a:hover { color: var(--brand-3); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; }
.footer-bottom .soc { display: flex; gap: 10px; }
.footer-bottom .soc a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-2); background: var(--elev); border: 1px solid var(--border); }
.footer-bottom .soc a:hover { color: var(--ink); border-color: var(--brand); }

/* ---------- Translation notice ---------- */
.tbar { background: var(--brand-soft); border-bottom: 1px solid var(--border-strong); color: var(--ink-2); font-size: 13.5px; }
.tbar .container { display: flex; align-items: center; gap: 10px; padding: 9px 24px; justify-content: center; }
.tbar i { color: var(--brand-3); }
.tbar a { font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border-strong); padding: 12px; gap: 2px;
  }
  .nav.menu-open .nav-links a { padding: 12px; }
  .grid-3, .grid-4, .grid-2, .platforms, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
