/* ============================================================================
   CrossPromo marketing site.
   Dark, quiet, typographic. Shares the dashboard's ink + indigo so the product
   feels like one thing from the first scroll to the first login.
   ========================================================================== */

:root {
  --bg: #08090d;
  --bg-band: #0b0d13;
  --panel: #101219;
  --panel-2: #151824;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .13);

  --text: #f3f4f8;
  --muted: #9ba2b5;
  --faint: #6b7286;

  --accent: #6e6bff;
  --accent-bright: #8b88ff;
  --accent-soft: rgba(110, 107, 255, .12);
  --signal: #4ade9b;

  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1160px;
  --gutter: 26px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss03" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(110, 107, 255, .32); }

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 999;
  background: var(--text); color: var(--bg); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.shell { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }

/* ── Type primitives ─────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}
em { font-style: normal; }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--accent-bright);
}

.label, .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.label { margin-bottom: 18px; }
.label-accent { color: var(--accent-bright); }
.nocaps { text-transform: none; }

.lede { color: var(--muted); font-size: 17.5px; line-height: 1.65; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; padding-bottom: 4px;
  color: var(--accent-bright); font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(139, 136, 255, .32);
}
.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(4px); }

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

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.button span { transition: transform .18s ease; }
.button:hover span { transform: translateX(3px); }
.button-sm { min-height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }

.button-solid {
  background: var(--text); color: #0a0b0f; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
}
.button-solid:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, .1); }

.button-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .02); }
.button-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }

.button-accent { background: var(--accent); color: #fff; font-weight: 600; }
.button-accent:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(110, 107, 255, .3); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 34px; }
.actions-center { justify-content: center; }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 16px 0;
  transition: padding .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 9px 0;
  background: rgba(8, 9, 13, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-shell { display: flex; align-items: center; gap: 32px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 18.5px; font-weight: 600;
  letter-spacing: -.03em; line-height: 1;
}
.brand-mark {
  width: 32px; height: 32px; padding: 6px; flex: none;
  border-radius: 9px; background: var(--accent); color: #fff;
}
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.nav-menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-menu a, .text-link { color: var(--muted); font-size: 14px; transition: color .18s ease; }
.nav-menu a:hover, .text-link:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

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

.hero { position: relative; padding: 148px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px;
  background: radial-gradient(58% 52% at 62% 0%, rgba(110, 107, 255, .17), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 50% 10%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 10%, #000 30%, transparent 78%);
}
.hero-shell {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 40px;
}
.hero-copy { max-width: 610px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; }
.pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 4px rgba(74, 222, 155, .13);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero h1 { font-size: clamp(46px, 5.6vw, 78px); letter-spacing: -.042em; }
.hero .lede { margin-top: 26px; max-width: 540px; }

.proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  list-style: none; color: var(--faint); font-size: 13px;
}
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--signal); opacity: .75; flex: none;
}

/* Hero stage: device + ledger */

.hero-stage { position: relative; display: grid; place-items: center; justify-self: end; padding: 10px 0 26px; }
.stage-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 107, 255, .2), transparent 66%);
  filter: blur(6px);
}
.device {
  position: relative; z-index: 2;
  width: 284px; height: 578px; padding: 9px;
  background: linear-gradient(165deg, #2b2f42, #141722 42%, #0e1017);
  border-radius: 46px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(255, 255, 255, .07),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}
.device-island {
  position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #05060a; border-radius: 20px;
}
.device-screen {
  display: flex; flex-direction: column;
  height: 100%; overflow: hidden; border-radius: 38px;
  background: linear-gradient(180deg, #0f1118, #0b0d13);
  border: 1px solid rgba(255, 255, 255, .05);
  padding-top: 50px;
}
.app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 13px; color: var(--faint); font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.app-bar strong { font: 600 12.5px var(--display); letter-spacing: -.02em; color: var(--text); }
.app-body { display: flex; flex-direction: column; flex: 1; padding: 26px 15px 22px; text-align: center; }
.promo-slot { margin-top: auto; padding-top: 22px; }
.app-check {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 13px;
  border-radius: 50%; background: rgba(74, 222, 155, .13); color: var(--signal); font-size: 13px;
}
.app-body h3 { font-size: 17px; letter-spacing: -.03em; }
.app-body > p { color: var(--faint); font-size: 9.5px; margin-top: 4px; }
.app-ring {
  width: 138px; height: 138px; margin: 22px auto 0;
  display: grid; place-items: center; position: relative; border-radius: 50%;
  background: conic-gradient(var(--accent) 0 78%, rgba(255, 255, 255, .06) 78%);
}
.app-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #0d0f16; }
.app-ring span { position: relative; z-index: 1; }
.app-ring b { display: block; font: 600 36px/.95 var(--display); letter-spacing: -.04em; }
.app-ring small { color: var(--faint); font-size: 8.5px; }

.promo-label {
  margin: 0 2px 8px; text-align: left;
  color: var(--faint); font-family: var(--mono); font-size: 7.5px;
  letter-spacing: .11em; text-transform: uppercase;
}
.promo-card {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  padding: 10px; text-align: left;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
}
.promo-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(150deg, #ffa25c, #ff5f57); color: #fff; font-size: 19px;
}
.promo-text { min-width: 0; }
.promo-text b { display: block; font-size: 11px; font-weight: 600; letter-spacing: -.01em; }
.promo-text i { display: block; font-style: normal; color: var(--faint); font-size: 8px; line-height: 1.4; margin-top: 2px; }
.promo-cta {
  padding: 6px 9px; border-radius: 8px; font-size: 8.5px; font-weight: 600;
  background: rgba(110, 107, 255, .16); color: var(--accent-bright);
}

.stage-ledger {
  position: absolute; z-index: 3; left: -96px; bottom: 150px; width: 214px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(16, 18, 25, .82);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ledger-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ledger-row + .ledger-row { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.ledger-row span { color: var(--faint); font-size: 10.5px; }
.ledger-row b { font: 600 19px var(--display); letter-spacing: -.03em; }
.ledger-row.is-earned b { color: var(--signal); }
.stage-caption {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  color: var(--faint); font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

/* ── Section scaffolding ─────────────────────────────────────────────────── */

.section { padding: 108px 0; }
.band { background: var(--bg-band); border-block: 1px solid var(--line); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  align-items: end; gap: 20px 60px; margin-bottom: 52px;
}
.section-head h2 { font-size: clamp(34px, 3.9vw, 52px); }
.section-note { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ── Platforms + code ────────────────────────────────────────────────────── */

.code-block {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), #0c0e14);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.code-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); }
.code-tabs button {
  position: relative; padding: 11px 16px 13px; border-radius: 9px 9px 0 0;
  color: var(--faint); font-size: 13.5px; font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.code-tabs button:hover { color: var(--muted); background: rgba(255, 255, 255, .03); }
.code-tabs button.is-active { color: var(--text); background: rgba(255, 255, 255, .05); }
.code-tabs button.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.code-panels { padding: 26px 28px 24px; overflow-x: auto; }
.code-panels [hidden] { display: none; }
.code-panels pre { font-size: 13.5px; line-height: 2; }
.code-panels code { font-family: var(--mono); color: #d7dbea; }
.code-panels .c { color: #565d75; }
.code-panels .t { color: #c792ea; }
.code-panels .f { color: #82aaff; }
.code-panels .s { color: #7fd6a8; }
.code-panels .y { color: #ffcb8b; }
.code-panels .e { color: #66d9d0; }
.code-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding: 14px 28px; border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
  color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
}
.code-foot code { font-family: inherit; color: var(--muted); }

.agent-note {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 760px; margin-top: 26px;
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
}
.agent-badge {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-top: 1px;
  border-radius: 9px; background: var(--accent-soft); color: var(--accent-bright);
  border: 1px solid rgba(110, 107, 255, .24); font-size: 13px;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.steps li { padding: 30px 30px 6px 0; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li + li { padding-left: 30px; }
.step-n { display: block; margin-bottom: 20px; color: var(--accent-bright); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.steps h3 { font-size: 21px; letter-spacing: -.028em; }
.steps p { margin-top: 11px; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* ── Bento ───────────────────────────────────────────────────────────────── */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
}
.tile h3 { font-size: 21px; letter-spacing: -.028em; }
.tile-top { min-height: 92px; }
.tile > p { margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.tile-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-bright);
  border: 1px solid rgba(110, 107, 255, .2); font-size: 17px;
}

.tile-rate {
  grid-column: span 1;
  background: linear-gradient(165deg, rgba(110, 107, 255, .17), rgba(110, 107, 255, .04) 55%, rgba(255, 255, 255, .015));
  border-color: rgba(110, 107, 255, .26);
}
.tile-kicker { color: var(--accent-bright); font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; }
.rate { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.rate b { font: 600 42px/1 var(--display); letter-spacing: -.04em; }
.rate span { color: var(--faint); font-size: 12px; }
.rate i { margin: 0 6px; color: var(--accent-bright); font-style: normal; font-size: 17px; }

.tile-dash {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center; gap: 8%; padding: 36px;
}
.tile-dash-copy .tile-icon { margin-bottom: 22px; }
.tile-dash-copy h3 { font-size: 27px; }
.tile-dash-copy p { margin-top: 11px; color: var(--muted); font-size: 14.5px; line-height: 1.62; }
.dash {
  padding: 22px 24px; border-radius: var(--r-md);
  background: #0a0c11; border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.dash-head, .dash-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}
.dash-head b { color: var(--signal); font-weight: 400; }
.dash-figure { font: 600 46px/1 var(--display); letter-spacing: -.04em; margin: 18px 0 22px; }
.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 104px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dash-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--accent-bright), rgba(110, 107, 255, .35)); }
.dash-foot { padding-top: 14px; }
.dash-foot b { color: var(--muted); font-weight: 400; }

/* ── Privacy ─────────────────────────────────────────────────────────────── */

.privacy { position: relative; overflow: hidden; }
.privacy::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 560px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(110, 107, 255, .13), transparent 70%);
  pointer-events: none;
}
.privacy-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center; gap: 8%;
}
.privacy-copy h2 { font-size: clamp(40px, 4.6vw, 62px); }
.privacy-copy > p:not(.label) { margin-top: 24px; max-width: 470px; color: var(--muted); font-size: 16px; }
.privacy-note { font-size: 14.5px !important; color: var(--faint) !important; }
.privacy-copy .button { margin-top: 30px; }

.ledger {
  padding: 26px 28px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .028); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.ledger-head {
  display: flex; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  color: var(--faint); font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
}
.ledger-head b { color: var(--text); font-weight: 400; }
.ledger ul { list-style: none; }
.ledger li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.ledger li span { color: var(--muted); }
.ledger li strong {
  color: var(--signal); font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: .07em; text-transform: uppercase;
}
.ledger > p { display: flex; gap: 9px; margin-top: 16px; color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.ledger > p span { color: var(--signal); }

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

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 9%; align-items: start; }
.faq-intro { position: sticky; top: 108px; }
.faq-intro h2 { font-size: clamp(32px, 3.6vw, 46px); }
.faq-intro > p:not(.label) { margin-top: 20px; max-width: 340px; color: var(--muted); font-size: 14.5px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 46px 22px 0;
  font-family: var(--display); font-size: 17.5px; font-weight: 500;
  letter-spacing: -.022em; line-height: 1.4;
  transition: color .18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-bright); }
.faq-list summary span, .faq-list summary span::after {
  position: absolute; right: 4px; top: 50%; width: 13px; height: 1.5px;
  border-radius: 2px; background: var(--accent-bright); transition: transform .22s ease;
}
.faq-list summary span::after { content: ""; right: 0; top: 0; transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { padding: 0 46px 24px 0; color: var(--muted); font-size: 14.5px; line-height: 1.72; }
.faq-list code { font-family: var(--mono); font-size: 13px; color: var(--text); }

/* ── Final CTA ───────────────────────────────────────────────────────────── */

.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 28px 84px; border-radius: 30px;
  background: linear-gradient(170deg, rgba(110, 107, 255, .14), rgba(255, 255, 255, .02) 58%);
  border: 1px solid var(--line-strong);
}
.cta::before {
  content: ""; position: absolute; inset: -60% 20% auto; height: 460px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(110, 107, 255, .22), transparent 68%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta-signal { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 26px; }
.cta-signal i { position: absolute; inset: 0; border: 1px solid rgba(110, 107, 255, .34); border-radius: 50%; animation: ripple 3s ease-out infinite; }
.cta-signal i:nth-child(2) { animation-delay: -1s; }
.cta-signal i:nth-child(3) { animation-delay: -2s; }
.cta-signal b {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 17px; font-weight: 400;
}
.cta h2 { font-size: clamp(36px, 4.6vw, 60px); }
.cta > p { margin-top: 20px; color: var(--muted); font-size: 16px; }

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

.site-footer { border-top: 1px solid var(--line); background: var(--bg-band); padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer-line { margin-top: 16px; max-width: 240px; color: var(--faint); font-size: 14px; }
.footer-heading { margin-bottom: 14px; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid nav { display: grid; gap: 10px; align-content: start; }
.footer-grid nav a { color: var(--muted); font-size: 14px; transition: color .18s ease; }
.footer-grid nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--faint); font-family: var(--mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ── Motion ──────────────────────────────────────────────────────────────── */

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 155, .13); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 155, .05); }
}
@keyframes ripple {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Reveals only exist when JS is present, so no-JS visitors see everything. */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.22, .8, .23, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }

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

@media (max-width: 1040px) {
  .hero-shell { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 640px; }
  .hero-stage { justify-self: center; margin-top: 18px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .section-note { max-width: 620px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-icon { margin-bottom: 44px; }
  .tile-dash { grid-template-columns: 1fr; gap: 28px; }
  .privacy-grid, .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none; position: fixed; inset: 66px 14px auto; margin: 0; padding: 10px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13, 15, 21, .97); border: 1px solid var(--line-strong);
    border-radius: 16px; box-shadow: 0 26px 50px rgba(0, 0, 0, .6);
    backdrop-filter: blur(18px);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 12px; font-size: 15px; border-radius: 9px; }
  .nav-menu a:hover { background: rgba(255, 255, 255, .04); }
  .nav-toggle {
    display: grid; place-content: center; gap: 5px;
    width: 38px; height: 38px; margin-left: auto;
  }
  .nav-toggle span:not(.sr-only) { width: 19px; height: 1.8px; border-radius: 2px; background: var(--text); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
  .nav-actions .text-link { display: none; }
  .nav-shell { gap: 14px; }

  .section { padding: 84px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 8px; border-right: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; padding-top: 30px; }
  .step-n { margin-bottom: 14px; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  .hero { padding: 124px 0 72px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero .lede { font-size: 16px; }
  .actions { gap: 10px; }
  .actions .button { width: 100%; }
  .proof { gap: 9px; flex-direction: column; }

  .hero-stage { transform: scale(.92); transform-origin: top center; margin-bottom: -30px; }
  .stage-ledger { left: -14px; bottom: 176px; width: 184px; padding: 12px 14px; }

  .section-head h2 { font-size: 31px; }
  .code-panels { padding: 20px 18px; }
  .code-panels pre { font-size: 12px; line-height: 1.9; }
  .code-tabs { padding: 8px 8px 0; }
  .code-tabs button { padding: 10px 12px 12px; font-size: 12.5px; }
  .code-foot { padding: 12px 18px; font-size: 9.5px; }

  .bento { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
  .tile-top { min-height: 0; margin-bottom: 22px; }
  .tile-dash { padding: 24px; }
  .dash { padding: 18px; }
  .dash-figure { font-size: 38px; }

  .ledger { padding: 22px 20px; }
  .ledger li { font-size: 13.5px; }
  .faq-list summary { font-size: 16px; padding-right: 40px; }
  .cta { padding: 62px 20px 60px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .nav-shell { gap: 10px; }
  .nav-shell .brand { font-size: 16px; }
  .nav-shell .brand-mark { width: 28px; height: 28px; padding: 5px; }
  .nav-actions .button-sm { padding: 0 12px; font-size: 12.5px; }
}

/* Only the header runs out of room; the footer wordmark always stays. */
@media (max-width: 355px) {
  .nav-shell .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
