/* Housemate — landing page styles */
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #fffaf0;
  --soft: #faf5e8;
  --card: #f5f0e0;
  --strong: #ebe6d6;
  --ink: #0a0a0a;
  --body-strong: #1a1a1a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --hair: #e5e5e5;
  --line: #d9d4c4;
  --pink: #ff4d8b;
  --teal: #1a3a3a;
  --teal-ink: #d6e4e0;
  --lavender: #b8a4ed;
  --peach: #ffb084;
  --ochre: #e8b94a;
  --mint: #a4d4c5;
  --mint-ink: #0a3a2a;
  --night: #0a1a1a;
  --ok: #15803d;
  --error: #b91c1c;
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-feature: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.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: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-btn); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-bottom: 96px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.h2--sm { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.lede { font-size: 17px; color: var(--body-strong); }

/* Buttons and fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-btn); border: 0;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: transform .15s var(--ease), background-color .2s;
}
.btn:hover { background: #262626; color: #fff; }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--card); color: var(--ink); }
.btn--lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.12); }
.input[aria-invalid="true"] { border: 2px solid var(--error); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.err { font-size: 14px; color: var(--error); min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: 13px; color: var(--muted); }
.fineprint a { color: inherit; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 250, 240, .94); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); }
.header__in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header .btn { height: 44px; font-size: 14px; }

/* Hero */
.hero { max-width: 1440px; margin: 0 auto; padding: 8px 16px 24px; }
.hero__box { position: relative; border-radius: 28px; overflow: hidden; background: var(--night); min-height: 640px; display: flex; align-items: center; }
.hero__slide { position: absolute; inset: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__slide--1 { animation: hs1 20s linear infinite; }
.hero__slide--2 { animation: hs2 20s linear infinite; opacity: 0; }
@keyframes hs1 { 0% { opacity: 1; transform: scale(1); } 46% { opacity: 1; transform: scale(1.05); } 50% { opacity: 0; transform: scale(1.06); } 96% { opacity: 0; transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hs2 { 0%, 46% { opacity: 0; transform: scale(1); } 50% { opacity: 1; transform: scale(1.01); } 96% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.06); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,26,.86) 0%, rgba(10,26,26,.62) 42%, rgba(10,26,26,.08) 75%); }
.hero__dots { position: absolute; right: 28px; bottom: 24px; display: flex; gap: 8px; }
.hero__dots span { width: 28px; height: 6px; border-radius: 9999px; background: var(--canvas); opacity: .4; }
.hero__dots span:nth-child(1) { animation: hd1 20s linear infinite; }
.hero__dots span:nth-child(2) { animation: hd2 20s linear infinite; }
@keyframes hd1 { 0%, 46% { opacity: 1; } 50%, 96% { opacity: .4; } 100% { opacity: 1; } }
@keyframes hd2 { 0%, 46% { opacity: .4; } 50%, 96% { opacity: 1; } 100% { opacity: .4; } }
.hero__in { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 64px); }
.hero__copy { max-width: 720px; color: #fff; }
.hero__copy .mark { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: var(--ochre); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 9999px; }
.hero h1 { margin-top: 22px; color: #fff; font-weight: 700; font-size: clamp(34px, 6vw, 72px); line-height: 1.08; letter-spacing: -0.03em; }
.hero__ask { display: block; }
.hero h1 .mark { display: inline-block; line-height: 1; padding: .06em .16em .14em; margin-top: .14em; border-radius: .22em; }
.mark { background: var(--pink); color: var(--ink); padding: 0 .14em; border-radius: 16px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lede { margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--card); max-width: 540px; text-wrap: pretty; }
.signup { margin-top: 32px; max-width: 560px; background: var(--canvas); color: var(--body-strong); border-radius: 20px; padding: 20px; }
.signup__label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__row .input { flex: 1 1 240px; min-width: 0; height: 56px; }
.signup .fineprint { margin-top: 10px; }
.done { display: flex; gap: 14px; align-items: center; }
.done__tick { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.done strong { display: block; color: var(--ink); }
.done a { font-weight: 600; }
.proof { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 14px; color: var(--card); padding: 0; list-style: none; max-width: 520px; }
.proof li { display: flex; align-items: flex-start; gap: 8px; }
.proof li svg { flex: none; margin-top: 2px; }
.proof strong { color: #fff; font-weight: 600; }

/* Problem band */
.band { transition: background-color .6s var(--ease); background: var(--canvas); }
.band__in { padding-top: 72px; padding-bottom: 96px; }
.how__in { padding-top: 8px; }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.band__head > div { max-width: 760px; }
.band .h2 { margin-top: 12px; transition: color .6s var(--ease); }
.band .eyebrow { transition: color .6s var(--ease); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 9999px; background: var(--card); transition: background-color .6s; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; height: 40px; padding: 0 16px; border-radius: 9999px; border: 0; cursor: pointer; background: transparent; color: var(--muted); transition: background-color .3s, color .3s; }
.tabs button[aria-pressed="true"] { background: var(--canvas); color: var(--ink); }
.band.is-night { background: var(--night); }
.band.is-night .h2 { color: #fff; }
.band.is-night .eyebrow { color: var(--mint); }
.band.is-night .tabs { background: #1a2a2a; }
.band.is-night .tabs button { color: var(--teal-ink); }
.band.is-night .tabs button[aria-pressed="true"] { background: var(--canvas); color: var(--ink); }

.grid3 { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.fcard { border-radius: var(--radius-feature); padding: 32px; display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.fcard h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.fcard p { margin-top: 8px; color: var(--body-strong); }
.fcard__foot { margin-top: auto; }
.fcard--pink { background: var(--pink); }
.fcard--teal { background: var(--teal); color: #fff; }
.fcard--teal h3 { color: #fff; }
.fcard--teal p { color: var(--teal-ink); }
.fcard--lavender { background: var(--lavender); }
.fcard--peach { background: var(--peach); }
.fcard--ochre { background: var(--ochre); }
.fcard--cream { background: var(--card); }
.note { background: var(--canvas); border-radius: var(--radius-card); padding: 12px 14px; font-size: 14px; color: var(--body-strong); }
.note small { display: block; font-size: 12px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.clock { background: #0a1a1a; border-radius: var(--radius-card); padding: 20px; text-align: center; }
.clock strong { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.clock span { display: block; margin-top: 8px; font-size: 13px; color: var(--mint); }
.stars { font-size: 18px; letter-spacing: 2px; color: var(--ink); }
.swap { transition: opacity .25s; }


/* 2am story video */
.story { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; }
.story__copy .h2 { max-width: 720px; }
.story__lede { margin-top: 20px; font-size: 18px; color: var(--body-strong); max-width: 520px; transition: color .6s var(--ease); }
.story .tabs { margin-top: 28px; }
.story__media { position: relative; margin: 0; width: min(340px, 30vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -30px rgba(10,26,26,.55); }
.story__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,.6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.story__toggle:hover { background: rgba(10,10,10,.8); }
.story__toggle .i-play { display: none; }
.story__toggle.is-paused .i-play { display: block; }
.story__toggle.is-paused .i-pause { display: none; }
.band.is-night .story__lede { color: var(--teal-ink); }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__media { width: min(360px, 100%); justify-self: center; }
}

/* How it works */
.step-no { font-size: 13px; font-weight: 500; }
.fcard .step-title { margin-top: 4px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.fcard .step-copy { margin-top: 10px; }
.mini { background: var(--canvas); border-radius: var(--radius-card); padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--body-strong); }
.mini__row { display: flex; justify-content: space-between; gap: 12px; }
.mini__ok { color: var(--ok); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--canvas); border-radius: 9999px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--ink); }
.bubble { padding: 9px 13px; font-size: 14px; line-height: 1.45; max-width: 88%; }
.bubble--guest { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble--bot { align-self: flex-start; background: var(--card); color: var(--body-strong); border-radius: 16px 16px 16px 4px; }
.sections { margin-top: 20px; background: var(--soft); border-radius: var(--radius-feature); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.sections h3 { font-size: 18px; font-weight: 600; }
.sections ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sections li { background: var(--canvas); border: 1px solid var(--hair); border-radius: 9999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--body-strong); }

/* Tag spots marquee */
.spots__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.spots__head p { max-width: 440px; }
.mq { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.mq__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.mq__track { display: flex; gap: 12px; width: max-content; padding: 2px 0; margin: 0; list-style: none; animation: mqL 70s linear infinite; }
.mq__row--rev .mq__track { animation: mqR 80s linear infinite; }
.mq:hover .mq__track, .mq:focus-within .mq__track { animation-play-state: paused; }
@keyframes mqL { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@keyframes mqR { from { transform: translateX(calc(-50% - 6px)); } to { transform: translateX(0); } }
.spot { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; height: 48px; padding: 0 18px 0 12px; border-radius: 9999px; font-size: 15px; font-weight: 600; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #e5e0d0; }
.spot i { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.spot--group { background: var(--ink); color: #fff; box-shadow: none; padding-left: 14px; }
.spot--group i { width: 10px; height: 10px; }

/* Demo */
.demo { overflow: hidden; border-radius: var(--radius-feature); background: #fff8ee; color: var(--ink); border: 1px solid #efe3cf; }
.demo__hero { position: relative; aspect-ratio: 2048 / 768; background: #f3e4d0; }
.demo__img { position: absolute; inset: 0; }
.demo__img img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.demo__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,238,.9) 0%, rgba(255,248,238,.75) 28%, rgba(255,248,238,0) 46%); }
.demo__intro { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 46%; padding: 0 clamp(24px, 4.5vw, 56px); }
.demo .eyebrow { color: #6a4a2a; }
.demo h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.demo__copy { margin-top: 16px; font-size: 17px; color: var(--body-strong); max-width: 440px; }
.demo__play { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 48px; align-items: start; padding: clamp(24px, 4.5vw, 48px) clamp(24px, 4.5vw, 56px) clamp(24px, 4.5vw, 56px); }
.demo__pick { font-size: 18px; font-weight: 700; color: var(--ink); }
.demo .chat { margin-top: 0; }
.demo__hints { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body); }
.demo__hints li { display: flex; gap: 10px; align-items: baseline; }
.demo__hints span { flex: none; width: 10px; height: 10px; border-radius: 50%; transform: translateY(1px); }
.tagpick { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.tagpick button { font: inherit; font-size: 14px; font-weight: 600; height: 44px; padding: 0 18px; border-radius: 9999px; cursor: pointer; border: 0; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #d9cbb6; transition: background-color .2s, color .2s; }
.tagpick button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chat { margin-top: 24px; background: #fff; border: 1px solid var(--strong); border-radius: var(--radius-card); padding: 20px; color: var(--body-strong); box-shadow: 0 16px 40px -24px rgba(90,60,30,.45); }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.chat__name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.chat__from { font-size: 13px; color: var(--muted); }
.online { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--mint-ink); font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 9999px; white-space: nowrap; }
.beacon { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.beacon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
.chat__log { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.chat__log.is-in { animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat .bubble { font-size: 15px; padding: 11px 15px; white-space: pre-line; }
.handover { background: var(--card); border: 1px solid var(--strong); border-radius: var(--radius-card); padding: 16px 18px; white-space: pre-line; }
.handover strong { display: block; color: var(--ink); }
.generic { align-self: flex-start; background: var(--ochre); color: var(--ink); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 9999px; }
.chat__stamp { margin-top: auto; font-size: 12px; color: var(--muted); text-align: center; }

/* Strip */
.strip { background: var(--ochre); color: var(--ink); border-radius: var(--radius-feature); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.strip strong { display: block; font-size: 22px; letter-spacing: -0.02em; }

/* Features */
.feats { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.feat { background: var(--card); border-radius: var(--radius-card); padding: 24px; }
.feat h3 { font-size: 16px; font-weight: 600; }
.feat p { margin-top: 6px; }

/* Pricing */
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.plan { border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--hair); }
.plan h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.plan__for { margin-top: 6px; color: var(--muted); }
.plan__price { margin-top: 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.plan ul { margin: 20px 0 32px; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--featured { background: var(--teal); border-color: var(--teal); color: #fff; }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__for { color: var(--teal-ink); }
.plan__tag { background: var(--mint); color: var(--mint-ink); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 9999px; }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter) 96px; }
.faq h2 { margin-bottom: 24px; }
.qa { border-bottom: 1px solid var(--hair); }
.qa h3 { font-size: inherit; }
.qa button { width: 100%; min-height: 60px; background: transparent; border: 0; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; cursor: pointer; font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); }
.qa__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; background: var(--card); color: var(--ink); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.qa button[aria-expanded="true"] .qa__icon { transform: rotate(45deg); background: var(--ink); color: #fff; }
.qa__panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s; }
.qa__panel > div { overflow: hidden; }
.qa__panel p { padding-bottom: 20px; max-width: 720px; }
.qa.is-open .qa__panel { grid-template-rows: 1fr; opacity: 1; }

/* Waitlist */
.wl { background: var(--teal); color: #fff; border-radius: var(--radius-feature); padding: clamp(24px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 4vw, 48px); align-items: start; }
.wl h2 { margin-top: 20px; color: #fff; }
.wl__lede { margin-top: 18px; font-size: 18px; color: var(--teal-ink); max-width: 460px; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.wl__card { background: var(--canvas); color: var(--body-strong); border-radius: var(--radius-card); padding: 32px; }
.wl__card form { display: flex; flex-direction: column; gap: 18px; }
.wl__card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.wl__card .btn { width: 100%; }
.wl__done { text-align: center; padding: 24px 0; }
.wl__done .done__tick { width: 64px; height: 64px; margin: 0 auto; }
.wl__done h3 { margin-top: 18px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.wl__done p { margin: 10px auto 0; max-width: 360px; }
.badge--caps { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; }
.ts { min-height: 0; }

/* Footer */
.footer { background: var(--soft); color: var(--body); }
.footer__in { padding-top: 72px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; font-size: 14px; }
.footer h2 { font-size: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--body); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--strong); padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }

/* Prose pages (privacy, 404) */
.prose { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.prose h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 12px; }
.prose li { margin-top: 6px; }
.prose .meta { margin-top: 12px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); }

/* Benefits strip under the hero */
.perks { padding: 64px 0 24px; }
.perks__head p { color: var(--body); }
.perks__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.perk { background: var(--soft); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.perk__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.perk h3 { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.perk p { font-size: 15px; color: var(--body); line-height: 1.45; }

/* Responsive */
@media (max-width: 1100px) {
  .hero__shade { background: linear-gradient(90deg, rgba(10,26,26,.88) 0%, rgba(10,26,26,.7) 55%, rgba(10,26,26,.25) 100%); }
  .demo__wash { background: linear-gradient(90deg, rgba(255,248,238,.95) 0%, rgba(255,248,238,.85) 40%, rgba(255,248,238,0) 58%); }
  .demo__intro { width: 56%; }
  .demo__copy { font-size: 16px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .demo__hero { aspect-ratio: auto; }
  .demo__img { position: relative; height: 260px; }
  .demo__img img { object-position: 80% 50%; }
  .demo__wash { display: none; }
  .demo__intro { position: static; transform: none; width: auto; padding: 24px 24px 0; background: #fff8ee; }
  .demo__play { padding-top: 20px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section, .faq { padding-bottom: 64px; }
  .band__in { padding-top: 48px; padding-bottom: 64px; }
  .hero { padding: 4px 8px 16px; }
  .hero__box { min-height: 0; border-radius: 20px; }
  .hero__slide img { object-position: 68% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,26,26,.55) 0%, rgba(10,26,26,.72) 45%, rgba(10,26,26,.88) 100%); }
  .hero__in { padding: 36px 18px 64px; }
  .hero__lede { font-size: 18px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .hero .badge--caps { font-size: 10.5px; letter-spacing: .6px; padding: 5px 10px; }
  .signup { padding: 16px; }
  .fcard { padding: 24px; }
  .wl__card { padding: 24px 18px; }
  .strip, .sections { padding: 24px; }
  .perks { padding-top: 28px; }
  .perks__list { gap: 10px; margin-top: 20px; }
  .perk { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .perk__icon { grid-row: span 2; margin: 0; }
}
@media (max-width: 520px) {
  .signup__row .input, .signup__row .btn { flex: 1 1 100%; width: 100%; }
  .header .btn { padding: 0 14px; font-size: 13px; }
  .logo { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__slide--2 { display: none; }
  .mq__row { -webkit-mask-image: none; mask-image: none; padding: 0 16px; }
  .mq__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .mq__track [aria-hidden="true"] { display: none; }
}
