:root {
  --bg: #090A0D;
  --surface: #15181E;
  --surface-2: #1D2129;
  --border: #2A303B;
  --text: #F7F7F5;
  --muted: #858D9A;
  --accent: #F5B942;
  --accent-deep: #D78B24;
  --accent-soft: rgba(245, 185, 66, 0.1);
  --accent-line: rgba(245, 185, 66, 0.25);
  --blue: #78B0FF;
  --green: #47C78A;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -10%, rgba(245, 158, 11, 0.22), transparent 70%),
    radial-gradient(40% 30% at 85% 15%, rgba(124, 45, 18, 0.35), transparent 70%);
  z-index: -1;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.22em; font-size: 14px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 56px 72px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 30px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding-inline: 22px; border-radius: 16px; font-weight: 600; font-size: 15px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn.primary:hover { background: #E7A72D; }
.notify { max-width: 480px; }
.notify-row { display: flex; gap: 10px; }
.notify input[type="email"] { flex: 1; min-width: 0; height: 50px; padding-inline: 16px; border-radius: 16px; border: 1px solid #3A4150; background: var(--surface-2); color: var(--text); font: inherit; font-size: 16px; }
.notify input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.notify input::placeholder { color: #A3AAB6; }
.notify .btn { white-space: nowrap; }
.form-note { color: #C2C7D0; font-size: 14px; margin: 12px 0 0; }
.form-done { color: var(--accent); font-weight: 600; margin: 0; }
.form-done.error { color: #F46C75; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* phone mock: a copy of the app's result sheet (components/choice-result-card.tsx) */
.phone { zoom: 0.82; justify-self: center; width: 372px; border: 1px solid var(--border); border-radius: 44px; padding: 12px; background: linear-gradient(180deg, #11141A, #0B0D11); box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03); }
.screen { position: relative; border-radius: 34px; background: var(--bg); overflow: hidden; }
.home { padding: 34px 16px 0; height: 210px; }
.home-title { font-size: 32px; line-height: 34px; font-weight: 700; margin-bottom: 20px; }
.home-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; }
.home-card-title { font-size: 22px; line-height: 27px; font-weight: 700; }
.home-card-sub { color: var(--muted); font-size: 14px; line-height: 20px; margin-top: 4px; }
.sheet { position: relative; background: var(--surface); border-radius: 24px 24px 0 0; padding: 12px 16px 20px; box-shadow: 0 -30px 60px rgba(9,10,13,0.85); }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 210px; background: rgba(9,10,13,0.55); }
.handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto 16px; }
.eyebrow-app { color: var(--accent); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.pick { display: flex; gap: 16px; height: 168px; }
.poster { width: 112px; height: 168px; border-radius: 16px; object-fit: cover; background: var(--surface-2); flex: none; }
.info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.info p { margin: 0; }
.info .title { font-size: 22px; line-height: 27px; font-weight: 700; }
.info .meta { color: var(--muted); font-size: 12px; line-height: 16px; }
.info .overview { color: var(--muted); font-size: 12px; line-height: 16px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reason { margin-top: 16px; }
.reason-label { display: flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; line-height: 16px; font-weight: 600; margin-bottom: 4px; }
.reason-text { margin: 0; font-size: 14px; line-height: 20px; }
.watch { display: flex; align-items: center; gap: 12px; margin-top: 16px; height: 28px; }
.watch-label { color: var(--muted); font-size: 12px; }
.watch img { width: 28px; height: 28px; border-radius: 7px; }
.watch img + img { margin-left: -4px; }
.actions { display: flex; gap: 12px; margin-top: 24px; }
.actions span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 16px; font-size: 14px; font-weight: 600; }
.actions .again { padding-inline: 16px; border: 1px solid var(--border); background: var(--surface); }
.actions .go { flex: 1; background: var(--accent); color: var(--bg); }
.refine { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 20px; }

/* sections */
section { padding-block: 40px; }
h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.015em; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent); font-size: 18px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.process::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--border)); opacity: 0.7; }
.process li { position: relative; padding-top: 66px; }
.process .n { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 18px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.process h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.01em; }
.process p { margin: 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.band { padding-block: 24px 48px; }
.manifesto { margin: 0; padding: 28px 32px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 70%); border-radius: 0 22px 22px 0; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; letter-spacing: -0.01em; max-width: 34em; }
.manifesto span { color: var(--accent); }
.decide { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.signals li { padding-left: 18px; position: relative; color: var(--muted); font-size: 16px; }
.signals li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.signals strong { color: var(--text); }
.signals-note { color: var(--muted); font-size: 15px; margin: 20px 0 0; font-style: italic; }
.example { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.example-label { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.example-label em { font-style: normal; color: var(--text); letter-spacing: 0; text-transform: none; font-size: 14px; }
.example ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.example li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.example .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.example-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.example-foot strong { color: var(--text); }

/* legal pages */
.doc { max-width: 720px; padding-block: 40px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc .date { color: var(--muted); font-size: 14px; margin: -8px 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #C2C7D0; }
.doc ul { padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 20px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.doc code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 14px; }

footer { border-top: 1px solid var(--border); margin-top: 40px; padding-block: 28px 40px; color: var(--muted); font-size: 13px; }
footer .row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer .attribution { display: flex; align-items: flex-start; gap: 18px; margin-top: 22px; }
footer .tmdb { flex: none; padding-top: 3px; }
footer .tmdb img { width: 110px; height: auto; display: block; }
footer .fine { margin: 0; max-width: 70ch; }
@media (max-width: 860px) { footer .attribution { flex-direction: column; gap: 10px; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 32px 48px; }
  .phone { zoom: 0.78; width: min(372px, 100%); }
  .decide { grid-template-columns: 1fr; gap: 24px; }
  .manifesto { padding: 20px 22px; }
  .grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--border)); }
  .process li { padding-top: 0; padding-left: 64px; min-height: 44px; }
  .notify-row { flex-direction: column; }
  .notify input[type="email"] { flex: none; }
  .notify .btn { width: 100%; }
  .nav-links { gap: 16px; }
}
