/* ==========================================================================
   Adlytiq — Design tokens + base + components
   Calm, data-forward B2B SaaS. Slate neutrals, indigo primary, tabular metrics.
   ========================================================================== */

:root {
  /* Brand / accent — primary is overridable via Tweaks (set on :root by JS) */
  --primary: #5B5BD6;
  --primary-press: color-mix(in oklab, var(--primary) 86%, black);
  --primary-soft: color-mix(in oklab, var(--primary) 10%, white);
  --primary-tint: color-mix(in oklab, var(--primary) 6%, white);
  --on-primary: #ffffff;

  --positive: #10B981;
  --positive-soft: color-mix(in oklab, var(--positive) 12%, white);
  --negative: #F43F5E;
  --negative-soft: color-mix(in oklab, var(--negative) 12%, white);

  /* Slate neutrals */
  --ink:    #0F172A;
  --ink-2:  #334155;
  --muted:  #64748B;
  --faint:  #94A3B8;
  --line:   #E7EBF0;
  --line-2: #EEF2F6;
  --bg:     #FFFFFF;
  --bg-2:   #F8FAFC;
  --bg-3:   #F1F5F9;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --tracking-tight: -0.011em;
  --tracking-eyebrow: 0.14em;

  /* Radii */
  --r-xs: 7px;
  --r-sm: 10px;
  --r:    13px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Shadows — soft, layered, low-contrast */
  --sh-xs: 0 1px 2px rgba(15,23,42,.05);
  --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --sh:    0 2px 4px rgba(15,23,42,.05), 0 6px 16px -6px rgba(15,23,42,.10);
  --sh-lg: 0 8px 24px -8px rgba(15,23,42,.14), 0 24px 48px -24px rgba(15,23,42,.22);
  --sh-xl: 0 24px 64px -24px rgba(15,23,42,.28), 0 8px 24px -12px rgba(15,23,42,.16);
  --ring:  0 0 0 4px color-mix(in oklab, var(--primary) 16%, transparent);

  /* Rhythm — density-controlled */
  --section-y: 104px;
  --container: 1180px;
  --gutter: 24px;
}

[data-density="compact"] { --section-y: 76px; }
[data-density="comfy"]   { --section-y: 132px; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: var(--tracking-tight);
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  font-weight: 680;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

::selection { background: color-mix(in oklab, var(--primary) 24%, white); color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

.tnum { font-variant-numeric: tabular-nums; }

/* ── Layout primitives ─────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * 0.62); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.muted { color: var(--faint); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--muted);
}

.lede { font-size: 19px; color: var(--muted); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-weight: 560;
  font-size: 15.5px;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { --bg: var(--primary); --fg: var(--on-primary); box-shadow: var(--sh-sm); }
.btn-primary:hover { --bg: var(--primary-press); box-shadow: var(--sh); }

.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: var(--sh-sm); }
.btn-dark:hover { --bg: #1e293b; box-shadow: var(--sh); }

.btn-ghost {
  --bg: #fff; --fg: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-xs);
}
.btn-ghost:hover { border-color: #d6deea; background: var(--bg-2); }

.btn-quiet { --bg: transparent; --fg: var(--ink-2); height: auto; padding: 0; }
.btn-quiet:hover { transform: none; --fg: var(--ink); }

.btn-sm { height: 40px; padding-inline: 16px; font-size: 14.5px; }
.btn-lg { height: 52px; padding-inline: 26px; font-size: 16.5px; }
.btn-block { width: 100%; }

.btn-google {
  --bg: #fff; --fg: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-xs);
}
.btn-google:hover { background: var(--bg-2); border-color: #d6deea; }
.btn-google svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 540;
  font-size: 15.5px;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Logo / wordmark ───────────────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 660;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-glyph {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.brand-glyph svg { width: 28px; height: 28px; }

/* ── Top nav ───────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav[data-scrolled="1"] { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: var(--r-xs);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-toggle { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: 76px;
  padding-bottom: 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 620px;
  background:
    radial-gradient(60% 70% at 50% 0%, var(--primary-tint), transparent 70%),
    radial-gradient(40% 60% at 82% 8%, color-mix(in oklab, var(--positive) 7%, transparent), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 720;
  letter-spacing: -0.032em;
}
.hero .sub {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 620px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.trust-strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--positive); flex-shrink: 0; }
.trust-strip b { color: var(--ink-2); font-weight: 560; }

.hero-shot {
  margin-top: 64px;
  position: relative;
}
.hero-shot::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%; bottom: -28px; height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(15,23,42,.18), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

/* ── Eyebrow chip / pill ───────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding-inline: 12px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.pill .tag { white-space: nowrap; }
@media (max-width: 440px) { .pill { white-space: normal; height: auto; padding-block: 6px; text-align: center; } }
.pill .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

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

/* Problem → solution cards */
.problem-cards { margin-top: 44px; }
.prob-card {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.prob-card .icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: 16px;
}
.prob-card .icon svg { width: 19px; height: 19px; }
.prob-card h3 { font-size: 18px; }
.prob-card p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ── Feature blocks (alternating) ──────────────────────────────────────── */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.feature-block + .feature-block { margin-top: calc(var(--section-y) * 0.84); }
.feature-block.reverse .feature-copy { order: 2; }
.feature-copy h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-top: 16px;
}
.feature-copy p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.feature-list { margin-top: 22px; display: grid; gap: 12px; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
}
.feature-list .chk {
  flex-shrink: 0; margin-top: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--positive-soft);
  color: var(--positive);
}
.feature-list .chk svg { width: 11px; height: 11px; }
.feature-visual {
  border-radius: var(--r-lg);
  position: relative;
}

/* ── How it works ──────────────────────────────────────────────────────── */

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; }
.step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--line));
  background: var(--primary-soft);
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin-inline: auto; margin-top: 44px; display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 18px;
  font-weight: 560;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: transform .25s ease, background .2s, color .2s;
}
.faq-item[data-open="1"] .faq-q .ic { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq-a > div { overflow: hidden; }
.faq-item[data-open="1"] .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 4px 26px; font-size: 16.5px; color: var(--muted); max-width: 640px; }
.faq-a .accent { color: var(--ink-2); font-weight: 540; }

/* ── CTA band ──────────────────────────────────────────────────────────── */

.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  border-radius: var(--r-xl);
  padding: 72px 56px;
  text-align: center;
  background:
    radial-gradient(80% 140% at 50% -20%, color-mix(in oklab, var(--primary) 34%, var(--ink)), var(--ink));
  color: #fff;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--primary) 40%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--primary) 40%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 72%);
  opacity: .25;
  pointer-events: none;
}
.cta-inner h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); position: relative; }
.cta-inner p { margin-top: 16px; color: color-mix(in oklab, #fff 78%, var(--primary)); font-size: 19px; position: relative; }
.cta-inner .hero-cta { margin-top: 30px; }
.cta-inner .btn-ghost { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.18); }
.cta-inner .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 64px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--ink); }

/* ── Misc ──────────────────────────────────────────────────────────────── */

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

[hidden] { display: none !important; }

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.legal-hero .eyebrow { margin-bottom: 14px; display: inline-block; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; }
.legal-hero .legal-meta { margin-top: 14px; font-size: 14.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.legal-hero .legal-meta b { color: var(--ink-2); font-weight: 560; }
.legal { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; max-width: 1080px; margin-inline: auto; padding: 56px 24px 96px; }
.legal-toc { position: sticky; top: 86px; align-self: start; }
.legal-toc .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.legal-toc a { display: block; font-size: 13.5px; color: var(--muted); padding: 6px 0; border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; transition: color .15s, border-color .15s; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--primary); }
.legal-body { max-width: 720px; }
.legal-body > section + section { margin-top: 40px; }
.legal-body h2 { font-size: 21px; letter-spacing: -.02em; scroll-margin-top: 86px; }
.legal-body h3 { font-size: 16px; margin-top: 22px; color: var(--ink); }
.legal-body p { font-size: 16px; color: var(--ink-2); line-height: 1.72; margin-top: 14px; }
.legal-body ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-body li { font-size: 16px; color: var(--ink-2); line-height: 1.6; padding-left: 22px; position: relative; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in oklab, var(--primary) 60%, var(--line)); }
.legal-body a.inl { color: var(--primary); font-weight: 540; }
.legal-callout { margin-top: 18px; border: 1px solid color-mix(in oklab, var(--primary) 32%, var(--line)); background: var(--primary-tint); border-radius: var(--r); padding: 20px 22px; }
.legal-callout .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.legal-callout .tag svg { width: 14px; height: 14px; }
.legal-callout p { margin-top: 8px; font-size: 15px; }
.legal-callout p:first-of-type { margin-top: 0; }
.legal-callout .en { font-size: 13.5px; color: var(--muted); border-top: 1px dashed color-mix(in oklab, var(--primary) 28%, var(--line)); margin-top: 14px; padding-top: 12px; font-style: italic; }

@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .legal-toc { display: none; }
}

/* ── Auth pages (login / signup) ───────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; background: var(--bg-2); position: relative; }
.auth-wrap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 380px; background: radial-gradient(60% 100% at 50% -10%, var(--primary-tint), transparent 70%); pointer-events: none; }
.auth-top { position: relative; padding: 22px 26px; }
.auth-main { position: relative; display: grid; place-items: start center; padding: 8px 20px 60px; }
.auth-card { width: 100%; max-width: 416px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 34px 32px; }
.auth-card .brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card h1 { font-size: 24px; text-align: center; letter-spacing: -.02em; }
.auth-card .sub { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.auth-form { margin-top: 24px; display: grid; gap: 16px; }
.auth-fld { display: grid; gap: 7px; }
.auth-fld label { font-size: 13px; font-weight: 540; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; }
.auth-fld label .opt { font-weight: 400; color: var(--faint); font-size: 12px; }
.auth-fld label a { color: var(--primary); font-weight: 540; font-size: 12.5px; }
.auth-input { height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--r-xs); background: #fff; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; }
.auth-input::placeholder { color: var(--faint); }
.auth-input:focus { border-color: color-mix(in oklab, var(--primary) 52%, var(--line)); box-shadow: var(--ring); }
.auth-fld[data-invalid="1"] .auth-input { border-color: var(--negative); box-shadow: 0 0 0 4px var(--negative-soft); }
.auth-err { font-size: 12.5px; color: var(--negative); display: none; }
.auth-fld[data-invalid="1"] .auth-err { display: block; }
.auth-submit { margin-top: 4px; height: 46px; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--faint); font-size: 12.5px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--primary); font-weight: 560; }
.auth-micro { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.auth-micro svg { width: 14px; height: 14px; color: var(--positive); }
.auth-legal { text-align: center; margin-top: 20px; font-size: 12px; color: var(--faint); line-height: 1.5; }
.auth-legal a { color: var(--muted); text-decoration: underline; }

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

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse .feature-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; margin-left: auto;
    border: 1px solid var(--line); border-radius: var(--r-xs);
    background: #fff;
  }
  .nav-actions .btn-ghost { display: none; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 40px; }
  .cta-inner { padding: 48px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
