:root {
  --paper: #F4EEE3;
  --paper-2: #EBE3D3;
  --ink: #0F1B2D;
  --ink-2: #1B2B45;
  --muted: #5B6578;
  --ember: #FF5A1F;
  --ember-dark: #D9430C;
  --gold: #F5B83D;
  --sage: #1F7A6D;
  --line: rgba(15, 27, 45, .14);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--paper); color: var(--ink);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .35  0 0 0 0 .3  0 0 0 .25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.02em; line-height: 1.02; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(2.9rem, 10.5vw, 7rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
em { font-style: italic; font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }

/* Header */
.site-header { position: relative; z-index: 5; padding: 22px 0; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-decoration: none; letter-spacing: -.03em; }
.logo i { color: var(--ember); font-style: italic; }
.nav-link { text-decoration: none; border: 1.5px solid var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: .2s; }
.nav-link:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { position: relative; padding: 24px 0 70px; overflow: hidden; }
.sun {
  position: absolute; width: min(90vw, 760px); aspect-ratio: 1; right: -18%; top: -10%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 40% 40%, #FFD27A 0%, var(--gold) 28%, var(--ember) 70%, #E0400F 100%);
  filter: blur(.3px); opacity: .92;
}
.sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(244,238,227,.55) 14px 17px);
  -webkit-mask: linear-gradient(180deg, transparent 45%, #000 100%); mask: linear-gradient(180deg, transparent 45%, #000 100%); }
.hero .container { position: relative; z-index: 2; }
.hero .mono { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 20px; }
.hero .mono::before { content: ""; width: 36px; height: 2px; background: var(--ink); }
.hero h1 em { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255,255,255,.55) 62%); padding: 0 .06em; }
.hero .lead { margin: 26px 0 36px; color: var(--ink-2); font-weight: 500; }

/* Start card (first quiz question) */
.start-card {
  background: var(--ink); color: var(--paper); border-radius: 22px; padding: 26px; max-width: 560px;
  box-shadow: 0 30px 60px -20px rgba(15, 27, 45, .55); transform: rotate(-.6deg);
}
.start-card .mono { margin: 0 0 8px; color: var(--gold); }
.start-card .mono::before { display: none; }
.start-card h3 { font-size: 1.6rem; margin-bottom: 18px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: rgba(244, 238, 227, .07); border: 1.5px solid rgba(244, 238, 227, .18); font-weight: 600; transition: .18s;
}
.opt b { font-family: var(--font-mono); font-weight: 500; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--ember); color: #fff; }
.opt:hover { background: var(--ember); border-color: var(--ember); transform: translateX(4px); }
.opt:hover b { background: var(--ink); }
.start-foot { margin-top: 16px; font-size: .88rem; color: #AEB8CC; }

/* Marquee */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; transform: rotate(-1deg); margin: 0 -10px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 38s linear infinite; font-family: var(--font-head); font-size: 1.6rem; font-style: italic; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--ember); margin-left: 40px; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-note { text-align: center; padding: 14px 0 0; color: var(--muted); font-size: .82rem; }

/* Sections */
.section { padding: 90px 0; position: relative; }
.sec-num { color: var(--ember-dark); margin-bottom: 18px; display: block; }
.sec-head { max-width: 780px; margin-bottom: 44px; }

/* Journey */
.journey { background: var(--ink); color: var(--paper); }
.journey .sec-num { color: var(--gold); }
.journey .lead { color: #AEB8CC; margin-top: 18px; }
.path { position: relative; display: grid; gap: 0; margin-top: 10px; padding-left: 34px; }
.path::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--ember)); }
.node { position: relative; padding: 0 0 38px; }
.node::before { content: ""; position: absolute; left: -34px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--gold); }
.node:last-child::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 8px rgba(255, 90, 31, .22); }
.node .mono { color: var(--gold); }
.node h3 { margin: 8px 0 6px; font-size: 1.7rem; }
.node p { color: #AEB8CC; max-width: 520px; }
.path-note { color: #8794ad; font-size: .85rem; margin-top: 8px; }

/* Pain */
.pains { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.pain { display: flex; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1.5px solid var(--ink); font-family: var(--font-head); font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.pain .mono { color: var(--ember-dark); flex: none; }
.pain-close { margin-top: 30px; font-family: var(--font-head); font-size: 1.6rem; font-style: italic; }

/* Steps */
.steps { display: grid; gap: 18px; }
.step { background: var(--paper-2); border-radius: 22px; padding: 30px; position: relative; overflow: hidden; }
.step .big { font-family: var(--font-head); font-size: 7rem; font-weight: 800; line-height: .8; color: var(--ember); opacity: .9; position: absolute; right: 18px; top: 18px; }
.step h3 { margin: 70px 0 10px; }
.step p { color: var(--muted); }

/* What you get */
.get { background: var(--sage); color: var(--paper); }
.get .sec-num { color: var(--gold); }
.get-grid { display: grid; gap: 28px; }
.get-list { list-style: none; counter-reset: g; }
.get-list li { counter-increment: g; display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(244, 238, 227, .28); font-weight: 600; font-size: 1.1rem; }
.get-list li::before { content: counter(g, decimal-leading-zero); font-family: var(--font-mono); color: var(--gold); font-weight: 500; }
.example { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 28px; transform: rotate(.8deg); box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.badge { display: inline-block; background: var(--ink); color: var(--gold); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.example p { color: var(--muted); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.chip { border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-size: .88rem; font-weight: 600; }
.locked { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #E3D9C5 10px 20px); font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); }

/* FAQ */
.faq details { border-top: 1.5px solid var(--ink); padding: 22px 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.8rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ember); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; padding: 19px 34px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(255, 90, 31, .65); transition: .2s; }
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover { background: var(--ember-dark); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(5px); }

/* Final */
.final { background: var(--ember); color: var(--ink); text-align: center; overflow: hidden; }
.final h2 { max-width: 900px; margin: 0 auto 22px; }
.final .lead { margin: 0 auto 32px; color: var(--ink); }
.final .btn { background: var(--ink); box-shadow: 0 14px 30px -10px rgba(15,27,45,.7); }
.final .btn:hover { background: #000; }

/* Footer */
.disclaimer { font-size: .85rem; color: var(--muted); padding: 30px 0 22px; max-width: 820px; }
.site-footer { padding: 0 0 44px; font-size: .9rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 12px; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 820px) {
  .section { padding: 130px 0; }
  .hero { padding-bottom: 110px; }
  .hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: end; }
  .start-card { margin-bottom: 8px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .get-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .path { padding-left: 0; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .path::before { left: 0; right: 0; top: 14px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--ember)); }
  .node { padding: 48px 0 0; }
  .node::before { left: 0; top: 5px; }
}
