@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/atkinson-400-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/atkinson-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/atkinson-700-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/atkinson-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/big-shoulders-800-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/big-shoulders-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --velvet: #26162B;   /* the couch at night: background */
  --cushion: #35203C;  /* raised surfaces */
  --seam: #4B3153;     /* borders */
  --lamp: #FFB547;     /* primary action, person 1 */
  --tide: #7CD3C2;     /* person 2 */
  --linen: #F4E7DA;    /* text */
  --dusk: #B9A3BE;     /* secondary text */
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--velvet); color: var(--linen);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--linen); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--lamp); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(44px, 9vw, 72px); margin: 28px 0 14px; }
h2 { font-size: clamp(32px, 6vw, 44px); margin: 0 0 14px; }
h3 { font-size: 26px; margin: 22px 0 6px; }
p { margin: 0 0 14px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--lamp); color: var(--velvet); padding: 8px 12px; border-radius: 8px; }

/* The lamp in the corner of the room; it brightens when a pick is revealed. */
.lamp, .lamp::after { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.lamp { background: radial-gradient(70% 40% at 8% -6%, rgba(255, 181, 71, .13), transparent 70%); }
.lamp::after { content: ''; opacity: 0; transition: opacity 900ms ease;
  background: radial-gradient(90% 55% at 30% 12%, rgba(255, 181, 71, .26), transparent 72%); }
body.lit .lamp::after { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 12px 22px; border-radius: 18px; border: 0;
  background: var(--lamp); color: var(--velvet);
  font: 700 18px/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { color: var(--velvet); filter: brightness(1.05); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--linen); border: 1.5px solid var(--seam); }
.btn.ghost:hover { border-color: var(--dusk); color: var(--linen); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 15px; border-radius: 12px; }
.btn.tide { background: var(--tide); }
.btn.block { display: flex; width: 100%; }
.link { background: none; border: 0; padding: 10px 0; color: var(--dusk); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--linen); }

/* ---------- Site pages ---------- */
.site-header, .page, .site-footer { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-top: env(safe-area-inset-top); }
.wordmark { font: 800 26px/1 var(--display); color: var(--lamp); text-decoration: none; letter-spacing: .01em; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a:not(.btn) { color: var(--dusk); text-decoration: none; }
.site-header nav a:not(.btn):hover { color: var(--linen); }
@media (max-width: 560px) { .site-header nav a:not(.btn) { display: none; } }
.page { padding-bottom: 40px; }
.lede { font-size: 19px; color: var(--linen); max-width: 36em; }
.note, .fine { color: var(--dusk); font-size: 15px; }
.narrow { max-width: 34em; padding: 40px 0; }
.band { padding: 44px 0 8px; border-top: 1px solid var(--seam); margin-top: 36px; }
.hero { padding: 12px 0 8px; }
.hero h1 { font-size: clamp(48px, 10vw, 84px); max-width: 11em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 22px 0 34px; }
.verdict-demo { margin: 0; padding: 26px 24px 22px; border-radius: 28px; border: 1.5px solid var(--seam);
  background: radial-gradient(80% 90% at 20% 0%, rgba(255, 181, 71, .16), transparent 70%), var(--cushion); max-width: 520px; }
.verdict-demo .kicker { color: var(--dusk); margin: 0; }
.demo-title { font: 800 clamp(48px, 11vw, 76px)/.92 var(--display); margin: 6px 0 12px; overflow-wrap: break-word; }
.demo-meta { margin: 0 0 10px; }
.verdict-demo figcaption { color: var(--dusk); font-size: 14px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; font: 800 44px/1 var(--display); color: var(--lamp); }
.steps h3 { margin-top: 18px; }
.mood-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mood-grid li { padding: 14px 16px; border-radius: 999px; background: var(--cushion); border: 1.5px solid var(--seam); display: flex; flex-direction: column; }
.mood-grid span { color: var(--dusk); font-size: 15px; }
.link-list { padding-left: 20px; }
.link-list li { margin: 6px 0; }
.link-list.big { font-size: 20px; }
.service-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-list a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--cushion); border: 1.5px solid var(--seam); text-decoration: none; }
.service-list a:hover { border-color: var(--lamp); color: var(--linen); }
.crumbs ol { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--dusk); font-size: 15px; }
.crumbs li + li::before { content: '\203A'; margin-right: 6px; }
.crumbs a { color: var(--dusk); }
.jump ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.title-list { padding-left: 0; list-style: none; display: grid; gap: 4px; margin: 0 0 12px; }
.title-item { padding: 12px 0; border-bottom: 1px solid var(--seam); }
.title-item h3 { margin: 0 0 4px; font-size: 28px; }
.title-meta { color: var(--dusk); margin: 0 0 6px; font-size: 15px; }
.watch-link { font-size: 15px; }
.cta-box { margin: 34px 0; padding: 22px; border-radius: 22px; background: var(--cushion); border: 1.5px solid var(--seam); }
.cta-box p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--seam); vertical-align: top; }
thead th { color: var(--dusk); font-weight: 400; }
.closing { text-align: left; padding-bottom: 20px; }
.site-footer { border-top: 1px solid var(--seam); padding-top: 22px; padding-bottom: calc(30px + env(safe-area-inset-bottom)); color: var(--dusk); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.site-footer a { color: var(--dusk); }

/* ---------- Plans (site + app) ---------- */
.plans { display: grid; gap: 12px; }
.plans.static { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 14px; }
.plan {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px;
  width: 100%; text-align: left; padding: 16px 18px; border-radius: 18px;
  border: 1.5px solid var(--seam); background: var(--cushion); color: var(--linen); font: inherit;
}
.plans.static .plan { grid-template-columns: 1fr; }
button.plan { cursor: pointer; }
.plan[aria-pressed="true"], .plan.best { border: 2px solid var(--lamp); padding: 15.5px 17.5px; }
.plan-name { font-weight: 700; }
.plan-price { font: 800 32px/1 var(--display); }
.plan-note { grid-column: 1 / -1; color: var(--dusk); font-size: 15px; }
a.plan { text-decoration: none; color: var(--linen); }
a.plan:hover { border-color: var(--lamp); color: var(--linen); }
.plan-cta { grid-column: 1 / -1; margin-top: 10px; color: var(--lamp); font-weight: 700; }

/* ---------- App ---------- */
.app-body .lamp { z-index: 0; }
.app {
  position: relative; z-index: 1; max-width: 460px; min-height: 100vh; min-height: 100dvh; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 22px 0; display: flex; flex-direction: column; container-type: inline-size;
}
.loading, .noscript { color: var(--dusk); margin-top: 40px; }
.screen { display: flex; flex-direction: column; flex: 1; }
.grow { flex: 1; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.top .wordmark { font-size: 24px; }
.back::before { content: '\2039\00a0'; display: inline-block; }
.kicker { margin: 26px 0 0; color: var(--dusk); }
.kicker.a { color: var(--lamp); }
.kicker.b { color: var(--tide); }
.ask { font-size: 48px; margin: 6px 0 12px; }
.top + .ask { margin-top: 26px; }
.ask:focus, .verdict-title:focus { outline: none; }
.sub { color: var(--dusk); margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--seam);
  background: var(--cushion); color: var(--linen); font: inherit; line-height: 1.2; text-align: left; cursor: pointer;
}
.chip small { color: var(--dusk); font-size: 14px; margin-left: 6px; }
.chip[aria-pressed="true"] { background: var(--lamp); border-color: var(--lamp); color: var(--velvet); font-weight: 700; }
.chip[aria-pressed="true"] small { color: var(--velvet); }
.person-b .chip[aria-pressed="true"] { background: var(--tide); border-color: var(--tide); }
.options { display: grid; gap: 12px; }
.option {
  display: block; width: 100%; text-align: left; padding: 18px 20px 20px; border-radius: 22px;
  border: 1.5px solid var(--seam); background: var(--cushion); color: var(--linen); font: inherit; cursor: pointer;
}
.option:hover { border-color: var(--dusk); }
.option-label { display: block; font: 800 34px/1 var(--display); }
.option-hint { display: block; color: var(--dusk); margin-top: 6px; font-size: 16px; line-height: 1.4; }
.field { margin: 0 0 18px; }
.field label { display: block; color: var(--dusk); font-size: 15px; margin-bottom: 6px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--linen); border-bottom: 2px solid var(--linen); transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
select, input[type="email"] {
  width: 100%; min-height: 52px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--seam);
  background: var(--cushion); color: var(--linen); font: inherit;
}
select { padding-right: 44px; appearance: none; -webkit-appearance: none; }
input[type="email"]::placeholder { color: var(--dusk); }
.hint { color: var(--dusk); font-size: 15px; margin: 8px 0 0; }
.bar {
  position: sticky; bottom: 0; margin-top: 24px; padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
  background: var(--velvet); display: grid; gap: 10px; z-index: 2;
}
.bar .btn { width: 100%; min-height: 58px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row .btn { min-height: 52px; font-size: 16px; }
.status { margin: 22px 0 0; color: var(--dusk); font-size: 15px; }
.status strong { color: var(--linen); }
.app-note { color: var(--dusk); font-size: 14px; border-top: 1px solid var(--seam); padding-top: 12px; margin: 18px 0 0; }
.end { height: calc(24px + env(safe-area-inset-bottom)); }
.verdict-title { font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -.01em;
  margin: 8px 0 16px; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
.size-xl { font-size: 27cqi; } .size-l { font-size: 21cqi; } .size-m { font-size: 16cqi; } .size-s { font-size: 12.5cqi; }
.reveal .verdict-title { animation: rise 560ms cubic-bezier(.2, .75, .2, 1) both; }
.reveal .after-title { animation: fade 500ms 180ms ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pick-body { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.pick-body.no-poster { grid-template-columns: 1fr; }
.poster { width: 84px; height: 126px; object-fit: cover; border-radius: 10px; background: var(--cushion); border: 1px solid var(--seam); }
.meta { margin: 0 0 6px; }
.overview { color: var(--dusk); margin: 0 0 14px; font-size: 16px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fits { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--dusk); }
.fits li { display: flex; gap: 10px; align-items: baseline; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(1px); }
.dot.a { background: var(--lamp); } .dot.b { background: var(--tide); }
.fits strong { color: var(--linen); }
.reroll-count { margin: 2px 0 0; text-align: center; color: var(--dusk); font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.rerolls { display: inline-flex; gap: 5px; }
.rerolls i { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); }
.rerolls i.used { background: transparent; box-shadow: inset 0 0 0 1.5px var(--seam); }
.final { margin: 0; text-align: center; color: var(--lamp); font-weight: 700; }
.attribution { color: var(--dusk); font-size: 13px; margin: 14px 0 0; }
.attribution a { color: var(--dusk); }
.toast {
  position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); z-index: 5;
  transform: translate(-50%, -16px); opacity: 0; pointer-events: none;
  background: var(--linen); color: var(--velvet); font-weight: 700;
  padding: 12px 18px; border-radius: 14px; max-width: calc(100% - 40px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
