/* ---------- Tokens ---------- */
:root {
  /* Colours follow the app icon: a slate-to-night tile (--night-top/--night) with a white plane and a pale yellow
     speed trail (--trail), on cool slate neutrals. --brand is the "jet" blue used for links and highlights. */
  --bg: #f8fafc;
  --bg-raised: #f1f5f9;
  --bg-card: #ffffff;
  --bg-band: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;
  --night-top: #334155;
  --night: #0b1120;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-text: #1d4ed8;          /* blue that's readable as text on a light background */
  --brand-on-dark: #93c5fd;       /* the same blue, readable on the dark code panels */
  --brand-soft: rgba(37, 99, 235, 0.08);
  --trail: #fef08a;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-big: 0 30px 80px -30px rgba(15, 23, 42, 0.35);
  /* Code panels and the terminal stay dark: the icon's night colour */
  --code-bg: #0f172a;
  --code-head: #162033;
  --code-border: #26334a;
  --code-text: #e2e8f0;
  --code-faint: #8592a8;
  --ok: #4ade80;
  --fail: #f87171;
  --syn-method: #fef08a;
  --syn-var: #f0abfc;
  --syn-comment: #8592a8;
  --syn-directive: #a78bfa;
  --syn-header: #7dd3fc;
  --syn-string: #86efac;
  --syn-number: #fca5a5;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code, pre, kbd { font-family: var(--mono); }
p code, li code, td code {
  font-size: 0.86em;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
}
kbd {
  font-size: 0.8em;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.1em 0.45em;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.94rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; background: var(--bg-card); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: var(--radius-sm); width: 40px; height: 40px; cursor: pointer;
}
.nav-toggle svg { margin: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 0.96rem;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
/* The icon's tile: slate to night, with a faint light rim. */
.btn-primary {
  background: linear-gradient(180deg, var(--night-top), var(--night));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 8px 22px -10px rgba(11,17,32,0.65);
}
.btn-primary:hover { background: linear-gradient(180deg, #475569, #111827); }
.btn-secondary { background: var(--bg-card); border-color: var(--border-strong); color: var(--text); box-shadow: 0 1px 2px rgba(15,23,42,0.05); }
.btn-secondary:hover { border-color: var(--text-faint); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; border-radius: 8px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(37,99,235,0.13), transparent 70%),
    radial-gradient(ellipse 35% 40% at 80% 10%, rgba(250,224,71,0.22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.7;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%);
}
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--brand-text);
  background: var(--brand-soft); border: 1px solid rgba(37,99,235,0.3);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.06; letter-spacing: -0.035em;
  margin: 0 0 22px; font-weight: 800;
}
.gradient-text {
  background: linear-gradient(100deg, var(--night-top), var(--brand-strong) 55%, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 680px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 0.86rem; color: var(--text-faint); }
.hero-meta a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Screenshots ---------- */
.mock-titlebar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--code-border); background: var(--code-head); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.mock-titlebar .mock-title { margin: 0 auto; font-size: 0.78rem; color: var(--code-faint); padding-right: 50px; }

.hero-shot { position: relative; margin: 64px auto 0; max-width: 1120px; text-align: center; }
.hero-shot img, .gallery-frame img {
  width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-big), 0 -20px 80px -40px rgba(37,99,235,0.25);
}
.theme-switch {
  display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 14px;
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 9px;
}
.theme-switch button, .gallery-tabs button {
  font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--text-muted);
  background: none; border: 0; border-radius: 7px; padding: 6px 14px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.theme-switch button:hover, .gallery-tabs button:hover { color: var(--text); }
.theme-switch button.on, .gallery-tabs button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand-text); }

.gallery { max-width: 1120px; margin: 0 auto; }
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.gallery-tabs button { border: 1px solid var(--border); background: var(--bg-card); padding: 8px 16px; }
.gallery-tabs button[aria-selected="true"] { border-color: rgba(37,99,235,0.45); }
.gallery-frame { margin: 0; }
.gallery-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-frame figcaption { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-top: 18px; }

.lightbox { border: 0; padding: 0; background: none; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 23, 42, 0.82); backdrop-filter: blur(4px); }
.lightbox img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 10px; display: block; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-strong); color: var(--text); cursor: pointer; font-size: 0.95rem;
}

/* Syntax colours (inside the dark code panels) */
.c { color: var(--syn-comment); } .d { color: var(--syn-directive); } .k { color: var(--syn-method); font-weight: 600; }
.v { color: var(--syn-var); } .h { color: var(--syn-header); } .s { color: var(--syn-string); } .n { color: var(--syn-number); }
.p { color: var(--brand-on-dark); user-select: none; } .ok { color: var(--ok); } .x { color: var(--fail); } .dim { color: var(--code-faint); }

/* ---------- Logos strip ---------- */
.compat { padding: 28px 0 8px; text-align: center; }
.compat p { color: var(--text-faint); font-size: 0.86rem; margin: 0 0 14px; }
.compat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; color: var(--text-muted); font-weight: 600; font-size: 0.98rem; }

/* ---------- Sections ---------- */
section.block { padding: 104px 0; }
section.block.alt { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-text); margin: 0 0 12px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 16px; font-weight: 750; }
h3 { font-size: 1.12rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; }
.split > div > p { color: var(--text-muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-muted); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d4ed8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks strong { color: var(--text); font-weight: 600; }

/* Code panel */
.code-panel { background: var(--code-bg); color: var(--code-text); border: 1px solid var(--code-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-big); min-width: 0; }
.code-panel-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--code-border); background: var(--code-head); font-size: 0.8rem; color: var(--code-faint); font-family: var(--mono); }
.code-panel-head .file-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--trail); }
.code-panel pre { margin: 0; padding: 18px 20px; font-size: 0.82rem; line-height: 1.75; overflow-x: auto; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 14px 34px -16px rgba(15,23,42,0.2); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand-strong); border: 1px solid rgba(37,99,235,0.25);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 0.74rem; font-weight: 500; color: var(--text-muted); background: var(--bg-raised); border: 1px solid var(--border); padding: 2px 9px; border-radius: 999px; }

/* ---------- Terminal ---------- */
.terminal { background: var(--night); color: var(--code-text); border: 1px solid var(--code-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-big); min-width: 0; }
.terminal pre { margin: 0; padding: 20px; font-size: 0.8rem; line-height: 1.8; overflow-x: auto; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillar h3 { display: flex; align-items: center; gap: 10px; }
.pillar h3 svg { width: 20px; height: 20px; color: var(--brand-strong); flex: none; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid rgba(37,99,235,0.3); border-radius: 22px; padding: 72px 32px;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(37,99,235,0.14), transparent 70%), var(--bg-card);
  box-shadow: var(--shadow-card);
}
.cta-band img { width: 64px; height: 64px; margin: 0 auto 22px; }
.cta-band p { color: var(--text-muted); font-size: 1.08rem; margin: 0 auto 32px; max-width: 560px; }
.os-row { display: flex; justify-content: center; gap: 28px; margin-top: 26px; color: var(--text-faint); font-size: 0.88rem; flex-wrap: wrap; }
.os-row span { display: inline-flex; align-items: center; gap: 7px; }
.os-row svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; margin-top: 104px; color: var(--text-faint); font-size: 0.88rem; }
.footer-inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-inner .brand { font-size: 1rem; color: var(--text-muted); }
.footer-inner .brand img { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ---------- Downloads page ---------- */
.page-hero { padding: 80px 0 24px; text-align: center; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: -160px 0 auto; height: 520px; z-index: -1;
  background: radial-gradient(ellipse 45% 50% at 50% 30%, rgba(37,99,235,0.13), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; }
.page-hero .lead { margin-bottom: 18px; }
.release-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; color: var(--text-muted); }
.release-line .ver { font-family: var(--mono); font-weight: 600; color: var(--text); background: var(--bg-card); border: 1px solid var(--border-strong); padding: 3px 10px; border-radius: 7px; }
.release-line a { color: var(--brand-text); font-weight: 500; }
.release-line a:hover { text-decoration: underline; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.platform {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.platform.recommended { border-color: rgba(37,99,235,0.55); box-shadow: 0 0 0 1px rgba(37,99,235,0.25), 0 30px 70px -35px rgba(37,99,235,0.45); }
.platform .badge {
  position: absolute; top: -12px; left: 28px; display: none;
  font-size: 0.74rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--night-top), var(--night)); padding: 3px 11px; border-radius: 999px;
}
.platform.recommended .badge { display: inline-block; }
.platform-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.platform-head svg { width: 34px; height: 34px; color: var(--text); flex: none; }
.platform-head h2 { font-size: 1.45rem; margin: 0; }
.platform .req { color: var(--text-faint); font-size: 0.86rem; margin: 0 0 22px; }
.platform .btn-primary { width: 100%; }
.platform .store-option .btn { width: 100%; }
.platform .store-option code { font-size: 0.95em; white-space: nowrap; }
.platform .primary-note { font-size: 0.8rem; color: var(--text-faint); text-align: center; margin: 9px 0 20px; min-height: 1.3em; }
.alt-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; gap: 4px; }
.alt-list li a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
  font-size: 0.9rem; color: var(--text-muted); transition: background 0.15s, color 0.15s;
}
.alt-list li a:hover { background: var(--bg-raised); color: var(--text); }
.alt-list li a svg { width: 16px; height: 16px; flex: none; color: var(--text-faint); }
.alt-list .what { flex: 1; min-width: 0; }
.alt-list .fmt { font-family: var(--mono); font-size: 0.74rem; color: var(--text-faint); white-space: nowrap; }
.alt-group { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin: 10px 0 2px; font-weight: 600; }
.alt-group:first-child { margin-top: 0; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card); border-radius: var(--radius); padding: 28px; min-width: 0; }
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--brand-strong); flex: none; }
.info-card p, .info-card li { color: var(--text-muted); font-size: 0.93rem; }
.info-card ul { padding-left: 18px; margin: 10px 0 0; }
.info-card li + li { margin-top: 6px; }
.info-card pre {
  background: var(--code-bg); color: var(--code-text); border: 1px solid var(--code-border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.78rem; overflow-x: auto; margin: 12px 0 0;
}
.info-card .btn { margin-top: 14px; }

/* ---------- Feature cards as links ---------- */
a.feature { display: block; color: inherit; }
a.feature:hover { border-color: rgba(37,99,235,0.45); }
.feature .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--brand-text); }
.feature .more::after { content: "→"; transition: transform 0.15s; }
a.feature:hover .more::after { transform: translateX(3px); }
.feature .tags + .more { margin-top: 14px; }

/* ---------- Feature pages ---------- */
.feature-hero { padding-bottom: 8px; }
.feature-hero .lead { margin-bottom: 0; }
.back-link { display: inline-flex; gap: 6px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted); margin-bottom: 26px; }
.back-link:hover { color: var(--text); }
.feature-hero .kicker { margin-bottom: 14px; }

.feature-shot { margin: 48px auto 0; max-width: 1120px; }
.feature-shot img, .shot-row img {
  width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-big);
}
.feature-shot figcaption, .shot-row figcaption { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin-top: 16px; }

.shot-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.shot-row + .shot-row { margin-top: 88px; }
.shot-row.reverse > :first-child { order: 2; }
.shot-row figure { margin: 0; min-width: 0; }
.shot-row h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.shot-row > div > p { color: var(--text-muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.fact h3 { font-size: 1rem; }
.fact p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

.feature-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feature-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s;
}
.feature-nav a:hover { border-color: rgba(37,99,235,0.45); color: var(--text); }
.feature-nav a[aria-current="page"] { border-color: rgba(37,99,235,0.55); color: var(--brand-text); background: var(--brand-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .feature-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; gap: 28px; }
  .shot-row.reverse > :first-child { order: 0; }
  .shot-row + .shot-row { margin-top: 64px; }
  .facts { grid-template-columns: 1fr; }
  .feature-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    box-shadow: 0 12px 24px -12px rgba(15,23,42,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; border-bottom: none; }
  .hero { padding: 64px 0 48px; }
  section.block { padding: 72px 0; }
  .feature-grid, .pillars { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
  .cta-band { padding: 52px 20px; }
}
