/* Carousel Creators landing page. Colors and fonts match the app (apps/web/src/app/globals.css). */

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: oklch(0.985 0.002 75);
  --bg-deep: oklch(0.955 0.006 70);
  --fg: oklch(0.21 0.006 60);
  --muted: oklch(0.47 0.01 60);
  --card: oklch(1 0 0);
  --border: oklch(0.9 0.005 75);
  --ink: oklch(0.24 0.008 60);
  --ink-fg: oklch(0.985 0.002 75);
  --brand: oklch(0.64 0.19 45);
  --brand-text: oklch(0.5 0.17 42);
  --brand-subtle: oklch(0.955 0.035 60);
  --panel: oklch(0.24 0.008 60);
  --panel-fg: oklch(0.985 0.002 75);
  --success: oklch(0.45 0.12 150);
  --success-subtle: oklch(0.95 0.04 150);
  --danger: oklch(0.5 0.19 27);
  --shadow: 0 1px 2px oklch(0.2 0.01 60 / 0.06), 0 12px 32px -12px oklch(0.2 0.01 60 / 0.18);
  --shadow-lg: 0 2px 4px oklch(0.2 0.01 60 / 0.06), 0 30px 60px -20px oklch(0.25 0.03 50 / 0.3);
  --radius: 14px;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  color-scheme: light;
}

/* Dark colors: the system setting, unless the visitor picked light with the switch (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: oklch(0.17 0.004 60);
    --bg-deep: oklch(0.145 0.004 60);
    --fg: oklch(0.95 0.003 75);
    --muted: oklch(0.72 0.008 70);
    --card: oklch(0.21 0.004 60);
    --border: oklch(1 0 0 / 0.1);
    --ink: oklch(0.95 0.003 75);
    --ink-fg: oklch(0.2 0.005 60);
    --brand: oklch(0.72 0.16 50);
    --brand-text: oklch(0.8 0.13 55);
    --brand-subtle: oklch(0.27 0.04 50);
    --panel: oklch(0.245 0.03 50);
    --panel-fg: oklch(0.96 0.004 75);
    --success: oklch(0.8 0.12 150);
    --success-subtle: oklch(0.28 0.05 150);
    --danger: oklch(0.75 0.15 27);
    --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 12px 32px -12px oklch(0 0 0 / 0.6);
    --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.3), 0 30px 60px -20px oklch(0 0 0 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: oklch(0.17 0.004 60);
  --bg-deep: oklch(0.145 0.004 60);
  --fg: oklch(0.95 0.003 75);
  --muted: oklch(0.72 0.008 70);
  --card: oklch(0.21 0.004 60);
  --border: oklch(1 0 0 / 0.1);
  --ink: oklch(0.95 0.003 75);
  --ink-fg: oklch(0.2 0.005 60);
  --brand: oklch(0.72 0.16 50);
  --brand-text: oklch(0.8 0.13 55);
  --brand-subtle: oklch(0.27 0.04 50);
  --panel: oklch(0.245 0.03 50);
  --panel-fg: oklch(0.96 0.004 75);
  --success: oklch(0.8 0.12 150);
  --success-subtle: oklch(0.28 0.05 150);
  --danger: oklch(0.75 0.15 27);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 12px 32px -12px oklch(0 0 0 / 0.6);
  --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.3), 0 30px 60px -20px oklch(0 0 0 / 0.7);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--ink-fg);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme switch */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.theme-toggle:hover {
  background: var(--card);
}
.theme-toggle:active {
  transform: translateY(1px);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
/* Show the moon in light mode (switch to dark) and the sun in dark mode (switch to light). */
.theme-toggle .sun {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .sun {
  display: block;
}
:root[data-theme='dark'] .theme-toggle .moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .sun {
    display: block;
  }
  :root:not([data-theme]) .theme-toggle .moon {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-ink {
  background: var(--ink);
  color: var(--ink-fg);
}
.btn-ink:hover {
  box-shadow: 0 6px 20px -8px oklch(0.2 0.01 60 / 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--card);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, color-mix(in oklch, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, color-mix(in oklch, var(--brand) 7%, transparent), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--brand-subtle);
  color: var(--brand-text);
  font-size: 13.5px;
  font-weight: 600;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 25%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px color-mix(in oklch, var(--brand) 5%, transparent);
  }
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
.display {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 22px 0 22px;
  text-wrap: balance;
}
.display em,
.section-title em {
  font-style: italic;
  color: var(--brand-text);
}
.lede {
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 30px;
  text-wrap: pretty;
}

/* ---------- Waitlist form ---------- */
.waitlist {
  display: flex;
  gap: 8px;
  max-width: 480px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: 400 16px var(--sans);
  padding: 0 16px;
  border-radius: 999px;
}
.waitlist input[type='email']::placeholder {
  color: var(--muted);
}
.waitlist input[type='email']:focus {
  outline: none;
}
.waitlist:focus-within {
  border-color: color-mix(in oklch, var(--brand) 60%, var(--border));
  box-shadow:
    var(--shadow),
    0 0 0 4px color-mix(in oklch, var(--brand) 18%, transparent);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: 12px 0 0 6px;
  font-size: 14px;
  color: var(--muted);
}
.form-status {
  min-height: 1.5em;
  margin: 10px 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}
.form-status:empty {
  display: none;
}
.form-status.ok {
  color: var(--success);
}
.form-status.err {
  color: var(--danger);
}
.waitlist.done {
  display: none;
}
.done-card {
  display: none;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--success-subtle);
  color: var(--success);
  font-weight: 600;
}
.done-card svg {
  flex: none;
  width: 22px;
  height: 22px;
}
.waitlist.done + .done-card {
  display: flex;
}

/* ---------- Hero stage (example carousel) ---------- */
.stage {
  position: relative;
  aspect-ratio: 1 / 1.02;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}
.prompt {
  position: absolute;
  z-index: 5;
  top: 2%;
  left: -4%;
  width: 72%;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  line-height: 1.45;
  animation: rise 0.8s 0.15s both cubic-bezier(0.2, 0.8, 0.2, 1);
}
.prompt-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prompt-label svg {
  width: 14px;
  height: 14px;
}
.prompt-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--brand);
  animation: caret 1s steps(1) infinite;
}
.prompt-text.typed::after {
  display: none;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.deck {
  position: absolute;
  inset: 16% 0 0 10%;
}
.slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 62%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 110%;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.7s,
    filter 0.7s;
  display: flex;
  flex-direction: column;
  padding: 9% 9% 8%;
  font-family: var(--sans);
}
.slide[data-pos='0'] {
  transform: translateX(-50%) rotate(0deg);
  z-index: 3;
}
.slide[data-pos='1'] {
  transform: translateX(-12%) rotate(7deg) scale(0.94);
  z-index: 2;
  filter: brightness(0.97);
}
.slide[data-pos='2'] {
  transform: translateX(-88%) rotate(-7deg) scale(0.94);
  z-index: 1;
  filter: brightness(0.95);
}
.slide[data-pos='3'] {
  transform: translateX(-50%) rotate(0deg) scale(0.85) translateY(8%);
  z-index: 0;
  opacity: 0;
}
.s-cover {
  background: oklch(0.29 0.045 160);
  color: oklch(0.97 0.01 90);
}
.s-tip {
  background: oklch(0.96 0.025 85);
  color: oklch(0.25 0.02 60);
}
.s-list {
  background: oklch(0.72 0.13 55);
  color: oklch(0.2 0.02 50);
}
.s-cta {
  background: oklch(0.97 0.01 90);
  color: oklch(0.25 0.045 160);
}
.s-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
.s-brand i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.7;
}
.s-title {
  margin-top: auto;
  font-family: var(--serif);
  font-size: clamp(20px, 2.9vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.s-body {
  margin-top: 10px;
  font-size: clamp(9px, 1.15vw, 12.5px);
  line-height: 1.4;
  opacity: 0.85;
}
.s-num {
  font-family: var(--serif);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1;
  margin-top: auto;
}
.s-items {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: clamp(9px, 1.2vw, 13px);
  font-weight: 600;
}
.s-items li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.s-items li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-1px);
}
.s-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: clamp(8px, 1vw, 10.5px);
  opacity: 0.7;
}
.s-dots {
  display: flex;
  gap: 4px;
}
.s-dots b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.s-dots b.on {
  opacity: 1;
}
.s-btn {
  align-self: flex-start;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: oklch(0.29 0.045 160);
  color: oklch(0.97 0.01 90);
  font-size: clamp(9px, 1.1vw, 12px);
  font-weight: 600;
}
.review-pill {
  position: absolute;
  z-index: 6;
  right: -2%;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  animation: rise 0.8s 0.9s both cubic-bezier(0.2, 0.8, 0.2, 1);
}
.review-pill .tick {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--success-subtle);
  color: var(--success);
}
.review-pill .tick svg {
  width: 16px;
  height: 16px;
}
.review-pill small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.example-tag {
  position: absolute;
  left: 10%;
  bottom: -1%;
  font-size: 12px;
  color: var(--muted);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Strip ---------- */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-deep);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-block: 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-weight: 600;
  color: var(--fg);
  opacity: 0.8;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 10vw, 128px) 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 38em;
  text-wrap: pretty;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 18px;
}
.step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  grid-column: span 2;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.feature.wide {
  grid-column: span 3;
}
.feature.accent {
  background: var(--panel);
  color: var(--panel-fg);
  border-color: transparent;
}
.feature.accent p {
  color: color-mix(in oklch, var(--panel-fg) 75%, transparent);
}
.feature .icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-subtle);
  color: var(--brand-text);
  margin-bottom: 18px;
}
.feature.accent .icon {
  background: color-mix(in oklch, var(--brand) 30%, transparent);
  color: var(--panel-fg);
}
.feature .icon svg {
  width: 21px;
  height: 21px;
}
.feature h3 {
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.feature p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}
.chat {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.chat span {
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--panel-fg) 10%, transparent);
}
.chat span:nth-child(2) {
  justify-self: end;
  background: color-mix(in oklch, var(--brand) 45%, transparent);
}

/* Review band */
.band {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand);
}
.portal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}
.portal-top strong {
  font-size: 15.5px;
}
.portal-top small {
  display: block;
  color: var(--muted);
}
.portal-rows {
  display: grid;
  gap: 10px;
}
.portal-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
}
.portal-row .thumb {
  width: 44px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.portal-row small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-ok {
  background: var(--success-subtle);
  color: var(--success);
}
.pill-wait {
  background: var(--brand-subtle);
  color: var(--brand-text);
}
.portal-send {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.plan.featured {
  border-color: color-mix(in oklch, var(--brand) 55%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 14%, transparent);
}
.plan-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
}
.plan-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-subtle);
  color: var(--brand-text);
}
.plan-for {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  min-height: 2.9em;
}
.plan-price {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 18px;
}
.plan-price small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.plan ul {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 9px;
}
.plan li svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--brand);
}
.plan li.no {
  color: var(--muted);
}
.plan li.no svg {
  color: var(--muted);
  opacity: 0.6;
}
.plans-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  text-wrap: balance;
}

/* FAQ */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-4px);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq details p {
  margin: -6px 0 22px;
  color: var(--muted);
  max-width: 44em;
}

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: 28px;
  background: var(--panel);
  color: var(--panel-fg);
  isolation: isolate;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 100% 0%, color-mix(in oklch, var(--brand) 55%, transparent), transparent 70%);
  opacity: 0.55;
}
.final .section-title {
  max-width: 14em;
}
.final .section-sub {
  color: color-mix(in oklch, var(--panel-fg) 72%, transparent);
  margin-bottom: 28px;
}
.final .waitlist {
  background: color-mix(in oklch, var(--panel-fg) 8%, transparent);
  border-color: color-mix(in oklch, var(--panel-fg) 18%, transparent);
  box-shadow: none;
}
.final .waitlist input[type='email'] {
  color: var(--panel-fg);
}
.final .waitlist input[type='email']::placeholder {
  color: color-mix(in oklch, var(--panel-fg) 60%, transparent);
}
.final .btn-ink {
  background: var(--brand);
  color: oklch(0.18 0.02 50);
}
.final .form-note {
  color: color-mix(in oklch, var(--panel-fg) 65%, transparent);
}
.final .form-status.err {
  color: oklch(0.82 0.12 30);
}

/* Footer */
.site-footer {
  padding: 48px 0 56px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--fg);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding: clamp(40px, 7vw, 80px) 0 40px;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.legal .updated {
  color: var(--muted);
  margin: 12px 0 36px;
}
.legal h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}
.legal p,
.legal li {
  color: color-mix(in oklch, var(--fg) 85%, var(--muted));
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin: 6px 0;
}
.legal a {
  color: var(--brand-text);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  margin: 12px 0;
}
.legal th,
.legal td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal th {
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .band-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    margin: 12px auto 0;
    max-width: 440px;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature,
  .feature.wide {
    grid-column: span 1;
  }
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .nav-actions .btn-ink {
    display: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .waitlist {
    flex-direction: column;
    border-radius: 18px;
  }
  .waitlist .btn {
    width: 100%;
  }
  .strip-inner {
    justify-content: flex-start;
  }
  .features,
  .plans {
    grid-template-columns: 1fr;
  }
  .stage {
    aspect-ratio: 1 / 1.1;
  }
  .prompt {
    left: 0;
    width: 86%;
  }
  .review-pill {
    right: 0;
  }
  .portal-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .portal-row .pill {
    grid-column: 2;
    justify-self: start;
  }
}

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