/* Unfurl site — content pages. Variables copied exactly from product/gratis/unfurl-selfcheck_v3.html.
   White = the lab (claims, test, verdict). Blue/cyan = screen light. Gold = vital / your result.
   Red and green only for muscles. No purple, no black-and-white, no clutter. */
:root {
  --paper: #F7F8FA;
  --card: #FFFFFF;
  --ink: #12161F;
  --muted: #5A6372;
  --line: #E2E6EC;
  --blue: #2F80ED;
  --blue-text: #1C64C8; /* brand blue darkened for small text and links (4.5:1 contrast); fills stay #2F80ED */
  --cyan: #4BC1E9;
  --gold: #C9962E;
  --gold-soft: #FBF3E2;
  --night: #0E1420;
  --warn: #B4442F;
  --warn-soft: #FBECE8;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }

/* one narrow column on phones; same column with more air on desktop */
.wrap { max-width: 460px; margin: 0 auto; padding: 0 18px 40px; min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 900px) { .wrap { max-width: 560px; padding: 0 24px 64px; } main { padding-top: 28px; gap: 40px !important; } }

/* top bar: same as the free check — brand left, thin gradient line under it */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; gap: 12px; }
.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--blue); }
nav.menu { display: flex; gap: 14px; font-size: 14px; font-weight: 600; }
nav.menu a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav.menu a:hover, nav.menu a[aria-current="page"] { color: var(--ink); }
nav.menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.bar { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin-bottom: 26px; opacity: .9; }

main { display: flex; flex-direction: column; gap: 28px; }
section { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-text); }
.eyebrow.gold { color: #8F6A1F; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.12; }
h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
em.k { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.15em; letter-spacing: 0; color: var(--blue); }
em.k.gold { color: var(--gold); }
p { margin: 0; }
.lead { font-size: 17px; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
a { color: var(--blue-text); }
ul.plain, ol.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.card.gold { background: var(--gold-soft); border-color: #EFDDB4; }
.card.warn { background: var(--warn-soft); border-color: #F0C9BF; }
.card.night { background: var(--night); border-color: var(--night); color: #E8EEF7; }
.card.night h2, .card.night h3 { color: #fff; }
.card.night .small { color: #9AA8BD; }
.card.empty { border-style: dashed; background: transparent; }

button, .btn { font: inherit; font-weight: 600; font-size: 16px; border: 0; border-radius: 12px; padding: 15px 18px; cursor: pointer; background: var(--ink); color: #fff; text-align: center; text-decoration: none; display: inline-block; }
.btn.primary, button.primary { background: var(--blue); }
.btn.ghost, button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.light, button.light { background: #fff; color: var(--ink); }
.btn.full, button.full { width: 100%; }
button:disabled { opacity: .4; cursor: not-allowed; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
input[type="email"] { font: inherit; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.card.night input[type="email"] { background: #1A2536; border-color: #2A3A55; color: #fff; }
.okline { font-size: 14px; color: #1F6B3A; }
.card.night .okline { color: #9BD8A8; }

/* the ladder */
.step-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.step-no { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: #E8F1FD; color: #1D5FB8; }
.step-no.gold { background: var(--gold-soft); color: #7A5A17; }
.step-no.later { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.price { display: flex; flex-direction: column; gap: 2px; }
.price b { font-size: 20px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); vertical-align: 2px; }
.pill.free { background: #E8F1FD; color: #1D5FB8; border-color: #CFDDF2; }
.pill.gold { background: var(--gold-soft); color: #7A5A17; border-color: #EFDDB4; }

/* video placeholder, same as in the check */
.video { aspect-ratio: 9 / 16; max-height: 420px; width: 100%; border: 1.5px dashed #C8D0DB; border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 16px; background: repeating-linear-gradient(135deg, #FAFBFC 0 10px, #F3F5F8 10px 20px); }
video.player { width: 100%; max-height: 520px; border-radius: 14px; background: var(--night); display: block; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
details > summary { cursor: pointer; list-style: none; padding: 13px 16px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; font-weight: 500; font-size: 20px; color: var(--blue); }
details[open] > summary::after { content: "–"; }
details .in { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ev { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; background: #E8F1FD; color: #1D5FB8; }
.answer { border-left: 3px solid var(--blue); padding: 4px 0 4px 14px; font-size: 17px; }
.legal h2 { font-size: 20px; margin-top: 8px; }
.legal p, .legal li { font-size: 15px; }
.todo { background: #FFF6D6; border-radius: 4px; padding: 0 4px; font-size: .92em; }

/* footer on every page */
footer.site { margin-top: auto; padding-top: 48px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }
footer.site .socials { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.site .rule { border-top: 1px solid var(--line); padding-top: 14px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* v2 landing helpers */
.center { text-align: center; }
ul.feel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ul.feel li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; padding: 11px 14px; font-size: 15.5px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.facts span::before { content: "✓ "; color: var(--blue-text); font-weight: 700; }
.moment { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.moment:first-child { border-top: 0; padding-top: 0; }
.moment > span { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.src a { color: var(--blue-text); }
