/* ══════════════════════════════════════════════════════════════════════════
   InventDB — website-v45 design system
   Bare-minimum flat design. Big logo, big type, short lines, no decoration
   that is not doing work. Light (default) + dark via html[data-theme].
   The HERO STAGE is always dark and cinematic (particle constellation canvas,
   violet nebula, gradient display type), adapted from the engine-pillars demo.
   Used by index.html and technology.html. Other pages keep their stylesheets.
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── tokens · light (DEFAULT) ───────────────────────────────────────────── */
:root,
html[data-theme="light"] {
  --canvas:  #f7f5f1;
  --surface: #ffffff;
  --inset:   #efece6;
  --line:        rgba(30, 26, 40, .09);
  --line-strong: rgba(30, 26, 40, .16);

  --fg:   #201c28;
  --fg-2: #5d5768;
  --fg-3: #8f899b;

  --accent:    #48176a;
  --accent-hi: #7a3fb8;
  --on-accent: #ffffff;
  --accent-tint:   rgba(72, 23, 106, .06);
  --accent-tint-2: rgba(72, 23, 106, .12);
  --accent-line:   rgba(72, 23, 106, .28);

  --green: #187a4a;

  /* the hero stage follows the theme: light = clean light hero */
  --stage-deep: #f7f5f1;
  --stage-ink:       #201c28;
  --stage-ink-2:     #5d5768;
  --stage-ink-3:     #8f899b;
  --stage-violet:    #7c3aed;
  --stage-lav:       #7a3fb8;
  --stage-line:      rgba(72, 23, 106, .22);
  --stage-grad: linear-gradient(94deg, #48176a 5%, #8b4fd8 60%, #a855f7 95%);
  --stage-glow: rgba(124, 58, 237, .22);

  --shadow-card: 0 1px 2px rgba(17, 14, 26, .05), 0 8px 28px -18px rgba(17, 14, 26, .16);

  --r-sm: 9px;  --r-md: 14px;  --r-lg: 20px;  --r-pill: 999px;
  --font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-ui:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  --nav-h: 64px;
  --shell: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --fs-ui:   15.5px;
  --fs-lead: clamp(1.05rem, .95rem + .5vw, 1.25rem);
  --fs-h2:   clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  --fs-h1:   clamp(2.6rem, 1.6rem + 5vw, 5.2rem);
}

/* ── tokens · dark ──────────────────────────────────────────────────────── */
html[data-theme="dark"] {
  --canvas:  #131117;
  --surface: #1b1821;
  --inset:   #1e1a26;
  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);

  --fg:   #edeaf1;
  --fg-2: #a8a1b3;
  --fg-3: #746d81;

  --accent:    #b793e6;
  --accent-hi: #cbadf0;
  --on-accent: #241640;
  --accent-tint:   rgba(183, 147, 230, .10);
  --accent-tint-2: rgba(183, 147, 230, .17);
  --accent-line:   rgba(183, 147, 230, .34);

  --green: #57bd88;

  /* dark = the cinematic stage */
  --stage-deep: #0a0618;
  --stage-ink:       #f6f2ff;
  --stage-ink-2:     #b8aedc;
  --stage-ink-3:     #7d74a8;
  --stage-violet:    #7c3aed;
  --stage-lav:       #b793e6;
  --stage-line:      rgba(183, 147, 230, .22);
  --stage-grad: linear-gradient(94deg, #b793e6 0%, #f3e8ff 55%, #c4b5fd 100%);
  --stage-glow: rgba(124, 58, 237, .55);

  --shadow-card: none;
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: var(--font-ui); font-size: var(--fs-ui); line-height: 1.6;
  color: var(--fg-2); background: var(--canvas);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .25s var(--ease);
}
h1, h2, h3 {
  font-family: var(--font-display); color: var(--fg);
  margin: 0 0 .4em; letter-spacing: -.028em; line-height: 1.05; font-weight: 700;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
p  { margin: 0 0 1em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--fg); font-weight: 600; }
img, svg { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-tint-2); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.skip-link { position: absolute; left: -9999px; z-index: 300; }
.skip-link:focus {
  left: 14px; top: 14px; background: var(--accent); color: var(--on-accent);
  padding: 9px 16px; border-radius: var(--r-sm); font-weight: 600;
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 22px; }
.sec { padding: clamp(48px, 5vw, 92px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head p { font-size: var(--fs-lead); max-width: 620px; }
.kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}

/* two-column section: sticky label left, flowing content right */
.sec-grid { display: grid; gap: 18px 60px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sec-grid { grid-template-columns: 240px minmax(0, 1fr); } }
.sec-label { align-self: start; }
@media (min-width: 900px) { .sec-label { position: sticky; top: calc(var(--nav-h) + 24px); } }
.sec-label h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin: 0; }
.sec-label .kicker { margin-bottom: 8px; }
.sec-label p { font-size: 14px; color: var(--fg-3); margin: 10px 0 0; max-width: 220px; }

/* reveal: content is always visible; no scroll-gated flicker */
.rv { opacity: 1; }

/* ── nav (transparent over the stage, frosted after) ────────────────────── */
.nv {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
}
.nv.nv-solid {
  position: sticky; top: 0; background: color-mix(in srgb, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* stage pages: the nav starts transparent over the hero, stays fixed while
   scrolling, and takes the glass treatment once the page moves */
.nv.on-stage { position: fixed; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.nv.on-stage.nv-scrolled {
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nv-inner {
  max-width: var(--shell); margin: 0 auto; padding: 0 22px;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-mark { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -.025em; color: var(--fg);
}
.on-stage .brand-word { color: var(--stage-ink); }
.nv-links { display: none; align-items: center; gap: 4px; }
.nv-links a {
  font-size: 14.5px; font-weight: 500; color: var(--fg-2);
  padding: 8px 13px; border-radius: var(--r-pill); text-decoration: none !important;
}
.nv-links a:hover, .nv-links a[aria-current="page"] { color: var(--fg); background: var(--accent-tint); }
.on-stage .nv-links a { color: var(--stage-ink-2); }
.on-stage .nv-links a:hover, .on-stage .nv-links a[aria-current="page"] { color: var(--stage-ink); background: rgba(183, 147, 230, .14); }
.nv-right { display: flex; align-items: center; gap: 10px; }

/* Products dropdown: CSS-only, hover + keyboard focus */
.nv-drop { position: relative; }
.nv-drop > a {
  display: inline-flex; align-items: center; gap: 6px;
}
.nv-drop .caret { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nv-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; z-index: 110;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 18px 50px -18px rgba(17, 14, 26, .28);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nv-drop:hover .nv-menu, .nv-drop:focus-within .nv-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nv-menu a {
  display: block; padding: 11px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--fg-2) !important;
  background: none !important; text-decoration: none !important;
}
.nv-menu a:hover { background: var(--accent-tint) !important; color: var(--fg) !important; }
.nv-menu a small { display: block; font-size: 12px; color: var(--fg-3); font-weight: 400; }
.on-stage .nv-menu { background: var(--surface); }

.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  color: var(--fg-2);
}
.on-stage .theme-toggle { border-color: var(--stage-line); color: var(--stage-ink-2); }
.theme-toggle:hover { color: var(--fg); border-color: var(--accent-line); }
.on-stage .theme-toggle:hover { color: var(--stage-ink); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
html[data-theme="light"] .theme-toggle .sun  { display: none; }
html[data-theme="dark"]  .theme-toggle .moon { display: none; }

.nv-cta {
  display: none; align-items: center; gap: 7px;
  background: var(--accent); color: var(--on-accent) !important;
  font-weight: 600; font-size: 14.5px; padding: 10px 20px;
  border-radius: var(--r-pill); text-decoration: none !important;
  transition: transform .18s var(--ease);
}
.nv-cta:hover { transform: translateY(-1px); }
.on-stage .nv-cta {
  background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff !important;
  box-shadow: 0 0 30px rgba(124, 58, 237, .45);
}
@media (min-width: 900px) { .nv-cta { display: inline-flex; } }

.nv-burger {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--fg);
}
.on-stage .nv-burger { border-color: var(--stage-line); color: var(--stage-ink); }
.nv-burger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.nv-burger .x { display: none; }
body.drawer-open .nv-burger .menu { display: none; }
body.drawer-open .nv-burger .x { display: block; }
/* mobile drawer, the website-v39 design: full-height canvas panel below the
   nav, display-type links with hairline separators, pill CTA at the end */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 95;
  background: var(--canvas);
  padding: 18px 22px 40px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
body.drawer-open .drawer { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.drawer a {
  display: flex; align-items: center; gap: 12px; padding: 16px 8px; min-height: 44px;
  border-bottom: 1px solid var(--line); color: var(--fg);
  font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em;
  text-decoration: none !important;
}
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--accent); }
.drawer a:last-child {
  margin-top: 22px; justify-content: center; border-bottom: 0;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--r-pill); font-size: 17px; padding: 14px 24px;
}
.drawer a:last-child:hover { color: var(--on-accent); }
@media (min-width: 900px) {
  .nv-links { display: flex; }
  .nv-burger, .drawer { display: none !important; }
}

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 26px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  text-decoration: none !important; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-tint); }
.btn-stage {
  background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff;
  box-shadow: 0 0 44px rgba(124, 58, 237, .5);
}
.btn-stage:hover { box-shadow: 0 0 60px rgba(168, 85, 247, .65); }
.btn-stage-ghost { background: transparent; color: var(--stage-ink); border-color: var(--stage-line); }
.btn-stage-ghost:hover { border-color: var(--stage-lav); background: rgba(183, 147, 230, .1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── the hero stage ─────────────────────────────────────────────────────── */
.stage-hero {
  position: relative; overflow: hidden; background: var(--stage-deep);
  color: var(--stage-ink); text-align: center;
}
.stage-inner {
  position: relative; max-width: 980px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 90px)) 22px clamp(56px, 8vh, 100px);
}
.stage-inner.compact { padding-top: calc(var(--nav-h) + clamp(28px, 4vh, 48px)); padding-bottom: clamp(36px, 5vh, 60px); }
.stage-logo { width: clamp(72px, 10vw, 118px); height: auto; margin: 0 auto 18px; display: block; filter: drop-shadow(0 0 34px var(--stage-glow)); }
.stage-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 1.8rem + 4.5vw, 4.6rem); color: var(--stage-ink); line-height: 1;
}
.stage-word em, .stage-grad {
  font-style: normal; background: var(--stage-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 26px var(--stage-glow));
}
.stage-hero h1 {
  color: var(--stage-ink); margin: 26px 0 0;
  font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.7rem); letter-spacing: -.03em; text-wrap: balance;
}
.stage-trio {
  margin: 22px auto 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, .9rem + 1vw, 1.5rem); letter-spacing: -.015em;
  color: var(--stage-ink-2); text-wrap: balance;
}
.stage-trio b { color: var(--stage-ink); font-weight: 700; }
.stage-trio .sep { color: var(--stage-ink-3); padding: 0 .45em; }
.stage-deploy {
  margin: 14px auto 0; font-size: clamp(.95rem, .85rem + .5vw, 1.15rem);
  color: var(--stage-ink-2); text-wrap: balance;
}
.stage-deploy b { color: var(--stage-ink); font-weight: 600; }
.stage-cta { margin-top: 34px; }
.stage-note { margin: 22px 0 0; font-size: 13.5px; color: var(--stage-ink-3); }
.stage-note strong { color: var(--stage-ink-2); font-weight: 600; }

/* the og-card doodles, now the hero's static decoration */
.stage-doodles { position: absolute; inset: 0; pointer-events: none; }
.stage-doodles .doodle { position: absolute; }
.stage-doodles .cyl { top: 84px; right: 6%; transform: rotate(7deg); stroke: #7c3aed; }
.stage-doodles .braces {
  top: 96px; left: 7%; transform: rotate(-8deg);
  font-family: var(--font-display); font-weight: 800; font-size: 52px; color: #c9b2ee;
}
.stage-doodles .nodes { bottom: 40px; right: 5%; }
.stage-hero:has(.stage-inner.compact) .stage-doodles .nodes { display: none; }
.stage-doodles .nodes .link { stroke: #a855f7; }
.stage-doodles .nodes .n1 { fill: #fff; stroke: #48176a; }
.stage-doodles .nodes .n2 { fill: #e2d4f7; stroke: #48176a; }
.stage-doodles .nodes .n3 { fill: #fff; stroke: #7c3aed; }
.stage-doodles .star { top: 210px; right: 16%; fill: #e0b52f; }
html[data-theme="dark"] .stage-doodles .cyl { stroke: #8f6bd6; }
html[data-theme="dark"] .stage-doodles .braces { color: rgba(183, 147, 230, .45); }
html[data-theme="dark"] .stage-doodles .nodes .link { stroke: #8f6bd6; }
html[data-theme="dark"] .stage-doodles .nodes .n1 { fill: #171028; stroke: #b793e6; }
html[data-theme="dark"] .stage-doodles .nodes .n2 { fill: #2a1d47; stroke: #b793e6; }
html[data-theme="dark"] .stage-doodles .nodes .n3 { fill: #171028; stroke: #8f6bd6; }
@media (max-width: 900px) { .stage-doodles { display: none; } }

/* ── open, boxless content blocks ───────────────────────────────────────── */
/* text link with sliding arrow: the editorial CTA */
.alink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none !important;
}
.alink svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s var(--ease); }
.alink:hover svg { transform: translateX(4px); }

.trio-grid { display: grid; gap: 30px 52px; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); padding-top: 34px; }
.deploy-line {
  border-top: 1px solid var(--line); margin: 34px 0 0; padding-top: 24px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.1rem, 1rem + .8vw, 1.5rem); line-height: 1.4; color: var(--fg-2);
  max-width: 860px; text-wrap: balance;
}
.deploy-line b { color: var(--fg); font-weight: 700; }
@media (min-width: 820px) { .trio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio-card h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); line-height: 1.25; margin-bottom: 8px; }
.trio-card h3 b { color: var(--accent); font-weight: 700; }
.trio-card p { font-size: 15px; margin: 0; color: var(--fg-2); }

/* the four-layer platform stack (technology page) */
.stack4 { display: flex; flex-direction: column; gap: 8px; max-width: 880px; }
.band {
  border-radius: var(--r-lg); padding: 18px 22px;
  border: 1px solid var(--line-strong); background: transparent;
}
.band .bl {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px;
}
.band .bl b {
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--fg);
}
.band .bl span {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-3);
}
.band .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.band .chips i {
  font-style: normal; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 5px 13px; font-size: 13px; color: var(--fg-2); background: transparent;
}
.band.yours { border-style: dashed; border-color: var(--line-strong); background: transparent; box-shadow: none; }
.band.svc  { border-color: var(--accent-line); }
.band.core {
  background: var(--stage-deep); border-color: transparent;
  box-shadow: 0 14px 44px -18px rgba(12, 8, 30, .55);
}
.band.core .bl b { color: var(--stage-ink); }
.band.core .bl span { color: var(--stage-lav); }
.band.core .chips i {
  background: rgba(183, 147, 230, .1); border-color: rgba(183, 147, 230, .25); color: var(--stage-ink-2);
}
.stack4 .joins { display: flex; justify-content: center; gap: 26px; }
.stack4 .joins i { width: 2px; height: 13px; background: var(--accent-line); border-radius: 2px; }

/* feature rows: open definition list, hairline separated */
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.feat {
  display: grid; gap: 4px 40px; grid-template-columns: minmax(0, 1fr);
  padding: 20px 0; border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .feat { grid-template-columns: 250px minmax(0, 1fr); align-items: baseline; } }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat h3 { font-size: 16.5px; margin: 0; }
.feat p { font-size: 15px; margin: 0; color: var(--fg-2); max-width: 620px; }

/* product duo: two open columns, editorial */
.duo { display: grid; gap: 40px 52px; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); padding-top: 34px; }
@media (min-width: 820px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prod { display: flex; flex-direction: column; gap: 10px; }
.prod h3 { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.5rem); margin: 0; }
.prod .pk {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-3);
}
.prod p { font-size: 15.5px; margin: 0; max-width: 460px; }
.prod .price { font-size: 14px; color: var(--fg-3); margin-top: auto; }
.prod .price b { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg); }
.prod .alink { margin-top: 6px; }

/* verb list: open rows, arrow on hover */
.verbs { display: grid; grid-template-columns: minmax(0, 1fr); }
.verb {
  display: grid; gap: 2px 40px; grid-template-columns: minmax(0, 1fr);
  padding: 18px 0; border-top: 1px solid var(--line);
  text-decoration: none !important;
}
@media (min-width: 720px) { .verb { grid-template-columns: 250px minmax(0, 1fr); align-items: baseline; } }
.verb:last-child { border-bottom: 1px solid var(--line); }
.verb b {
  font-family: var(--font-display); font-weight: 700; color: var(--fg); font-size: 16.5px;
  transition: color .18s var(--ease);
}
.verb:hover b { color: var(--accent); }
.verb span { font-size: 15px; color: var(--fg-2); max-width: 620px; }

/* stats: bare numbers over one hairline */
.stats { display: grid; gap: 30px 44px; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); padding-top: 36px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); color: var(--fg); letter-spacing: -.035em; line-height: 1; }
.stat span { font-size: 13px; color: var(--fg-3); display: block; margin-top: 8px; max-width: 220px; }
.stats-fine { font-size: 12.5px; color: var(--fg-3); margin: 20px 0 0; max-width: 700px; }

/* discover: big text links, hairline rows */
.discover { display: grid; grid-template-columns: minmax(0, 1fr); }
.disc-card {
  display: grid; gap: 2px 40px; grid-template-columns: minmax(0, 1fr);
  padding: 24px 0; border-top: 1px solid var(--line);
  text-decoration: none !important; position: relative;
}
@media (min-width: 720px) { .disc-card { grid-template-columns: 250px minmax(0, 1fr) auto; align-items: baseline; } }
.disc-card:last-child { border-bottom: 1px solid var(--line); }
.disc-card h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); margin: 0; color: var(--fg); transition: color .18s var(--ease); }
.disc-card:hover h3 { color: var(--accent); }
.disc-card p { font-size: 15px; margin: 0; color: var(--fg-2); }
.disc-card .go { font-weight: 600; color: var(--accent); font-size: 15px; }

/* compliance: open fact lines */
.comply { display: grid; grid-template-columns: minmax(0, 1fr); }
.comply span {
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--fg-2);
}
.comply span:last-child { border-bottom: 1px solid var(--line); }
.comply span b { color: var(--fg); font-weight: 600; }

/* footer */
.ft { border-top: 1px solid var(--line); padding: clamp(36px, 4vw, 56px) 0 30px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px 44px; }
.ft-brand p { margin: 14px 0 0; font-size: 14px; color: var(--fg-2); max-width: 30ch; }
.ft-col { display: flex; flex-direction: column; gap: 9px; }
.ft-col b { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.ft-col a { color: var(--fg-2); font-size: 14px; text-decoration: none !important; width: fit-content; }
.ft-col a:hover { color: var(--accent); }
@media (max-width: 819px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .ft-brand { grid-column: 1 / -1; }
}
.ft-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px;
  font-size: 12.5px; color: var(--fg-3);
}
.ft-bottom a { color: var(--fg-3); }
.ft-addr { font-size: 12px; color: var(--fg-3); margin: 22px 0 0; max-width: 86ch; line-height: 1.55; }
.ft-addr + .ft-tm { margin-top: 8px; }
.ft-tm { font-size: 12px; color: var(--fg-3); margin: 22px 0 0; max-width: 86ch; line-height: 1.55; }

/* ── Early access: the join-the-waitlist modal (waitlist.js injects it) ── */
.wl-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(24, 21, 32, .52);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .18s var(--ease);
  overflow-y: auto;
}
.wl-overlay[hidden] { display: none; }
.wl-overlay.wl-open { opacity: 1; }
.wl-modal {
  position: relative; width: 100%; max-width: 460px; margin: auto;
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 70px -28px rgba(24, 18, 40, .45);
  padding: 34px 34px 30px;
  transform: translateY(8px) scale(.985); transition: transform .18s var(--ease);
}
.wl-open .wl-modal { transform: none; }
.wl-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--fg-3);
  cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease);
}
.wl-close:hover { background: var(--inset); color: var(--fg); }
.wl-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wl-eyebrow {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.wl-title { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 8px; color: var(--fg); }
.wl-sub { font-size: 14.5px; color: var(--fg-2); line-height: 1.55; margin: 0 0 20px; }
.wl-sub strong { color: var(--fg); font-weight: 600; }
.wl-plan {
  display: inline-block; margin: 0 0 18px; padding: 5px 12px;
  font-size: 12.5px; color: var(--accent); background: rgba(124, 58, 237, .07);
  border: 1px solid rgba(124, 58, 237, .28); border-radius: 999px;
}
.wl-plan strong { font-weight: 600; }
.wl-plan[hidden] { display: none; }
#wl-form { display: block; }
.wl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-field { margin-bottom: 13px; text-align: left; }
.wl-field label { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-2); margin-bottom: 6px; }
.wl-field input, .wl-field select {
  width: 100%; height: 46px; padding: 0 13px;
  font-family: var(--font-ui); font-size: 14.5px; color: var(--fg);
  background: var(--canvas); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease); appearance: none;
}
.wl-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23908a9b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.wl-field input:focus, .wl-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 58, 237, .16); }
.wl-field input::placeholder { color: var(--fg-3); }
.wl-submit { width: 100%; justify-content: center; margin-top: 8px; }
.wl-terms { font-size: 11.5px; color: var(--fg-3); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.wl-terms a { color: var(--fg-2); text-decoration: underline; }
.wl-msg { font-size: 13px; text-align: center; margin-top: 12px; min-height: 0; }
.wl-msg.error { color: #b42318; }
.wl-msg.success { color: #187a4a; }
.wl-digits { display: flex; gap: 9px; justify-content: center; margin: 8px 0 20px; }
.wl-digit {
  width: 46px; height: 56px; text-align: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg);
  background: var(--canvas); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.wl-digit:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 58, 237, .16); }
.wl-resend { display: block; margin: 14px auto 0; background: none; border: 0; cursor: pointer; font-family: var(--font-ui); font-size: 13px; color: var(--accent); }
.wl-resend:disabled { color: var(--fg-3); cursor: default; }
.wl-resend:not(:disabled):hover { text-decoration: underline; }
.wl-check {
  width: 56px; height: 56px; margin: 4px auto 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #e5f3ea; color: #187a4a;
}
.wl-check svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wl-step[data-step="verify"], .wl-step[data-step="success"] { text-align: center; }
html[data-theme="dark"] .wl-msg.error { color: #ff9b8f; }
html[data-theme="dark"] .wl-check { background: #19291f; color: #57bd88; }
@media (max-width: 520px) {
  .wl-modal { padding: 30px 20px 24px; border-radius: 18px; }
  .wl-row { grid-template-columns: 1fr; gap: 0; }
  .wl-title { font-size: 24px; }
  .wl-digit { width: 42px; height: 52px; font-size: 20px; }
}

.ft-social { display: flex; gap: 10px; margin-top: 18px; }
.ft-social a {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg-2);
}
.ft-social a:hover { color: var(--accent); border-color: var(--accent); }
.ft-social svg { width: 16px; height: 16px; }
