.funnel-page { min-height: 100svh; display: flex; flex-direction: column; }
.funnel-header, .flow-progress, .flow-shell, .flow-footer { width: 100%; }
.funnel-header { min-height: 104px; }
.exit-link { font-size: .8125rem; color: var(--muted); min-height: 44px; display: flex; align-items: center; gap: 14px; }
.exit-link:hover { color: var(--ink); }
.flow-progress { max-width: 840px; padding-top: 18px; }
.progress-top { display: flex; justify-content: space-between; gap: 16px; font: .6875rem/1.6 var(--mono); letter-spacing: .5px; text-transform: uppercase; }
.progress-track { height: 4px; background: #edede7; margin-top: 13px; }
.progress-track span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s ease; }
.flow-shell { max-width: 840px; padding-top: clamp(32px, 6vh, 62px); padding-bottom: 42px; flex: 1; outline: none; }
.flow-shell.wide { max-width: 1160px; }
.flow-shell h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 800; max-width: 700px; margin: 0 0 16px; }
.flow-shell h1:focus { outline: none; }
.flow-shell .eyebrow { font-size: .6875rem; margin-bottom: 18px; color: var(--muted); }
.question-description { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 610px; margin: 0 0 28px; }
.back-button, .text-button { border: 0; background: transparent; color: var(--muted); padding: 12px 0; min-height: 44px; cursor: pointer; font-size: .8125rem; }
.back-button { margin: -14px 0 18px; }
.back-button:hover, .text-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.field { display: block; margin: 24px 0; }
.field-label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: 10px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { display: block; width: 100%; min-height: 60px; background: #fafaf7; color: var(--ink); border: 1px solid #b5b5ab; border-radius: 0; padding: 16px 18px; font: 1.0625rem/1.4 var(--sans); }
.field input::placeholder, .field textarea::placeholder { color: #797970; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; background: #fff; }
.field input[aria-invalid=true] { border-color: #ad3219; }
.field textarea { min-height: 100px; resize: vertical; }
.field small, .field-hint { display: block; margin-top: 9px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.choices { display: grid; gap: 10px; border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.choices.columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: flex; align-items: center; gap: 13px; padding: 16px 18px; width: 100%; text-align: left; border: 1px solid #cecec4; background: #fff; min-height: 60px; font-size: .9375rem; line-height: 1.35; cursor: pointer; color: var(--ink); transition: background .12s, border-color .12s; }
.choice:hover { background: #fffdf0; border-color: var(--ink); }
.choice[aria-pressed=true] { background: #fff7bc; border: 1.5px solid var(--ink); padding: 15.5px 17.5px; }
.choice-indicator { width: 20px; height: 20px; border: 1px solid #b5b5ab; display: flex; justify-content: center; align-items: center; flex: 0 0 20px; font-size: .75rem; background: white; }
.choices.single .choice-indicator { border-radius: 50%; }
.choice[aria-pressed=true] .choice-indicator { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.choices.compact .choice { padding-block: 13px; min-height: 53px; font-size: .875rem; }
.choices.compact .choice[aria-pressed=true] { padding-block: 12.5px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.keyboard-hint { font: .6875rem/1.7 var(--mono); color: var(--muted); }
.keyboard-hint kbd { font: inherit; border-bottom: 1px solid #b5b5ab; padding-bottom: 2px; }
.button:disabled, .choice:disabled { cursor: wait; opacity: .65; transform: none; }
.error-message { color: #a32d16; font-size: .875rem; line-height: 1.55; margin: 16px 0; }
.error-message:empty { display: none; }
.quiet-note { display: flex; gap: 9px; color: var(--muted); font-size: .75rem; line-height: 1.6; margin: 22px 0 0; max-width: 560px; }
.intro-note { display: inline-block; background: #fff5a3; padding: 12px 22px 14px; transform: rotate(-3deg); margin: 40px 0 0; font-size: 1.6rem; line-height: 1.1; }
.flow-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 24px; font: .625rem/1.7 var(--mono); color: var(--muted); }
.flow-footer #save-status { max-width: 520px; }
.screen { animation: arrive .18s ease-out; }
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 38px 0 28px; }
.preview-note { position: relative; isolation: isolate; padding: 28px 26px 30px; filter: drop-shadow(2px 5px 3px #49402318); transform: rotate(-1.4deg); }
.preview-note:nth-child(2) { transform: rotate(1.2deg); }
.preview-note:nth-child(3) { transform: rotate(-.5deg); }
.preview-note .note-topline { font-size: .625rem; letter-spacing: .5px; }
.preview-note h2 { font-size: 1.55rem; letter-spacing: -.04em; margin: 18px 0 12px; line-height: 1.15; }
.preview-note ul { list-style: none; padding: 0; margin: 0; font-size: .8125rem; line-height: 1.8; }
.preview-note .match-reason p { font-size: 1.625rem; line-height: 1.12; }
.preview-note .match-reason h3 { font-size: .6875rem; }
.example-label { display: block; border-top: 1px solid #64552c40; margin-top: 20px; padding-top: 13px; font-size: .6875rem; line-height: 1.55; }
.preview-caption { font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 620px; }
.offer-card { position: relative; isolation: isolate; border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 30px 34px; margin-top: 30px; background: #fffef7; }
.offer-price { font-size: 3.5rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 4px 0 12px; }
.offer-price span { font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; }
.offer-headline { font-size: 1.1rem; font-weight: 650; line-height: 1.5; }
.benefits { list-style: none; margin: 22px 0; padding: 20px 0 0; border-top: 1px dashed #cecec4; display: grid; gap: 12px; font-size: .875rem; line-height: 1.4; }
.benefits li { padding-left: 25px; position: relative; }
.benefits li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; }
.offer-card .button { width: 100%; margin-top: 6px; }
.billing-copy { text-align: center; font-size: .75rem; color: var(--muted); line-height: 1.7; margin: 20px 0 0; }
.pixel-coffee { display: inline-block; width: 48px; height: 48px; color: var(--ink); }
.transition-screen { text-align: center; padding-block: 8vh; }
.transition-screen h1 { margin-inline: auto; }
.transition-screen .question-description { margin-inline: auto; }
.coffee-route { position: relative; max-width: 330px; margin: 42px auto 30px; border-bottom: 2px dashed #c0c0b3; height: 74px; }
.coffee-route .pixel-coffee { position: absolute; left: 0; bottom: 9px; animation: coffee-hop 1.3s steps(8) forwards; }
.coffee-route::after { content: '#FFF'; position: absolute; right: 0; bottom: 12px; background: var(--yellow); padding: 8px; font: 600 .8125rem var(--mono); transform: rotate(7deg); }
.success-mark { display: flex; width: 64px; height: 64px; justify-content: center; align-items: center; background: var(--yellow); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 2rem; margin-bottom: 28px; transform: rotate(-5deg); }
.success-line { font-size: 2rem; margin: 28px 0; transform: rotate(-2deg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes coffee-hop { to { left: calc(100% - 100px); } }
@media (min-width: 901px) { .flow-shell:not(.wide) { padding-right: 90px; } }
@media (max-width: 900px) { .funnel-header { min-height: 90px; } .match-grid { gap: 14px; } .preview-note { padding: 24px 20px; } }
@media (max-width: 700px) { .match-grid { grid-template-columns: 1fr; gap: 24px; max-width: 450px; margin-inline: auto; } .preview-note { padding: 26px 30px; } .preview-note .match-reason p { font-size: 1.8rem; } }
@media (max-width: 600px) {
  .funnel-header { min-height: 82px; }
  .funnel-header .brand-name { font-size: .625rem; }
  .exit-link { font-size: .75rem; gap: 7px; }
  .flow-progress { padding-top: 12px; }
  .flow-shell { padding-top: 30px; padding-bottom: 32px; }
  .flow-shell h1 { font-size: 2.375rem; }
  .question-description { font-size: .9375rem; margin-bottom: 22px; }
  .choices { gap: 9px; }
  .choices.columns:not(.compact) { grid-template-columns: 1fr; }
  .choices.compact { gap: 8px; }
  .choices.compact .choice { padding-inline: 11px; gap: 8px; font-size: .8125rem; }
  .choices.compact .choice[aria-pressed=true] { padding-inline: 10.5px; }
  .choice { font-size: .875rem; }
  .actions { gap: 14px; }
  .actions .button { flex: 1; }
  .keyboard-hint { display: none; }
  .intro-note { margin-top: 32px; font-size: 1.45rem; }
  .offer-card { padding: 25px 22px; }
  .offer-price { font-size: 3.25rem; }
  .flow-footer { font-size: .5625rem; }
}
@media (max-width: 360px) { .choices.compact { grid-template-columns: 1fr; } .flow-shell h1 { font-size: 2.125rem; } }
@media (prefers-reduced-motion: reduce) { .coffee-route .pixel-coffee { left: calc(100% - 100px); } }

.membership-plans { border: 0; padding: 0; margin: 24px 0; display: grid; gap: 12px; min-width: 0; }
.membership-plans legend { font-size: .875rem; font-weight: 650; margin-bottom: 12px; }
.membership-plan { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid #cecec4; background: #fff; cursor: pointer; }
.membership-plan:has(input:checked) { border-color: var(--ink); background: #fff7bc; }
.membership-plan:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.membership-plan input { margin: 4px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.membership-plan > span { display: grid; gap: 7px; font-size: .75rem; line-height: 1.5; }
.membership-plan strong { font-size: .9375rem; }
.plan-price { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; }
.plan-price small { font-size: .8125rem; font-weight: 500; letter-spacing: 0; }
.plan-saving { display: inline-block; margin-left: 6px; padding: 2px 6px; background: var(--ink); color: #fff; font-size: .6875rem; }
