/* ═══════════════════════════════════════════════════════════════════════════
   DORSIX — Autonomous Commerce Operating System
   Built strictly with High-Agency Frontend Engineering Standards (design-taste-frontend-v1)
   Type system: Fraunces (display serif) · Space Grotesk (body) · Space Mono (data/labels)
   Palette: Off-black charcoal canvas · Electric mint accent · Layered slate depth
   Motion: GSAP ScrollTrigger · custom fine cursor · velocity skew · zero emoji policy
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
:root {
  --canvas: #090a0c;
  --panel: #111317;
  --panel-2: #16181f;
  --panel-border: rgba(255, 255, 255, 0.08);
  --fog: #0e1014;
  --mint: #3cffd0;
  --mint-hover: #5fffe0;
  --mint-soft: rgba(60, 255, 208, 0.12);
  --mint-glow: rgba(60, 255, 208, 0.22);
  --ink: #f7f8f9;
  --muted: #a0a6b2;
  --dim: #606877;
  --line: rgba(255, 255, 255, 0.08);
  --mono: 'Space Mono', monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; color: var(--mint); font-weight: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; }
.si { display: inline-block; will-change: transform; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Ambient Chrome & Mesh (Pointer-Events None, GPU Safe) ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 1000;
  width: 100%; transform-origin: left; background: var(--mint);
  transform: scaleX(0);
  animation: progress linear both; animation-timeline: scroll(root);
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(60, 255, 208, 0.04) 0%, transparent 60%),
    radial-gradient(50% 45% at 85% 70%, rgba(60, 255, 208, 0.03) 0%, transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(60, 255, 208, 0.05) 0%, transparent 60%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}

.grain {
  position: fixed; inset: 0; z-index: 950; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

/* ── Masthead ── */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9, 10, 12, 0.84);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1140px; margin: 0 auto; height: 72px;
  padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--serif); font-size: 26px; letter-spacing: 0.5px;
  line-height: 1; display: inline-flex; align-items: baseline; gap: 1px;
}
.wordmark-bold { font-weight: 700; color: var(--ink); }
.wordmark-accent { font-weight: 300; color: var(--mint); letter-spacing: 1px; }
.wordmark-dot { color: var(--mint); font-weight: 700; }
.wordmark--sm { font-size: 22px; }

.masthead-nav { display: flex; align-items: center; gap: 8px; }
.masthead-nav > a:not(.pill-btn) {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px; transition: color .15s;
}
.masthead-nav > a:not(.pill-btn):hover { color: var(--ink); }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; transition: transform .2s; }
.drawer { display: none; }

/* ── Tactile Buttons & Liquid Glass Refraction ── */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s, color .2s, background .2s, transform .15s;
  white-space: nowrap; will-change: transform;
}
.pill-btn--lg { padding: 13px 30px; font-size: 12px; }
.pill-btn:hover { transform: translateY(-1px); }
.pill-btn:active { transform: scale(.97); }
.pill-btn--mint {
  background: var(--mint); color: #04100c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 8px rgba(0,0,0,0.3);
}
.pill-btn--mint:hover { background: var(--mint-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 30px var(--mint-glow); }
.pill-btn--ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.pill-btn--ghost:hover { border-color: var(--mint); color: var(--mint); }

/* ── Section Tags & Typography Hierarchy ── */
.section-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--mint);
  margin-bottom: 16px; display: inline-block;
}
.section-tag--light { color: #04100c; }
.section-headline {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.section-headline em { font-weight: 420; }
.section-subhead {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted);
  max-width: 680px; margin-bottom: 48px; line-height: 1.55;
}

/* ── HERO (Asymmetric Layout with min-h-[100dvh]) ── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden; padding: 140px 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; will-change: transform; }
.hero-wash {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9,10,12,.72) 0%, rgba(9,10,12,.95) 85%, var(--canvas) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 6px 14px; border-radius: 999px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 1.5px; color: var(--mint); margin-bottom: 24px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 10px var(--mint); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(60,255,208,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(60,255,208,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(60,255,208,0); }
}

.hero-title {
  font-family: var(--serif); font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 420; line-height: 0.98; letter-spacing: -.02em;
  margin-bottom: 28px;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: block; }
.hero-deck {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--muted);
  max-width: 660px; margin-bottom: 36px; line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-social-proof {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.avatar-stack { display: flex; align-items: center; }
.avatar-pill {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--panel-2); border: 2px solid var(--canvas);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--mint);
  margin-left: -8px; box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.avatar-pill:first-child { margin-left: 0; }
.proof-text { font-size: 13px; color: var(--muted); }
.proof-text strong { color: var(--ink); }
.highlight-text { color: var(--mint); font-weight: 600; }

.hero-scroll {
  position: absolute; bottom: 32px; right: 28px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dim);
}
.hero-scroll i { width: 24px; height: 1px; background: var(--dim); display: block; }

/* ── Marquee ── */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; background: rgba(9, 10, 12, 0.7);
}
.marquee-track {
  display: flex; align-items: center; gap: 32px; white-space: nowrap;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  will-change: transform;
}
.marquee-track i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
  display: inline-block; opacity: 0.6;
}

/* ── Interactive Autopilot Simulator ── */
.simulator-section { padding: 120px 0 80px; position: relative; z-index: 2; }
.sim-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 20px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px rgba(0,0,0,0.5);
}
.sim-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--panel-border);
}
.sim-tab {
  background: none; border: none; padding: 18px 16px;
  color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: background .2s, color .2s; border-bottom: 2px solid transparent;
}
.tab-svg { width: 18px; height: 18px; color: currentColor; }
.sim-tab:hover { color: var(--ink); background: rgba(255,255,255,0.02); }
.sim-tab.active {
  color: var(--mint); background: var(--mint-soft);
  border-bottom-color: var(--mint);
}

.sim-content { padding: 36px 32px; }
.sim-panel { display: none; }
.sim-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.sim-grid {
  display: grid; grid-template-columns: 1fr auto 1.2fr;
  align-items: center; gap: 24px;
}
.sim-event, .sim-resolution {
  background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 14px; padding: 26px;
}
.sim-arrow { display: flex; align-items: center; justify-content: center; color: var(--mint); }

.event-badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px;
  border-radius: 999px; margin-bottom: 14px;
}
.event-badge--warning { background: rgba(255, 180, 0, 0.15); color: #ffb400; }
.event-badge--info { background: rgba(0, 160, 255, 0.15); color: #00a0ff; }
.event-badge--success { background: var(--mint-soft); color: var(--mint); }

.event-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.35; color: var(--ink); }
.event-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.event-meta {
  display: flex; gap: 16px; font-family: var(--mono); font-size: 11px;
  color: var(--dim); border-top: 1px solid var(--line); padding-top: 12px;
}
.sim-impact { display: flex; flex-wrap: wrap; gap: 8px; }
.impact-pill {
  background: var(--mint-soft); border: 1px solid rgba(60,255,208,0.2);
  color: var(--mint); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px;
}

/* ── Problem List ── */
.problem { padding: 100px 0 80px; }
.problem-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.problem-item {
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 14px; padding: 28px; display: flex; gap: 20px;
  transition: transform .2s, border-color .2s;
}
.problem-item:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.problem-num {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--mint); opacity: .8;
}
.problem-item h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.problem-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── Manifesto / Cost ── */
.cost {
  padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 23, 0.4);
}
.cost-text {
  font-family: var(--serif); font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.25; color: var(--muted); max-width: 980px; margin: 0 auto; text-align: center;
}
.cost-text .mw { opacity: 0.2; transition: opacity .2s; }

/* ── Bento Grid ── */
.solve { padding: 120px 0 80px; }
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.bento-cell {
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 20px; overflow: hidden; padding: 32px;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px; transition: transform .25s, border-color .25s;
}
.bento-cell:hover { border-color: rgba(60,255,208,0.3); }
.bento-cell--wide { grid-column: span 2; }
.bento-cell--full { grid-column: span 3; min-height: 220px; }
.bento-cell--mint {
  background: radial-gradient(circle at top right, rgba(60,255,208,0.15), var(--panel));
  border-color: rgba(60,255,208,0.25);
}
.bento-cell--img { padding: 0; }
.bento-cell--img .bento-body { padding: 32px; position: relative; z-index: 2; margin-top: auto; }
.bento-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .35; transition: transform .5s, opacity .5s;
}
.bento-cell--img:hover .bento-img { transform: scale(1.04); opacity: .45; }
.bento-cell--img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--panel) 80%);
}
.bento-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--mint); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px; display: block;
}
.bento-cell h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.bento-cell p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── Interactive ROI Calculator ── */
.calculator-section { padding: 100px 0 80px; }
.calc-box {
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 50px rgba(0,0,0,0.5);
  border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.calc-inputs { display: flex; flex-direction: column; gap: 28px; }
.calc-control { display: flex; flex-direction: column; gap: 10px; }
.control-header { display: flex; justify-content: space-between; align-items: center; }
.control-header label { font-size: 14px; color: var(--ink); font-weight: 500; }
.control-val { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--mint); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: var(--panel-2); border-radius: 3px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--mint); cursor: pointer;
  box-shadow: 0 0 10px var(--mint); transition: transform .1s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-results { display: flex; flex-direction: column; gap: 18px; }
.result-card {
  background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 14px; padding: 24px; text-align: center;
}
.result-card--mint {
  background: var(--mint-soft); border-color: rgba(60,255,208,0.3);
}
.result-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block;
}
.result-card--mint .result-label { color: var(--mint); font-weight: 700; }
.result-number {
  font-family: var(--serif); font-size: 42px; font-weight: 700;
  line-height: 1; margin-bottom: 6px; display: block; color: var(--ink);
}
.result-card--mint .result-number { color: var(--mint); }
.result-sub { font-size: 12px; color: var(--dim); }

/* ── Transformation Stage ── */
.transform { padding: 100px 0 80px; }
.transform-stage {
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 20px; padding: 48px; display: grid;
  grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: stretch;
}
.transform-head { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.transform-col--before .transform-head { color: #ff6b6b; }
.transform-col--after .transform-head { color: var(--mint); }
.transform-list { display: flex; flex-direction: column; gap: 14px; }
.transform-list li {
  font-size: 15px; color: var(--muted); line-height: 1.45;
  padding-left: 24px; position: relative;
}
.transform-col--before .transform-list li::before {
  content: '—'; position: absolute; left: 0; color: #ff6b6b; font-size: 14px; font-weight: 700;
}
.transform-col--after .transform-list li::before {
  content: '+'; position: absolute; left: 0; color: var(--mint); font-size: 16px; font-weight: 700;
}
.transform-divider {
  width: 1px; background: var(--line); display: flex; align-items: center; justify-content: center;
}

/* ── Who It's For Grid ── */
.who { padding: 100px 0 80px; }
.who-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.tile {
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(60,255,208,0.25); }
.tile-icon-svg { color: var(--mint); margin-bottom: 18px; }
.tile-headline { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.tile-deck { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tile--mint {
  background: radial-gradient(circle at top left, rgba(60,255,208,0.12), var(--panel));
}

/* ── Why Different ── */
.why { padding: 100px 0 80px; }
.diff-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px;
}
.diff-item {
  border-left: 2px solid var(--mint); padding-left: 20px;
}
.diff-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.diff-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── Founding Members Section ── */
.founding { padding: 80px 0; }
.founding-card {
  background: var(--mint); color: #04100c;
  border-radius: 24px; padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(60,255,208,0.15);
}
.founding-card .section-headline { color: #04100c; margin-bottom: 16px; }
.founding-card .section-headline em { color: #04100c; text-decoration: underline; }
.founding-deck { font-size: 18px; color: #163b32; max-width: 680px; margin-bottom: 32px; line-height: 1.5; }
.perks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.perks li {
  background: rgba(255,255,255,0.45); padding: 18px 20px; border-radius: 12px;
  font-size: 14px; color: #04100c; line-height: 1.45;
}

/* ── Final Waitlist Capture ── */
.join { padding: 120px 0 100px; text-align: center; }
.join-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 28px 90px rgba(0,0,0,0.6);
  border-radius: 28px; padding: 64px 36px; max-width: 820px; margin: 0 auto;
}
.join-headline {
  font-family: var(--serif); font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 420; line-height: 1.1; margin-bottom: 16px;
}
.join-deck { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto 36px; }

.wl-form { max-width: 640px; margin: 0 auto; }
.form-row {
  display: flex; gap: 12px; align-items: stretch;
}
.form-group { flex: 1; }
.wl-form input[type="email"], .wl-select {
  width: 100%; height: 50px; padding: 0 18px;
  background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 999px; color: var(--ink); font-family: var(--sans); font-size: 14px;
  outline: none; transition: border-color .2s;
}
.wl-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a6b2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 36px; cursor: pointer;
}
.wl-select option { background: var(--panel-2); color: var(--ink); }
.wl-form input[type="email"]:focus, .wl-select:focus { border-color: var(--mint); }

.join-error {
  color: #ff6b6b; font-size: 13px; margin-top: 12px; font-family: var(--mono);
}
.join-success {
  margin-top: 24px; padding: 24px; background: var(--mint-soft);
  border: 1px solid rgba(60,255,208,0.3); border-radius: 16px;
}
.success-icon-svg { color: var(--mint); margin-bottom: 8px; display: flex; justify-content: center; }
.success-pill {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--mint); text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 6px;
}
.join-success p { font-size: 14px; color: var(--ink); }
.join-note { font-size: 12px; color: var(--dim); margin-top: 20px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line); padding: 48px 0;
  background: var(--canvas);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-tagline { font-size: 13px; color: var(--dim); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); transition: color .15s;
}
.footer-links a:hover { color: var(--mint); }
.footer-legal { font-size: 12px; color: var(--dim); }

/* ── Responsive Mobile Collapsing ── */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell--wide, .bento-cell--full { grid-column: span 1; }
  .sim-nav { grid-template-columns: repeat(2, 1fr); }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-arrow { transform: rotate(90deg); margin: 0 auto; }
  .calc-box { grid-template-columns: 1fr; }
  .transform-stage { grid-template-columns: 1fr; gap: 24px; }
  .transform-divider { width: 100%; height: 1px; }
  .form-row { flex-direction: column; }
  .masthead-nav { display: none; }
  .hamburger { display: block; }
  .drawer.open {
    display: flex; flex-direction: column; gap: 16px;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--canvas); z-index: 99; padding: 36px 28px;
  }
  .drawer a {
    font-family: var(--serif); font-size: 24px; color: var(--ink);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MULTI-PAGE SYSTEM — subpages (features, pricing, faq, about, legal, states)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── No-GSAP reveal (site.js adds .no-gsap on <html> when GSAP is absent) ── */
html.no-gsap [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}
html.no-gsap [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.no-gsap [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Subpage hero ── */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
}
.page-hero .section-headline { max-width: 820px; }
.page-hero .section-subhead { margin-bottom: 0; }

/* ── Feature detail rows ── */
.feature-rows { display: flex; flex-direction: column; gap: 24px; }
.feature-row {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: 28px; padding: 48px 40px;
  transition: border-color .3s ease;
}
.feature-row:hover { border-color: rgba(60,255,208,0.25); }
.feature-row-num {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: var(--mint); display: block; margin-bottom: 12px;
}
.feature-row h2 {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12;
  color: var(--ink); margin-bottom: 0;
}
.feature-row h2 em { font-weight: 420; }
.feature-row-body { display: flex; flex-direction: column; gap: 16px; }
.feature-row-body p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.feature-outcome {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--mint); background: var(--mint-soft);
  border: 1px solid rgba(60,255,208,0.25);
  padding: 8px 16px; border-radius: 999px; margin-top: 8px;
}
.feature-outcome::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 8px var(--mint);
}

/* ── Pricing cards ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 56px;
}
.price-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: 28px; padding: 40px 32px;
  transition: border-color .3s ease, transform .3s ease;
}
.price-card:hover { border-color: rgba(60,255,208,0.25); transform: translateY(-4px); }
.price-card--featured {
  background: linear-gradient(180deg, rgba(60,255,208,0.08) 0%, var(--panel) 40%);
  border-color: rgba(60,255,208,0.35);
}
.price-tier {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--mint);
  margin-bottom: 14px;
}
.price-tier--badge {
  display: inline-flex; align-self: flex-start;
  background: var(--mint); color: #04100c;
  padding: 5px 12px; border-radius: 999px;
}
.price-amount {
  font-family: var(--serif); font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 420; line-height: 1; color: var(--ink);
}
.price-amount small {
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  letter-spacing: 1px; margin-left: 6px;
}
.price-was {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  text-decoration: line-through; margin-top: 6px;
}
.price-perks { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-perks li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.price-perks li::before {
  content: ''; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233cffd0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.price-card .pill-btn { justify-content: center; }

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: 20px; overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item[open] { border-color: rgba(60,255,208,0.3); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--mono); font-size: 20px; font-weight: 400;
  color: var(--mint); flex: 0 0 auto; line-height: 1;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 26px 24px; font-size: 14.5px; color: var(--muted); line-height: 1.65;
}

/* ── Shared CTA band (subpages) ── */
.cta-band { padding: 40px 0 120px; }
.cta-band .join-card { padding: 72px 36px; }

/* ── Legal / prose pages ── */
.prose {
  max-width: 760px;
  display: flex; flex-direction: column; gap: 20px;
}
.prose h2 {
  font-family: var(--sans); font-size: 20px; font-weight: 600;
  color: var(--ink); margin-top: 24px;
}
.prose p, .prose li { font-size: 15px; color: var(--muted); line-height: 1.7; }
.prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--mint); }
.prose a:hover { text-decoration: underline; }
.prose-updated {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  letter-spacing: 1px; margin-bottom: 40px;
}

/* ── Thank-you state page ── */
.state-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--panel); border: 1px solid rgba(60,255,208,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 32px; padding: 72px 48px;
}
.state-card .section-headline { margin-bottom: 16px; }
.state-card p { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.state-next {
  text-align: left; margin: 32px 0 40px;
  background: var(--panel-2); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.state-next li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: var(--muted); line-height: 1.5;
}
.state-next .step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--mint); border: 1px solid rgba(60,255,208,0.35);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: 1px;
}

/* ── 404 ── */
.notfound-code {
  font-family: var(--mono); font-size: clamp(72px, 12vw, 140px);
  font-weight: 700; line-height: 1; color: var(--mint);
  letter-spacing: -0.02em; margin-bottom: 20px;
  text-shadow: 0 0 60px var(--mint-glow);
}

/* ── Subpage responsive ── */
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 0 60px; }
  .state-card { padding: 48px 24px; }
}
