/* ==========================================================================
   Negotiate Bill — design system (Whop-inspired, purple)
   Tokens follow the Radix violet / mauve 12-step logic:
   1–2 backgrounds, 3–5 interactive fills, 6–8 borders, 9–10 solids, 11–12 text.
   ========================================================================== */

:root {
  /* Purple scale (light). Steps 9–10 deepened from Radix #8E4EC6 for a
     stronger primary; white text on purple-9 = 7.1:1. */
  --purple-1: #FDFCFE;
  --purple-2: #F9F8FC;
  --purple-3: #F3F0FB;
  --purple-4: #ECE6F8;
  --purple-5: #E2D9F4;
  --purple-6: #D5C8EE;
  --purple-7: #C4B5FD;
  --purple-8: #A78BFA;
  --purple-9: #6D28D9;   /* primary solid */
  --purple-10: #5B21B6;  /* hover */
  --purple-edge: #4C1D95; /* button bottom edge */
  --purple-11: #6B29A4;  /* low-contrast purple text (8.4:1 on white) */
  --purple-12: #2B0E44;  /* high-contrast purple text */

  /* Mauve (purple-tinted grays) */
  --mauve-1: #FDFCFD;
  --mauve-2: #F8F7F9;
  --mauve-3: #F2F1F4;
  --mauve-4: #ECEAEE;
  --mauve-5: #E4E2E7;
  --mauve-6: #DAD7DE;
  --mauve-9: #8E8C99;
  --mauve-11: #65636D;   /* body gray, 5.9:1 on white */
  --mauve-12: #151515;   /* ink */

  /* Dark surfaces */
  --night: #0B0612;
  --night-2: #120A1D;
  --night-3: #1A1126;
  --night-text: #EEEEF0;
  --night-muted: #B5B2BC;

  /* Semantic */
  --bg: #FFFFFF;
  --ink: var(--mauve-12);
  --muted: var(--mauve-11);
  --card: var(--mauve-2);
  --line: var(--mauve-4);
  --line-strong: var(--mauve-5);
  --brand: var(--purple-9);
  --brand-hover: var(--purple-10);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(21, 21, 21, 0.06);

  /* Type */
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --text-hero: clamp(3.25rem, 1.2rem + 8.2vw, 7.25rem);
  --text-display: clamp(2.75rem, 1.2rem + 5.4vw, 5.5rem);
  --text-display-sm: clamp(2.5rem, 1.4rem + 3.8vw, 4.5rem);
  --text-h2: clamp(2.125rem, 1.5rem + 2.1vw, 3.375rem);
  --text-h3: clamp(1.75rem, 1.45rem + 0.9vw, 2.25rem);
  --text-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.3125rem);
  --text-body: 1rem;

  --tracking-tighter: -0.045em;
  --tracking-tight: -0.03em;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1rem, 0.2rem + 3.6vw, 3.75rem);
  --section: clamp(5rem, 3rem + 7vw, 10rem);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;

  --shadow-card: 0 1px 2px rgba(21, 12, 35, 0.04), 0 12px 32px -12px rgba(21, 12, 35, 0.14);
  --shadow-float: 0 2px 4px rgba(21, 12, 35, 0.04), 0 24px 48px -16px rgba(31, 12, 60, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple-8); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0 0; }
.section-tight { padding-top: calc(var(--section) * 0.9); }

/* ---------- Type ---------- */
.display, .h2, .hero-title, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.display {
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem);
  text-wrap: balance;
}
.display-sm { font-size: var(--text-display-sm); }
.h2 {
  font-size: var(--text-h2);
  line-height: 1.06;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.lead { font-size: var(--text-lead); line-height: 1.45; color: #3A3840; }

.eyebrow {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--purple-3);
  color: var(--purple-12);
  font-size: clamp(0.9375rem, 0.88rem + 0.2vw, 1.0625rem);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  --edge: var(--purple-edge);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  box-shadow: inset 0 -4px 0 var(--edge), 0 1px 2px rgba(45, 12, 90, 0.25);
  padding-bottom: calc(0.65rem + 4px);
  transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px) scale(0.99); box-shadow: inset 0 -2px 0 var(--edge); }
.btn-sm {
  min-height: 34px; padding: 0.4rem 0.85rem; font-size: 0.9375rem; border-radius: 7px;
  box-shadow: inset 0 -2px 0 var(--edge);
}
.btn-lg { min-height: 54px; padding: 0.8rem 1.6rem calc(0.8rem + 4px); font-size: 1.125rem; min-width: 220px; }
.btn-xl {
  min-height: 64px; min-width: min(300px, 100%);
  padding: 1rem 2rem calc(1rem + 5px);
  font-size: 1.25rem; border-radius: 10px;
  box-shadow: inset 0 -5px 0 var(--edge), 0 10px 40px -10px rgba(124, 58, 237, 0.7);
}
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 1.5rem; }
.nav-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav-brand img { width: 38px; height: auto; filter: invert(1); transition: filter 0.25s ease; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2rem; font-size: 0.9375rem; font-weight: 500; }
.nav-links a, .nav-text { opacity: 0.92; transition: opacity 0.15s ease; }
.nav-links a:hover, .nav-text:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav-text { font-size: 0.9375rem; font-weight: 500; }
.nav-toggle { display: none; }

.nav.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav.is-solid .nav-brand img { filter: none; }

.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after { /* bottom fade to black, like Whop's hero */
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(to bottom, rgba(5, 2, 9, 0), rgba(5, 2, 9, 0.85));
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.glow-a { width: 62vw; height: 62vw; right: -14vw; top: -22vw; background: radial-gradient(circle, rgba(124, 58, 237, 0.85), rgba(91, 33, 182, 0) 68%); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { width: 48vw; height: 48vw; left: -16vw; top: 18%; background: radial-gradient(circle, rgba(76, 29, 149, 0.75), rgba(76, 29, 149, 0) 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.glow-c { width: 34vw; height: 34vw; right: 18vw; top: 36%; background: radial-gradient(circle, rgba(192, 132, 252, 0.35), rgba(192, 132, 252, 0) 70%); animation: drift 26s ease-in-out infinite alternate; }
.hero-grain {
  position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-bg::before { /* faint grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4vw, 3vw, 0) scale(1.08); }
}

.hero-inner { padding-bottom: clamp(4rem, 2rem + 6vw, 6.5rem); padding-top: 120px; position: relative; }
.hero-title {
  color: #fff;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-left: -0.04em;
  max-width: 12ch;
}
.br-mobile { display: none; }
.hero-sub {
  margin-top: clamp(1.25rem, 0.8rem + 1.2vw, 2rem);
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.hero .btn-xl { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

/* Hero art: frosted glass bill */
.hero-art {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  top: 17%;
  width: clamp(300px, 30vw, 440px);
  aspect-ratio: 4 / 4.4;
  perspective: 1400px;
  pointer-events: none;
}
.glass {
  position: absolute;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateZ(0);
}
.glass-back { inset: 0 12% 22% 18%; transform: rotate(8deg) translate(10%, -4%); opacity: 0.55; }
.glass-bill { inset: 10% 0 6% 4%; transform: rotate(-4deg); padding: 7% 8%; display: flex; flex-direction: column; gap: 6%; }
.gb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4%; }
.gb-title { font-size: clamp(0.85rem, 0.6rem + 0.5vw, 1.05rem); font-weight: 600; color: rgba(255, 255, 255, 0.9); letter-spacing: -0.01em; }
.gb-dots { display: flex; gap: 5px; }
.gb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.gb-row { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 4.5% 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.gb-row .sk { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.3); }
.gb-row em {
  position: absolute; right: 26%; font-style: normal; font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: 6px; background: rgba(167, 139, 250, 0.3); color: #E9DEFF;
  border: 1px solid rgba(196, 181, 253, 0.4);
}
.gb-row.is-struck .sk { background: rgba(255, 255, 255, 0.16); }
.gb-row.is-struck::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(196, 181, 253, 0.8); }
.gb-row.is-flag .sk:first-child { background: rgba(196, 181, 253, 0.65); }
.sk-15 { width: 15%; } .sk-20 { width: 18%; } .sk-35 { width: 35%; } .sk-40 { width: 40%; } .sk-45 { width: 45%; }
.sk-50 { width: 50%; } .sk-55 { width: 55%; } .sk-60 { width: 60%; } .sk-70 { width: 70%; }
.glass-pill {
  left: -14%; bottom: 0;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 600; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
  animation: float 6s ease-in-out infinite;
}
.pill-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: inset 0 -2px 0 var(--purple-edge); }
.pill-dot svg { width: 16px; height: 16px; color: #fff; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Split sections ---------- */
.split { padding: var(--section) 0 0; overflow-x: clip; }
.split-inner { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.split-copy { max-width: 470px; }
.split-copy .h2 { margin-bottom: 1.5rem; }
.split-copy .lead { margin-bottom: 2.5rem; }

/* Stacked floating cards */
.stack-wrap { position: relative; padding: 1.5rem 0 2rem; }
.stack-wrap::before { /* soft purple wash behind, like Whop's green trail */
  content: ""; position: absolute; inset: -10% -30% -20% 10%; z-index: -1;
  background: radial-gradient(60% 55% at 70% 50%, rgba(167, 139, 250, 0.22), rgba(255, 255, 255, 0) 70%);
}
.stack-line { position: absolute; inset: -6% -30vw 0 -25%; width: calc(100% + 25% + 30vw); height: 100%; z-index: -1; }
.stack { position: relative; display: grid; }
.stack-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--mauve-5);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.5rem 0.9rem 0.9rem;
  box-shadow: var(--shadow-float);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stack-card + .stack-card { margin-top: -14px; }
.s1 { margin: 0 9% 0 13%; font-size: 1.05rem; opacity: 0.9; }
.s2 { margin: 0 6% 0 9%; font-size: 1.12rem; position: relative; z-index: 1; }
.s3 { margin: 0 3% 0 5%; font-size: 1.2rem; position: relative; z-index: 2; }
.s4 { margin: 0; font-size: clamp(1.25rem, 1rem + 0.7vw, 1.5rem); padding: 1rem 1.75rem 1rem 1rem; position: relative; z-index: 3; }
.tile {
  flex: none; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--purple-2), var(--purple-4));
  border: 1px solid var(--purple-5);
}
.tile svg { width: 40px; height: 40px; }
.s4 .tile { width: 92px; height: 92px; }
.s4 .tile svg { width: 58px; height: 58px; }

/* Case panel (terminal-like) */
.split-panel .split-inner { align-items: start; }
.split-panel .split-copy { padding-top: 3rem; }
.panel {
  margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2));
  background: #FBFBFC;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.panel-bar { display: flex; align-items: center; height: 40px; padding: 0 1rem; border-bottom: 1px solid var(--line); background: #F6F5F8; font-size: 0.8125rem; color: var(--muted); }
.panel-name { flex: 1; text-align: center; padding-right: 60px; font-family: var(--font-mono); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E3DEEA; }
.dots i:nth-child(1) { background: #C4B5FD; }
.dots i:nth-child(2) { background: #A78BFA; }
.dots i:nth-child(3) { background: #7C3AED; }
.mono { font-family: var(--font-mono); }
.panel-body { padding: 1.5rem 1.5rem 2rem; font-size: clamp(0.8rem, 0.7rem + 0.3vw, 0.95rem); line-height: 1.75; color: #2a2830; }
.panel-body .gap { height: 0.9em; }
.panel-body .b { font-weight: 700; letter-spacing: 0.02em; }
.panel-body .dim { color: var(--mauve-9); }
.panel-body .ok { color: var(--brand); }
.panel-body .row { display: grid; grid-template-columns: minmax(150px, 0.45fr) 1fr; gap: 1rem; padding-left: 1.2em; }
.panel-body .k { color: var(--purple-9); font-weight: 600; }
.panel-body .v { color: #5b5964; }
.caret { display: inline-block; width: 0.55em; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--brand); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.bento-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 1.75rem 1.75rem 2rem;
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.bento-card:hover { border-color: var(--purple-5); }
.bento-card h3 { font-size: var(--text-h3); line-height: 1.1; letter-spacing: var(--tracking-tight); margin-top: 1.75rem; }
.bento-card p { margin-top: 0.6rem; font-size: 1.0625rem; color: var(--muted); }
.mock {
  height: 236px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
  font-size: 0.8125rem;
  color: var(--ink);
}
.mock > div { width: 100%; max-width: 340px; }
.m-muted { color: var(--mauve-9); font-weight: 400; }
.m-sk { display: inline-block; width: 46px; height: 8px; border-radius: 4px; background: var(--mauve-5); }

/* mock: bill */
.m-bill { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 0.4rem 0; }
.m-bill-head { display: flex; justify-content: space-between; padding: 0.55rem 1rem 0.7rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.m-line { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; color: #3a3840; }
.m-line + .m-line { border-top: 1px solid var(--mauve-3); }
.m-flagged { background: var(--purple-3); color: var(--purple-12); font-weight: 600; margin: 0 0.35rem; padding: 0.7rem 0.65rem; border-radius: 8px; border-top-color: transparent !important; }
.m-flagged + .m-line { border-top-color: transparent; }
.m-flagged span:first-child { display: inline-flex; align-items: center; gap: 0.4rem; }
.m-flagged svg { width: 14px; height: 14px; color: var(--brand); }
.m-tag { font-size: 0.72rem; font-weight: 600; color: #fff; background: var(--brand); padding: 0.2rem 0.5rem; border-radius: 6px; }

/* mock: duplicate */
.m-dupe { position: relative; display: grid; gap: 0.6rem; }
.m-dupe-row { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.8rem 1rem; box-shadow: var(--shadow-card); }
.m-ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 0.75rem; background: var(--purple-3); color: var(--purple-11); }
.m-dupe-t { flex: 1; display: grid; }
.m-dupe-t b { font-weight: 600; }
.m-dupe-t small { color: var(--mauve-9); font-size: 0.75rem; }
.m-dupe-row.is-dupe { transform: rotate(-2deg) translate(10px, -2px); opacity: 0.7; }
.m-dupe-row.is-dupe b { text-decoration: line-through; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.m-badge { justify-self: end; margin-top: 0.4rem; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); background: var(--ink); color: #fff; }

/* mock: bars */
.m-bars { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 0.9rem 1rem 0.8rem; }
.m-bars-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 0.75rem; }
.m-bars-plot { position: relative; height: 150px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; align-items: end; }
.m-col { display: grid; justify-items: center; gap: 0.35rem; height: 100%; align-content: end; }
.m-col i { width: 100%; max-width: 36px; border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, var(--purple-5), var(--purple-6)); }
.m-col i.is-billed { background: linear-gradient(to top, #2a2533, #4a4255); }
.m-col i.is-target { background: linear-gradient(to top, var(--purple-10), var(--purple-8)); }
.m-col small { font-size: 0.68rem; color: var(--mauve-9); }
.h-95 { height: 112px; } .h-40 { height: 46px; } .h-52 { height: 60px; } .h-46 { height: 53px; } .h-55 { height: 64px; }
.m-fair-line { position: absolute; left: 0; right: 0; bottom: 88px; border-top: 1.5px dashed var(--purple-8); }
.m-fair-line em { position: absolute; right: 0; top: -1.35rem; font-style: normal; font-size: 0.68rem; font-weight: 600; color: var(--purple-11); }

/* mock: aid */
.m-aid { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 1rem; display: grid; gap: 0.55rem; }
.m-aid-head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); margin-bottom: 0.2rem; }
.m-aid-head > span:last-child { display: grid; }
.m-aid-head b { font-weight: 600; }
.m-aid-head small { color: var(--mauve-9); font-size: 0.75rem; }
.m-hosp { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; }
.m-check { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; color: #3a3840; }
.m-box { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; border: 1.5px solid var(--mauve-6); }
.m-check.is-done .m-box { background: var(--brand); border-color: var(--brand); }
.m-box svg { width: 14px; height: 14px; color: #fff; }
.m-box i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--purple-8); border-top-color: transparent; animation: spin 1s linear infinite; }
.m-live { margin-left: auto; font-size: 0.7rem; font-weight: 600; color: var(--purple-11); background: var(--purple-3); padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); }
@keyframes spin { to { transform: rotate(360deg); } }

/* mock: plan */
.m-plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 1rem; }
.m-plan-label { font-weight: 600; margin-bottom: 0.7rem; }
.m-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 9px; background: var(--mauve-3); font-weight: 500; text-align: center; color: var(--muted); }
.m-seg span { padding: 0.35rem 0; border-radius: 7px; }
.m-seg .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.m-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0.9rem 0; }
.m-cal i { height: 22px; border-radius: 6px; background: var(--mauve-3); }
.m-cal i.is-paid { background: var(--purple-8); }
.m-cal i.is-next { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.m-plan-foot { display: flex; justify-content: space-between; align-items: center; color: #3a3840; font-weight: 500; }
.m-switch { width: 36px; height: 21px; border-radius: 999px; background: var(--brand); position: relative; }
.m-switch i { position: absolute; right: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }

/* mock: chat */
.m-chat { display: grid; gap: 0.75rem; }
.m-bubble { padding: 0.75rem 1rem; border-radius: 18px; font-size: 0.9rem; line-height: 1.35; max-width: 85%; }
.m-in { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; justify-self: end; transform: rotate(1.5deg); box-shadow: 0 10px 24px -10px rgba(109, 40, 217, 0.6); font-weight: 500; }
.m-reply { display: flex; align-items: flex-end; gap: 0.5rem; }
.m-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.6rem; font-weight: 700; flex: none; }
.m-out { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); border-bottom-left-radius: 6px; }
.m-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.m-btn { padding: 0.4rem 0.9rem; border-radius: 8px; font-weight: 600; background: var(--brand); color: #fff; box-shadow: inset 0 -2px 0 var(--purple-edge); }
.m-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }

/* ---------- Pricing feature card ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  min-height: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3.75rem);
  overflow: hidden;
}
.feature-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.feature-progress { display: block; width: 100px; height: 6px; border-radius: 3px; background: var(--mauve-4); overflow: hidden; }
.feature-progress i { display: block; width: 22%; height: 100%; border-radius: 3px; background: var(--ink); }
.feature-copy h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3.125rem); line-height: 1.04; letter-spacing: var(--tracking-tight); }
.feature-copy p { margin-top: 1rem; font-size: var(--text-lead); color: #3A3840; max-width: 24ch; }
.feature-copy strong { color: var(--purple-11); font-weight: 600; }
.feature-art { position: relative; min-height: 440px; }
.win {
  position: absolute; left: 0; top: 0; width: 76%;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 1rem; height: 34px; padding: 0 0.8rem; background: #F6F5F8; border-bottom: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: #3a3840; }
.win-bar span:last-child { flex: 1; text-align: center; padding-right: 50px; }
.win-body { padding: 1.2rem 1.25rem 3.5rem; display: grid; gap: 0; }
.w-row { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--mauve-3); }
.w-row .sk { height: 8px; border-radius: 4px; background: var(--mauve-4); }
.fee-card {
  position: absolute; right: 0; top: 22%; width: min(62%, 340px);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 1.5rem;
  text-align: center;
}
.fee-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.95rem; }
.fee-logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--purple-3); border: 1px solid var(--purple-5); }
.fee-logo img { width: 18px; height: auto; }
.fee-big { font-family: var(--font-display); font-weight: 600; font-size: 3.25rem; line-height: 1; letter-spacing: -0.05em; margin-top: 1.25rem; }
.fee-sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.fee-rows { margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 10px; text-align: left; font-size: 0.875rem; }
.fee-row { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0.9rem; }
.fee-row + .fee-row { border-top: 1px solid var(--line); }
.fee-row span { white-space: nowrap; }
.fee-row b { font-weight: 600; color: var(--purple-11); white-space: nowrap; }
.fee-btn { display: block; padding: 0.7rem; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; font-size: 0.9rem; box-shadow: inset 0 -3px 0 var(--purple-edge); }

/* ---------- Scroller ---------- */
.scroller-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.scroller-head p { font-size: 1.1875rem; color: var(--muted); }
.arrows { display: flex; gap: 0.5rem; }
.arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--mauve-3); color: var(--ink);
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.arrow:hover { background: var(--mauve-4); }
.arrow:disabled { opacity: 0.4; cursor: default; }
.arrow svg { width: 20px; height: 20px; }
.arrow[data-dir="-1"] svg { transform: rotate(180deg); }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 17vw, 260px);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 1rem;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.thumb { scroll-snap-align: start; }
.thumb p { margin-top: 0.85rem; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; }
.thumb-art {
  position: relative; aspect-ratio: 1.6; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 1rem;
}
.thumb-art::before { /* mini document sheet */
  content: ""; position: absolute; right: 12%; top: 16%; width: 38%; height: 92%;
  border-radius: 8px; transform: rotate(6deg);
  background:
    linear-gradient(currentColor 0 0) 14% 14% / 60% 5px no-repeat,
    linear-gradient(currentColor 0 0) 14% 26% / 44% 5px no-repeat,
    linear-gradient(currentColor 0 0) 14% 38% / 52% 5px no-repeat,
    linear-gradient(currentColor 0 0) 14% 50% / 36% 5px no-repeat,
    var(--sheet, #fff);
  color: var(--sheet-lines, #E2D9F4);
  box-shadow: 0 16px 30px -12px rgba(20, 8, 40, 0.45);
}
.ta-label { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; letter-spacing: -0.04em; line-height: 1; }
.t1 .thumb-art { background: radial-gradient(120% 120% at 0% 100%, #6D28D9, #1A0B33 70%); color: #fff; --sheet: rgba(255,255,255,.12); --sheet-lines: rgba(255,255,255,.35); }
.t2 .thumb-art { background: linear-gradient(150deg, #F3F0FB, #E2D9F4); color: var(--purple-12); }
.t3 .thumb-art { background: radial-gradient(120% 120% at 100% 0%, #A78BFA, #4C1D95 75%); color: #fff; --sheet: rgba(255,255,255,.16); --sheet-lines: rgba(255,255,255,.45); }
.t4 .thumb-art { background: #151515; color: #fff; --sheet: #26222c; --sheet-lines: #4a4357; }
.t5 .thumb-art { background: linear-gradient(160deg, #FFFFFF, #F2F1F4); color: var(--ink); --sheet-lines: #D5C8EE; }
.t6 .thumb-art { background: radial-gradient(130% 120% at 0% 0%, #C4B5FD, #6D28D9 80%); color: #fff; --sheet: rgba(255,255,255,.18); --sheet-lines: rgba(255,255,255,.5); }
.t7 .thumb-art { background: linear-gradient(150deg, #ECE6F8, #FDFCFE); color: var(--purple-12); }
.t8 .thumb-art { background: radial-gradient(120% 120% at 100% 100%, #5B21B6, #0B0612 70%); color: #fff; --sheet: rgba(255,255,255,.1); --sheet-lines: rgba(255,255,255,.3); }

/* ---------- Waitlist ---------- */
.waitlist { padding-top: var(--section); position: relative; overflow-x: clip; }
.waitlist-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: stretch; }
.waitlist-copy { max-width: 520px; padding: 2rem 0 0; }
.waitlist-copy .display { margin-bottom: 1rem; }
.waitlist-copy .lead { margin-bottom: 2.25rem; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; height: 52px; padding: 0 1rem;
  border: 1px solid var(--mauve-6); border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:hover { border-color: var(--mauve-9); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--purple-4); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix input { padding-left: 2rem; }
.error { font-size: 0.875rem; color: #B42318; }
.form .btn { margin-top: 0.5rem; }
.fine { font-size: 0.875rem; color: var(--muted); }
.success { padding-top: 0.5rem; }
.success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); box-shadow: inset 0 -4px 0 var(--purple-edge); margin-bottom: 1.5rem; }
.success-icon svg { width: 30px; height: 30px; color: #fff; }

.billboard {
  position: relative;
  margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2));
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(167, 139, 250, 0.55), transparent 70%),
    radial-gradient(70% 70% at 65% 100%, rgba(109, 40, 217, 0.9), transparent 70%),
    linear-gradient(160deg, #2E1065, #0B0612);
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 10%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 10%, #000 30%);
  display: grid; place-items: center;
}
.billboard::before { /* perspective grid floor */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(500px) rotateX(58deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.bb-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(196, 181, 253, 0.35); filter: blur(70px); top: 18%; left: 32%; }
.bb-sign {
  position: relative;
  margin-left: 18%;
  width: min(360px, 62%);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: linear-gradient(170deg, #7C3AED, #5B21B6 60%, #4C1D95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 0 120px rgba(167, 139, 250, 0.45);
  padding: 2.25rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg);
}
.bb-sign img { width: 72px; height: auto; filter: invert(1); }
.bb-lines { display: grid; gap: 12px; }
.bb-lines i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); }
.bb-lines i:nth-child(1) { width: 78%; } .bb-lines i:nth-child(2) { width: 56%; } .bb-lines i:nth-child(4) { width: 64%; }
.bb-lines i:nth-child(3) { width: 70%; position: relative; background: rgba(255, 255, 255, 0.12); }
.bb-lines i:nth-child(3)::after { content: ""; position: absolute; left: -6%; right: -14%; top: 3px; height: 2px; background: #E9DEFF; }
.bb-sign p { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -0.045em; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq-icon { background: var(--mauve-4); }
.faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mauve-3); transition: transform 0.25s var(--ease), background-color 0.15s ease; }
.faq-icon svg { width: 18px; height: 18px; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--purple-3); color: var(--purple-11); }
.faq details p { padding: 0 3.5rem 1.6rem 0; color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { margin-top: var(--section); background: var(--night); color: var(--night-text); overflow: hidden; }
.footer-cta { display: flex; align-items: center; gap: 1.5rem; padding: 3rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-mark { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, #7C3AED, #4C1D95); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 30px -8px rgba(124, 58, 237, 0.6); }
.footer-mark img { width: 34px; height: auto; filter: invert(1); }
.footer-cta-copy { flex: 1; }
.footer-cta-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.footer-cta-copy p:last-child { color: var(--night-muted); }
.footer-main { display: flex; justify-content: space-between; gap: 3rem; padding: 3.5rem 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 200px)); gap: 2rem; }
.col-title { font-weight: 600; font-size: 0.9375rem; color: #fff; margin-bottom: 1rem; }
.footer-cols li + li { margin-top: 0.6rem; }
.footer-cols a { color: var(--night-muted); font-size: 0.9375rem; }
.footer-cols a:hover { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.03em; color: #fff; }
.footer-brand img { width: 40px; height: auto; filter: invert(1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.875rem; color: var(--night-muted); }
.disclaimer { max-width: 62ch; text-align: right; }
.wordmark {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15.6vw; line-height: 0.8; letter-spacing: -0.06em;
  white-space: nowrap; text-align: center;
  margin: 1rem 0 -2.2vw;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.38), rgba(167, 139, 250, 0.02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stack-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.js .stack-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.js .stack-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.js .bento-card.reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.js .bento-card.reveal:nth-child(3n) { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { width: 34vw; top: 14%; opacity: 0.85; }
}

@media (max-width: 860px) {
  .nav-text { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 40px; height: 40px; margin-right: -8px;
    background: none; border: 0; border-radius: 8px;
  }
  .nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-actions { gap: 0.75rem; }
  .nav:not(.is-solid):not(.is-open) .btn-sm { display: none; }
  .nav.is-open { background: #fff; color: var(--ink); border-bottom-color: var(--line); }
  .nav.is-open .nav-brand img { filter: none; }
  .mobile-menu:not([hidden]) {
    display: grid; gap: 1.5rem;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: #fff; color: var(--ink);
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - 64px); overflow-y: auto;
  }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav a { padding: 0.9rem 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }

  .split-inner, .waitlist-inner, .faq-wrap, .feature { grid-template-columns: minmax(0, 1fr); }
  .split-copy { max-width: none; order: 2; }
  .split-panel .split-copy { padding-top: 0; }
  .stack-wrap, .panel { order: 1; }
  .panel { margin-right: calc(var(--gutter) * -1); }
  .split-copy .lead { margin-bottom: 2rem; }
  .split .btn-lg, .hero .btn-xl { width: 100%; }

  .hero-art { left: 50%; right: auto; transform: translateX(-30%); top: 92px; width: min(78vw, 360px); opacity: 0.5; }
  .feature { min-height: 0; }
  .feature-art { min-height: 0; order: -1; display: grid; padding-top: 2.5rem; }
  .win { position: absolute; left: 0; top: 0; width: 84%; }
  .fee-card { position: relative; top: auto; margin-left: auto; margin-right: -0.25rem; }
  .feature-copy { gap: 1.5rem; }
  .feature-progress { display: none; }

  .waitlist-copy { max-width: none; padding-top: 0; }
  .billboard { order: -1; min-height: 360px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); -webkit-mask-image: none; mask-image: none; }
  .bb-sign { margin-left: 0; width: min(240px, 56%); padding: 1.5rem; }
  .bb-sign img { width: 52px; }

  .faq-wrap { gap: 0.5rem; }
  .footer-cta { flex-wrap: wrap; }
  .footer-cta .btn { width: 100%; }
  .footer-main { flex-direction: column-reverse; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; }
  .disclaimer { text-align: left; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .bento-card { padding: 1.25rem 1.25rem 1.75rem; border-radius: var(--radius-xl); }
  .mock { height: 220px; }
  .br-mobile { display: inline; }
  .hero-title { max-width: none; }
  .stack-card { padding-right: 1rem; }
  .s1 { margin: 0 5% 0 9%; font-size: 0.95rem; }
  .s2 { margin: 0 3% 0 6%; font-size: 1rem; }
  .s3 { margin: 0 1% 0 3%; font-size: 1.05rem; }
  .tile { width: 52px; height: 52px; }
  .tile svg { width: 32px; height: 32px; }
  .s4 .tile { width: 72px; height: 72px; }
  .s4 .tile svg { width: 46px; height: 46px; }
  .panel-body .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .panel-body .row .v { padding-left: 1.2em; }
  .scroller-head p { font-size: 1.0625rem; }
  .scroller { gap: 1rem; grid-auto-columns: 72%; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-card { width: 86%; padding: 1.25rem; }
  .glass-pill { display: none; }
  .fee-big { font-size: 2.75rem; }
  .win { width: 82%; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
