@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500&display=swap');

:root {
  --paper: #f4f0e7;
  --ink: #17221d;
  --muted: #687169;
  --line: #cbc7bc;
  --accent: #d34b2b;
  --acid: #c7ed65;
  --white: #fffdf7;
  --sans: 'Manrope', sans-serif;
  --serif: 'Newsreader', serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input { font: inherit; }

.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.wordmark { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.05em; }
.wordmark span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-cta { border: 1px solid var(--ink); padding: 10px 15px; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 7vw; padding: 9vh 6vw 8vh; align-items: center; overflow: hidden; }
.hero-copy { max-width: 830px; }
.eyebrow { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
h1 { margin: 20px 0 24px; font: 500 clamp(56px, 7vw, 108px)/.88 var(--serif); letter-spacing: -.055em; max-width: 900px; }
.lede { max-width: 720px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: #445047; }
.url-form { margin-top: 46px; max-width: 720px; }
.url-form label { display: block; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.input-row { display: flex; border-bottom: 2px solid var(--ink); }
.input-row input { flex: 1; border: 0; background: transparent; font-size: 18px; padding: 15px 4px; outline: 0; min-width: 0; }
.input-row input:focus { background: rgba(255,255,255,.32); }
.input-row button, .button { border: 0; background: var(--ink); color: var(--white); padding: 15px 22px; cursor: pointer; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.input-row button:hover, .button:hover { background: var(--accent); }
.form-note { font-size: 12px; color: var(--muted); }
.form-note.error { color: #a72c20; }

.study-card { background: var(--ink); color: var(--white); width: min(100%, 450px); transform: rotate(2deg); box-shadow: 24px 26px 0 var(--acid); }
.study-card-head, .study-foot { display: flex; justify-content: space-between; gap: 18px; padding: 16px 20px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid #4a544d; }
.status { color: var(--acid); }.status i { width: 6px; height: 6px; background: var(--acid); display: inline-block; border-radius: 50%; margin-right: 6px; }
.study-title { padding: 44px 28px 30px; border-bottom: 1px solid #4a544d; }
.study-title p { margin: 0 0 8px; font: 11px var(--mono); color: #aeb5af; text-transform: uppercase; }
.study-title strong { font: 500 32px var(--serif); }
.profile-list > div { padding: 18px 24px; display: grid; grid-template-columns: 34px 1fr; border-bottom: 1px solid #3a443e; }
.profile-list span { font: 11px var(--mono); color: var(--acid); }
.profile-list p { margin: 0; }.profile-list b { display: block; font-size: 14px; }.profile-list small { color: #aeb5af; }
.study-foot { border: 0; }

.manifesto { background: var(--accent); color: var(--white); padding: 11vh 9vw; display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; }
.manifesto p { font: 500 11px var(--mono); text-transform: uppercase; }
.manifesto h2 { margin: 0; font: 500 clamp(38px, 5.5vw, 78px)/1 var(--serif); letter-spacing: -.035em; }

.method { padding: 12vh 7vw; display: grid; grid-template-columns: 1fr 1.35fr; gap: 9vw; }
.section-intro { position: sticky; top: 40px; align-self: start; }
.section-intro h2, .output-copy h2, .start h2 { font: 500 clamp(42px, 5vw, 76px)/.98 var(--serif); letter-spacing: -.04em; margin: 18px 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font: 11px var(--mono); color: var(--accent); padding-top: 4px; }
.steps h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; }

.output { background: var(--white); padding: 12vh 7vw; display: grid; grid-template-columns: 1.2fr 1fr; gap: 9vw; align-items: center; }
.report-preview { background: #e6dfd1; padding: 24px; min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #bbb4a7; }
.report-top, .signal-row { display: flex; justify-content: space-between; font: 10px var(--mono); text-transform: uppercase; }
.report-kicker { margin: auto 0 20px; font: 11px var(--mono); color: var(--accent); text-transform: uppercase; }
blockquote { margin: 0 0 auto; font: 500 clamp(30px, 3.4vw, 52px)/1.05 var(--serif); letter-spacing: -.03em; }
.signal-row { border-top: 1px solid #aaa397; padding-top: 18px; }
.output-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; font-size: 17px; }
.output-copy ul { padding: 0; margin-top: 30px; list-style: none; }
.output-copy li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 14px; }
.output-copy li::before { content: '→'; color: var(--accent); margin-right: 12px; }

.start { padding: 14vh 7vw; text-align: center; background: var(--ink); color: var(--white); }
.start h2 { font-size: clamp(54px, 8vw, 116px); }
.start > p:not(.eyebrow):not(.disclaimer) { max-width: 620px; margin: 28px auto; color: #b8c0ba; font-size: 18px; line-height: 1.55; }
.start .button { background: var(--acid); color: var(--ink); margin: 12px 0 60px; }
.start .button:hover { background: var(--white); }
.disclaimer { max-width: 660px; margin: auto; font: 10px/1.5 var(--mono); color: #849087; text-transform: uppercase; }

.preview-dialog { display: none; position: fixed; inset: 0; background: rgba(14,21,17,.74); z-index: 10; padding: 24px; align-items: center; justify-content: center; }
.preview-dialog.open { display: flex; }
.dialog-panel { background: var(--paper); width: min(560px, 100%); padding: 42px; position: relative; box-shadow: 16px 16px 0 var(--acid); }
.dialog-panel h2 { font: 500 44px/1 var(--serif); margin: 14px 0; }
.dialog-close { position: absolute; right: 16px; top: 12px; background: transparent; border: 0; font-size: 30px; cursor: pointer; }
.progress-list { margin: 30px 0; border-top: 1px solid var(--line); }
.progress-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.progress-list span { font: 11px var(--mono); }.progress-list p { margin: 0; }.progress-list b, .progress-list small { display: block; }.progress-list small { color: var(--muted); margin-top: 3px; }
.progress-list .done span { color: var(--accent); }
.dialog-panel > small { display: block; margin-top: 12px; color: var(--muted); }

footer { padding: 40px 4vw; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 7vh; }
  .study-card { margin: 30px auto 50px; }
  .manifesto, .method, .output { grid-template-columns: 1fr; }
  .manifesto { gap: 20px; }
  .section-intro { position: static; }
  footer { grid-template-columns: 1fr; } footer p:last-child { text-align: left; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 20px; }
  .nav-cta { padding: 9px 12px; }
  .hero { padding: 7vh 22px 8vh; }
  h1 { font-size: 58px; }
  .input-row { display: block; border: 0; }
  .input-row input { width: 100%; border-bottom: 2px solid var(--ink); }
  .input-row button { width: 100%; margin-top: 10px; }
  .study-card { transform: none; box-shadow: 10px 12px 0 var(--acid); }
  .manifesto, .method, .output, .start { padding-left: 22px; padding-right: 22px; }
  .signal-row { display: grid; gap: 8px; }
  .dialog-panel { padding: 34px 22px; }
  .dialog-panel h2 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
