/* ==========================================================================
   Story Animations · Story Animations
   Mobile-first. Studio shell is neutral black; show pages re-theme via body class.
   ========================================================================== */

:root {
  --bg: oklch(0.11 0 0);
  --surface: oklch(0.155 0 0);
  --surface-2: oklch(0.2 0 0);
  --line: oklch(1 0 0 / 0.1);
  --line-strong: oklch(1 0 0 / 0.2);
  --ink: oklch(0.97 0 0);
  --muted: oklch(0.76 0 0);
  --faint: oklch(0.62 0 0);
  --primary: oklch(0.74 0.16 38);
  --primary-press: oklch(0.68 0.16 38);
  --on-primary: oklch(0.16 0.03 38);
  --accent-2: oklch(0.84 0.14 85);
  --danger: oklch(0.7 0.2 22);
  --save: oklch(0.84 0.17 152);
  --save-bg: oklch(0.27 0.07 152);
  --light: oklch(0.96 0 0);
  --on-light: oklch(0.14 0 0);

  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: 16px;
  --max: 1240px;
  --nav-h: 56px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);

  --z-sticky: 10;
  --z-nav: 20;
  --z-backdrop: 30;
  --z-drawer: 40;
  --z-modal: 50;
  --z-toast: 60;

  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --nav-h: 64px; }
}

/* Show themes ------------------------------------------------------------ */
.theme-the-house-knows {
  --bg: #0d0a0b;
  --surface: #171113;
  --surface-2: #221a1c;
  --primary: #ff3b4e;
  --primary-press: #e8293d;
  --on-primary: #1a0508;
  --accent-2: #f5c04a;
  --felt: #0f4d36;
  --danger: #ff3b4e;
}
.theme-12-words {
  --bg: #0c1016;
  --surface: #121821;
  --surface-2: #19212d;
  --line: rgba(47, 224, 138, 0.14);
  --line-strong: rgba(47, 224, 138, 0.3);
  --primary: #2fe08a;
  --primary-press: #22c777;
  --on-primary: #04170d;
  --accent-2: #2fe08a;
  --danger: #ff4d5e;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 80px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
s { color: var(--faint); text-decoration-thickness: 1.5px; }

/* Utilities -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -100px; z-index: var(--z-toast); background: var(--light); color: var(--on-light); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.fine { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.stack-sm > * + * { margin-top: 10px; }

.kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.display {
  font-weight: 900;
  font-size: clamp(2.35rem, 6.4vw + 0.6rem, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display--md { font-size: clamp(2.1rem, 4vw + 1rem, 3.5rem); }
.h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 2.6vw + 1rem, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 16px; }
.h3--space { margin-top: 40px; }
p { text-wrap: pretty; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.text-link:hover { border-color: var(--primary); gap: 10px; }
.link-btn { color: var(--muted); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.link-btn:hover { color: var(--ink); }

/* Live dot: the one perpetual micro-motion on the site */
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--danger) 60%, transparent);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--danger) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--primary { --btn-bg: var(--primary); --btn-fg: var(--on-primary); }
.btn--primary:hover { --btn-bg: var(--primary-press); }
.btn--light { --btn-bg: var(--light); --btn-fg: var(--on-light); }
.btn--light:hover { --btn-bg: oklch(0.88 0 0); }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--xl { min-height: 60px; font-size: 1.0625rem; padding: 0 28px; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--block-mobile { width: 100%; }
@media (min-width: 640px) { .btn--block-mobile { width: auto; } }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); }

/* Badges / chips / prices ------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line-strong);
}
.badge--accent { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.chip { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.save {
  display: inline-flex; align-items: center;
  background: var(--save-bg); color: var(--save);
  font-weight: 700; font-size: 0.875rem;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.save--inline { padding: 1px 8px; font-size: 0.9em; vertical-align: 1px; }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__now { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.price__was { font-size: 1rem; }
.price__note { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.price--lg .price__now { font-size: 2rem; }
.price--xl .price__now { font-size: 2.6rem; }

/* Nav -------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.wordmark { font-weight: 900; font-size: 1.02rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.nav__shows { display: none; gap: 4px; margin-right: auto; }
.nav__shows a, .subnav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.92rem; transition: color 0.2s var(--ease); }
.nav__shows a { padding: 8px 12px; border-radius: 999px; }
.nav__shows a:hover, .nav__shows a[aria-current], .subnav a[aria-current] { color: var(--ink); }
.nav__shows a[aria-current] { background: var(--surface-2); }
.nav__bundles {
  position: relative;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 16px;
  border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav__bundles:hover { background: var(--primary-press); }
.nav__badge {
  position: absolute; top: -7px; right: -8px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  background: var(--save); color: oklch(0.2 0.05 152);
  padding: 2px 6px; border-radius: 999px; white-space: nowrap;
  transform: rotate(4deg);
}
.nav__cart { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.nav__cart:hover { background: var(--surface-2); }
.nav__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 0.7rem; font-weight: 800; line-height: 19px; text-align: center;
}
.subnav {
  display: flex; gap: 22px; padding: 10px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 0.95rem; min-height: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--thk { background: #ff3b4e; }
.dot--12w { background: #2fe08a; }
@media (min-width: 900px) {
  .nav__shows { display: flex; }
  .wordmark { margin-right: 20px; font-size: 1.1rem; }
  .subnav { display: none; }
}
.code-banner {
  background: var(--save-bg); color: var(--save);
  font-size: 0.85rem; text-align: center; padding: 10px var(--gutter);
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-top: 8px; }
.section-head { margin-bottom: 32px; max-width: 46ch; }
.section-head .muted, .guidelines__grid .h2 + .muted, .faq__grid .h2 + .muted { margin-top: 12px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section-cta { margin-top: 32px; }
.split-cta { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .split-cta { display: flex; flex-wrap: wrap; } }

/* Hero: home ------------------------------------------------------------- */
.hero { position: relative; }
.hero--home { padding-block: 36px 24px; overflow: clip; }
.hero__grid { display: grid; gap: 40px; }
.hero__kicker { margin-bottom: 18px; }
.hero--home .display .line { display: block; }
.hero--home .line--dim { color: var(--muted); font-size: 0.62em; line-height: 1.12; margin-top: 0.3em; letter-spacing: -0.025em; }
.hero__ctas { display: grid; gap: 12px; margin-top: 28px; }
.hero__sub { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 42ch; line-height: 1.55; }
.hero__next { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.hero__next a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); text-decoration: none; font-size: 0.92rem; transition: background-color 0.2s var(--ease); }
.hero__next a:hover { background: var(--surface); }
.hero__next span { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.hero__stage { position: relative; height: 360px; max-width: 420px; margin-inline: auto; width: 100%; }
.phone {
  position: absolute; width: 52%; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.8);
  background: var(--surface);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--back { left: 6%; top: 24px; transform: rotate(-7deg); opacity: 0.75; }
.phone--front { right: 6%; top: 0; transform: rotate(4deg); }
.poll {
  position: absolute; left: 10%; right: 10%; bottom: 14%;
  background: oklch(0.98 0 0); color: oklch(0.15 0 0);
  border-radius: 14px; padding: 10px; font-size: 0.66rem; font-weight: 600; line-height: 1.3;
  box-shadow: 0 10px 24px oklch(0 0 0 / 0.4);
}
.poll p { font-weight: 800; margin-bottom: 6px; text-align: center; }
.poll div { display: grid; gap: 4px; }
.poll span { display: flex; justify-content: space-between; background: oklch(0.93 0 0); border-radius: 7px; padding: 5px 7px; }
.poll span:first-child { background: linear-gradient(90deg, oklch(0.85 0.1 25) 64%, oklch(0.93 0 0) 64%); }

@media (min-width: 640px) {
  .hero__ctas { display: flex; flex-wrap: wrap; }
  .hero__stage { height: 460px; }
}
@media (min-width: 900px) {
  .hero--home { padding-block: 72px 64px; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .hero__next { max-width: 460px; }
  .hero__stage { height: 560px; max-width: none; }
}

/* First-load choreography: headline lines rise once. Content is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  .hero--home .line, .hero--show .display, .hero--show .hero__sub, .hero__ctas {
    animation: rise 0.9s var(--ease) both;
  }
  .hero--home .line--dim { animation-delay: 0.08s; }
  .hero--show .hero__sub { animation-delay: 0.08s; }
  .hero__ctas { animation-delay: 0.16s; }
  .phone--front { animation: phone-in 1.1s var(--ease) 0.1s both; }
  .phone--back { animation: phone-in-back 1.1s var(--ease) 0.2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(9deg); } to { opacity: 1; transform: rotate(4deg); } }
@keyframes phone-in-back { from { opacity: 0; transform: translateY(50px) rotate(-14deg); } to { opacity: 0.75; transform: rotate(-7deg); } }

/* Show grid (home) ------------------------------------------------------- */
.show-grid { display: grid; gap: 20px; }
.show-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.show-card__link { display: block; text-decoration: none; height: 100%; }
.show-card__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.show-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 0.9s var(--ease); }
.show-card__link:hover .show-card__media img { transform: scale(1.04); }
.show-card--12-words .show-card__media img { object-position: 50% 24%; }
.show-card__media .live {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: oklch(0 0 0 / 0.6); padding: 7px 11px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.show-card__body { padding: 22px 20px 24px; display: grid; gap: 12px; }
.show-card__title { font-weight: 900; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.05; }
.show-card__line { font-size: 1.05rem; color: var(--muted); margin-top: -4px; }
.show-card__enter {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  margin-top: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 800; background: var(--card-accent); color: var(--card-on);
  transition: gap 0.25s var(--ease);
}
.show-card__link:hover .show-card__enter { gap: 14px; }
.show-card--the-house-knows { --card-accent: #ff3b4e; --card-on: #1a0508; --danger: #ff3b4e; background: linear-gradient(180deg, #171113, #120d0f); }
.show-card--12-words { --card-accent: #2fe08a; --card-on: #04170d; --danger: #ff4d5e; background: linear-gradient(180deg, #121821, #0e131a); }
.show-card--the-house-knows .vote__row.is-win i { background: #ff3b4e; }
.show-card--12-words .vote__row.is-win i { background: #2fe08a; }
.show-card--soon {
  display: grid; gap: 20px; padding: 24px 20px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, oklch(1 0 0 / 0.025) 14px 15px),
    var(--surface);
  border-style: dashed; border-color: var(--line-strong);
}
.soon__copy .show-card__title { margin: 8px 0 8px; font-size: 1.5rem; }
.inline-form { display: grid; gap: 10px; }
.inline-form input { min-height: 56px; }
.form-success { font-weight: 600; }
@media (min-width: 640px) {
  .inline-form { grid-template-columns: 1fr auto; }
  .inline-form .form-error { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .show-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .show-card__media { aspect-ratio: 4 / 3; }
  .show-card__body { padding: 28px 28px 30px; }
  .show-card__title { font-size: 2.1rem; }
  .show-card--soon { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; padding: 32px; }
}

/* Vote bars -------------------------------------------------------------- */
.vote { display: grid; gap: 8px; }
.vote__q { font-size: 1.02rem; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.vote__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 0.95rem; }
.vote__label { color: var(--muted); }
.vote__pct { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }
.vote__row.is-win .vote__label, .vote__row.is-win .vote__pct { color: var(--ink); font-weight: 600; }
.vote__bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: oklch(1 0 0 / 0.08); overflow: hidden; }
.vote__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: oklch(1 0 0 / 0.32); transform-origin: left; transition: transform 1s var(--ease); }
.vote__row.is-win .vote__bar i { background: var(--primary); }
.vote.is-pending .vote__bar i { transform: scaleX(0); }
.vote__row:nth-child(3) .vote__bar i { transition-delay: 0.12s; }

/* How it works ----------------------------------------------------------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 32px 64px; }
.step::before { content: ''; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 1.5px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 500;
  border: 1.5px solid var(--line-strong);
}
.step:last-child .step__n { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.step h3 { font-weight: 800; font-size: 1.25rem; line-height: 1.25; padding-top: 8px; letter-spacing: -0.015em; }
.step p { color: var(--muted); margin-top: 6px; max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { padding: 64px 0 0; }
  .step::before { left: 56px; right: -24px; top: 21px; bottom: auto; width: auto; height: 1.5px; }
}

/* Bundles teaser --------------------------------------------------------- */
.bt-grid { display: grid; gap: 16px; }
.bt {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.bt .badge { align-self: flex-start; }
.bt__name { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; }
.bt__desc { color: var(--muted); }
.bt__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 8px; }
.bt .btn { margin-top: auto; }
.bt--hero {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in oklch, var(--primary) 26%, transparent), transparent 60%),
    var(--surface-2);
  border-color: color-mix(in oklch, var(--primary) 45%, transparent);
}
.bt--hero .bt__name { font-size: 1.9rem; font-weight: 900; }
@media (min-width: 900px) {
  .bt-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .bt--hero { grid-row: span 2; padding: 36px; justify-content: flex-end; min-height: 440px; }
  .bt--hero .bt__name { font-size: 2.6rem; }
  .bt--hero .price__now { font-size: 2.4rem; }
}

/* Guidelines ------------------------------------------------------------- */
.guidelines__grid { display: grid; gap: 28px; }
.rules { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rule { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--bg); }
.rule svg { flex: none; margin-top: 3px; }
.rule--yes svg { color: var(--save); }
.rule--no svg { color: var(--danger); }
.rule span { color: var(--muted); }
.rule strong { color: var(--ink); }
.guidelines__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (min-width: 900px) {
  .guidelines__grid { grid-template-columns: 0.8fr 1.2fr; gap: 24px 64px; }
  .guidelines__cta { grid-column: 2; }
}

/* FAQ / accordion -------------------------------------------------------- */
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0;
  font-weight: 600; font-size: 1.02rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { position: relative; flex: none; width: 14px; height: 14px; }
.accordion summary i::before, .accordion summary i::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.accordion summary i::after { transform: rotate(90deg); }
.accordion details[open] summary i::after { transform: rotate(0deg); }
.accordion details p { color: var(--muted); padding: 0 32px 20px 0; max-width: 62ch; }
@media (prefers-reduced-motion: no-preference) {
  .accordion details[open] p { animation: fade-down 0.35s var(--ease); }
}
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Lead magnet ------------------------------------------------------------ */
.lead {
  padding-block: clamp(64px, 9vw, 112px);
  background:
    radial-gradient(80% 120% at 0% 100%, color-mix(in oklch, var(--primary) 22%, transparent), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line);
}
.lead__inner { display: grid; gap: 28px; }
.lead__sub { color: var(--muted); font-size: 1.1rem; margin-top: 14px; max-width: 40ch; }
.lead__form { display: grid; gap: 14px; }
.form-success { padding: 24px; border-radius: var(--r); background: var(--save-bg); color: var(--save); }
.form-success__title { font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-bottom: 6px; }
.form-success .muted { color: color-mix(in oklch, var(--save) 70%, white); }
.form-success a { color: inherit; }
@media (min-width: 900px) {
  .lead__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .lead__form { grid-template-columns: 1fr 1fr; }
  .lead__form .form-error, .lead__form .btn, .lead__form .fine { grid-column: 1 / -1; }
}

/* Forms ------------------------------------------------------------------ */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9rem; }
input[type='email'], input:not([type]), input[type='text'], select {
  width: 100%; min-height: 54px; padding: 0 16px;
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 12px;
  font-size: 1rem; /* 16px stops iOS zoom */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 30%, transparent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-prefix input { padding-left: 34px; }
.help { font-size: 0.875rem; color: var(--muted); }
.field-error, .form-error { color: var(--danger); font-size: 0.875rem; font-weight: 600; }
.theme-12-words .field-error, .theme-12-words .form-error { color: #ff4d5e; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.9rem; line-height: 1.5; cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease); }
.check input::after { content: ''; width: 12px; height: 7px; border-left: 2.5px solid var(--on-primary); border-bottom: 2.5px solid var(--on-primary); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.18s var(--ease); }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--ink); }
.check--consent { padding: 14px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line-strong); }
.note { font-size: 0.875rem; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }

/* Testimonials (hidden until real quotes exist) -------------------------- */
.testimonials { padding-block: clamp(56px, 8vw, 96px); }
.quotes { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
.quote figcaption { margin-top: 14px; font-size: 0.9rem; }

/* Trust strip ------------------------------------------------------------ */
.trust { border-block: 1px solid var(--line); background: var(--bg); }
.trust__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-block: 22px; }
.trust__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.trust__list svg { flex: none; color: var(--primary); }
@media (min-width: 900px) { .trust__list { display: flex; justify-content: space-between; } .trust__list li { align-items: center; } }

/* Footer ----------------------------------------------------------------- */
.footer { padding: 56px 0 calc(120px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 8px; justify-items: start; }
.footer__mail { color: var(--ink); font-weight: 600; }
.footer__col { display: grid; gap: 4px; align-content: start; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.footer__col a:hover { color: var(--ink); }
.footer__head { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--faint); }
@media (min-width: 900px) {
  .footer { padding-bottom: 56px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* Sticky mobile buy bar -------------------------------------------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.sticky-bar__inner .btn { min-height: 56px; padding: 0 14px; font-size: 0.95rem; }
.sticky-bar__info { display: grid; line-height: 1.25; min-width: 0; }
.sticky-bar__info strong { font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar__info span { font-size: 0.92rem; font-weight: 700; }
body[data-tab='build'] [data-bar='be-in-it'], body[data-tab='be-in-it'] [data-bar='build'] { display: none; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* Drawer + modal (native <dialog>) --------------------------------------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: oklch(0 0 0 / 0.6); opacity: 0; transition: opacity 0.35s var(--ease); }
dialog.is-open::backdrop { opacity: 1; }

.drawer { position: fixed; inset: 0 0 0 auto; height: 100dvh; width: min(440px, 100%); margin: 0; }
.drawer__panel {
  height: 100%; display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-weight: 800; font-size: 1.15rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }

.cart-empty { display: grid; gap: 10px; padding-top: 32px; }
.cart-empty__title { font-weight: 800; font-size: 1.4rem; }
.cart-empty .stack-sm { margin-top: 14px; }

.cart-lines { list-style: none; padding: 0; }
.cart-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.thumb { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; }
.thumb--the-house-knows { background: radial-gradient(circle at 50% 120%, #0f4d36, #1b0b0e 70%); color: #f5c04a; border: 1px solid rgba(245, 192, 74, 0.35); }
.thumb--12-words { background: #0c1016; color: #2fe08a; border: 1px solid rgba(47, 224, 138, 0.35); }
.thumb--bundle { background: var(--primary); color: var(--on-primary); }
.cart-line__name { font-weight: 700; line-height: 1.3; }
.cart-line__meta { font-size: 0.875rem; color: var(--muted); margin-top: 2px; line-height: 1.4; word-break: break-word; }
.cart-line__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.cart-line__price { text-align: right; font-weight: 700; display: grid; align-content: start; font-size: 0.95rem; }
.cart-line__price s { font-weight: 400; font-size: 0.875rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 40px; }
.qty button { width: 40px; height: 100%; font-size: 1.1rem; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.92rem; }
.qty-fixed { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.bump {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 16px; border-radius: 14px;
  background: color-mix(in oklch, var(--primary) 12%, var(--surface-2));
  border: 1.5px dashed color-mix(in oklch, var(--primary) 55%, transparent);
}
.bump__title { font-weight: 700; line-height: 1.3; font-size: 0.95rem; }
.bump__sub { font-size: 0.875rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.totals { display: grid; gap: 6px; padding-top: 4px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { font-weight: 700; }
.totals__disc dt, .totals__disc dd { color: var(--save); }
.totals__save dt { color: var(--save); font-weight: 700; }
.totals__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.totals__total dt { color: var(--ink); font-weight: 700; }
.code-note { font-size: 0.875rem; color: var(--save); margin-top: -8px; }
.cart-fine { font-size: 0.84rem; color: var(--muted); text-align: center; line-height: 1.5; }

.modal { position: fixed; inset: auto 0 0 0; width: 100%; margin: 0; max-height: 94dvh; }
.sheet {
  background: var(--surface); border-radius: 22px 22px 0 0; border: 1px solid var(--line);
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  display: grid; gap: 18px;
  max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.42s var(--ease);
}
.sheet::before { content: ''; justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin-top: 4px; }
.modal.is-open .sheet { transform: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet__title { font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin-top: 6px; letter-spacing: -0.015em; }
.sheet__actions { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .modal { inset: 0; margin: auto; width: min(520px, calc(100% - 32px)); height: fit-content; }
  .sheet { border-radius: 22px; padding: 16px 28px 28px; transform: translateY(24px) scale(0.98); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
  .sheet::before { display: none; }
  .modal.is-open .sheet { opacity: 1; transform: none; }
}

/* Show pages: hero ------------------------------------------------------- */
.hero--show { min-height: min(74dvh, 680px); display: flex; align-items: flex-end; padding: 140px 0 40px; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0.85; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, var(--bg) 10%, transparent) 0%, color-mix(in oklch, var(--bg) 55%, transparent) 22%, color-mix(in oklch, var(--bg) 90%, transparent) 38%, var(--bg) 62%);
}
@media (min-width: 900px) { .hero--show { min-height: min(84dvh, 760px); } }
.hero--show .kicker { margin-bottom: 18px; color: var(--ink); }
.hero--show .hero__copy { max-width: 760px; }
@media (min-width: 900px) {
  .hero--show { padding-bottom: 72px; }
  .hero__bg img { object-position: 70% 35%; width: 62%; margin-left: auto; }
  .hero__bg::after { background: linear-gradient(90deg, var(--bg) 38%, color-mix(in oklch, var(--bg) 40%, transparent) 70%, transparent), linear-gradient(0deg, var(--bg), transparent 40%); }
}
.theme-the-house-knows .hero--show .display { color: #fff; }
.theme-the-house-knows .hero__sub { color: color-mix(in oklch, #f5c04a 55%, white); }
.theme-12-words .hero--show .display { font-weight: 800; }

/* The story so far ------------------------------------------------------- */
.so-far { padding-bottom: 48px; }
.parts {
  list-style: none; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 16px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 1304px) { .parts { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.part { flex: 0 0 min(76vw, 300px); scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.part__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.part__media img { width: 100%; height: 100%; object-fit: cover; }
.part__num { position: absolute; right: 12px; bottom: -14px; font-weight: 900; font-size: 5rem; line-height: 1; letter-spacing: -0.05em; color: oklch(1 0 0 / 0.9); text-shadow: 0 4px 30px oklch(0 0 0 / 0.6); }
.part__new { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--primary); color: var(--on-primary); padding: 5px 9px; border-radius: 999px; }
.part__body { padding: 16px; display: grid; gap: 10px; }
.part__body .kicker { color: var(--ink); }

/* Tabs: the main switch ---------------------------------------------------- */
.tabs-wrap {
  position: sticky; top: var(--nav-h); z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
  padding-block: 10px;
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tabs [role='tab'] {
  display: grid; gap: 2px; align-content: center; text-align: left;
  min-height: 84px; padding: 12px 16px;
  border-radius: 16px; border: 1.5px solid var(--line-strong);
  background: var(--surface);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tabs__kicker { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.tabs__label { font-weight: 800; font-size: clamp(1.08rem, 1.6vw + 0.7rem, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.tabs [role='tab'][aria-selected='true'] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.tabs [role='tab'][aria-selected='false']:hover { border-color: var(--ink); }
.tabs-wrap.is-stuck .tabs [role='tab'] { min-height: 64px; }
body[data-tab='build'] #panel-be-in-it, body[data-tab='be-in-it'] #panel-build { display: none; }
@media (min-width: 640px) { .tabs [role='tab'] { padding: 16px 28px; gap: 6px; } .tabs__kicker { font-size: 0.85rem; } }
@media (min-width: 900px) { .tabs [role='tab'] { min-height: 112px; border-radius: 20px; } .tabs { gap: 14px; } }
.panel { padding-block: 36px 24px; }
.panel:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .panel { animation: panel-in 0.45s var(--ease); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Product block (BUILD IT) ----------------------------------------------- */
.product { display: grid; gap: 28px; }
.product__title { font-weight: 900; font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 10px 0 12px; text-wrap: balance; }
.product__lede { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.product__buy { display: grid; gap: 10px; margin: 22px 0 10px; }
.mock { position: relative; display: grid; grid-template-columns: 1fr 0.55fr; gap: 12px; align-items: end; }
.mock__file { border-radius: var(--r); overflow: hidden; background: oklch(0.08 0 0); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px oklch(0 0 0 / 0.9); }
.theme-12-words .mock__file { background: #070a0e; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: oklch(1 0 0 / 0.18); }
.mock__bar span { margin-left: 8px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.mock pre { margin: 0; padding: 14px; font-family: var(--mono); font-size: clamp(0.6rem, 1.6vw, 0.78rem); line-height: 1.65; white-space: pre-wrap; word-break: break-word; color: var(--muted); }
.c-dim { color: var(--faint); }
.c-key { color: var(--accent-2); }
.c-h { color: var(--ink); font-weight: 500; }
.theme-the-house-knows .c-h:nth-of-type(n+2) { color: #ffd9dd; }
.mock__frame { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); transform: translateY(18px) rotate(3deg); box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.9); }
.mock__frame img { width: 100%; height: 100%; object-fit: cover; }
.upsell {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  margin-top: 18px; padding: 16px; border-radius: 14px;
  background: var(--surface); border: 1.5px dashed color-mix(in oklch, var(--primary) 50%, transparent);
}
.upsell__title { font-weight: 700; line-height: 1.35; }
.upsell .muted { font-size: 0.92rem; margin-top: 2px; }
.build-detail { display: grid; gap: 40px; margin-top: 64px; }
.inside { list-style: none; padding: 0; display: grid; gap: 18px; }
.inside li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.inside svg { color: var(--primary); margin-top: 2px; }
.inside strong { display: block; font-weight: 700; }
.inside span { color: var(--muted); font-size: 0.92rem; }
.who { list-style: none; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.who strong { color: var(--ink); }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
  .product__media { position: sticky; top: calc(var(--nav-h) + 110px); }
  .product__buy { grid-template-columns: 1fr 1fr; }
  .build-detail { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 96px; }
}

/* Placement cards (BE IN IT) --------------------------------------------- */
.pcards { display: grid; gap: 16px; }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 24px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.pcard--featured {
  background:
    radial-gradient(100% 80% at 100% 0%, color-mix(in oklch, var(--primary) 22%, transparent), transparent 60%),
    var(--surface-2);
  border: 1.5px solid var(--primary);
}
.pcard .badge { position: absolute; top: -12px; left: 20px; }
.pcard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard__name { font-weight: 900; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; }
.pcard__desc { color: var(--muted); }
.pcard .btn { margin-top: auto; }
.counter { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.88rem; letter-spacing: 0.04em; }
.counter__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--save); flex: none; }
.counter.is-low .counter__dot { background: var(--accent-2); }
.counter.is-out .counter__dot { background: var(--faint); }
.counter.is-out { color: var(--muted); }
.bundle-nudge {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 16px; padding: 18px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-strong);
  text-decoration: none; line-height: 1.4;
  transition: border-color 0.2s var(--ease);
}
.bundle-nudge:hover { border-color: var(--primary); }
.bundle-nudge svg { flex: none; }
.disclose { margin-top: 16px; font-size: 0.92rem; color: var(--muted); max-width: 70ch; }
.in-action { display: grid; gap: 20px; margin-top: 56px; }
.in-action img { border-radius: var(--r-lg); border: 1px solid var(--line); width: 100%; }
@media (min-width: 900px) {
  .pcards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pcard { padding: 32px; }
  .in-action { grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 48px; margin-top: 88px; }
}

/* Bundles page ----------------------------------------------------------- */
.hero--bundles { padding: 40px 0 24px; }
.chips { display: flex; gap: 8px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 0.92rem; white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed='true'] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bgrid { display: grid; gap: 16px; }
.bcard {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 24px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1.5px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.bcard.is-selected { border-color: var(--ink); }
.bcard .badge { align-self: flex-start; }
.bcard__name { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.bcard__inc { list-style: none; padding: 0; display: grid; gap: 8px; }
.bcard__inc li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.bcard__inc svg { color: var(--save); margin-top: 2px; width: 18px; height: 18px; }
.bcard__foot { margin-top: auto; display: grid; gap: 14px; }
.bcard__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bcard--hero {
  background:
    radial-gradient(90% 70% at 100% 0%, color-mix(in oklch, var(--primary) 30%, transparent), transparent 65%),
    var(--surface-2);
  border-color: color-mix(in oklch, var(--primary) 60%, transparent);
  padding: 28px 22px;
}
.bcard--hero.is-selected { border-color: var(--primary); }
.bcard--hero .bcard__name { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; }
.bcard--hero .bcard__inc li { color: var(--ink); font-size: 1.02rem; }
.bgrid__note { margin-top: 20px; }
@media (min-width: 640px) { .bgrid { grid-template-columns: 1fr 1fr; } .bcard--hero { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .bcard--hero { grid-column: span 2; grid-row: span 2; padding: 40px; }
  .bcard--hero .bcard__name { font-size: 3rem; }
  .bcard--hero .bcard__foot { grid-template-columns: 1fr 1fr; align-items: center; }
}

.table-scroll { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.92rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-weight: 800; font-size: 0.95rem; line-height: 1.25; }
.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare .is-hero { background: color-mix(in oklch, var(--primary) 10%, transparent); }
.compare td s { font-size: 0.875rem; }

/* Thank-you + offer ------------------------------------------------------ */
.hero--thanks { padding: 48px 0 24px; }
.thanks__done .kicker { margin-bottom: 12px; }
.thanks { display: grid; gap: 32px; max-width: 720px; }
.thanks__list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; color: var(--muted); }
.thanks__list strong { color: var(--ink); }
.offer {
  display: grid; gap: 16px; padding: 24px 20px; border-radius: var(--r-lg);
  background:
    radial-gradient(100% 80% at 100% 0%, color-mix(in oklch, var(--primary) 24%, transparent), transparent 60%),
    var(--surface-2);
  border: 1.5px solid var(--primary);
}
.offer__was { color: var(--muted); }
.offer__form { display: grid; gap: 16px; }
.offer__skip { justify-self: center; }

/* Prose pages ------------------------------------------------------------ */
.prose { margin-top: 40px; color: var(--muted); max-width: 68ch; }
.prose h2 { color: var(--ink); font-weight: 800; font-size: 1.35rem; margin: 40px 0 12px; letter-spacing: -0.015em; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); }
.prose .note { margin-bottom: 8px; }

/* Pop, then glow: the words and buttons we want clicked ---------------------- */
.nowrap { white-space: nowrap; }
.pop {
  display: inline-block; color: var(--primary);
  text-shadow: 0 0 22px color-mix(in oklch, var(--primary) 45%, transparent);
}
.btn--glow { box-shadow: 0 0 24px color-mix(in oklch, var(--primary) 35%, transparent); }
.tabs [role='tab'][aria-selected='true'] { box-shadow: 0 0 28px color-mix(in oklch, var(--primary) 35%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .pop { transform-origin: 50% 70%; }
  .pop.is-lit { animation: pop-once 0.75s var(--ease) both, glow-text 2.6s ease-in-out 0.75s infinite alternate; }
  .nowrap + .nowrap .pop.is-lit { animation-delay: 0.18s, 0.93s; }
  .btn--glow.is-lit { animation: pop-btn 0.75s var(--ease) both, glow-box 2.6s ease-in-out 0.75s infinite alternate; }
  .tabs.is-lit [role='tab'] { animation: pop-btn 0.75s var(--ease) both; }
  .tabs.is-lit [role='tab'] + [role='tab'] { animation-delay: 0.15s; }
  .tabs.is-lit [role='tab'][aria-selected='true'] { animation: pop-btn 0.75s var(--ease) both, glow-box 2.6s ease-in-out 0.75s infinite alternate; }
}
@keyframes pop-once { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes pop-btn { 0% { transform: scale(1); } 45% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes glow-text {
  from { text-shadow: 0 0 10px color-mix(in oklch, var(--primary) 30%, transparent); }
  to { text-shadow: 0 0 26px color-mix(in oklch, var(--primary) 75%, transparent), 0 0 3px color-mix(in oklch, var(--primary) 50%, transparent); }
}
@keyframes glow-box {
  from { box-shadow: 0 0 10px color-mix(in oklch, var(--primary) 20%, transparent); }
  to { box-shadow: 0 0 34px 2px color-mix(in oklch, var(--primary) 55%, transparent); }
}

/* Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .drawer__panel, .sheet, .sticky-bar { transition: opacity 0.2s linear; }
  .drawer__panel, .sheet { transform: none; opacity: 0; }
  .drawer.is-open .drawer__panel, .modal.is-open .sheet { opacity: 1; }
  .vote__bar i { transition: none; }
}

/* What happens when you buy ------------------------------------------------ */
.buy-steps { margin-top: 24px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.buy-steps__title { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.buy-steps__list { list-style: none; padding: 0; display: grid; gap: 14px; position: relative; }
.buy-steps__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; position: relative; }
.buy-steps__list li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: -12px; width: 1.5px; background: var(--line-strong); }
.buy-steps__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; border: 1.5px solid var(--line-strong); background: var(--bg); position: relative; z-index: 1; }
.buy-steps__list li:last-child .buy-steps__n { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.buy-steps__list strong { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.3; padding-top: 4px; }
.buy-steps__list span:not(.buy-steps__n) { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
@media (min-width: 900px) {
  .panel .buy-steps, .section .buy-steps { padding: 22px 24px; }
  #panel-be-in-it .buy-steps__list, .section .buy-steps__list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
  #panel-be-in-it .buy-steps__list li::after, .section .buy-steps__list li::after { display: none; }
}

/* Single-show skills on the bundles page ------------------------------------ */
.single { margin-top: 20px; display: grid; gap: 12px; }
.single__title { font-weight: 700; }
.single__links { display: grid; gap: 10px; }
.single__link { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); text-decoration: none; font-weight: 700; transition: border-color 0.2s var(--ease); }
.single__link:hover { border-color: var(--ink); }
.single__price { font-weight: 700; }
.single__price s { font-weight: 400; font-size: 0.9rem; margin-left: 4px; }
@media (min-width: 640px) { .single__links { grid-template-columns: 1fr 1fr; } }

.place-faq { margin-top: 56px; max-width: 760px; }

/* Touch targets: 44px minimum on small controls */
.link-btn { min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; }
.footer__col a { min-height: 44px; }
.chip-btn { min-height: 44px; }

/* Two ways to buy (home) */
.paths { display: grid; gap: 16px; margin-top: 48px; }
.path { display: grid; gap: 10px; align-content: start; padding: 24px 20px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.path__title { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; }
.path .buy-steps { margin: 6px 0 8px; border: 0; padding: 0; background: none; }
.path .buy-steps__n { background: var(--bg); }
.path__shows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; gap: 24px; } .path { padding: 32px; } }
