/* ============================================================
   relay — embedded tenant-screening infrastructure
   Logo-derived brand expression (azure → indigo → magenta)
   ============================================================ */

/* ---------- self-hosted fonts (latin subset, variable, from Google Fonts) ---------- */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/schibsted-grotesk-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/hanken-grotesk-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/newsreader-italic-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core neutrals */
  --ink:        #15171D;
  --ink-soft:   #3A3E4A;
  --ink-mute:   #6C707C;
  --paper:      #F7F8FA;
  --surface:    #FFFFFF;
  --hairline:   #E2E4E9;
  --hairline-2: #EDEEF2;

  /* Cool brand wash for hero / nav (logo-derived, replaces warm clay) */
  --cool-paper:    #F6F6FC;
  --cool-surface:  #F1F1FA;

  /* Accents — derived from the logo gradient */
  --azure:        #16A6F0;   /* gathering / live data start */
  --signal:       #15171D;   /* primary action / links / buttons (ink black) */
  --signal-ink:   #3935C4;   /* signal as text on light */
  --signal-deep:  #3D3BCB;
  --signal-wash:  #ECEDFC;   /* tint bg */
  --magenta:      #A82FD4;   /* resolved accent / punctuation */
  --magenta-wash: #F7ECFB;

  /* Verify (functional positive states — kept from spec) */
  --verify:      #16A06A;
  --verify-ink:  #0C6E48;
  --verify-wash: #E8F7F0;

  /* Status */
  --amber:       #8A6011;
  --amber-wash:  #FBF3E1;
  --red:         #B53C22;
  --red-wash:    #FBEDE9;

  /* Brand gradient (the logo) */
  --grad: linear-gradient(118deg, #1380C9 0%, #4B49E0 52%, #A82FD4 100%);
  --grad-soft: linear-gradient(118deg, #1380C9 0%, #5B54E2 50%, #A82FD4 100%);

  /* Type */
  --display: 'Schibsted Grotesk', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --serif:   'Newsreader', Georgia, serif;

  /* Radius */
  --r-card: 14px;
  --r-ctrl: 9px;
  --r-btn:  10px;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(48px, 6.4vw, 88px);

  /* Shadow */
  --lift:  0 14px 30px -18px oklch(0 0 0 / 0.35);
  --float: 0 24px 60px -32px oklch(0.30 0.10 280 / 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--signal-wash); }

/* ---------- type helpers ---------- */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.012em; margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-family: var(--mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow.signal { color: var(--signal-ink); }
.eyebrow.magenta { color: var(--magenta); }
.muted { color: var(--ink-mute); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--r-btn);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 6px 18px -10px var(--signal); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink-soft); background: var(--surface); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { filter: brightness(0.97); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- status pills & data chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.02em; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.pill-cleared { background: var(--verify-wash); color: var(--verify-ink); }
.pill-review  { background: var(--signal-wash); color: var(--signal-ink); }
.pill-consent { background: var(--amber-wash); color: var(--amber); }
.pill-attn    { background: var(--red-wash); color: var(--red); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.03em; padding: 4px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--hairline); color: var(--ink-soft);
  white-space: nowrap;
}
.chip-ink { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- powered by experian lockup ---------- */
.powered {
  display: inline-flex; align-items: baseline; gap: 9px;
}
.powered .pb { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.powered .exp { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-soft); }
.powered.on-dark .pb { color: rgba(255,255,255,0.55); }
.powered.on-dark .exp { color: #fff; }
.powered.lg .exp { font-size: 26px; }
.powered.lg .pb { font-size: 13px; }

/* ---------- logo lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 0.5em; }
.lockup .mark { width: 30px; height: 30px; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -0.04em; color: var(--ink); }
.wordmark.on-dark { color: #fff; }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}
.card-hover { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--hairline); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50; height: 66px;
  background: rgba(246,246,252,0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-mute); border-left: 1px solid var(--hairline); padding-left: 10px; line-height: 1.2; max-width: 92px; }
.nav-links { display: flex; gap: 26px; margin-inline: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--hairline); border-radius: var(--r-ctrl); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.nav-toggle:hover { border-color: var(--ink-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; }
.hero::before {
  width: 760px; height: 760px; top: -340px; right: -240px;
  background: radial-gradient(circle, rgba(168,47,212,0.20), rgba(168,47,212,0) 62%);
}
.hero::after {
  width: 760px; height: 760px; bottom: -420px; left: -260px;
  background: radial-gradient(circle, rgba(22,166,240,0.18), rgba(22,166,240,0) 62%);
}
.hero[data-glow="off"]::before, .hero[data-glow="off"]::after { display: none; }

/* dot-matrix background (Stripe-docs Shell-container style) */
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --dot-color: #4B49E0;
  --dot-gap: 22px;
  --dot-size: 1px;
  --dot-opacity: 0.85;
  --dot-mask: radial-gradient(118% 92% at 72% 10%, #000 0%, #000 46%, transparent 82%);
  opacity: var(--dot-opacity);
  background-image: radial-gradient(var(--dot-color) var(--dot-size), transparent calc(var(--dot-size) + 0.7px));
  background-size: var(--dot-gap) var(--dot-gap);
  background-position: center top;
  -webkit-mask-image: var(--dot-mask); mask-image: var(--dot-mask);
  transition: opacity .3s ease;
}
.hero[data-pattern="grid"] .hero-dots {
  background-image:
    linear-gradient(var(--dot-color) var(--dot-size), transparent var(--dot-size)),
    linear-gradient(90deg, var(--dot-color) var(--dot-size), transparent var(--dot-size));
}
.hero[data-pattern="none"] .hero-dots { display: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 92px);
}
.hero h1 { margin-top: 18px; }
.hero .lede { margin-top: 22px; max-width: 30ch; }

/* readability scrim — soft blurred halo behind hero copy so the dot matrix doesn't fight the text */
.hero-copy { position: relative; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  inset: -8% -14% -7% -10%;
  background: radial-gradient(112% 104% at 33% 48%, var(--paper) 0%, rgba(247,248,250,0.92) 44%, rgba(247,248,250,0) 76%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: radial-gradient(112% 104% at 33% 48%, #000 0%, #000 58%, transparent 84%);
  mask-image: radial-gradient(112% 104% at 33% 48%, #000 0%, #000 58%, transparent 84%);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 34px; }
.hero-trust .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .t::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: var(--verify); }
.hero-trust .t.exp::before { display: none; }

/* hero embedded form card */
.hero-visual { position: relative; }
.embed-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 18px; box-shadow: var(--float);
  transform: rotate(0.6deg); overflow: hidden;
}
.embed-card .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline-2);
}
.embed-card .head .ttl { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.embed-card .body { padding: 18px; display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.field .inp {
  height: 40px; border: 1px solid var(--hairline); border-radius: var(--r-ctrl);
  background: var(--paper); padding: 0 12px; display: flex; align-items: center;
  font-size: 14px; color: var(--ink-soft); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field .inp.focused { border-color: var(--signal); background: #fff; box-shadow: 0 0 0 3px var(--signal-wash); color: var(--ink); }
.field .inp .ph { color: var(--ink-mute); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.embed-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-top: 1px solid var(--hairline-2);
}

.decision-peek {
  position: absolute; left: -26px; bottom: -22px; z-index: 3;
  background: #fff; border: 1px solid var(--hairline); border-radius: 13px;
  box-shadow: var(--lift); padding: 12px 14px; display: flex; align-items: center; gap: 11px;
  max-width: 280px;
}
.decision-peek .ck {
  width: 30px; height: 30px; border-radius: 999px; background: var(--verify-wash);
  display: grid; place-items: center; flex: none;
}
.decision-peek .pk-t { font-weight: 600; font-size: 14px; }
.decision-peek .pk-m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); margin-top: 2px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { background: var(--cool-surface); border-block: 1px solid var(--hairline); }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(24px, 3vw, 36px); }
.trustbar .claim { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.02em; max-width: 18ch; line-height: 1.12; }

/* ---------- what is relay ---------- */
.whatis-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.whatis { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.whatis .h3 { margin-top: 4px; }
.whatis .muted { font-size: 16px; line-height: 1.55; }
.whatis-plus { align-self: center; font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--ink-mute); }

/* ---------- why relay tagline band ---------- */
.taglines-head { max-width: 56ch; }
.taglines-head .h2 { margin-top: 14px; }
.taglines-head .lede { margin-top: 16px; }
.taglines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.tagline { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.tagline .tg-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--magenta); }
.tagline .tg-t { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.08; color: #fff; margin: 0; text-wrap: balance; }
.tagline .tg-d { color: rgba(255,255,255,0.62); font-size: 15.5px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .taglines { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 760px) {
  .whatis-grid { grid-template-columns: 1fr; }
  .whatis-plus { transform: none; padding-block: 4px; }
}

/* ============================================================
   EMBEDDED PRODUCT DEMO
   ============================================================ */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; box-shadow: var(--lift); }
.code-panel { background: #14151B; padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow: auto; }
.code-panel .cp-head { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.code-panel .cp-head .d { width: 11px; height: 11px; border-radius: 999px; }
.code-panel pre { margin: 0; white-space: pre; color: #C7CBD6; }
.tok-key { color: #7FB2FF; }
.tok-fn  { color: #9D7BFF; }
.tok-str { color: #5FD0A6; }
.tok-prop{ color: #E9B96E; }
.tok-com { color: #5A5F6E; font-style: italic; }
.tok-punc{ color: #8A8F9E; }

.form-panel { background: #fff; padding: 22px 24px; display: flex; flex-direction: column; }
.form-panel .fp-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--hairline-2); margin-bottom: 16px; }
.form-panel .fields { display: grid; gap: 13px; }
.form-panel .foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 44px; }

/* ---------- demo frame (browser-style window around gifs) ---------- */
.demo-frame {
  margin: 0; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; overflow: hidden; box-shadow: var(--lift);
  max-width: 880px; margin-inline: auto;
}
.df-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--paper); border-bottom: 1px solid var(--hairline-2);
}
.df-dot { width: 11px; height: 11px; border-radius: 999px; flex: none; }
.df-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-mute); margin-left: 8px; white-space: nowrap; }
.demo-frame img, .demo-frame video { width: 100%; height: auto; display: block; }
.demo-frame figcaption {
  font-family: var(--body); font-size: 13.5px; color: var(--ink-mute);
  padding: 13px 16px; border-top: 1px solid var(--hairline-2); background: var(--surface);
}
.demo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.demo-pair .demo-frame { max-width: none; }
.demo-frame.native { max-width: 706px; } /* 704px video + 2px border */
@media (max-width: 820px) { .demo-pair { grid-template-columns: 1fr; } }
.benefit { display: flex; gap: 12px; }
.benefit .cdot { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--verify-wash); display: grid; place-items: center; margin-top: 2px; }
.benefit .b-t { font-weight: 600; font-size: 16px; }
.benefit .b-d { color: var(--ink-mute); font-size: 15px; margin-top: 2px; }

/* ============================================================
   DATA GRID
   ============================================================ */
.section-head { max-width: 56ch; }
.section-head .h2 { margin-top: 14px; }
.section-head .lede { margin-top: 16px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.feature-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.icon-tile { width: 44px; height: 44px; border-radius: 11px; background: var(--signal-wash); display: grid; place-items: center; }
.feature-card .fc-d { color: var(--ink-mute); font-size: 15.5px; }

/* ============================================================
   HOW IT WORKS (dark)
   ============================================================ */
.howto { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.howto .dotgrid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
}
.howto .wrap { position: relative; z-index: 1; }
.howto .h2 { color: #fff; }
.howto .lede { color: rgba(255,255,255,0.62); }
.howto .eyebrow { color: rgba(255,255,255,0.5); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step { border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-card); padding: 26px; background: rgba(255,255,255,0.025); }
.step .glyph { width: 56px; height: 56px; margin-bottom: 18px; }
.step .st-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.5); }
.step .h3 { color: #fff; margin-top: 6px; }
.step .st-d { color: rgba(255,255,255,0.6); font-size: 15.5px; margin-top: 10px; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12); }
.outcome .o-n { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; }
.outcome .o-d { color: rgba(255,255,255,0.55); font-size: 15.5px; margin-top: 4px; }

/* ============================================================
   THE DECISION
   ============================================================ */
.decision-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 44px; }
.decision-card { padding: 0; overflow: hidden; }
.dc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--hairline-2); }
.dc-head .via { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-mute); }
.dc-body { padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.score-ring {
  --pct: 89; width: 132px; height: 132px; border-radius: 999px; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--signal) calc(var(--pct) * 1%), var(--hairline-2) 0);
}
.score-ring::before { content: ''; position: absolute; inset: 11px; background: #fff; border-radius: 999px; }
.score-ring .sr-in { position: relative; text-align: center; }
.score-ring .sr-v { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; }
.score-ring .sr-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-mute); }
.dc-checks { width: 100%; display: grid; gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); border-radius: 11px; overflow: hidden; }
.dc-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; font-size: 14px; }
.dc-check .ck { width: 20px; height: 20px; border-radius: 999px; background: var(--signal-wash); display: grid; place-items: center; flex: none; }
.dc-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink-mute); text-align: center; margin: 4px 0 0; }
.dc-note strong { color: var(--ink-soft); font-weight: 600; }
.dc-check .lbl { font-weight: 500; }
.dc-check .val { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.payload-block { background: #14151B; border-radius: var(--r-card); padding: 22px 24px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; overflow: auto; }
.payload-block pre { margin: 0; color: #C7CBD6; white-space: pre; }
.status-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

/* report payload — JSON beside explanation + status states */
.report-payload { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 48px); align-items: center; margin-top: 44px; }
.report-payload .payload-block { margin: 0; height: 100%; }
@media (max-width: 820px) { .report-payload { grid-template-columns: 1fr; gap: 28px; align-items: start; } }

/* ============================================================
   USE CASES
   ============================================================ */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.uc { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 188px; }
.uc.live { background: var(--signal-wash); border-color: transparent; }
.uc.explore { border-style: dashed; background: transparent; }
.uc .uc-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; }
.uc.live .uc-status { color: var(--signal-ink); }
.uc.explore .uc-status { color: var(--ink-mute); }
.uc .h3 { margin-top: auto; }
.uc .uc-d { color: var(--ink-mute); font-size: 14.5px; }
.uc.live .uc-d { color: var(--signal-ink); opacity: 0.85; }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { padding-block: var(--section); }
.cta-panel {
  position: relative; overflow: hidden; border-radius: 22px;
  background: var(--grad); color: #fff;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center;
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 120% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(80% 120% at 50% 50%, #000 30%, transparent 75%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-panel .cta-sub { color: rgba(255,255,255,0.85); margin: 16px auto 0; max-width: 46ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.cta-panel .powered { margin-top: 34px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.62); }
.footer .wrap { padding-block: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer .blurb { font-size: 15px; line-height: 1.6; max-width: 34ch; margin: 18px 0 22px; }
.footer .intelli { font-family: var(--display); font-weight: 600; font-size: 16px; color: #fff; letter-spacing: -0.01em; }
.footer .col-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: rgba(255,255,255,0.45); }

/* ============================================================
   ENTRANCE ANIMATION (reveal on scroll)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .demo-grid { grid-template-columns: 1fr; }
  .code-panel { order: 2; }
  .decision-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
  .outcomes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(246,246,252,0.97);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--hairline);
    padding: 6px var(--gutter) 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--hairline-2); }
  .nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav-cta .ghost-hide { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trustbar-inner { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   GET STARTED PAGE (/get-started/)
   ============================================================ */
/* ---- Get-started page ---- */
  .gs { position: relative; overflow: hidden; background: var(--cool-paper); min-height: calc(100vh - 66px); display: flex; align-items: center; }
  .gs-dots {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.8;
    background-image: radial-gradient(#4B49E0 1px, transparent 1.7px);
    background-size: 22px 22px; background-position: center top;
    -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, #000 44%, transparent 80%);
    mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, #000 44%, transparent 80%);
  }
  .gs-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px);
    align-items: center; padding-block: clamp(40px, 6vw, 72px);
  }
  .gs-copy { position: relative; }
  .gs-copy .h1 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 50px); }
  .gs-copy .lede { margin-top: 20px; max-width: 34ch; }
  .gs-reasons { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .gs-reasons li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; color: var(--ink-soft); }
  .gs-reasons .ck { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--signal-wash); display: grid; place-items: center; margin-top: 1px; }
  .gs-copy .powered { margin-top: 32px; }

  .gs-form-wrap {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--float);
  }

  .gs-form {
    padding: clamp(24px, 3vw, 34px); box-shadow: var(--float);
    display: flex; flex-direction: column; gap: 16px;
  }
  .gs-form .fh { margin-bottom: 2px; }
  .gs-form .fh .h3 { font-size: 20px; }
  .gs-form .fh p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-mute); }
  .gs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .gs-field { display: grid; gap: 6px; }
  .gs-field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
  .gs-field label .req { color: var(--magenta); }
  .gs-field input, .gs-field select, .gs-field textarea {
    width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
    height: 46px; padding: 0 13px; border: 1px solid var(--hairline); border-radius: var(--r-ctrl);
    background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .gs-field textarea { height: auto; min-height: 92px; padding: 12px 13px; resize: vertical; line-height: 1.5; }
  .gs-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C707C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
  .gs-field input:focus, .gs-field select:focus, .gs-field textarea:focus {
    outline: none; border-color: var(--signal); background: #fff; box-shadow: 0 0 0 3px var(--signal-wash);
  }
  .gs-field input::placeholder, .gs-field textarea::placeholder { color: var(--ink-mute); }
  .gs-field[data-error] input, .gs-field[data-error] select { border-color: var(--red); }
  .gs-err { font-family: var(--body); font-size: 12.5px; color: var(--red); display: none; }
  .gs-field[data-error] .gs-err { display: block; }
  .gs-form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
  .gs-form .btn-primary[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
  .gs-fineprint { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; margin: 0; }
  .gs-fineprint a { color: var(--signal-ink); text-decoration: underline; text-underline-offset: 2px; }

  /* success state */
  .gs-success { display: none; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 4px 6px; }
  .gs-form.is-done .gs-body { display: none; }
  .gs-form.is-done .gs-success { display: flex; }
  .gs-success .tick { width: 52px; height: 52px; border-radius: 999px; background: var(--verify-wash); display: grid; place-items: center; }
  .gs-success .h3 { font-size: 22px; }
  .gs-success p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
  .gs-formnote { font-family: var(--mono); font-size: 11px; color: var(--amber); background: var(--amber-wash); border-radius: 8px; padding: 8px 11px; line-height: 1.5; display: none; }

  .nav-back { font-size: 14px; font-weight: 500; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .15s; }
  .nav-back:hover { color: var(--ink); }

  @media (max-width: 920px) {
    .gs-grid { grid-template-columns: 1fr; gap: 28px; }
    .gs-copy { max-width: 560px; }
  }
  @media (max-width: 520px) {
    .gs-row { grid-template-columns: 1fr; }
  }
