/* =========================================================================
   3ynthea — investor site
   Brand Book canon v2 (D37): Substrate/Depth/Daylight/Veil/Mycelium/Bloom/
   Current/Signal/Ink · Sora (display) + Inter (body) · ground 70 / structure
   20 / signal <10. Signal (#FF9E7D) stays rare — the one streak.
   ========================================================================= */

/* ---------- Palette (raw brand tokens) + dark semantic layer ---------- */
:root {
  --substrate: #1B1036;
  --depth:     #140828;
  --daylight:  #F6F4FE;
  --veil:      #E7E0FA;
  --mycelium:  #C9B7F4;
  --bloom:     #A867D6;
  --current:   #6E5FD0;
  --signal:    #FF9E7D;
  --signal-ember: #E8763F;
  --ink:       #1C1A22;

  /* dark theme = default (Substrate is the primary ground) */
  --bg:        var(--substrate);
  --bg-deep:   var(--depth);
  --panel:     #221541;
  --panel-2:   #291C4F;
  --text:      #F6F4FE;
  --text-body: #DFD9F2;
  --text-muted:#B4A9D4;
  --line:      rgba(201, 183, 244, 0.15);
  --line-2:    rgba(201, 183, 244, 0.28);
  --link:      var(--mycelium);
  --accent:    var(--bloom);
  --streak:    var(--signal);
  --emph:      var(--signal);   /* warm emphasis text — Signal reads fine on dark */
  --focus:     var(--mycelium);
  --shadow:    0 18px 44px rgba(6, 3, 16, 0.55);
  --shadow-sm: 0 8px 22px rgba(6, 3, 16, 0.40);

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="light"] {
  --bg:        var(--daylight);
  --bg-deep:   var(--veil);
  --panel:     #FFFFFF;
  --panel-2:   #FBFAFF;
  --text:      var(--ink);
  --text-body: #33303F;
  --text-muted:#5B5470;
  --line:      rgba(28, 26, 34, 0.12);
  --line-2:    rgba(110, 95, 208, 0.30);
  --link:      #5A49C2;
  --accent:    var(--bloom);
  --streak:    var(--signal-ember);
  --emph:      #B24E12;         /* darker ember — Signal is decorative-only on Daylight (AA text) */
  --focus:     var(--current);
  --shadow:    0 18px 40px rgba(60, 40, 110, 0.14);
  --shadow-sm: 0 8px 22px rgba(60, 40, 110, 0.10);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg, canvas { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 1000;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line-2);
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Shared type helpers ---------- */
.eyebrow, .section-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}
.section-label { position: relative; padding-left: 30px; }
.section-label::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 20px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--streak), var(--mycelium));
}

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 64ch;
  font-weight: 400;
}

/* ---------- Brand mark / wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; }
/* Canonical logomark — theme-adaptive, exact Brand Book mark() tones */
.mk-tile { fill: #1B1036; }
.mk-sheen { }
.mk-line { stroke: #968CE0; }
.mk-node { fill: #CBA0F0; }
.mk-glowline { stroke: #FF9E7D; }
.mk-glyph { fill: #FFFFFF; }
.mk-head { fill: #FF9E7D; }
.mk-headring { stroke: #FF9E7D; }
.mk-s1 { stop-color: #C9B7F4; }
.mk-s2 { stop-color: #FF9E7D; }
:root[data-theme="light"] .mk-tile { fill: #F6F4FE; }
:root[data-theme="light"] .mk-sheen { display: none; }
:root[data-theme="light"] .mk-line { stroke: #6E5FD0; }
:root[data-theme="light"] .mk-node { fill: #6E5FD0; }
:root[data-theme="light"] .mk-glowline { stroke: #E8763F; }
:root[data-theme="light"] .mk-glyph { fill: #1C1A22; }
:root[data-theme="light"] .mk-head { fill: #E8763F; }
:root[data-theme="light"] .mk-headring { stroke: #E8763F; }
:root[data-theme="light"] .mk-s1 { stop-color: #6E5FD0; }
:root[data-theme="light"] .mk-s2 { stop-color: #E8763F; }

.brand-word {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
/* "the 3 always carries Mycelium" — never recolored outside Mycelium or Current */
.brand-3, .wm3 { color: var(--mycelium); }
:root[data-theme="light"] .brand-3,
:root[data-theme="light"] .wm3 { color: var(--current); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; }
.nav-list a:not(.btn) {
  color: var(--text-body); font-size: 0.94rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-list a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--streak), var(--mycelium));
  transition: width .25s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="true"]::after { width: 100%; }
.nav-cta { margin-left: 0.4rem; }

.nav-controls { display: flex; align-items: center; gap: 0.7rem; margin-left: 1.4rem; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--line-2);
  border-radius: 999px; overflow: hidden;
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  color: var(--text-muted); font: inherit; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 5px 9px; line-height: 1;
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { background: var(--bloom); color: #fff; }
:root[data-theme="light"] .lang-btn[aria-pressed="true"] { color: var(--daylight); }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--text-body); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-2); background: color-mix(in srgb, var(--mycelium) 10%, transparent); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }

.nav-toggle { display: none; }

/* language-in-progress banner */
.lang-progress {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--signal) 12%, var(--bg-deep));
}
.lang-progress p {
  max-width: var(--maxw); margin: 0 auto; padding: 8px clamp(20px, 5vw, 44px);
  font-size: 0.86rem; color: var(--text); display: flex; align-items: center; gap: 0.6rem;
}
.lang-progress-close {
  margin-left: auto; border: 0; background: transparent; color: var(--text);
  font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 0.72rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease),
              background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.88rem; }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.02rem; }

.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--bloom) 45%, transparent);
}
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover {
  border-color: var(--bloom); color: var(--text);
  background: color-mix(in srgb, var(--bloom) 10%, transparent);
  transform: translateY(-2px);
}

/* ---------- Chips / pills ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0 0; }
.chip {
  font-size: 0.82rem; color: var(--text-body);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 0.34rem 0.9rem; background: color-mix(in srgb, var(--mycelium) 6%, transparent);
}
.chip::before { content: "◇ "; color: var(--mycelium); }

.pill {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.26rem 0.62rem; border-radius: 999px;
  white-space: nowrap;
}
.pill-live { color: var(--mycelium); background: color-mix(in srgb, var(--mycelium) 14%, transparent); }
:root[data-theme="light"] .pill-live { color: var(--current); }
.pill-signal { color: var(--emph); background: color-mix(in srgb, var(--signal) 16%, transparent); }
.pill-commercial { color: var(--bloom); background: color-mix(in srgb, var(--bloom) 15%, transparent); }
.pill-roadmap {
  color: var(--text-muted); background: transparent;
  border: 1px dashed var(--line-2);
}

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); margin-bottom: 1.1rem; max-width: 20ch; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
  padding-block: clamp(90px, 15vh, 170px) clamp(70px, 10vh, 120px);
  background:
    radial-gradient(120% 80% at 82% 8%, color-mix(in srgb, var(--bloom) 22%, transparent), transparent 60%),
    radial-gradient(90% 70% at 8% 100%, color-mix(in srgb, var(--current) 18%, transparent), transparent 55%),
    var(--bg);
}
.mycelium-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.85;
  /* network grows from the right edge and dissolves toward the centre —
     the centre is sanctuary (it stays clear behind the hero copy) */
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 30%, rgba(0,0,0,0.55) 52%, #000 80%);
          mask-image: linear-gradient(95deg, transparent 0%, transparent 30%, rgba(0,0,0,0.55) 52%, #000 80%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 43ch; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.95rem);
  line-height: 1.05; margin: 0 0 1.3rem;
  text-wrap: pretty;
}
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--text); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.02em; height: 0.09em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mycelium), var(--signal));
}
.hero .lede { max-width: 46ch; color: var(--text); }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; width: 24px; height: 38px; border: 1.5px solid var(--line-2);
  border-radius: 14px; display: grid; place-items: start center; padding-top: 7px;
}
.scroll-hint span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--mycelium);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.prose-2col {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 3rem; margin-top: 0.6rem;
}
.prose-2col p { color: var(--text-body); font-size: 1.04rem; margin: 0; }
.fail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem; margin-top: 2.6rem;
}
.fail-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; background: var(--panel);
  border-left: 3px solid color-mix(in srgb, var(--signal) 60%, transparent);
}
.fail-card h3 { font-size: 1.24rem; margin-bottom: 0.5rem; }
.fail-card p { color: var(--text-body); margin: 0; }

/* =========================================================================
   INSIGHT
   ========================================================================= */
.section-insight { text-align: left; }
.section-insight .lede { font-size: clamp(1.2rem, 2vw, 1.5rem); max-width: 40ch; color: var(--text); }
.section-insight h2 { max-width: 24ch; }
.pullout {
  margin-top: 2rem; padding-left: 1.4rem;
  border-left: 3px solid var(--mycelium);
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.35;
  color: var(--text); max-width: 30ch; letter-spacing: -0.01em;
}

/* =========================================================================
   DOCTRINE — the moat
   ========================================================================= */
.section-doctrine {
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--bloom) 12%, transparent), transparent 60%),
    var(--bg-deep);
}
.section-doctrine > .container > .lede { margin-bottom: 2.4rem; }

.rule {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3vw, 2.2rem); margin-top: 1.4rem;
}
.rule-head { display: flex; gap: 1.1rem; align-items: flex-start; }
.rule-num {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem;
  color: #1B1036; background: var(--mycelium);   /* always dark on the light-purple tile */
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px;
  display: grid; place-items: center; letter-spacing: 0;
}
.rule-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.rule-tag { color: var(--text-muted); margin: 0.3rem 0 0; font-size: 1.02rem; }
.rule-body { margin-top: 1.5rem; }
.rule-body > p { color: var(--text-body); max-width: 68ch; margin: 0; }

.triad {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem; margin-bottom: 1.7rem;
}
.triad h4 {
  font-size: 1.06rem; margin-bottom: 0.4rem; color: var(--text);
  display: flex; align-items: center; gap: 0.5rem;
}
.triad h4::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mycelium); flex: 0 0 8px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mycelium) 18%, transparent);
}
.triad p { color: var(--text-body); font-size: 0.98rem; margin: 0; }

/* the seam figure — "enforced in code" proof */
.seam {
  margin: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--depth) 55%, var(--panel));
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
:root[data-theme="light"] .seam { background: var(--panel-2); }
.seam-col { padding: 1.1rem 1.3rem; }
.seam-accept { border-right: 1px solid var(--line); }
.seam-h {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-muted); margin: 0 0 0.7rem;
}
.seam-col ul { display: grid; gap: 0.5rem; }
.seam-col li {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-size: 0.86rem; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text-body);
}
.seam-col code {
  color: var(--mycelium); background: color-mix(in srgb, var(--mycelium) 12%, transparent);
  padding: 1px 6px; border-radius: 5px; font-size: 0.82rem;
}
.seam-col li span { color: var(--text); }
.seam-col b { margin-left: auto; font-size: 0.95rem; }
.seam-col b.ok { color: #7FD1A8; }
.seam-col b.no { color: var(--emph); }
:root[data-theme="light"] .seam-col b.ok { color: #2E9E6B; }
.seam-violation {
  color: var(--emph) !important; font-weight: 600;
  padding-top: 0.2rem;
}
.seam figcaption {
  grid-column: 1 / -1; border-top: 1px solid var(--line);
  padding: 0.9rem 1.3rem; font-size: 0.9rem; color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.moat-quote {
  margin: 2.6rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line-2);
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.35;
  color: var(--text); max-width: 34ch; letter-spacing: -0.01em;
}

/* =========================================================================
   PRODUCT — modules
   ========================================================================= */
.section-product .lede { margin-bottom: 2.6rem; }
.module-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem;
}
.module {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 1.5rem 1.55rem;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.module:hover {
  transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.module-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.7rem; margin-bottom: 0.7rem;
}
.module-top h3 { font-size: 1.2rem; font-weight: 600; }
/* module lockup — "the suffix carries the Signal" (Mycelium→Signal on dark) */
.module-top h3 .mod-x {
  background: linear-gradient(90deg, #FF9E7D, #C9B7F4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #C9B7F4;
}
/* on Daylight, Signal is decorative-only (never text) → suffix uses readable Current */
:root[data-theme="light"] .module-top h3 .mod-x {
  background: none; -webkit-text-fill-color: currentColor; color: var(--current);
}
.module p { color: var(--text-body); font-size: 0.98rem; margin: 0; }
.module-roadmap { background: transparent; border-style: dashed; }

/* =========================================================================
   TRACTION
   ========================================================================= */
.stat-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem; margin: 0.5rem 0 2.8rem;
}
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 1.5rem 1.4rem; text-align: left;
}
.stat-num {
  display: block; font-family: "Sora", sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--text);
  background: linear-gradient(135deg, var(--mycelium), var(--bloom));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* on Daylight, Mycelium is too light for large numerals → darken the gradient */
:root[data-theme="light"] .stat-num { background: linear-gradient(135deg, var(--current), var(--bloom)); }
.stat-cap { display: block; margin-top: 0.7rem; font-size: 0.92rem; color: var(--text-muted); }
.stat-cap em { color: var(--emph); font-style: normal; font-weight: 600; }
.stat-ph .stat-num { background: none; -webkit-text-fill-color: var(--text-muted); color: var(--text-muted); }

.proof-list { display: grid; gap: 0.9rem; max-width: 74ch; }
.proof-list li {
  position: relative; padding-left: 2rem; color: var(--text-body); font-size: 1.05rem;
}
.proof-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--mycelium), var(--bloom));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bloom) 16%, transparent);
}
.proof-list li em { color: var(--emph); font-style: normal; font-weight: 600; }

/* =========================================================================
   WHY NOW + origin
   ========================================================================= */
.why-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem; margin-top: 0.6rem;
}
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 1.7rem 1.7rem;
}
.why-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.why-card p { color: var(--text-body); margin: 0; }

.origin {
  margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--line);
  max-width: 74ch;
}
.origin h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.9rem; }
.origin p { color: var(--text-body); font-size: 1.05rem; margin: 0; }

/* =========================================================================
   CONTACT / ask
   ========================================================================= */
.section-contact {
  background:
    radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--bloom) 16%, transparent), transparent 60%),
    var(--bg-deep);
  text-align: center;
}
.contact-inner { max-width: 720px; }
.section-contact .section-label { display: inline-block; padding-left: 0; }
.section-contact .section-label::before { display: none; }
.section-contact h2 { margin-inline: auto; max-width: 18ch; }
.section-contact .lede { margin-inline: auto; text-align: center; }
.section-contact .btn-row { justify-content: center; margin-top: 2rem; }
.contact-detail { margin-top: 1.4rem; color: var(--text-muted); font-size: 0.96rem; }
.contact-detail a { font-weight: 600; }
.ph-note, .stat-cap em.ph-note { color: var(--emph); font-style: normal; font-size: 0.82rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 3rem 2rem; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.footer-tag { color: var(--text); margin: 0.7rem 0 0.2rem; font-size: 1rem; }
.footer-platform { color: var(--text-muted); font-size: 0.86rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: center; }
.footer-nav a { color: var(--text-body); font-size: 0.94rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; padding-top: 1.6rem; }
.footer-legal p { margin: 0; color: var(--text-muted); font-size: 0.82rem; }
.footer-fwd { max-width: 60ch; }

/* =========================================================================
   Scroll reveal (gated by .reveal-on, added only when motion is allowed)
   ========================================================================= */
.reveal-on .section .section-label,
.reveal-on .section > .container > h2,
.reveal-on .section .lede,
.reveal-on .section .pullout,
.reveal-on .prose-2col p,
.reveal-on .fail-card,
.reveal-on .rule,
.reveal-on .module,
.reveal-on .stat,
.reveal-on .proof-list li,
.reveal-on .why-card,
.reveal-on .origin,
.reveal-on .moat-quote,
.reveal-on .contact-inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-on .is-in { opacity: 1 !important; transform: none !important; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .triad, .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-controls { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 36px; padding: 8px; border: 1px solid var(--line-2);
    border-radius: 10px; background: transparent; cursor: pointer; order: 3;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: static; }
  .nav-list {
    position: fixed; inset: 64px 0 auto 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 0.6rem clamp(20px, 5vw, 44px) 1.2rem;
    transform: translateY(-140%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a:not(.btn) { display: block; padding: 0.9rem 0; }
  .nav-list a:not(.btn)::after { display: none; }
  .nav-cta { border-bottom: 0 !important; padding-top: 0.9rem; }
  .nav-cta .btn { width: 100%; }

  .prose-2col, .fail-grid, .why-grid, .triad, .module-grid { grid-template-columns: 1fr; }
  .seam { grid-template-columns: 1fr; }
  .seam-accept { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .footer-inner { flex-direction: column; gap: 1.4rem; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .lang-btn { padding: 5px 7px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Reduced motion — honor it everywhere
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-hint span { animation: none; opacity: 0.8; }
}

/* =========================================================================
   WAITLIST + form
   ========================================================================= */
.section-waitlist {
  background:
    radial-gradient(72% 120% at 84% 0%, color-mix(in srgb, var(--current) 14%, transparent), transparent 62%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.waitlist-copy .lede { max-width: 46ch; }

.wl-ai-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin: 1.6rem 0 0; padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--mycelium) 6%, transparent);
  color: var(--text-body); font-size: 0.9rem; line-height: 1.55;
}
.wl-ai-badge {
  flex: 0 0 auto; font-family: "Sora", "Inter", sans-serif; font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.06em; line-height: 1;
  padding: 0.36rem 0.46rem; border-radius: 6px;
  color: var(--depth); background: linear-gradient(135deg, var(--mycelium), var(--bloom));
}

.waitlist-form {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.05rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }

.field input[type="email"],
.field input[type="text"],
.field select {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.72rem 0.9rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%238E82BC'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center;
}
.field input::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent);
}

.field-consent { margin-top: 0.1rem; }
.consent {
  display: flex; gap: 0.62rem; align-items: flex-start;
  font-weight: 400; font-size: 0.88rem; color: var(--text-body);
  line-height: 1.5; cursor: pointer;
}
.consent input[type="checkbox"] {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--bloom); cursor: pointer;
}
.link { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.link:hover { text-decoration: underline; }

.wl-submit { width: 100%; margin-top: 0.2rem; }
.wl-fineprint { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

.wl-status {
  margin: 0; font-size: 0.9rem; font-weight: 500;
  padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid transparent;
}
.wl-status--sending { color: var(--text-muted); }
.wl-status--ok {
  color: var(--text);
  border-color: color-mix(in srgb, var(--mycelium) 42%, transparent);
  background: color-mix(in srgb, var(--mycelium) 12%, transparent);
}
.wl-status--err {
  color: var(--emph);
  border-color: color-mix(in srgb, var(--signal) 42%, transparent);
  background: color-mix(in srgb, var(--signal) 10%, transparent);
}
.waitlist-form.is-done .field,
.waitlist-form.is-done .wl-fineprint { opacity: 0.55; }

/* honeypot — kept off-screen (not display:none, which some bots skip) */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.wl-i18n-store { display: none; }

@media (max-width: 860px) {
  .waitlist-inner { grid-template-columns: 1fr; }
  .waitlist-copy .lede { max-width: none; }
}

/* =========================================================================
   Content pages — privacy notice + waitlist thank-you
   ========================================================================= */
.page-slim { padding-block: clamp(2.5rem, 6vw, 4.5rem); min-height: 62vh; }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.4rem; }
.legal-updated { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 1.8rem; }
.legal-wrap h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.legal-wrap p { color: var(--text-body); }
.legal-wrap a:not(.legal-back) { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.legal-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.legal-list li { position: relative; padding-left: 1.2rem; margin-bottom: 0.5rem; color: var(--text-body); }
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--bloom);
}
.legal-back { display: inline-block; margin-top: 2.2rem; font-weight: 600; color: var(--link); }

/* waitlist thank-you */
.thanks-wrap { max-width: 620px; margin-inline: auto; text-align: center; }
.thanks-mark {
  width: 56px; height: 56px; margin: 0 auto 1.4rem; display: grid; place-items: center;
  border-radius: 50%; color: var(--bloom);
  background: color-mix(in srgb, var(--mycelium) 16%, transparent);
}
.thanks-wrap h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 0.7rem; }
.thanks-wrap p { color: var(--text-body); }

/* =========================================================================
   Product: forthcoming "Soon" note (flow-mobile) — accuracy: not available now
   ========================================================================= */
.module-note { margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.soon {
  display: inline-block; font-family: "Sora", "Inter", sans-serif; font-weight: 700;
  font-size: 0.6rem; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.16rem 0.44rem; border-radius: 999px; margin-right: 0.4rem; vertical-align: 1px;
  color: var(--emph); background: color-mix(in srgb, var(--signal) 15%, transparent);
}

/* =========================================================================
   3yntheaLab — R&D strand (how we build)
   ========================================================================= */
.section-lab { background: var(--bg-deep); border-block: 1px solid var(--line); }
.lab-lockup { font-size: clamp(1.55rem, 3.4vw, 2.15rem); margin-bottom: 0.85rem; }
.lab-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 1.9rem;
}
.lab-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.lab-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.lab-card p { color: var(--text-body); margin: 0; font-size: 0.95rem; }

/* =========================================================================
   Building in the open — snaps (hidden until the feed has published entries)
   ========================================================================= */
.section-notes[hidden] { display: none; }
.notes-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 1.9rem;
}
.note-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
}
.note-kicker {
  margin: 0 0 0.5rem; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted);
}
.note-card h3 { font-size: 1.12rem; margin: 0 0 0.5rem; }
.note-card p { color: var(--text-body); margin: 0; font-size: 0.95rem; white-space: pre-line; }
.note-date { display: block; margin-top: 0.85rem; font-size: 0.8rem; color: var(--text-muted); }

/* =========================================================================
   Who we are / About
   ========================================================================= */
.about-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem); margin: 1.9rem 0 0;
}
.about-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.about-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.about-card p { color: var(--text-body); margin: 0; font-size: 0.94rem; }
.about-origin { max-width: 68ch; color: var(--text-body); margin-top: 1.6rem; }
.about-mission {
  margin: 1.5rem 0 0; padding-left: 1.1rem; border-left: 2px solid var(--accent);
  font-family: "Sora", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem); letter-spacing: -0.01em;
  line-height: 1.25; color: var(--text);
}

@media (max-width: 860px) {
  .lab-grid, .notes-grid, .about-grid { grid-template-columns: 1fr; }
}
