@font-face {
  font-family: Redorbe;
  src: url('./assets/sans.woff') format('woff');
  font-weight: 400 750;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --ink: #252923;
  --muted: #555a50;
  --line: #d3d0c3;
  --red: #a43b2d;
  --green: #294c3a;
  font-family: Redorbe, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main, .top, footer { width: min(1280px, 91%); margin-inline: auto; }
main { flex: 1; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--green); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #367657; outline-offset: 4px; }
main:focus, h1:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.052em; line-height: 1.04; text-wrap: balance; }
h1 { font-weight: 650; }
p { line-height: 1.55; }
em { font-weight: 550; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; top: 10px; left: 15px; padding: 10px; background: white; z-index: 3; }
.top, footer, .actions, .chapter-top, .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.top { min-height: 79px; }
.brand { display: flex; align-items: center; gap: 6px; font-size: 30px; font-weight: 750; letter-spacing: -.068em; }
.brand img { width: 32px; height: 32px; }
.about-trigger, .back { color: var(--green); border: 0; background: transparent; min-height: 44px; font-weight: 650; }
.about-trigger { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.about-trigger span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
footer { border-top: 1px solid var(--line); padding: 8px 0; }
footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-decoration: none; font-size: 13px; }
footer a:hover, .about-trigger:hover, .back:hover { text-decoration: underline; }
.kicker, .section-name { font-size: 12px; font-weight: 700; line-height: 1.5; }
.kicker { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 22px; }
.kicker i { display: inline-block; background: var(--red); width: 8px; height: 8px; border-radius: 50%; }
.lead { font-size: clamp(1.05rem,1.5vw,1.35rem); color: var(--muted); line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 48px; padding: 12px 22px; font-weight: 650; color: #fff; background: var(--green); border: 0; border-radius: 9px; }
.button:hover { background: #173b28; }
.button:disabled { opacity: .7; cursor: wait; }
.back { padding: 6px 2px; text-underline-offset: 4px; }
.cover { display: grid; grid-template-columns: .93fr 1.07fr; overflow: hidden; border-radius: 20px; background: #482a27; color: #fff8ea; }
.cover-copy { align-self: center; padding: clamp(34px,4vw,64px); }
.cover-copy .kicker { color: #f7d6c2; }
.cover-copy .kicker i { background: #f3a776; }
.cover h1 { font-size: clamp(4.8rem,7.3vw,7.6rem); letter-spacing: -.071em; line-height: .94; margin-bottom: 22px; }
.cover h1 em { color: #ffc499; }
.cover-copy .lead { max-width: 34ch; margin-bottom: 22px; color: #fff2df; }
.cover .button { color: #38251e; background: #fff2d6; }
.cover .button:hover { background: #ffdfb2; }
.cover .button:focus-visible { outline-color: #fff; }
.meta { font-size: 13px; color: #f3ddcd; margin: 11px 0 0; }
.meta span { padding: 0 4px; }
.cover-art { margin: 0; position: relative; min-width: 0; }
.cover-art img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.overview { padding: clamp(28px,3.5vw,48px) 0; }
.overview h2 { font-size: clamp(1.65rem,2.45vw,2.45rem); margin-bottom: 18px; }
.overview-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,2.2vw,30px); list-style: none; margin: 0; padding: 0; }
.overview-list li { display: grid; align-content: start; border-top: 1px solid var(--line); padding-top: 12px; grid-template-columns: 54px 1fr; column-gap: 12px; }
.overview-list img { grid-row: 1 / 3; align-self: start; width: 54px; height: 62px; object-fit: cover; border-radius: 5px; }
.overview-list h3 { font-size: clamp(1rem,1.4vw,1.25rem); letter-spacing: -.035em; margin: 2px 0 5px; }
.overview-list p { font-size: 14px; line-height: 1.45; margin: 0; color: var(--muted); }
#questions { display: grid; grid-template-columns: minmax(225px,.65fr) minmax(0,1.7fr); align-items: start; gap: clamp(24px,5vw,80px); padding: 14px 0 48px; }
.chapter-panel { background: #203f33; color: #fff9e8; border-radius: 16px; padding: clamp(18px,2vw,30px); }
.chapter-top { align-items: start; flex-direction: column; gap: 3px; }
.chapter-panel .kicker { color: #e6e9cf; margin: 0; }
.chapter-panel .kicker i { background: #ffbd8a; }
.step { font-size: clamp(1.4rem,2.1vw,2rem); margin: 0; font-weight: 650; letter-spacing: -.04em; }
progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: 8px; overflow: hidden; background: #607b69; margin: 12px 0 18px; }
progress::-webkit-progress-bar { background: #607b69; }
progress::-webkit-progress-value { background: #ffca99; }
progress::-moz-progress-bar { background: #ffca99; }
.chapter-list { padding: 0; margin: 0 0 16px; list-style: none; }
.chapter-list li { padding: 9px 0; border-top: 1px solid #486353; color: #d0dacd; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.chapter-list li::before { content: ''; width: 10px; height: 10px; flex: none; border: 1px solid #a5b9a9; border-radius: 50%; }
.chapter-list li[aria-current] { color: #ffcf9e; font-weight: 700; }
.chapter-list li[aria-current]::before { background: #ffcf9e; border-color: #ffcf9e; }
.chapter-list li.complete::before { border-radius: 0; width: 5px; height: 9px; margin: 0 2px; transform: rotate(45deg); border: solid #cee8be; border-width: 0 2px 2px 0; }
.chapter-art { display: block; width: 100%; aspect-ratio: 1.85; object-fit: cover; border-radius: 7px; }
#question-form { max-width: 790px; padding: clamp(12px,1.8vw,26px) 0; }
.section-name { color: var(--red); text-transform: uppercase; letter-spacing: .075em; margin-bottom: 12px; }
.question-copy h1 { font-size: clamp(2.05rem,3.3vw,3.6rem); margin-bottom: 14px; line-height: 1.07; }
#context { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }
#choices { display: grid; gap: 9px; border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; min-height: 55px; border: 1px solid #c8cabe; border-radius: 9px; background: #fffcf6; cursor: pointer; line-height: 1.45; }
.choice:hover { border-color: #839482; }
.choice:has(:checked) { background: #e6eedf; border-color: #476e52; box-shadow: inset 3px 0 #476e52; }
.choice:has(:focus-visible) { outline: 3px solid #367657; outline-offset: 2px; }
.choice input, .consent input { accent-color: var(--green); width: 18px; height: 18px; flex: none; margin: 0; }
.actions { margin-top: 18px; }
dialog { max-width: min(460px,90%); max-height: 85svh; padding: clamp(22px,3vw,36px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #1e2b2180; }
.dialog-head h2 { margin: 0; font-size: 2.2rem; }
.close-dialog { background: transparent; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 50%; font-size: 23px; cursor: pointer; }
dialog p { color: var(--muted); margin: 15px 0 0; }
.fine { font-size: 14px; color: var(--muted); line-height: 1.55; }
#register { display: grid; gap: 17px; }
#register label { font-weight: 600; font-size: 15px; }
#register input:not([type=checkbox]) { display: block; width: 100%; border: 1px solid #878e80; background: #fffefa; padding: 12px; border-radius: 6px; margin-top: 6px; color: var(--ink); }
.consent { display: flex; align-items: start; gap: 10px; line-height: 1.5; }
.consent input { margin-top: 3px; }
#register p, #status:empty { margin: 0; }
#status:not(:empty) { margin: 15px 0 0; font-weight: 650; }
#status[data-state=success] { color: var(--green); }
#status[data-state=error] { color: #852f25; }

@media(max-width:920px) {
  .overview-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #questions { gap: 24px; }
}
@media(max-width:740px) {
  main, .top, footer { width: min(100% - 32px,600px); }
  .top { min-height: 64px; }
  .brand { font-size: 26px; }
  .brand img { width: 29px; height: 29px; }
  .cover { grid-template-columns: 1fr; border-radius: 15px; }
  .cover-art { order: -1; aspect-ratio: 2.6; }
  .cover-copy { padding: 24px; }
  .cover-copy .kicker { margin-bottom: 14px; }
  .cover h1 { font-size: clamp(3.5rem,10vw,5rem); margin-bottom: 12px; }
  .cover h1 br { display: none; }
  .cover-copy .lead { margin-bottom: 16px; }
  #questions { grid-template-columns: 1fr; gap: 20px; padding: 4px 0 30px; }
  .chapter-panel { padding: 14px 18px; border-radius: 10px; }
  .chapter-top { flex-direction: row; align-items: center; }
  .step { font-size: 17px; }
  progress { display: block; margin: 8px 0 0; }
  .chapter-list,.chapter-art { display: none; }
  #question-form { padding: 0; }
  .section-name { font-size: 11px; }
  .question-copy h1 { font-size: clamp(1.85rem,6.5vw,2.5rem); }
  #context { margin-bottom: 16px; }
  .choice { padding: 12px 14px; }
  .overview-list li { grid-template-columns: 1fr; }
  .overview-list img { grid-row: auto; width: 100%; aspect-ratio: 2.5; height: auto; margin-bottom: 8px; }
}
@media(prefers-reduced-motion:no-preference) {
  .choice, .button { transition: background-color 130ms ease, border-color 130ms ease; }
}

/* Results */
#result { padding: 0 0 clamp(30px, 4.5vw, 72px); }
.result-hero, .feedback, .takeaway-section {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 6vw, 86px);
}
.result-hero { grid-template-columns: 1.45fr 1fr; align-items: center; background: #eee9d9; padding: clamp(24px,4.2vw,64px); border-radius: 18px; }
#result h1 { max-width: 15ch; font-size: clamp(2.75rem, 5.7vw, 5.9rem); margin-bottom: 16px; }
.result-hero .lead { max-width: 46ch; }
.result-art { display: block; width: min(100%, 355px); justify-self: center; }
.first-move { max-width: 54ch; padding: 3px 0 3px 18px; border-left: 3px solid var(--red); margin-top: 24px; }
.first-move h2 { margin: 0 0 5px; color: var(--red); font-size: 15px; letter-spacing: 0; line-height: 1.3; }
.first-move p { margin: 0; line-height: 1.5; }
.feedback, .takeaway-section { padding-block: clamp(32px, 4.5vw, 64px); }
.feedback { border-top: 1px solid var(--line); margin-top: clamp(32px, 4vw, 60px); }
.feedback > div > p, #fit { max-width: 37ch; color: var(--muted); line-height: 1.55; }
.feedback h2, .takeaway-section h2 { font-size: clamp(2rem, 3.2vw, 3.6rem); margin-bottom: 14px; }
.notes { border-top: 1px solid var(--line); }
.notes details { border-bottom: 1px solid var(--line); }
.notes summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 12px 2px; font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 650; letter-spacing: -.025em; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: ''; flex: none; width: 11px; height: 11px; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: translate(-4px,-2px) rotate(45deg); }
.notes details[open] summary::after { transform: translate(-4px,3px) rotate(225deg); }
.notes blockquote { margin: 0 0 8px; color: var(--green); font-weight: 600; line-height: 1.45; }
.notes details p { margin: 0 0 18px; line-height: 1.55; color: var(--muted); }
.camp-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,4vw,60px); padding: clamp(26px,3.8vw,56px); border-radius: 22px; background: #203f33; color: #fff8df; }
.camp-copy .kicker { color: #ece8cb; }
.camp-copy .kicker i { background: #f6ab76; }
#offer-title { line-height: .98; }
.camp-copy em { color: #ffc897; }
.camp-copy > p:not(.kicker) { color: #f2f0dc; max-width: 39ch; }
.camp-art { display: block; width: clamp(105px,11vw,170px); height: auto; }
.takeaways { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 23px 28px; list-style: none; }
.takeaways li { border-top: 2px solid #a5b09f; padding-top: 13px; }
.takeaways strong { display: block; margin-bottom: 6px; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.takeaways span { color: var(--muted); line-height: 1.5; }
.form-card { background: #fffaf0; color: var(--ink); padding: clamp(20px,2.5vw,38px); border-radius: 14px; }
.form-card h2 { font-size: clamp(1.75rem,2.5vw,2.75rem); margin-bottom: 8px; }
.form-card > p { margin-bottom: 18px; }
.form-card #send { width: 100%; }
@media(max-width:740px) {
  .result-hero { padding: 21px 17px; border-radius: 12px; grid-template-columns: 1fr auto; gap: 9px; align-items: start; }
  .result-hero > div { display: contents; }
  .result-hero .kicker { grid-column: 1 / -1; margin-bottom: 8px; }
  #result h1 { font-size: clamp(2.15rem, 7.8vw, 3.65rem); align-self: center; margin-bottom: 2px; }
  .result-art { grid-column: 2; grid-row: 2; width: clamp(70px, 19vw, 110px); align-self: center; }
  .result-hero .lead, .first-move { grid-column: 1 / -1; }
  .result-hero .lead { margin: 6px 0; }
  .first-move { margin-top: 6px; }
  .feedback, .takeaway-section { grid-template-columns: 1fr; gap: 16px; }
  .feedback > div > p { margin-bottom: 4px; }
  .camp-banner { grid-template-columns: 1fr; gap: 16px; padding: 18px 12px 12px; border-radius: 16px; }
  .camp-copy { padding: 0 6px; }
  .camp-copy .kicker { font-size: 10px; margin-bottom: 8px; }
  #result #offer-title { max-width: 20ch; font-size: clamp(1.85rem,6.3vw,2.7rem); line-height: 1.04; }
  .camp-copy h1 br { display: none; }
  .camp-copy > p:not(.kicker) { margin: 6px 0 0; }
  .camp-art { display: none; }
  .form-card { padding: 16px; }
  .takeaways { gap: 16px; }
  .takeaways strong { font-size: 17px; }
  #fit { margin-bottom: 0; }
}
@media(max-width:410px) { .takeaways { grid-template-columns: 1fr; } }
