:root {
  --night: #0b0a07; --graphite: #1d1e22; --gold: #e8b008; --sun: #ffcd24; --light: #ffe58a; --amber: #8a6403;
  --paper: #f7f5ef; --muted: #b5ad9a; --line: rgb(255 229 138 / .16); --card: #15130e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 17px/1.55 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.sec { padding-block: clamp(48px, 7vw, 96px); }
.eyebrow { margin-bottom: 14px; color: var(--sun); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--muted); }
.head { display: flex; flex-direction: column; max-width: 780px; margin-bottom: 36px; }
.head .muted { margin-top: 16px; font-size: 1.1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 28px; border: 2px solid var(--sun); border-radius: 99px; background: var(--sun); color: var(--night); font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); background: var(--light); border-color: var(--light); }
.btn.ghost { background: transparent; border-color: rgb(247 245 239 / .35); color: var(--paper); }
.btn.ghost:hover { border-color: var(--sun); }
.btn.small { min-height: 42px; padding: 8px 18px; font-size: .88rem; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(11 10 7 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { display: block; width: 156px; }
.top nav { display: flex; gap: 28px; font-size: .95rem; font-weight: 500; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--paper); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); background: url('hero.jpg') right top / cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--night) 30%, rgb(11 10 7 / .62) 62%, transparent), linear-gradient(0deg, var(--night), transparent 45%); }
.hero h1 { max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--sun); }
.lead { max-width: 56ch; margin-top: 24px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.lead strong { color: var(--paper); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin-top: clamp(36px, 6vw, 64px); }
.stats li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 22px; background: rgb(11 10 7 / .55); }
.stats b { display: block; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--sun); }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: .86rem; line-height: 1.3; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.intro .muted { margin-top: 16px; max-width: 38ch; }
.quiz-card { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(90% 80% at 100% 0%, rgb(232 176 8 / .2), transparent 70%), var(--card); }
.quiz-meta { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 6px; overflow: hidden; border-radius: 6px; background: rgb(247 245 239 / .12); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sun)); transition: width .3s ease; }
.quiz-q { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts.one-col { grid-template-columns: minmax(0, 1fr); }
.opt { min-height: 56px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: rgb(11 10 7 / .5); color: var(--paper); font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; }
.opt:hover { border-color: var(--amber); }
.opt[aria-pressed="true"] { border-color: var(--sun); background: var(--sun); color: var(--night); font-weight: 700; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.link { padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.quiz-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.answers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.answers[hidden] { display: none; }
.answers span { padding: 6px 14px; border: 1px solid var(--gold); border-radius: 99px; font-size: .88rem; }
.answers span:first-child { padding-left: 0; border: 0; color: var(--muted); }
.needs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.needs li { grid-column: span 2; display: flex; align-items: flex-end; min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.needs li:nth-child(4), .needs li:nth-child(5) { grid-column: span 3; }
.needs li:nth-child(1), .needs li:nth-child(5) { background: radial-gradient(100% 110% at 100% 0%, rgb(255 205 36 / .34), transparent 65%), var(--card); }
.strong-line { max-width: 34em; margin-top: 32px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.35; text-wrap: balance; }

.sun { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 6vw, 76px); border-radius: 36px; color: var(--night); background: radial-gradient(70% 90% at 85% 10%, var(--light), transparent 70%), radial-gradient(90% 100% at 30% 70%, var(--sun), transparent 75%), var(--gold); }
.sun::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url('grain.png'); opacity: .35; pointer-events: none; }
.sun .eyebrow { color: var(--night); opacity: .7; }
.sun .big { max-width: 18ch; font-size: clamp(1.8rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.sun p:not(.big):not(.eyebrow):not(.tag) { max-width: 56ch; margin-top: 22px; font-size: 1.1rem; font-weight: 500; }
.sun .tag { display: inline-block; margin-top: 28px; padding: 10px 20px; border-radius: 99px; background: var(--night); color: var(--paper); font-weight: 600; font-size: .95rem; }

.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.method li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.method li::before { content: counter(step, decimal-leading-zero); margin-bottom: auto; color: transparent; -webkit-text-stroke: 1.4px var(--gold); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.method p { color: var(--muted); }
.method li.note { counter-increment: none; justify-content: flex-end; border-color: transparent; background: radial-gradient(100% 90% at 100% 0%, var(--sun), transparent 72%), var(--gold); color: var(--night); }
.method li.note::before { content: none; }
.method li.note p { color: var(--night); font-weight: 500; }

.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); border-radius: 36px; background: radial-gradient(60% 90% at 0% 0%, rgb(138 100 3 / .55), transparent 70%), var(--card); }
.mono { display: grid; place-items: center; width: clamp(110px, 17vw, 190px); aspect-ratio: 1; border: 2px solid var(--sun); border-radius: 50%; background: var(--night); color: var(--sun); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.regalia { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.regalia li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; font-weight: 500; }
blockquote { max-width: 56ch; margin-top: 26px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; }


.join { padding-block: clamp(64px, 10vw, 130px); text-align: center; background: linear-gradient(var(--night), rgb(11 10 7 / .35) 40%, rgb(11 10 7 / .75)), url('hero.jpg') center / cover; }
.join .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 820px; }
.join p { max-width: 52ch; font-size: 1.1rem; }
.join .pill { padding: 8px 18px; border: 1.5px solid var(--sun); border-radius: 99px; color: var(--sun); font-size: .95rem; font-weight: 600; background: rgb(11 10 7 / .6); }
.addr { font-weight: 600; }
.addr small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

footer { padding-block: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer img { width: 120px; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .split, .founder { grid-template-columns: minmax(0, 1fr); }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .needs li, .needs li:nth-child(4) { grid-column: span 1; }
  .needs li:nth-child(5) { grid-column: span 2; }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .brand img { width: 108px; }
  .hero::before { background: linear-gradient(0deg, var(--night) 35%, rgb(11 10 7 / .72)); }
  .opts, .method { grid-template-columns: minmax(0, 1fr); }
  .method li { min-height: 170px; }
  .stats { gap: 8px; }
  .stats li { padding: 14px 12px; border-radius: 18px; }
  .needs li { min-height: 120px; padding: 14px 12px; font-size: .9rem; overflow-wrap: anywhere; }
  .actions .btn { flex: 1 1 100%; }
}
