/* Flow Down Media: approved copy and UX revision.
   Retains the original visual system.
   Colours and fonts live in :root. Change them there. */
:root {
  --paper: #fffcf7;
  --card: #ffffff;
  --ink: #1b1f2a;
  --muted: #545a68;
  --rasp: #b0305c;
  --rasp-dark: #8f2249;
  --blush: #f8eaef;
  --rule: #e2dcd3;
  --dark: #1b1f2a;
  --on-dark: #fbf7f2;
  --on-dark-muted: #c9c5cf;
  --head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-wrap: break-word; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -0.01em; }
p + p { margin-top: 1rem; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--rasp); }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 3px; }
h1:focus { outline: none; }
strong { font-weight: 600; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

.pre { font: 700 .78rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--rasp); margin-bottom: 1rem; }
.lede { font-size: clamp(1.15rem, 2.1vw, 1.35rem); line-height: 1.5; max-width: 36em; color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }
.mt { margin-top: 2.5rem; }

/* Buttons */
.btn { display: inline-block; font: 600 1rem/1.2 var(--body); padding: .95rem 1.35rem; border: 2px solid var(--rasp); border-radius: 10px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--rasp); color: #fff; }
.btn-primary:hover { background: var(--rasp-dark); border-color: var(--rasp-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--rasp); }
.btn-secondary:hover { background: var(--rasp); color: #fff; }
.btn-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.text-link { font: 600 .98rem/1.4 var(--body); color: var(--rasp); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 252, 247, .95); border-bottom: 1px solid var(--rule); backdrop-filter: blur(6px); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .8rem; }
.brand { font: 800 1.2rem/1 var(--head); text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; font-weight: 500; }
nav a { text-decoration: none; padding-block: .4rem; }
nav a:not(.btn)[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rasp); }
nav .btn { padding: .6rem .95rem; font-size: .92rem; color: #fff; }
.menu-btn { display: none; font: 600 .92rem var(--body); background: none; border: 1.5px solid var(--ink); border-radius: 10px; padding: .5rem .9rem; cursor: pointer; color: var(--ink); }
@media (max-width: 60rem) {
  .menu-btn { display: block; }
  nav { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding-bottom: .6rem; }
  nav a { padding: .95rem 0; border-top: 1px solid var(--rule); }
  nav .btn { margin-top: .6rem; text-align: center; padding: .95rem; }
  .js nav { display: none; }
  .js nav.open { display: flex; }
}

/* Hero */
.hero { padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero h1 { max-width: 11em; margin-bottom: 1.5rem; }
.hero .lede { color: var(--ink); }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 38em; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }
.tint { background: var(--blush); }
.two-col { display: grid; gap: 3rem; }
@media (min-width: 54rem) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem; } }

/* 2 · Scene */
.scene { display: grid; gap: 2.5rem; align-items: center; border-top: 1px solid var(--rule); }
@media (min-width: 54rem) { .scene { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; } }
.scene-text p { max-width: 34em; }
.pull { font: 700 1.3rem/1.35 var(--head); color: var(--rasp-dark); }
.mock-mail { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 1.6rem 1.4rem; box-shadow: 0 20px 40px -24px rgba(27, 31, 42, .35); max-width: 24rem; transform: rotate(-1deg); }
.mock-mail p { margin: 0; }
.mock-from { font-size: .82rem; color: var(--muted); }
.mock-subject { font: 800 1.35rem/1.2 var(--head); margin: .5rem 0 1rem !important; }
.mock-code { font: 600 1.15rem/1 ui-monospace, Menlo, monospace; border: 2px dashed #9aa0aa; border-radius: 8px; text-align: center; padding: .8rem; margin: .7rem 0 !important; }
.mock-btn { background: var(--ink); color: #fff; text-align: center; border-radius: 8px; padding: .75rem; font-weight: 600; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 1rem; }

/* 2 · Self-check */
.check-wrap { display: grid; gap: 2.5rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); scroll-margin-top: 5rem; }
@media (min-width: 58rem) { .check-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.checklist { counter-reset: yes; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; padding: clamp(1.25rem, 4vw, 2.2rem); }
.check-head { margin-bottom: .6rem; }
.check-head h2 { margin-bottom: .3rem; }
.q { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .8rem; align-items: start; padding: .95rem .5rem; border-top: 1px solid var(--rule); border-radius: 8px; cursor: pointer; }
.q:hover { background: var(--blush); }
.q:has(input:checked) { counter-increment: yes; background: var(--blush); }
.q input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--rasp); cursor: pointer; }
.tally { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1.5px solid var(--ink); }
.tally-label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.tally-num::after { content: counter(yes) " of 5"; font: 800 clamp(2rem, 6vw, 2.8rem)/1 var(--head); color: var(--rasp); }
.reading .band-card { border-left: 4px solid var(--rasp); padding: .2rem 0 .2rem 1rem; margin-bottom: 1.2rem; }
.reading .band-card + .band-card { border-left-color: var(--rule); }
.band-range { font: 800 1.25rem/1.1 var(--head); }
.band-card p + p { margin-top: .3rem; }

/* 3 · Flow */
.flow { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 54rem) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow .plain { grid-column: 1 / -1; } }
.flow li { background: var(--card); border-radius: 14px; padding: 1.3rem 1.4rem; border: 1px solid var(--rule); }
.flow li.plain { background: transparent; border: 1.5px dashed var(--muted); font-family: ui-monospace, Menlo, monospace; font-size: .95rem; }
.flow li p + p { margin-top: .4rem; }
.flow-tag { font: 700 1.1rem/1.3 var(--head); }
.flow-tag span { font: 500 .8rem/1 var(--body); color: var(--muted); margin-left: .4rem; text-transform: uppercase; letter-spacing: .06em; }
.plain .flow-tag { font-family: var(--head); }
.exit { margin-top: 1.5rem; font-weight: 600; }
.label { margin-top: .5rem; }

/* 4 · Replies */
.replies-head { font-weight: 600; margin-bottom: 1rem; }
.reply { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--rasp); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: .9rem; }
.reply + .reply { border-left-color: var(--ink); }
.reply-subject { font: 800 1.25rem/1.2 var(--head); }
.reply p + p { margin-top: .3rem; color: var(--muted); }

/* 5 · Sprint (dark) */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .pre { color: #f0a6c0; }
.dark a:not(.btn) { color: #f0a6c0; }
.dark a:not(.btn):hover { color: #fff; }
.dark :focus-visible { outline-color: var(--on-dark); }
.split { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.split > div { border-top: 1px solid #3a3f4c; padding-top: 1.2rem; }
.ticks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--rasp); font-weight: 700; }
.dark .ticks li::before { color: #f0a6c0; }
.total { font: 800 1.35rem/1.2 var(--head); margin-top: 1.2rem !important; color: #fff; }
.terms-line { margin-top: 2rem !important; color: var(--on-dark-muted); max-width: 46em; }

/* 6 · Before / after */
.ba { display: grid; gap: 1rem; }
@media (min-width: 54rem) { .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.ba-col { border-radius: 16px; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--rule); background: var(--card); }
.ba-col.before { background: transparent; color: var(--muted); }
.ba-col.after { border: 1.5px solid var(--rasp); }
.ba-tag { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; color: var(--ink); }
.figs { display: grid; gap: 1.4rem; }
@media (min-width: 40rem) { .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figs dt { font: 800 clamp(2.4rem, 6vw, 3.4rem)/1 var(--head); color: var(--rasp); letter-spacing: -0.03em; }
.figs dd { color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.ba + .small, .after .small { margin-top: 1.2rem; }

/* 7 · Close */
.closing { background: var(--blush); padding-block: clamp(4rem, 10vw, 7rem); }
.closing h2 { max-width: 18em; font-size: clamp(2rem, 4.8vw, 3.3rem); }

/* Inner pages */
.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { max-width: 14em; margin-bottom: 1.2rem; font-size: clamp(2.3rem, 6vw, 4.2rem); }
.terms { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .terms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.terms > div { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 1.2rem 1.3rem; }
.t-k { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rasp); }
.t-v { font: 800 1.3rem/1.2 var(--head); margin-top: .4rem !important; }
.t-n { font-size: .93rem; color: var(--muted); margin-top: .5rem !important; }
.steps-big { list-style: none; padding: 0; counter-reset: step; margin: 1rem 0 2rem; }
.steps-big li { counter-increment: step; display: grid; gap: .3rem 2rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.steps-big li::before { content: "0" counter(step); font: 800 1.6rem/1 var(--head); color: var(--rasp); }
@media (min-width: 48rem) { .steps-big li { grid-template-columns: 4rem 14rem minmax(0, 1fr); align-items: baseline; } .steps-big li p { max-width: 38em; } }
.steps-big h3 { margin: 0; }
.ways { padding-bottom: clamp(1rem, 3vw, 2rem); }
.ways > div { border-top: 3px solid var(--ink); padding-top: 1.5rem; }
.faq { border-top: 1px solid var(--rule); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font: 700 1.15rem/1.3 var(--head); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1rem; font: 700 1.4rem/1 var(--body); color: var(--rasp); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; max-width: 40em; color: var(--muted); }
.three { display: grid; gap: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 54rem) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.three p { color: var(--muted); }

/* Forms */
.form-layout { display: grid; gap: 3rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 58rem) { .form-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; } .form-layout > .after { position: sticky; top: 6rem; align-self: start; } }
.after h2 { font-size: 1.6rem; }
.steps { padding-left: 1.3rem; display: grid; gap: .7rem; }
.steps li::marker { color: var(--rasp); font-weight: 700; }
.after .small { margin-top: 1.5rem; }
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(1.25rem, 4vw, 2.4rem); box-shadow: 0 20px 40px -30px rgba(27, 31, 42, .35); }
.form-flag { font-size: .88rem; background: #fff3d6; border: 1px dashed #b08a2a; border-radius: 10px; padding: .75rem .9rem; margin-bottom: 1.5rem; }
.form-summary { font-weight: 600; color: var(--rasp-dark); border-left: 4px solid var(--rasp); padding-left: .8rem; margin-bottom: 1.5rem; }
.field { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: .45rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .9rem; color: var(--muted); margin: -.2rem 0 .55rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); padding: .8rem .9rem; border: 1.5px solid #b9b2a8; border-radius: 10px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rasp); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.field .choice { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; margin: 0; border: 1.5px solid #b9b2a8; border-radius: 999px; padding: .55rem 1rem; cursor: pointer; background: var(--paper); }
.choice input { accent-color: var(--rasp); width: 1.05rem; height: 1.05rem; margin: 0; }
.field .choice:has(input:checked) { border-color: var(--rasp); background: var(--blush); }
.field .choice:has(input:focus-visible) { outline: 3px solid var(--rasp); outline-offset: 2px; }
.field.invalid input:not([type="radio"]), .field.invalid select, .field.invalid textarea { border-color: var(--rasp); border-width: 2.5px; }
.error { font-weight: 600; font-size: .92rem; color: var(--rasp-dark); margin-top: .45rem; }
.form-submit { margin-top: .5rem; }
.form-result h3 { font-size: 1.5rem; }
.form-result > p { margin-top: .6rem; color: var(--muted); }
.form-result.demo { border-left: 4px solid var(--rasp); padding-left: 1.2rem; }
.form-result dl { margin: 1.5rem 0; border-top: 1px solid var(--rule); }
.form-result dt { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: .8rem; }
.form-result dd { padding-bottom: .8rem; border-bottom: 1px solid var(--rule); }
.form-result:focus { outline: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); font-size: .88rem; color: var(--muted); }
.site-footer .bar { padding-block: 1.6rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }

/* Flow Down Media layout and interaction refinements */
.intro { max-width: 44rem; }
.intro-block > p { max-width: 46rem; }
.proof-strip { display: flex; align-items: center; gap: 1.5rem 3rem; padding-block: 1.5rem; border-block: 1px solid var(--rule); }
.proof-strip p { max-width: 48rem; font-size: .95rem; color: var(--muted); }
.proof-strip strong { color: var(--ink); }
.proof-strip a { flex-shrink: 0; font-weight: 600; }
.scene { border-top: 0; }
.next-copy { border-left: 3px solid var(--rasp); padding-left: 1.5rem; align-self: start; }
.check-head { margin-bottom: 1.25rem; }
.check-head p + p { margin-top: .5rem; }
.checklist { counter-reset: none; }
.q:has(input:checked) { counter-increment: none; }
.q:has(input:focus-visible) { outline: 3px solid var(--rasp); outline-offset: 3px; }
.quiz-reset { background: none; border: 0; padding: .75rem .25rem; margin-top: .5rem; font: 600 .95rem var(--body); text-decoration: underline; text-underline-offset: .2em; color: var(--rasp); cursor: pointer; }
.quiz-reset:disabled { color: var(--muted); opacity: .65; cursor: default; }
.reading h2 { font-size: 1.7rem; }
.journey { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .4rem; margin: 1.25rem 0 1.5rem; }
.journey li { border-top: 4px solid var(--rule); padding-top: .65rem; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.journey li.active { border-color: var(--rasp); color: var(--rasp-dark); font-weight: 700; }
.quiz-answer { border-top: 1px solid var(--rule); padding-block: 1.15rem; }
.quiz-answer:first-child { border-top: 0; padding-top: 0; }
.quiz-answer p { font-size: 1rem; }
.quiz-answer .answer-priority { margin: 0 0 .5rem; color: var(--rasp-dark); font-size: .875rem; font-weight: 700; }
.quiz-answer h3 { line-height: 1.25; }
.quiz-caveat { margin-top: 1rem; }
.quiz-inline { margin: .3rem 0 1rem 2.9rem; padding-left: .9rem; border-left: 3px solid var(--rasp); }
.quiz-inline h3 { font-size: 1.05rem; line-height: 1.35; }
.quiz-inline p { font-size: .95rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.flow h3 { line-height: 1.25; }
.flow li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dark .terms-line + .terms-line { margin-top: 1rem !important; }
.on-dark { color: var(--on-dark-muted); margin-top: 1rem; }
.result-metrics { padding: clamp(1.25rem,3vw,2.5rem); border: 1.5px solid var(--rasp); border-radius: 16px; background: var(--card); margin-bottom: 1.25rem; }
.result-metrics dt { font-size: clamp(2.2rem,5vw,3.4rem); }
.results-top { padding-top: 1rem; }
.role-note { max-width: 45rem; border-left: 3px solid var(--rasp); padding-left: 1.25rem; margin-top: 2rem; }
.form-intro { margin-bottom: 1.5rem; }
.form-next h2 { font-size: 1.6rem; }
.platform-note { border-left: 3px solid var(--rasp); padding-left: .75rem; margin-top: .75rem; }
#fit, #faq, #main { scroll-margin-top: 6rem; }
.form-layout { align-items: start; }
@media (min-width: 58rem) {
  .form-layout .form-card { grid-column: 1; grid-row: 1; }
  .form-layout .form-next { grid-column: 2; grid-row: 1; position: sticky; top: 6rem; }
}
@media (max-width: 57.99rem) {
  .proof-strip { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .reading { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
  .reading .quiz-answer { display: none; }
}
@media (max-width: 38rem) {
  .actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .actions .btn { text-align: center; }
  .mock-mail { max-width: none; }
}
