/* ==========================================================================
   Marketing site — design system
   Self-contained by design: no CDN, no webfont request, no external asset.
   The page must render identically offline, on a plane, in a client meeting.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* surfaces — a near-black base with layered panels, not flat #000 */
  --bg:            #05060B;
  --bg-2:          #080A12;
  --panel:         rgba(255, 255, 255, 0.024);
  --panel-2:       rgba(255, 255, 255, 0.045);
  --panel-solid:   #0C0E17;
  --hairline:      rgba(255, 255, 255, 0.075);
  --hairline-2:    rgba(255, 255, 255, 0.14);

  /* ink */
  --ink:           #F4F6FB;
  --ink-2:         #A8B0C4;
  --ink-3:         #6C7489;
  --ink-4:         #454C5E;

  /* brand — violet→cyan is the signature; everything else is supporting cast */
  --brand:         #7C5CFF;
  --brand-2:       #A78BFA;
  --cyan:          #22D3EE;
  --lime:          #A3E635;
  --amber:         #FBBF24;
  --rose:          #FB7185;

  --grad:          linear-gradient(112deg, #7C5CFF 0%, #6366F1 38%, #22D3EE 100%);
  --grad-soft:     linear-gradient(112deg, rgba(124,92,255,.16), rgba(34,211,238,.10));
  --grad-text:     linear-gradient(104deg, #C4B5FD 0%, #A78BFA 30%, #67E8F9 78%);

  /* elevation — soft, wide, low-opacity. Hard shadows read cheap. */
  --sh-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.5);
  --sh-2: 0 2px 4px rgba(0,0,0,.3), 0 24px 60px -16px rgba(0,0,0,.7);
  --sh-glow: 0 0 0 1px rgba(124,92,255,.28), 0 12px 48px -12px rgba(124,92,255,.45);

  --r-sm: 8px;  --r: 14px;  --r-lg: 20px;  --r-xl: 28px;

  --shell: 1220px;
  --gut: clamp(20px, 5vw, 48px);

  /* A single easing everywhere. Consistency is most of what reads as "designed". */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02","cv03","cv04","ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 640; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
::selection { background: rgba(124,92,255,.34); color: #fff; }

/* Scrollbar — small detail, but a default grey bar undoes a lot of polish. */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1C2030; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2A3044; }

/* ---------- ambient background: gradient mesh + grid + grain ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb-1 { width: 62vw; height: 62vw; left: -18vw; top: -22vw;
         background: radial-gradient(circle at 40% 40%, rgba(124,92,255,.5), transparent 66%); }
.orb-2 { width: 52vw; height: 52vw; right: -16vw; top: 6vh;
         background: radial-gradient(circle at 60% 40%, rgba(34,211,238,.34), transparent 66%); }
.orb-3 { width: 46vw; height: 46vw; left: 32vw; top: 88vh;
         background: radial-gradient(circle at 50% 50%, rgba(99,102,241,.32), transparent 68%); }
.grid-bg {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 110% 65% at 50% 0%, #000 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 65% at 50% 0%, #000 32%, transparent 78%);
}
/* Grain kills the "flat CSS gradient" tell. SVG turbulence = no image request. */
.grain {
  position: absolute; inset: 0; opacity: .032; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.sec { padding: clamp(76px, 10vw, 140px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.center { text-align: center; }
.mx { margin-inline: auto; }

/* ---------- type ---------- */
.display {
  font-size: clamp(2.25rem, 4.1vw, 3.05rem);
  line-height: 1.08; letter-spacing: -0.04em; font-weight: 660;
}
.h2 { font-size: clamp(1.85rem, 3.6vw, 3.05rem); letter-spacing: -0.038em; }
.h3 { font-size: clamp(1.3rem, 2.1vw, 1.72rem); letter-spacing: -0.028em; }
.h4 { font-size: 1.06rem; letter-spacing: -0.02em; font-weight: 620; }
.lede { font-size: clamp(1.06rem, 1.55vw, 1.28rem); color: var(--ink-2); line-height: 1.62; }
.small { font-size: .875rem; }
.tiny { font-size: .785rem; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.tabnum { font-variant-numeric: tabular-nums; }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Hand-drawn underline that draws itself in — cheap trick, reads expensive. */
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .5em; overflow: visible; }
.mark path {
  fill: none; stroke: url(#markGrad); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
.in .mark path { animation: draw 1.1s var(--ease) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .715rem; font-weight: 620; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2); padding: 7px 15px 7px 12px; border-radius: 99px;
  background: var(--panel); border: 1px solid var(--hairline); backdrop-filter: blur(12px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
.eyebrow .dot.pulse { box-shadow: 0 0 0 0 rgba(163,230,53,.7); animation: pulse 2.2s infinite; }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(163,230,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(163,230,53,0); }
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px;
  font-size: .755rem; font-weight: 560; background: var(--panel-2);
  border: 1px solid var(--hairline); color: var(--ink-2); white-space: nowrap;
}
.chip.on { background: rgba(124,92,255,.15); border-color: rgba(124,92,255,.4); color: #DDD6FE; }
.chip.good { background: rgba(163,230,53,.12); border-color: rgba(163,230,53,.32); color: #D9F99D; }
.chip.warn { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.3); color: #FDE68A; }
.chip.bad  { background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.3); color: #FECDD3; }
.chip.soon { background: rgba(255,255,255,.045); border-color: var(--hairline); color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 99px; font-weight: 600; font-size: .945rem;
  letter-spacing: -.01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(112deg, #8B6BFF, #7DD3FC); transition: opacity .32s var(--ease);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(124,92,255,.5), 0 18px 60px -12px rgba(124,92,255,.62); }
.btn-ghost { background: var(--panel-2); border: 1px solid var(--hairline-2); color: var(--ink); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.075); }
.btn-lg { padding: 17px 34px; font-size: 1.01rem; }
.btn .arr { transition: transform .32s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* Sheen sweep on hover — the detail people read as "expensive". */
.btn-primary .sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.4) 50%, transparent 62%);
  transform: translateX(-110%);
}
.btn-primary:hover .sheen { animation: sheen .85s var(--ease-io); }
@keyframes sheen { to { transform: translateX(110%); } }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r-lg); padding: 26px;
  background: var(--panel); border: 1px solid var(--hairline);
  backdrop-filter: blur(16px); transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.card:hover { border-color: var(--hairline-2); transform: translateY(-3px); background: var(--panel-2); }
/* Cursor-tracked spotlight (JS sets --mx/--my). Subtle; you feel it more than see it. */
.card.lit::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  transition: opacity .4s var(--ease); pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,.11), transparent 42%);
}
.card.lit:hover::before { opacity: 1; }
.card-glow { box-shadow: var(--sh-2); }
.bordered { border: 1px solid var(--hairline); border-radius: var(--r-lg); }

/* Gradient hairline border — one pixel of colour, big perceived jump. */
.edge { position: relative; }
.edge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(124,92,255,.55), rgba(34,211,238,.28) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- icon tile ---------- */
.ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(150deg, rgba(124,92,255,.2), rgba(34,211,238,.09));
  border: 1px solid rgba(124,92,255,.24); color: #C4B5FD;
}
.ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.lg { width: 52px; height: 52px; border-radius: 15px; }
.ico.lg svg { width: 25px; height: 25px; }
.ico.cy { background: linear-gradient(150deg, rgba(34,211,238,.2), rgba(124,92,255,.08)); border-color: rgba(34,211,238,.26); color: #67E8F9; }
.ico.li { background: linear-gradient(150deg, rgba(163,230,53,.18), rgba(34,211,238,.07)); border-color: rgba(163,230,53,.26); color: #BEF264; }
.ico.am { background: linear-gradient(150deg, rgba(251,191,36,.18), rgba(251,113,133,.07)); border-color: rgba(251,191,36,.26); color: #FCD34D; }
.ico.ro { background: linear-gradient(150deg, rgba(251,113,133,.18), rgba(124,92,255,.07)); border-color: rgba(251,113,133,.26); color: #FDA4AF; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.stuck { background: rgba(5,6,11,.76); backdrop-filter: blur(22px) saturate(180%); border-bottom-color: var(--hairline); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 660; letter-spacing: -.03em; font-size: 1.09rem; }
.logo-mk {
  width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--grad); box-shadow: 0 5px 18px -5px rgba(124,92,255,.75);
}
.logo-mk svg { width: 17px; height: 17px; }
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: .895rem; color: var(--ink-2); font-weight: 520;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: var(--panel-2); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--hairline); place-items: center; }
.burger svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* progress bar — orientation cue on a very long page */
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; z-index: 101; background: var(--grad); width: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(104px, 12vw, 150px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 54px); align-items: center; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 22px 0 0; }
.hero .lede { margin-top: 22px; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; font-size: .845rem; color: var(--ink-3); }
.hero-note svg { width: 15px; height: 15px; stroke: var(--lime); fill: none; stroke-width: 2.2; }

/* stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden;
}
.stat-strip > div { background: #070911; padding: 22px 20px; }
.stat-strip .n { font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 660; letter-spacing: -.04em; line-height: 1; }
.stat-strip .l { font-size: .765rem; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }

/* ---------- product mockups (shared chrome) ---------- */
.mock {
  border-radius: var(--r-xl); overflow: hidden; background: #070911;
  border: 1px solid var(--hairline-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.045);
  position: relative;
}
.mock-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: linear-gradient(#0E1120, #0A0D18); border-bottom: 1px solid var(--hairline);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #262B3D; }
.mock-dots i:nth-child(1) { background: #3A2130; }
.mock-dots i:nth-child(2) { background: #3A3220; }
.mock-dots i:nth-child(3) { background: #1F3328; }
.mock-url {
  flex: 1; max-width: 330px; margin: 0 auto; padding: 5px 13px; border-radius: 7px;
  background: rgba(0,0,0,.42); border: 1px solid var(--hairline);
  font-size: .715rem; color: var(--ink-3); text-align: center; font-family: var(--mono);
}
.mock-body { padding: 22px; }
.mock-live {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 620;
  color: var(--lime); letter-spacing: .05em; text-transform: uppercase;
}
.mock-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* Hero variant: the screenshot is taller than the fold, so cap it and let the content
   bleed off the bottom behind a fade. Also drop the fake sidebar — at this column width it
   squeezed the KPI grid down to a single column. */
.mock-hero { max-height: 672px; }
.mock-hero .app { grid-template-columns: 1fr; min-height: 0; }
.mock-hero .app-side { display: none; }
.mock-hero .mock-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, #070911 82%);
}
@media (max-width: 1080px) { .mock-hero { max-height: none; } .mock-hero .mock-fade { display: none; } }

/* fake app shell */
.app { display: grid; grid-template-columns: 190px 1fr; min-height: 470px; }
.app-side { border-right: 1px solid var(--hairline); padding: 18px 12px; background: rgba(255,255,255,.012); }
.app-nav { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: .825rem; color: var(--ink-3); }
.app-nav.on { background: rgba(124,92,255,.14); color: #DDD6FE; font-weight: 560; }
.app-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.app-main { padding: 20px 22px; min-width: 0; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: 10px; }
.kpi { padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--hairline); }
.kpi .k { font-size: .69rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .075em; font-weight: 580; }
.kpi .v { font-size: 1.32rem; font-weight: 660; letter-spacing: -.035em; margin-top: 6px; }
.kpi .d { font-size: .72rem; margin-top: 3px; display: flex; align-items: center; gap: 4px;
          white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up { color: var(--lime); } .down { color: var(--rose); }

/* data table */
.tbl { width: 100%; border-collapse: collapse; font-size: .805rem; }
.tbl th {
  text-align: left; font-size: .675rem; text-transform: uppercase; letter-spacing: .085em;
  color: var(--ink-4); font-weight: 620; padding: 9px 10px; border-bottom: 1px solid var(--hairline); white-space: nowrap;
}
.tbl td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.045); color: var(--ink-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .22s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.028); }
.tbl .r { text-align: right; }
.tbl .name { color: var(--ink); font-weight: 540; }
.bar-cell { position: relative; height: 5px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; min-width: 54px; }
.bar-cell i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--grad); width: 0; transition: width 1.3s var(--ease); }
.scroll-x { overflow-x: auto; }

/* ---------- section heading ---------- */
.sec-head { max-width: 880px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin: 18px 0 0; }
.sec-head .lede { margin-top: 18px; }

/* ---------- grids ---------- */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.split.wide-r { grid-template-columns: .88fr 1.12fr; }
.split.wide-l { grid-template-columns: 1.12fr .88fr; }

/* ---------- pain → answer flip cards ---------- */
.pain {
  position: relative; border-radius: var(--r-lg); padding: 26px; overflow: hidden;
  background: linear-gradient(165deg, rgba(251,113,133,.055), rgba(255,255,255,.014));
  border: 1px solid rgba(251,113,133,.15);
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.pain:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.42); }
.pain .stat { font-size: 2.15rem; font-weight: 680; letter-spacing: -.045em; line-height: 1; color: #FDA4AF; }
.pain:hover .stat { color: #C4B5FD; transition: color .45s var(--ease); }
.pain .q { font-weight: 600; margin-top: 12px; font-size: 1.02rem; letter-spacing: -.02em; }
.pain .body { color: var(--ink-2); font-size: .9rem; margin-top: 9px; line-height: 1.6; }
.pain .src { font-size: .71rem; color: var(--ink-4); margin-top: 12px; }
.pain-fix {
  margin-top: 16px; padding-top: 15px; border-top: 1px dashed rgba(255,255,255,.1);
  display: flex; gap: 10px; align-items: flex-start;
  opacity: .55; transition: opacity .45s var(--ease);
}
.pain:hover .pain-fix { opacity: 1; }
.pain-fix svg { width: 17px; height: 17px; stroke: var(--lime); fill: none; stroke-width: 2.2; flex: 0 0 auto; margin-top: 2px; }
.pain-fix b { color: var(--ink); font-weight: 600; }
.pain-fix span { font-size: .875rem; color: var(--ink-2); }

/* ---------- feature block ---------- */
.feat-tag {
  font-size: .705rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2);
}
.tagline {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-2); font-weight: 500;
  margin-top: 14px; font-style: italic; letter-spacing: -.012em;
}
.tagline b { color: var(--ink); font-style: normal; font-weight: 620; }
.bullets { display: grid; gap: 13px; margin-top: 26px; }
.bullet { display: flex; gap: 12px; align-items: flex-start; }
.bullet svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; stroke: var(--cyan); fill: none; stroke-width: 2.1; }
.bullet b { font-weight: 600; }
.bullet p { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }

/* ---------- dimension explorer ---------- */
.dims { display: flex; flex-wrap: wrap; gap: 9px; }
.dim-btn {
  padding: 9px 15px; border-radius: 99px; font-size: .845rem; font-weight: 540;
  background: var(--panel); border: 1px solid var(--hairline); color: var(--ink-2);
  transition: all .3s var(--ease);
}
.dim-btn:hover { border-color: var(--hairline-2); color: var(--ink); transform: translateY(-2px); }
.dim-btn.on { background: rgba(124,92,255,.17); border-color: rgba(124,92,255,.5); color: #E9D5FF; }

/* ---------- channel cards ---------- */
.chan {
  position: relative; padding: 22px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--hairline);
  transition: all .42s var(--ease);
}
.chan:hover { transform: translateY(-5px); border-color: rgba(124,92,255,.4); background: var(--panel-2); }
.chan .n { font-weight: 620; margin-top: 15px; letter-spacing: -.022em; }
.chan .m { font-size: .83rem; color: var(--ink-3); margin-top: 5px; line-height: 1.5; }
.chan .badge { position: absolute; top: 16px; right: 16px; }
.chan-viz { height: 74px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--hairline); margin-top: 16px; overflow: hidden; position: relative; }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- campaign doctor ---------- */
.dx { display: grid; gap: 10px; }
.dx-row {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--hairline);
  opacity: .28; transform: translateX(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.dx-row.done { opacity: 1; transform: none; }
.dx-row.hit { border-color: rgba(251,113,133,.45); background: rgba(251,113,133,.07); }
.dx-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.dx-ic svg { width: 14px; height: 14px; stroke-width: 2.6; fill: none; }
.dx-ic.ok  { background: rgba(163,230,53,.16); color: var(--lime); }
.dx-ic.no  { background: rgba(251,113,133,.16); color: var(--rose); }
.dx-ic.sp  { background: rgba(255,255,255,.06); color: var(--ink-3); }
.dx-ic.sp svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dx-txt { flex: 1; min-width: 0; }
.dx-txt b { font-size: .915rem; font-weight: 560; }
.dx-txt p { font-size: .8rem; color: var(--ink-3); margin-top: 1px; }
.dx-verdict {
  margin-top: 16px; padding: 18px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(124,92,255,.13), rgba(34,211,238,.05));
  border: 1px solid rgba(124,92,255,.34);
  opacity: 0; transform: translateY(10px); transition: all .6s var(--ease);
}
.dx-verdict.show { opacity: 1; transform: none; }

/* ---------- AI cards ---------- */
.ai-card {
  padding: 19px; border-radius: var(--r-lg); background: var(--panel);
  border: 1px solid var(--hairline); position: relative; overflow: hidden;
}
.ai-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad);
}
.ai-head { display: flex; align-items: center; gap: 9px; font-size: .715rem; font-weight: 620;
           letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); }
.ai-body { margin-top: 11px; font-size: .93rem; line-height: 1.6; }
.ai-body b { color: #fff; }
.ai-act { display: flex; gap: 8px; margin-top: 15px; flex-wrap: wrap; }
.ai-btn { padding: 7px 14px; border-radius: 8px; font-size: .81rem; font-weight: 560;
          background: var(--grad); color: #fff; }
.ai-btn.sec { background: var(--panel-2); border: 1px solid var(--hairline-2); color: var(--ink-2); }

/* ---------- targeting grid ---------- */
.tg {
  padding: 17px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--hairline);
  transition: all .35s var(--ease);
}
.tg:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.4); background: var(--panel-2); }
.tg .n { font-weight: 600; font-size: .935rem; margin-top: 11px; letter-spacing: -.02em; }
.tg .m { font-size: .795rem; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* ---------- support / people ---------- */
.person { display: flex; gap: 15px; align-items: center; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-weight: 660; font-size: 1.02rem; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(140deg, #7C5CFF, #22D3EE);
}
.avatar.b { background: linear-gradient(140deg, #F472B6, #FB923C); }
.avatar.c { background: linear-gradient(140deg, #34D399, #22D3EE); }

/* ---------- stat band ---------- */
.band {
  border-radius: var(--r-xl); padding: clamp(30px, 4vw, 46px);
  background: linear-gradient(140deg, rgba(124,92,255,.1), rgba(34,211,238,.045));
  border: 1px solid rgba(124,92,255,.22);
}

/* ---------- quotes ---------- */
.quote { padding: 26px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--hairline); }
.quote .q { font-size: 1.02rem; line-height: 1.62; letter-spacing: -.018em; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.ph-note {
  font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 620;
  color: var(--amber); background: rgba(251,191,36,.1); border: 1px dashed rgba(251,191,36,.35);
  padding: 3px 9px; border-radius: 6px; display: inline-block;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left; font-size: 1.045rem; font-weight: 570; letter-spacing: -.022em;
  transition: color .25s;
}
.faq-q:hover { color: var(--brand-2); }
.faq-q svg { width: 19px; height: 19px; stroke: var(--ink-3); fill: none; stroke-width: 2; flex: 0 0 auto; transition: transform .42s var(--ease); }
.faq.open .faq-q svg { transform: rotate(45deg); stroke: var(--brand-2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a > div { padding: 0 4px 24px; color: var(--ink-2); max-width: 780px; }

/* ---------- final CTA ---------- */
.cta-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 60px);
  background: radial-gradient(ellipse 90% 130% at 50% 0%, rgba(124,92,255,.24), transparent 62%), #080A12;
  border: 1px solid rgba(124,92,255,.3);
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hairline); padding: 60px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
.foot h5 { font-size: .755rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-4); font-weight: 620; margin: 0 0 15px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { font-size: .875rem; color: var(--ink-2); transition: color .22s; }
.foot a:hover { color: var(--ink); }
.foot-btm {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--hairline);
  font-size: .81rem; color: var(--ink-4);
}

/* placeholder-brand banner — this is a template, and the reader should know it */
.tpl-bar {
  margin-bottom: 34px; max-width: 640px;
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(12, 10, 4, .92); backdrop-filter: blur(14px);
  border: 1px dashed rgba(251,191,36,.4); border-radius: var(--r);
  padding: 12px 14px; font-size: .775rem; line-height: 1.5; color: #FDE68A;
  box-shadow: var(--sh-2);
}
.tpl-bar b { color: #fff; }
.tpl-bar code { font-family: var(--mono); font-size: .95em; color: #FCD34D; }
.tpl-bar button {
  margin-left: auto; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 5px;
  display: grid; place-items: center; color: #FDE68A; opacity: .65;
}
.tpl-bar button:hover { opacity: 1; background: rgba(255,255,255,.08); }
.tpl-bar[hidden] { display: none; }
@media (max-width: 700px) { .tpl-bar { display: none; } }

/* ==========================================================================
   Reveal-on-scroll. JS adds .in; everything staggers off one class.
   ========================================================================== */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv-l.in { opacity: 1; transform: none; }
.rv-r { opacity: 0; transform: translateX(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv-r.in { opacity: 1; transform: none; }
.rv-s { opacity: 0; transform: scale(.965); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.rv-s.in { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .08s; } [data-d="2"] { transition-delay: .16s; }
[data-d="3"] { transition-delay: .24s; } [data-d="4"] { transition-delay: .32s; }
[data-d="5"] { transition-delay: .40s; } [data-d="6"] { transition-delay: .48s; }
[data-d="7"] { transition-delay: .56s; } [data-d="8"] { transition-delay: .64s; }

/* animated chart lines draw themselves */
.spark path.line { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 2.2s var(--ease); }
.in .spark path.line, .spark.in path.line { stroke-dashoffset: 0; }
.spark path.area { opacity: 0; transition: opacity 1.4s var(--ease) .5s; }
.in .spark path.area, .spark.in path.area { opacity: 1; }
.grow { transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease); }
.in .grow { transform: scaleY(1); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .split, .split.wide-r, .split.wide-l { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .g3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero .lede { max-width: none; }
}
@media (max-width: 560px) {
  .g2, .g4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 13px 21px; font-size: .9rem; }
  .card, .pain, .chan { padding: 20px; }
  .mock-body { padding: 15px; }
  .nav-cta .btn-ghost { display: none; }
}

/* Motion is decoration. Anyone who asks for less gets content, immediately. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .001ms !important; }
  .rv, .rv-l, .rv-r, .rv-s { opacity: 1 !important; transform: none !important; }
  .spark path.line { stroke-dashoffset: 0 !important; }
  .spark path.area { opacity: 1 !important; }
  .grow { transform: scaleY(1) !important; }
}

/* ==========================================================================
   Legal pages (/terms, /privacy)
   Long-form reading, not marketing. Wider measure, calmer type, no animation —
   somebody scanning a liability clause does not want things sliding around.
   ========================================================================== */
/* Legal pages use a STATIC header, not the site's fixed one: the sticky TOC is the navigation aid
   here, and a fixed bar would collide with the draft banner above it (and eat reading height). */
body.legal .nav { position: relative; background: rgba(5,6,11,.76); backdrop-filter: blur(22px);
                  border-bottom: 1px solid var(--hairline); }
.legal-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px);
               padding-top: clamp(38px, 5vw, 58px); padding-bottom: clamp(60px, 8vw, 100px); }
@media (max-width: 900px) { .legal-shell { grid-template-columns: 1fr; padding-top: 34px; } }

/* Sticky table of contents. A 6,000-word document without one is hostile. */
.legal-toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
@media (max-width: 900px) { .legal-toc { position: static; max-height: none; margin-bottom: 8px; } }
.legal-toc h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-4); margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc a {
  display: block; padding: 6px 10px; border-radius: 7px; font-size: .825rem; color: var(--ink-3);
  line-height: 1.4; transition: color .2s, background .2s;
}
.legal-toc a:hover { color: var(--ink); background: var(--panel-2); }
.legal-toc li { counter-increment: toc; }
.legal-toc a::before { content: counter(toc) ". "; color: var(--ink-4); }

/* The document itself. */
.prose { max-width: 74ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.038em; }
.prose h2 {
  font-size: clamp(1.18rem, 2vw, 1.42rem); letter-spacing: -.026em; margin: 52px 0 14px;
  padding-top: 22px; border-top: 1px solid var(--hairline); scroll-margin-top: 24px;
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.02rem; letter-spacing: -.018em; margin: 26px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); line-height: 1.72; font-size: .955rem; }
.prose p { margin: 13px 0; }
.prose ul, .prose ol { margin: 13px 0; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--ink-4); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand-2); text-decoration: underline; text-decoration-color: rgba(167,139,250,.4);
           text-underline-offset: 2px; }
.prose a:hover { text-decoration-color: var(--brand-2); }
.prose code { font-family: var(--mono); font-size: .875em; background: var(--panel-2);
              border: 1px solid var(--hairline); border-radius: 5px; padding: 1px 5px; color: #C4B5FD; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .885rem; }
.prose th { text-align: left; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em;
            color: var(--ink-4); font-weight: 620; padding: 9px 12px; border-bottom: 1px solid var(--hairline-2); }
.prose td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--ink-2);
            vertical-align: top; }
.prose .lede { font-size: 1.06rem; }

/* Version header — the whole point of a versioned consent record is that the document says which
   version it is, prominently, where a reader (or a regulator) will look first. */
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 22px 0 8px;
  padding: 14px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--hairline);
}
.legal-meta div { font-size: .8rem; color: var(--ink-3); }
.legal-meta b { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; margin-top: 2px; }

/* A callout for the things a reader genuinely needs to notice. */
.callout {
  margin: 22px 0; padding: 16px 18px; border-radius: var(--r);
  background: rgba(124,92,255,.08); border: 1px solid rgba(124,92,255,.26);
}
.callout p { margin: 0; color: var(--ink-2); }
.callout p + p { margin-top: 10px; }
.callout.warn { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.28); }

/* DRAFT banner. Deliberately loud and deliberately easy to delete — see website/README.md. */
.draft-banner {
  position: sticky; top: 0; z-index: 99;
  background: repeating-linear-gradient(135deg, rgba(251,113,133,.16) 0 12px, rgba(251,113,133,.09) 12px 24px);
  border-bottom: 1px solid rgba(251,113,133,.4); backdrop-filter: blur(12px);
  padding: 11px 0; font-size: .83rem; color: #FECDD3; text-align: center;
}
.draft-banner b { color: #fff; }
