:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.014 110);
  --line: oklch(0.87 0.028 110);
  --ink: oklch(0.22 0.032 110);
  --muted: oklch(0.45 0.035 110);
  --deep: oklch(0.245 0.05 110);
  --deep-2: oklch(0.33 0.065 110);
  --on-deep: oklch(0.975 0.012 110);
  --on-deep-muted: oklch(0.85 0.035 110);
  --citron: oklch(0.89 0.165 108);
  --plum: oklch(0.42 0.15 335);
  --error: oklch(0.48 0.18 28);
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --wrap: min(1120px, 100% - 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(3rem, 9vw, 5.75rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; max-width: 66ch; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.deep :focus-visible { outline-color: var(--citron); }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999em; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--bg); padding: 8px 14px; border-radius: 8px; }

.deep { background: var(--deep); color: var(--on-deep); }
.deep a { color: var(--citron); }
.deep p { color: var(--on-deep-muted); }

.bar { position: sticky; top: 0; z-index: 10; background: var(--deep); border-bottom: 1px solid var(--deep-2); }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font: 700 1.12rem/1 var(--display); }
.deep a.brand { color: var(--on-deep); }
.brand img { width: 34px; height: 34px; }
.bar nav { display: flex; gap: 22px; }
.deep .bar-link { color: var(--on-deep); text-decoration: none; font-size: .98rem; }
.deep .bar-link:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.22,1,.36,1), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-citron, .deep a.btn-citron { background: var(--citron); color: var(--ink); }
.btn-ghost, .deep a.btn-ghost { border-color: var(--on-deep-muted); color: var(--on-deep); }
.btn-ink { background: var(--deep); color: var(--on-deep); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }

.hero { overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { color: var(--on-deep); }
.hero h1 span { display: block; color: var(--citron); }
.hero .lede { font-size: 1.25rem; margin-top: 24px; max-width: 46ch; }
.offer { margin-top: 28px; padding: 18px 20px; background: var(--deep-2); border-radius: 14px; max-width: 580px; }
.offer strong { display: block; font: 700 clamp(1.3rem, 2.6vw, 1.7rem)/1.2 var(--display); color: var(--on-deep); }
.offer p { margin-top: 8px; font-size: 1rem; color: var(--on-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seats { width: 100%; max-width: 420px; justify-self: center; }
.seats svg { width: 100%; height: auto; display: block; }
.seats .seat { fill: none; stroke: var(--on-deep-muted); stroke-width: 2.5; }
.seats .yours { fill: var(--citron); }
.seats .orbit { fill: none; stroke: var(--citron); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: close 1.8s .2s cubic-bezier(.22,1,.36,1) backwards; }
.seats text { fill: var(--on-deep); font-family: var(--display); text-anchor: middle; }
@keyframes close { from { stroke-dashoffset: 100; } }

section.block { padding-block: clamp(64px, 9vw, 120px); }
.head { display: grid; gap: 16px; margin-bottom: 48px; }
.head p { font-size: 1.15rem; color: var(--muted); }
.deep .head p { color: var(--on-deep-muted); }

.path { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.path li { counter-increment: step; display: grid; grid-template-columns: 72px minmax(0, 15rem) minmax(0, 1fr); gap: 20px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--line); }
.path li::before { content: counter(step); font: 800 2.25rem/1 var(--display); color: var(--plum); }
.path p { color: var(--muted); }
.aside-note { margin-top: 24px; background: var(--surface); padding: 20px 22px; border-radius: 14px; max-width: none; }

.surface { background: var(--surface); }
.weeks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 0; }
.weeks > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.weeks dt { font: 700 1rem/1.4 var(--display); color: var(--plum); }
.weeks dd { margin: 0; }
.weeks dd p { color: var(--muted); margin-top: 6px; font-size: 1rem; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.facts article { border-top: 3px solid var(--citron); padding-top: 18px; }
.facts h3 { color: var(--on-deep); }
.facts p { margin-top: 12px; }
.facts .src { font-size: .92rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 64px; }
.video { margin: 0; }
.video button { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--deep-2); cursor: pointer; position: relative; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video button span { position: absolute; left: 12px; bottom: 12px; background: var(--citron); color: var(--ink); font: 700 .95rem/1 var(--body); padding: 10px 16px; border-radius: 999px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.video figcaption { margin-top: 10px; font-size: .98rem; color: var(--on-deep-muted); }

.money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font: 700 1.3rem/1.2 var(--display); padding-bottom: 14px; }
th, td { text-align: left; padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; font-weight: 400; }
td { text-align: right; font: 700 1.35rem/1.3 var(--display); white-space: nowrap; padding-left: 16px; }
th small { display: block; color: var(--muted); font-size: .94rem; }
.refund { border: 2px solid var(--plum); border-radius: 14px; padding: 28px; }
.refund ul { padding-left: 20px; margin: 16px 0; }
.refund li { margin-bottom: 8px; }
.refund p + p { margin-top: 12px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font: 700 1.15rem/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 22px; color: var(--muted); }
.narrow { max-width: 820px; }

.apply .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.apply h2 { color: var(--on-deep); }
.apply .intro p { margin-top: 18px; }
form, .done { background: var(--bg); color: var(--ink); border-radius: 16px; padding: clamp(20px, 3.5vw, 36px); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .98rem; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid oklch(0.66 0.035 110); border-radius: 10px; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.hint { font-size: .9rem; color: var(--muted); }
.err { font-size: .92rem; color: var(--error); font-weight: 700; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--deep); }
.check label { font-weight: 400; }
.deep form a, .deep .done a:not(.btn) { color: var(--plum); }
.deep form p, .deep .done p { color: var(--ink); }
.deep form .hint { color: var(--muted); }
.deep form .err { color: var(--error); }
.deep form :focus-visible, .deep .done :focus-visible { outline-color: var(--plum); }
.trap { position: absolute; left: -999em; }
.status { grid-column: 1 / -1; font-weight: 700; }
.status:empty { display: none; }
.done h3 { font-size: 1.8rem; }
.done p { margin-top: 14px; }
.done .btn { margin-top: 22px; }
.deep .done a.btn-ink { color: var(--on-deep); }
[hidden] { display: none !important; }

footer { padding-block: 40px; font-size: .95rem; border-top: 1px solid var(--deep-2); }
footer .wrap { display: grid; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.doc { padding-block: 56px 96px; max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; }
.draft { background: var(--citron); padding: 14px 18px; border-radius: 12px; margin: 24px 0; font-weight: 700; }
.tbd { background: oklch(0.94 0.09 108); padding: 0 4px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.timer { font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; padding: 10px 14px; border-radius: 10px; background: var(--deep-2); }
.timer.low { background: var(--citron); color: var(--ink); }
.sheet { max-width: 720px; padding-block: 40px 96px; }
.sheet h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
.sheet h1:focus, .sheet legend:focus { outline: none; }
.sheet .intro { margin-top: 16px; font-size: 1.12rem; }
.rules { padding-left: 20px; margin: 20px 0 28px; }
.rules li { margin-bottom: 10px; }
.sheet form { padding: 0; }
.progress { display: flex; justify-content: space-between; gap: 16px; max-width: none; color: var(--muted); font-weight: 700; }
.meter { height: 6px; margin-top: 10px; background: var(--surface); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--plum); transform-origin: left; transition: transform .3s cubic-bezier(.22,1,.36,1); }
fieldset { border: 0; padding: 0; margin: 32px 0 0; min-width: 0; }
legend { padding: 0; margin-bottom: 20px; font: 700 clamp(1.35rem, 4vw, 1.75rem)/1.3 var(--display); }
.option { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 58px; padding: 14px 16px; margin-bottom: 12px; border: 1.5px solid oklch(0.66 0.035 110); border-radius: 12px; font-weight: 400; cursor: pointer; }
.option input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--plum); }
.option:has(input:checked) { border-color: var(--plum); border-width: 2px; background: var(--surface); }
.option:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 2px; }
.steps { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.steps .btn:only-child { margin-left: auto; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line[disabled] { cursor: default; opacity: .4; }
.note { margin-top: 16px; color: var(--plum); font-weight: 700; }
.prompt { margin: 24px 0; padding: 22px; background: var(--surface); border-radius: 14px; font: 700 1.3rem/1.4 var(--display); }
.recorder { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 18px; }
.btn.recording { background: var(--error); }
.count { font: 700 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
audio { width: 100%; margin-bottom: 18px; }
.fallback summary { cursor: pointer; font-weight: 700; color: var(--plum); padding-block: 8px; }
.fallback p { margin-bottom: 12px; }
.sheet .status { margin-top: 20px; }
.sheet .draft { margin-top: 0; }

@media (max-width: 880px) {
  .bar nav { display: none; }
  .hero .wrap, .money, .apply .wrap { grid-template-columns: minmax(0, 1fr); }
  .seats { max-width: 300px; }
  .facts, .weeks { grid-template-columns: minmax(0, 1fr); }
  .path li { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; }
  .path li p { grid-column: 2; }
}
@media (max-width: 560px) {
  form { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
