@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
:root {
  color-scheme: dark;
  --bg: #0f1721;
  --surface: #141e2a;
  --panel: #182431;
  --raised: #213042;
  --ink: #f2f5f9;
  --muted: #c5d2e1;
  --subtle: #aebfd2;
  --rule: #394b60;
  --control-edge: #7389a1;
  --accent: #abcbe9;
  --accent-light: #dce8f6;
  --accent-panel: #21374c;
  --silver: #e6edf6;
  --button-ink: #151f2c;
  --gutter: clamp(24px, 6.1vw, 108px);
  --sans: Manrope, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --selection: #a8ccea;
  --ease: cubic-bezier(.22, .7, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 430 1rem/1.63 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ul, blockquote { margin: 0; }
p + p { margin-top: 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 1350px); margin-inline: auto; }
.skip { position: fixed; z-index: 6; top: 8px; left: 12px; transform: translateY(-150%); padding: 8px 14px; background: var(--silver); color: var(--button-ink); }
.skip:focus { transform: translateY(0); }
.eyebrow, .section-label { display: flex; align-items: center; gap: 11px; margin-bottom: clamp(16px, 2vw, 24px); color: var(--accent); }
.section-label { margin-bottom: clamp(11px, 2vw, 22px); color: var(--accent); }
section:not(.hero) { padding-block: clamp(72px, 8vw, 122px); border-top: 1px solid var(--rule); }
main h2 { max-width: 18ch; font-size: clamp(2.5rem, 4.85vw, 4.9rem); font-weight: 680; line-height: 1.01; letter-spacing: -.069em; text-wrap: balance; }
.body-copy { color: var(--muted); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .60fr); gap: clamp(18px, 6vw, 85px); align-items: end; margin-bottom: clamp(30px, 4.75vw, 61px); }
.section-heading > p { max-width: 38ch; padding-bottom: 4px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 690; font-size: .88rem; text-underline-offset: 6px; text-decoration-color: #778ca6; }
.text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 52px; border: 1px solid #e5eef8; border-radius: 3px; background: #e5eef8; color: var(--button-ink); padding: 12px 17px; line-height: 1.3; text-align: center; font-size: .76rem; font-weight: 810; letter-spacing: .022em; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease); }
.button:hover { background: #f4f8fc; border-color: #f4f8fc; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .7; cursor: wait; }

.site-header { position: sticky; top: 0; z-index: 4; background: #0f1721f2; backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 3vw, 45px); align-items: center; min-height: 62px; }
.brand { justify-self: start; }
.brand img, .footer-head img { width: 119px; height: auto; }
.header-inner nav { display: flex; gap: clamp(11px, 3vw, 42px); }
.header-inner nav a, .nav-final { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 670; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.nav-final { justify-self: end; gap: 9px; color: var(--accent-light); }
.nav-final:hover { text-decoration: underline; text-underline-offset: 7px; }

.hero { position: relative; overflow: clip; isolation: isolate; background: radial-gradient(ellipse at 78% 44%, #26364a 0%, #192635 40%, #0f1721 75%); }
.hero-frame { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-block: clamp(52px, 6vw, 94px) clamp(38px, 4.4vw, 71px); }
.hero-date { display: flex; flex-wrap: wrap; gap: 5px 11px; align-items: center; color: var(--accent-light); }
.hero-mode { margin-left: 3px; padding-left: 11px; border-left: 1px solid #577087; color: var(--muted); }
.hero h1 { width: max-content; max-width: 100%; margin: clamp(23px, 3vw, 43px) 0 clamp(24px, 3.1vw, 46px) -.046em; font: 790 clamp(4.15rem, 8.2vw, 8.6rem)/.83 var(--sans); letter-spacing: -.084em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 span + span { color: #dce6f2; }
.hero-message h2 { font-size: clamp(1.22rem, 2vw, 2.06rem); line-height: 1.18; max-width: 25ch; letter-spacing: -.046em; font-weight: 730; }
.hero-message p { max-width: 44ch; margin-top: 11px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; margin-top: 24px; }
.hero-actions .text-link { color: var(--silver); }
.hero-actions .text-link:hover { color: var(--accent); }
.hero-visual { position: relative; min-width: 0; height: 100%; min-height: max(610px, min(49vw, 760px)); isolation: isolate; }
.ornament-stage { position: absolute; inset: 0 -9% 0 -10%; touch-action: pan-y; }
.ornament-stage::before { content: ''; position: absolute; inset: 8% 5%; z-index: -1; background: radial-gradient(ellipse at 56% 50%, #86a7cb24 0%, #52729216 44%, transparent 74%); }
.ornament-poster, .ornament-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ornament-poster { object-fit: contain; pointer-events: none; }
.ornament-stage canvas { opacity: 0; transition: opacity .25s ease; }
.ornament-stage[data-ready] canvas { opacity: 1; }
.ornament-stage[data-ready] .ornament-poster { opacity: 0; transition: opacity .3s ease; }
.ornament-stage[data-hit] { cursor: grab; }
.ornament-stage[data-hit]:active { cursor: grabbing; }
.hero-index { position: relative; z-index: 2; grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #50657d; }
.hero-index > * { display: flex; gap: 6px 15px; align-items: center; min-height: 72px; padding: 13px 22px; color: var(--muted); text-decoration: none; font-size: .86rem; }
.hero-index > :first-child { padding-left: 0; }
.hero-index > * + * { border-left: 1px solid var(--rule); }
.hero-index strong { font: 640 1.9rem/.92 var(--sans); letter-spacing: -.065em; color: var(--ink); }
.hero-index a:hover { background: #ffffff09; color: var(--ink); }

.calendar-section { background: #142131; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 30px clamp(33px, 7.8vw, 121px); }
.calendar-intro .body-copy { margin-block: 23px 19px; max-width: 46ch; }
.paper-detail { border-top: 1px solid var(--rule); }
.paper-detail:last-child { border-bottom: 1px solid var(--rule); }
.paper-detail > p, .paper-detail > ul { color: var(--muted); padding-bottom: 12px; }
.feature-list { padding-left: 20px; }
.feature-list li { padding-block: 2px; }
.calendar-book { min-width: 0; color: var(--ink); padding: 17px 0 0; border-block-start: 1px solid #647d98; background: transparent; }
.calendar-header { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 17px; }
.calendar-header h3 { font: 665 clamp(1.75rem, 3.65vw, 3.2rem)/1 var(--sans); letter-spacing: -.063em; }
.calendar-header > span { color: var(--accent-light); font: 610 clamp(.96rem, 2vw, 1.38rem)/1 var(--mono); letter-spacing: .04em; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; padding: 1px; background: #465d75; perspective: 750px; }
.door { position: relative; display: grid; place-items: center; aspect-ratio: 1.38; min-height: 44px; border: 0; color: #e8f0f9; background: #1c2b3d; padding: 0; font: 590 clamp(1.12rem, 2.4vw, 2.14rem)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.05em; transform-origin: left center; transition: transform .26s var(--ease), background .2s ease, color .2s ease; }
.door:nth-child(3n) { background: #203247; }
.door:hover { background: #2c435b; }
.door i { position: absolute; right: 9%; bottom: 13%; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .6; }
.door-end { color: var(--accent-light); }
@media (hover: hover) { .door:hover { z-index: 1; transform: translateY(-1px) rotateY(-12deg); } }
.door[aria-pressed="true"] { z-index: 1; color: #142236; background: #c9ddf1; transform: none; }
.door:focus-visible { outline-color: #b8d7f6; outline-offset: 2px; }
.day-preview { margin-top: 15px; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 20px; min-height: 78px; }
.day-preview-top { grid-column: 1/-1; display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 5px; }
.day-preview-top strong { font-size: 1.08rem; color: var(--ink); }
.day-preview-top span { font: .72rem/1.4 var(--mono); color: var(--accent); }
.day-preview p { color: var(--silver); font-size: .87rem; }
.day-preview a { color: var(--silver); font-size: .78rem; align-self: end; }
.day-preview[data-changed] { animation: restamp .3s var(--ease); }
@keyframes restamp { from { opacity: .48; transform: translateY(3px); } }
.calendar-footnote { grid-column: 1/-1; padding-top: 19px; border-top: 1px solid var(--rule); color: var(--muted); font-weight: 620; }

.program-section { background: #101a27; }
.program-section .section-heading > p { color: var(--muted); font: .9rem/1.55 var(--mono); }
.program-terminal { background: transparent; }
.phase-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.phase-tab { min-height: 74px; padding: 11px clamp(9px, 1.3vw, 22px); display: grid; align-content: center; gap: 4px; text-decoration: none; border-bottom: 2px solid transparent; transition: background .2s var(--ease), color .2s var(--ease); }
.phase-tab + .phase-tab { border-left: 1px solid var(--rule); }
.phase-tab span { color: var(--muted); font: .74rem/1.37 var(--mono); }
.phase-tab strong { font-size: clamp(.72rem, 1.13vw, .92rem); line-height: 1.28; }
.phase-tab:hover { background: #1a293a; }
.phase-tab[aria-selected="true"] { background: #22354b; border-bottom-color: var(--selection); color: var(--ink); }
[data-tab]:focus-visible { outline-offset: -5px; }
.phase-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); min-height: 350px; gap: clamp(17px, 3vw, 42px); align-items: center; padding-block: 21px; }
.phase-panel + .phase-panel { border-top: 1px solid var(--rule); }
[data-enhanced] .phase-panel { border-top: 0; }
.phase-content { padding: clamp(10px, 1.55vw, 24px) 0; }
.phase-kicker { display: none; }
.phase-content h3 { max-width: 22ch; margin-bottom: 16px; font-size: clamp(1.48rem, 2.6vw, 2.65rem); font-weight: 690; line-height: 1.1; letter-spacing: -.06em; }
.phase-content .body-copy { max-width: 43ch; }
.phase-content p:last-child { color: var(--accent-light); font-weight: 750; }
.phase-art { align-self: stretch; display: grid; align-items: center; min-height: 0; border: 0; background: none; }
.phase-art canvas { width: 100%; height: auto; }
.program-action { margin-top: 13px; }

.rewards-section { background: #152234; }
.reward-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 0; align-items: stretch; border-block: 1px solid #556e8a; }
.reward-ticket { position: relative; color: var(--ink); padding: clamp(18px, 3.1vw, 47px) clamp(16px, 3.55vw, 51px) clamp(16px, 2.7vw, 36px) 0; }
.ticket-front > dl { position: relative; display: flex; flex-direction: column-reverse; }
.ticket-front > dl dd { color: #dbeafe; font: 585 clamp(4.4rem, 10vw, 10.5rem)/.83 var(--sans); letter-spacing: -.095em; }
.ticket-front > dl dt { margin-top: 14px; font-size: clamp(.95rem, 1.45vw, 1.28rem); font-weight: 680; line-height: 1.33; }
.reward-ticket :focus-visible { outline-color: var(--accent-light); }
.reward-detail summary { min-height: 44px; }
.reward-detail > .body-copy { padding: 0 0 14px; }
.reward-breakdown { display: grid; gap: 7px; padding-block: 4px 6px; }
.reward-week { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(0, 1.25fr); align-items: center; gap: 15px; }
.reward-week dt { font-size: .84rem; }
.reward-week dd { display: grid; grid-template-columns: minmax(30px, 1fr) 54px; align-items: center; gap: 9px; }
.reward-week dd span { width: 50%; height: 7px; background: #8eafcf; transform-origin: left; }
.reward-week[data-share="2"] dd span { width: 100%; background: var(--accent-light); }
.reward-detail[open] .reward-week dd span { animation: fill .42s var(--ease) both; }
@keyframes fill { from { transform: scaleX(0); } }
.reward-side { padding: clamp(18px, 3.1vw, 47px) 0 clamp(16px, 2.7vw, 36px) clamp(16px, 3.55vw, 51px); border-left: 1px solid #435c77; background: transparent; }
.reward-side > dl > div { display: grid; grid-template-columns: minmax(57px, .42fr) minmax(0, 1fr); align-items: center; gap: 12px; padding-block: 10px 16px; }
.reward-side > dl div + div { border-top: 1px solid #435c77; padding-top: 20px; }
.reward-side dt { grid-column: 2; grid-row: 1; color: var(--muted); }
.reward-side dd { grid-column: 1; grid-row: 1; color: var(--silver); font: 580 clamp(2.8rem, 6.7vw, 5.9rem)/.85 var(--sans); letter-spacing: -.075em; }
.reward-side .reward-detail { border-top: 1px solid #435c77; }
.rewards-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px 30px; margin-top: clamp(18px, 3vw, 35px); }
.reward-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; }
.rewards-bottom .button { flex-shrink: 0; }

.value-section { background: #111e2c; }
.value-layout, .terms-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(30px, 6.8vw, 98px); align-items: start; }
.benefits { padding-left: 0; list-style: none; margin-block: 20px; }
.benefits li { padding: 12px 0 12px 20px; border-bottom: 1px solid var(--rule); position: relative; }
.benefits li::before { content: ''; position: absolute; width: 6px; height: 1px; top: 24px; left: 1px; background: var(--accent); }
.exercise { background: #1b2a3b; border-block: 1px solid #4b6582; color: var(--ink); }
.exercise-caption { padding: 12px clamp(14px, 2.35vw, 24px) 0; font: 650 .72rem/1.4 var(--mono); }
.exercise-body { padding: 8px clamp(14px, 2.35vw, 24px) 19px; }
.exercise h3 { margin: 10px clamp(14px, 2.35vw, 24px) 15px; font-size: clamp(1.2rem, 2vw, 1.62rem); font-weight: 680; line-height: 1.25; letter-spacing: -.04em; }
.exercise-option { border-top: 1px solid var(--rule); }
.exercise-option:last-child { border-bottom: 1px solid var(--rule); }
.exercise-option[open] > summary { color: var(--accent-light); }
.exercise-option p { color: var(--muted); padding: 0 14px 13px 0; }

.terms-section { background: #172535; }
.terms-layout { row-gap: clamp(22px, 3vw, 44px); }
.terms-heading { grid-column: 1/-1; padding-bottom: clamp(16px, 2.8vw, 35px); border-bottom: 1px solid var(--rule); }
.terms-heading h2 { max-width: 19ch; text-wrap: pretty; }
.terms-layout blockquote { max-width: 25ch; border-left: 1px solid var(--accent); padding-left: 17px; color: #ccdcf1; font-size: clamp(1.15rem, 2.75vw, 2.02rem); font-weight: 610; line-height: 1.32; letter-spacing: -.044em; }
.terms-copy > .body-copy { margin-bottom: 24px; }
.terms-item { border-top: 1px solid var(--rule); }
.terms-item p { padding-bottom: 15px; color: var(--muted); }
.terms-note { padding-top: 17px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .91rem; }

.organizer-section { background: #101a27; }
.organizer-lead { color: var(--muted); font-size: 1rem; }
.organizer-feature { border-block: 1px solid #445a72; }
.organizer-tabs { display: flex; background: transparent; border-bottom: 1px solid var(--rule); }
.organizer-tabs a { padding: 12px 20px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 680; }
.organizer-tabs a:hover, .organizer-tabs a[aria-selected="true"] { color: var(--ink); }
.organizer-tabs [aria-selected="true"] { border-color: var(--accent); }
.organizer-panel { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); align-items: stretch; min-height: 410px; }
.portrait { position: relative; grid-column: 2; grid-row: 1; min-height: clamp(410px, 36vw, 520px); background: #202e3e; }
.portrait img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: grayscale(.94) contrast(1.05); }
.portrait figcaption { position: absolute; inset: auto 0 0; padding: 12px 16px; color: var(--ink); font-size: .7rem; letter-spacing: .025em; background: #152231e8; }
.organizer-copy { grid-column: 1; grid-row: 1; align-self: center; padding: clamp(24px, 4vw, 64px) clamp(23px, 4vw, 70px) clamp(26px, 4vw, 64px) 0; }
.organizer-copy h3 { max-width: 20ch; font-size: clamp(2.35rem, 5vw, 4.65rem); font-weight: 675; line-height: .98; letter-spacing: -.072em; }
.organizer-copy .body-copy { max-width: 58ch; margin-top: 17px; }
.experience { display: flex; align-items: baseline; gap: 9px; margin-top: 20px; color: var(--accent-light); font-weight: 620; }
.experience strong { font: 590 2.7rem/.9 var(--sans); letter-spacing: -.08em; }
.academy-mark { grid-column: 2; grid-row: 1; display: grid; place-items: center; min-height: 250px; padding: 30px; background: #22374c; }
.academy-mark img { width: min(92%, 264px); height: auto; }
.academy-panel .text-link { margin-top: 12px; }

.final-section { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 77% 54%, #2a405a, #1a2c40 46%, #101b28 82%); }
.final-layout { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: center; column-gap: clamp(15px, 4.5vw, 68px); text-align: left; }
.final-copy { min-width: 0; }
.final-section h2 { max-width: 14ch; font-size: clamp(2.8rem, 6.1vw, 6.2rem); font-weight: 660; }
.final-emphasis { margin-top: 18px; color: var(--ink); font-size: clamp(1rem, 2vw, 1.34rem); font-weight: 750; }
.final-layout .body-copy { max-width: 66ch; margin-top: 12px; }
.final-countdown { margin-top: 23px; }
.final-countdown p { margin-bottom: 7px; color: var(--accent-light); font: .77rem/1.4 var(--mono); }
#countdown-values { display: flex; }
#countdown-values span:first-child { padding-left: 0; }
#countdown-values span { padding: 3px 17px 5px; color: var(--muted); font-size: .75rem; }
#countdown-values span + span { border-left: 1px solid var(--rule); }
#countdown-values strong { display: block; color: var(--ink); font: 600 2.4rem/.96 var(--sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.final-actions { display: flex; flex-wrap: wrap; gap: 9px 25px; align-items: center; margin-top: 25px; }
.final-meta { color: var(--muted); margin-top: 11px; font: .79rem/1.35 var(--mono); }

summary { font-weight: 700; }
:is(.paper-detail,.reward-detail,.terms-item,.exercise-option) summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; list-style: none; padding: 7px 0; }
:is(.paper-detail,.reward-detail,.terms-item,.exercise-option) summary::-webkit-details-marker { display: none; }
:is(.paper-detail,.reward-detail,.terms-item,.exercise-option) summary::after { content: '+'; flex-shrink: 0; font: 500 1.3rem/1 var(--mono); transition: transform .23s var(--ease); }
:is(.paper-detail,.reward-detail,.terms-item,.exercise-option)[open] summary::after { transform: rotate(45deg); }
:is(.paper-detail,.reward-detail,.terms-item,.exercise-option)[open] > :not(summary) { animation: open-copy .25s var(--ease); }
[data-enhanced] [data-tab-panel].tab-enter { animation: open-copy .28s var(--ease) both; }
@keyframes open-copy { from { opacity: .55; transform: translateY(4px); } }

.site-footer { background: var(--bg); padding-block: 33px 40px; border-top: 1px solid var(--rule); }
.footer-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font: .8rem/1.35 var(--mono); }
.legal-links { display: flex; gap: 7px 19px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: .85rem; }
.risk { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.mobile-cta { position: fixed; z-index: 3; bottom: 0; inset-inline: 0; padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: #131f2df5; }
.mobile-cta .button { width: 100%; }

dialog { width: min(calc(100% - 32px), 530px); max-height: calc(100% - 24px); border: 1px solid var(--control-edge); border-radius: 3px; padding: clamp(20px, 5vw, 35px); background: #1b2a3c; color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: #080e16cb; }
dialog h2 { margin-bottom: 9px; font-size: clamp(1.5rem, 4.5vw, 2.5rem); line-height: 1.11; letter-spacing: -.04em; }
dialog > p:not(.section-label, .eyebrow) { color: var(--muted); }
.close { float: right; margin: -12px -12px 2px 8px; width: 44px; height: 44px; background: none; border: 1px solid transparent; font-size: 1.55rem; line-height: 1; }
.close:hover { border-color: var(--rule); }
.eyebrow { color: var(--accent); margin-bottom: 12px; font: .8rem/1.3 var(--mono); }
#availability:not(:empty) { color: var(--accent); border-left: 2px solid currentColor; padding-left: 10px; margin-top: 12px; }
#registration-form { display: grid; gap: 6px; margin-top: 14px; }
#registration-form > label:not(.consent) { font-weight: 650; font-size: .9rem; margin-top: 4px; }
#registration-form input:not([type="checkbox"]), #registration-form select { width: 100%; min-width: 0; min-height: 43px; padding: 6px 10px; border-radius: 2px; color: var(--ink); background: #151f2c; border: 1px solid var(--control-edge); }
#registration-form input::placeholder, #phone-hint { color: var(--muted); }
.consent { display: flex; align-items: start; gap: 8px; margin-top: 8px; font-size: .86rem; }
.consent input { flex: none; width: 18px; height: 18px; margin: .19em 0 0; accent-color: var(--accent); }
.honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); overflow: hidden; }
#form-error:not(:empty) { color: var(--accent); }
#form-error:empty { display: none; }
.form-note { color: var(--muted); font-size: .8rem; }


@media (max-width: 1030px) {
  .hero-frame { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .hero-visual { min-height: 520px; }
  .hero-index > * { padding-inline: 12px; }
  .calendar-layout { column-gap: 30px; }
  .day-preview { grid-template-columns: minmax(0, 1fr); row-gap: 3px; }
}
@media (max-width: 740px) {
  :root { --gutter: clamp(20px, 5vw, 36px); }
  html { scroll-padding-top: 71px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 61px; gap: 10px; }
  .nav-final { display: none; }
  .brand img, .footer-head img { width: 109px; }
  .header-inner nav a { font-size: .79rem; }
  .hero { background: radial-gradient(ellipse at 61% 45%, #26394e, #192839 46%, var(--bg) 77%); }
  .hero-frame { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-copy { display: contents; }
  .hero-date { order: 0; margin-top: 23px; font-size: clamp(.625rem, 2.8vw, .75rem); }
  .hero h1 { order: 1; z-index: 1; margin: 12px 0 0 -.036em; font-size: clamp(3.2rem, 17.2vw, 7.3rem); line-height: .84; }
  .hero-visual { order: 2; height: clamp(274px, 77vw, 484px); min-height: 0; margin-top: 3px; }
  .model-pendulums .ornament-stage { inset: 0 calc(-.6 * var(--gutter)); }

  .hero-message { order: 3; padding-top: 8px; }
  .hero-message h2 { font-size: clamp(1.3rem, 5.55vw, 2.1rem); }
  .hero-message p { margin-top: 8px; font-size: .94rem; }
  .hero-actions { order: 4; margin-top: 15px; }
  .hero-index { order: 5; grid-template-columns: 1fr .9fr 1.2fr; margin-top: 20px; }
  .hero-index > * { display: block; padding: 9px 7px 12px; font-size: .75rem; line-height: 1.36; }
  .hero-index strong { display: block; margin-bottom: 4px; font-size: 1.65rem; }
  .calendar-layout, .value-layout, .terms-layout, .section-heading, .reward-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar-layout { gap: 24px; }
  .section-heading { gap: 14px; }
  section:not(.hero) { padding-block: 54px; }
  .phase-tab { min-height: 53px; padding: 9px 3px; text-align: center; }
  .phase-tab strong { display: none; }
  .phase-tab span { font-size: clamp(.63rem, 2.35vw, .8rem); }
  .program-section h2 { text-wrap: pretty; }
  .phase-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .phase-kicker { display: block; margin-bottom: 7px; color: var(--accent); font: 650 .75rem/1.4 var(--mono); }
  .phase-art { border: 0; min-height: 0; }
  .rewards-bottom { align-items: flex-start; flex-direction: column; }
  .organizer-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .portrait, .academy-mark { grid-column: 1; grid-row: 1; min-height: clamp(255px, 79vw, 410px); }
  .organizer-copy { grid-column: 1; grid-row: 2; }
}
@media (max-width: 600px) {
  .site-footer { padding-bottom: 80px; }
  .header-inner nav { gap: clamp(8px, 2.75vw, 19px); }
  .header-inner nav a { font-size: .74rem; }
  .button { min-height: 48px; }
}
@media (max-width: 365px) {
  .brand img { width: 88px; }
  .header-inner { gap: 8px; }
  .day-preview { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scene-action { display: none; }
  .door:hover, .door:focus-visible { transform: none; }
}

.calendar-intro h2 { font-size: clamp(2.3rem, 4.35vw, 4.65rem); }
.exercise-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.exercise-caption span { color: var(--subtle); font-weight: 500; }
.terms-item { position: relative; }
.terms-item[open] { border-top-color: var(--accent); }
.terms-item[open] summary { color: var(--accent-light); }
.in-frame { animation: arrive .45s var(--ease); }
@keyframes arrive { from { transform: translateY(9px); opacity: .86; } }
.tab-enter .phase-art canvas { animation: draw-plot .52s var(--ease); }
@keyframes draw-plot { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 740px) {
  .model-pendulums .ornament-stage { mask-image: linear-gradient(transparent, #000 10%); }
}

.model-display { position: relative; min-width: 0; isolation: isolate; }
.model-pendulums { height: 100%; min-height: inherit; }
.model-pendulums .ornament-stage canvas { max-width: none; }
.model-tools { position: absolute; inset: auto 0 17px; display: flex; justify-content: space-between; gap: 12px; align-items: center; pointer-events: none; }
.scene-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--control-edge); border-radius: 2px; background: #1e2e42ed; color: var(--ink); text-align: center; font-size: .8rem; font-weight: 720; pointer-events: auto; transition: border-color .2s ease; }
.scene-action:hover { border-color: var(--accent-light); }
.ornament-stage[data-dragging] { cursor: grabbing; }
:is(.model-medal,.model-gift) .ornament-stage { inset: 0; }
:is(.model-medal,.model-gift) [data-ready] { cursor: grab; }

.ticket-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: center; column-gap: 13px; }
.ticket-front > dl dd { font-size: clamp(3.8rem, 9.2vw, 9.55rem); }
.model-medal { min-height: 239px; margin-block: -12px -5px; }
.model-medal .ornament-stage { bottom: 43px; }
.model-medal .ornament-stage::before { background: radial-gradient(ellipse at center, #89b0dd29, transparent 69%); }
.model-medal .model-tools { justify-content: center; bottom: 0; }
.model-medal .scene-action { padding-inline: 8px; border-color: var(--control-edge); background: #1c2d40ed; color: var(--accent-light); }
.model-medal .scene-action:hover { border-color: var(--accent-light); }
.model-gift { align-self: stretch; min-height: 480px; }
.model-gift .ornament-stage::before { inset: 10% -9% 6%; background: radial-gradient(ellipse at 54% 56%, #a4c6ef35, transparent 68%); }
.model-gift .model-tools { justify-content: center; bottom: 8px; }
.model-gift .scene-action { background: #203249ed; }

.day-preview { min-height: 78px; }
.day-navigation { display: flex; justify-content: flex-end; gap: 7px; margin-top: 4px; }
.day-navigation button { min-height: 41px; border: 1px solid var(--control-edge); border-radius: 2px; padding: 5px 11px; background: var(--raised); color: var(--silver); font-size: .8rem; font-weight: 720; }
.day-navigation button:not([aria-disabled=true]):hover { border-color: var(--accent-light); }
.day-navigation button[aria-disabled=true] { opacity: .62; cursor: default; }

@media (max-width: 1030px) {
  .model-pendulums .model-tools { justify-content: flex-end; }
  .model-gift { min-height: 400px; }
}
@media (max-width: 740px) {
  .model-pendulums .model-tools { bottom: 6px; }
  .scene-action { padding-inline: 8px; font-size: .75rem; }
  .model-medal { min-height: 166px; }
  .model-gift { min-height: clamp(255px, 77vw, 445px); }
  .final-layout { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .final-section h2 { font-size: clamp(2.55rem, 8.95vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .model-tools { display: none; }
}

.plot-viewport { position: relative; width: 100%; min-width: 0; isolation: isolate; touch-action: pan-y pinch-zoom; }
.phase-art .plot-viewport[data-depth-ready], .fund-infographic .plot-viewport[data-depth-ready] { cursor: crosshair; }
.plot-viewport[data-adjusting][data-depth-ready] { cursor: grabbing; }
.plot-viewport .depth-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.plot-viewport[data-depth-ready] > :is(canvas[data-chart], .candle-flat-art) { opacity: 0; }
.plot-viewport:not([data-depth-ready]) > .depth-layer { visibility: hidden; }
.phase-panel.tab-enter .plot-viewport canvas { animation: none; }

.fund-infographic { padding: 0 0 8px; margin: 0 0 7px; border-bottom: 1px solid var(--rule); }
.fund-infographic .plot-viewport { height: clamp(146px, 17vw, 230px); }
.reward-week dt button { min-height: 36px; padding: 4px 7px; text-align: left; border: 1px solid transparent; border-radius: 2px; background: none; color: var(--silver); font-size: .83rem; font-weight: 750; }
.reward-week dt button:hover, .reward-week dt button[aria-pressed=true] { color: var(--accent-light); border-color: #7699be; background: var(--accent-panel); }
.reward-week:has([aria-pressed=true]) dd span { background: var(--accent-light); }

[data-market-panel] { position: relative; isolation: isolate; overflow: clip; }
.market-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--market-visibility, .62);
  mask-image: linear-gradient(transparent 1%, #000 15%, #000 84%, transparent 99%);
}
.market-backdrop::before,
.market-backdrop canvas {
  position: absolute;
  inset-inline-start: -4%;
  top: var(--market-center, 51%);
  width: 108%;
  height: var(--market-height, min(100%, 710px));
  translate: 0 -50%;
}
.market-backdrop::before {
  content: '';
  background-image:
    linear-gradient(to right, #a3bcd924 1px, transparent 1px),
    linear-gradient(to bottom, #a3bcd924 1px, transparent 1px);
  background-size: 70px 56px;
  mask-image: radial-gradient(ellipse at 72% 52%, #000, transparent 74%);
}
.market-backdrop[data-painted]::before { display: none; }
.market-backdrop canvas { visibility: hidden; max-width: none; }
.market-backdrop[data-painted] canvas { visibility: visible; }
.market-backdrop[data-painted] canvas[data-market-layer] { will-change: transform; }
[data-market-panel="opening"] { --market-center: 52%; --market-height: min(107%, 900px); --market-visibility: .57; }
[data-market-panel="calendar"] { --market-center: 53%; --market-visibility: .29; }
[data-market-panel="program"] { --market-center: 41%; --market-visibility: .32; }
[data-market-panel="rewards"] { --market-center: 62%; --market-height: min(100%, 780px); --market-visibility: .30; }
[data-market-panel="practice"] { --market-center: 35%; --market-visibility: .33; }
[data-market-panel="risk"] { --market-center: 42%; --market-visibility: .28; }
[data-market-panel="academy"] { --market-center: 52%; --market-visibility: .25; }
[data-market-panel="closing"] { --market-center: 53%; --market-height: min(100%, 820px); --market-visibility: .53; }

@media (max-width: 740px) {
  .market-backdrop { opacity: calc(var(--market-visibility, .62) * .86); }
  .market-backdrop::before, .market-backdrop canvas { inset-inline-start: -9%; width: 118%; }
  [data-market-panel="opening"] { --market-center: 42%; --market-height: min(100%, 740px); }
  [data-market-panel="closing"] { --market-center: 67%; --market-height: min(96%, 640px); }
}
@media (prefers-reduced-motion: reduce) {
  .market-backdrop[data-painted] canvas[data-market-layer] { will-change: auto; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.phase-art {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: transparent;
}
.market-terminal {
  min-width: 0;
  background: #121f2d; border: 1px solid #4b6380; border-radius: 4px;
  color: var(--silver);
}
.exercise .market-terminal { border-block: 1px solid var(--rule); }
.market-head, .market-readout, .market-controls, .market-source { padding-inline: clamp(8px, 2%, 15px); }
.market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 9px;
  min-height: 47px;
  padding-block: 5px;
  border-bottom: 1px solid #37516c;
}
.market-symbol { display: grid; align-items: baseline; column-gap: 10px; grid-auto-flow: column; }
.market-symbol strong { font: 780 .92rem/1.2 var(--sans); color: var(--ink); letter-spacing: .02em; }
.market-symbol span { color: var(--muted); font: 600 .66rem/1.35 var(--mono); }
.market-tools { display: flex; align-items: center; gap: 6px; }
.market-periods { display: flex; border: 1px solid #68839f; border-radius: 3px; overflow: hidden; }
.market-tools button, .market-controls button {
  min-width: 38px;
  min-height: 40px;
  border: 0;
  background: #1d2d40;
  color: var(--silver);
  font: 700 .76rem/1 var(--mono);
}
.market-periods button { min-width: 36px; padding: 0 5px; }
.market-tools [data-plot-view], .market-controls button { border: 1px solid #68839f; border-radius: 3px; }
.market-tools button[aria-pressed="true"] { color: #d7eaff; background: #294761; }
.market-tools button:hover, .market-controls button:not(:disabled):hover { background-color: #2c415a; }
.market-tools button:focus-visible { outline-offset: -3px; }
.market-controls button:disabled { opacity: .36; cursor: default; }
.market-readout { padding-block: 7px 3px; }
.market-readout time { display: block; color: #b6c9de; font: 600 .69rem/1.4 var(--mono); }
.market-readout dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px 7px; margin-top: 5px; }
.market-readout dt { color: #bfd1e4; font: 630 .64rem/1.3 var(--mono); }
.market-readout abbr { text-decoration: none; }
.market-readout dd { color: #edf4fc; font: 700 clamp(.62rem, 1.15vw, .82rem)/1.3 var(--mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.market-terminal[data-direction="up"] [data-quote="close"] { color: #b0e2ee; }
.market-terminal[data-direction="down"] [data-quote="close"] { color: #e6badb; }
.market-plot { cursor: crosshair; }
.market-plot canvas[data-chart] {
  display: block;
  width: 100%;
  height: clamp(255px, 27vw, 357px);
  max-width: 100%;
}
.market-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: .86rem;
}
.market-controls { display: flex; align-items: center; gap: 10px; padding-block: 3px 8px; }
.market-scrubber { display: grid; flex: 1; min-width: 0; }
.market-scrubber input { width: 100%; height: 32px; accent-color: #a8ccea; cursor: ew-resize; }
.market-source {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 11px;
  padding-block: 6px 8px;
  border-top: 1px solid #37516c;
  color: #b6c9de;
  font: 640 .65rem/1.4 var(--mono);
}
.market-source a:hover { color: #dceaff; }
@media (min-width: 951px) {
  .phase-panel { grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr); }
}
@media (min-width: 741px) and (max-width: 950px) {
  .phase-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 510px) {
  .market-plot canvas[data-chart] { height: clamp(224px, 65vw, 286px); }
  .market-symbol { grid-auto-flow: row; row-gap: 2px; }
}

.section-label::before { content: ''; width: 21px; height: 1px; background: currentColor; }
.nav-final::after { content: '↗'; font-size: 1rem; line-height: 1; }
:is(.hero-actions,.final-actions) .text-link::after { content: '↓'; font-size: 1rem; }
.hero-market-caption {
  position: absolute;
  left: 0;
  bottom: 10px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 12px;
  color: var(--muted);
  font: 580 .71rem/1.38 var(--mono);
}
.hero-market-label { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.hero-market-caption strong { color: var(--accent-light); font-weight: 710; }
.hero-market-caption a { text-decoration-color: #aac3db70; text-underline-offset: .19em; }
.hero-replay-status { display: flex; column-gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.hero-replay-toggle {
  min-height: 32px;
  padding: 2px 8px;
  background: #172638d9;
  color: #d5e7fb;
  border: 1px solid #3e5873;
  border-radius: 3px;
  font: inherit;
}
.hero-replay-toggle:hover { background: #263e56; }
.model-pendulums .model-tools { inset: auto 0 11px; justify-content: flex-end; }
.model-pendulums .scene-action { min-height: 38px; padding-inline: 10px; background: #182639ba; }
.reward-ticket > .reward-detail { border-top: 1px solid #435c77; margin-top: 13px; }
.exercise .market-terminal { border-radius: 0; }
@media (min-width: 741px) and (max-width: 1030px) {
  .hero-market-caption { gap: 2px 5px; font-size: .66rem; }
}
@media (max-width: 740px) {
  .hero-market-caption { bottom: 7px; gap: 2px 5px; font-size: .64rem; }
  .hero-market-label { display: grid; gap: 1px; }
  .model-pendulums .model-tools { bottom: 7px; }
  .hero-market-caption span { white-space: nowrap; }
  .hero-index > * { min-height: 62px; }
  .hero-index strong { font-size: 1.45rem; }
  .reward-ticket { padding-inline-end: 0; }
  .reward-side { padding-inline-start: 0; border-left: 0; border-top: 1px solid #435c77; }
  .phase-panel { gap: 10px; padding-block: 14px; }
}
@media (max-width: 360px) {
  .hero-replay-status { display: grid; }
  .hero-market-caption { column-gap: 4px; }
  .hero-replay-toggle { padding-inline: 6px; }
}

.hero {
  --winter-travel: min(22vh, 180px);
  --muted: #d3dce6;
  background: #101925;
}
.hero-winter, .hero-snow { position: absolute; inset: 0; pointer-events: none; }
.hero-winter { z-index: -2; overflow: hidden; }
.hero-winter img {
  position: absolute;
  inset: calc(-1 * var(--winter-travel)) 0 auto;
  width: 100%;
  height: calc(100% + var(--winter-travel));
  max-width: none;
  object-fit: cover;
  object-position: 63% 49%;
}
.hero[data-winter-visible] .hero-winter img { will-change: transform; }
.hero-winter::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0e1725ea, #101727c7 26%, #121c2c47 58%, #14223114 100%),
    linear-gradient(180deg, #0b14204f, transparent 37%, #0c142333 68%, #0f1721f7 100%);
}
.hero-snow { z-index: 0; width: 100%; height: 100%; }
.hero-frame { position: relative; z-index: 1; }
.hero .hero-date, .hero .hero-index { border-color: #a3b7ce49; }
.hero .hero-index > * + *, .hero .hero-mode { border-color: #a3b7ce49; }
.hero .ornament-stage::before { background: radial-gradient(ellipse at 56% 50%, #8cacc417, transparent 68%); }
.hero .scene-action { background: #14202cc7; border-color: #8195ab; }
.hero .market-backdrop { opacity: .225; }
@media (max-width: 740px) {
  .hero-winter img { object-position: 55% 47%; }
  .hero-winter::after {
    background: linear-gradient(180deg, #101a2aea, #141e2a84 23%, #14202c24 46%, #0c1623b5 65%, #0f1721ef 88%, #0f1721 100%);
  }
  .hero .market-backdrop { opacity: .16; }
}
@media (prefers-reduced-motion: reduce) {
  .hero[data-winter-visible] .hero-winter img { will-change: auto; }
  .hero-snow { display: none; }
}

:root { --study-landscape: url('/assets/winter-valley.webp'); }
.calendar-book {
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid #58728f;
  background:
    linear-gradient(180deg, #131f3090, #132235ec 49%, #142131),
    var(--study-landscape) 64% 45% / cover;
}
.calendar-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-phases button {
  min-width: 0;
  min-height: 35px;
  padding: 4px;
  border: 1px solid #4a6480;
  border-radius: 2px;
  background: #18273cdd;
  color: #c6d7eb;
  font: 650 .70rem/1.2 var(--mono);
}
.calendar-phases button:hover { border-color: var(--accent); }
.calendar-phases button[aria-pressed="true"] {
  background: #304a66;
  border-color: #9fc0df;
  color: #edf6ff;
}
.calendar-grid {
  background: #4f667e;
  grid-auto-rows: 1fr;
}
.calendar-grid::after {
  content: '';
  grid-column: span 5;
  background: linear-gradient(90deg, #18283c26, #13233a83), var(--study-landscape) 72% 76% / cover;
  box-shadow: inset 0 0 16px #101b2ac0;
}
.calendar-grid .door { background: #1b2c41; }
.calendar-grid .door:nth-child(7n+1) { border-left: 2px solid #8daac77d; }
.calendar-grid .door:hover { background: #2b4260; }
.calendar-grid .door[aria-pressed="true"] { background: #cbdff4; }

.market-readout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
}
.market-change {
  color: #b6c9de;
  font: 620 .68rem/1.4 var(--mono);
  white-space: nowrap;
}
.market-change strong { margin-left: 3px; }
.market-terminal[data-direction="up"] .market-change strong { color: #b0e2ee; }
.market-terminal[data-direction="down"] .market-change strong { color: #e6badb; }
.market-terminal .market-plot { background: linear-gradient(180deg, #17283d30, #0a162338); }

.fund-infographic {
  margin-top: 4px;
  padding: 7px 10px 0;
  border: 1px solid #4b6684;
  border-radius: 3px 3px 0 0;
  background:
    linear-gradient(180deg, #111e2ee6, #192c41cc),
    var(--study-landscape) 67% 61% / cover;
}
.fund-key {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: #c6d8ed;
  font: 650 .69rem/1.5 var(--mono);
}
.fund-key output { color: #e1eeff; }
.fund-infographic:not([hidden]) + .reward-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -7px;
  padding: 0;
  gap: 0;
  border: 1px solid #4b6684;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  min-width: 0;
  padding: 4px 0 7px;
}
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week + .reward-week { border-left: 1px solid #4b6684; }
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week dt { width: 100%; }
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding-inline: 2px;
  text-align: center;
  font-family: var(--mono);
  font-size: .7rem;
}
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week dd { display: block; }
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week dd span { display: none; }
.fund-infographic:not([hidden]) + .reward-breakdown .reward-week:has([aria-pressed="true"]) { background: #233c56; }

@media (max-width: 740px) {
  :root { --study-landscape: url('/assets/winter-valley-portrait.webp'); }
  .fund-infographic { padding-inline: 8px; }
}

.value-layout { display: block; }
.value-layout > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(26px, 7vw, 110px);
  align-items: start;
}
.value-layout .section-label { grid-column: 1 / -1; }
.value-layout h2 { grid-column: 1; grid-row: 2; }
.value-layout .benefits { grid-column: 2; grid-row: 2 / span 2; margin: 0; }
.value-layout .body-copy { grid-column: 1; grid-row: 3; margin-top: 16px; max-width: 52ch; }
.value-exercise {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
  margin-top: clamp(34px, 7vw, 97px);
}
.exercise-story { min-width: 0; padding-block: clamp(12px, 3vw, 30px); }
.value-exercise .market-terminal { border: 0; border-inline-start: 1px solid var(--rule); }

.candle-guide {
  --study-light: #b0def8;
  --study-dark: #4886b0;
  margin-top: clamp(36px, 6vw, 82px);
  padding-top: clamp(22px, 3.4vw, 48px);
  border-top: 1px solid #526d88;
}
.candle-guide[data-direction="down"] { --study-light: #f2b3d5; --study-dark: #a0659a; }
.candle-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px clamp(25px, 5vw, 70px);
  margin-bottom: 22px;
}
.candle-heading h3 {
  font-size: clamp(2.2rem, 4.55vw, 5rem);
  font-weight: 725;
  line-height: .99;
  letter-spacing: -.061em;
  text-wrap: balance;
}
.candle-heading h3 span { color: var(--study-light); }
.candle-heading p { max-width: 39ch; color: var(--muted); font-size: .94rem; }
.candle-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.57fr) minmax(300px, 1fr);
  border: 1px solid #587694;
  border-radius: 6px;
  overflow: hidden;
  background: #101c2b;
}
.candle-display { min-width: 0; border-right: 1px solid #425d79; }
.candle-display-head, .candle-context-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 12px;
  color: #b4c8df;
  font: 650 .72rem/1.4 var(--mono);
}
.candle-display-head { min-height: 43px; padding: 12px clamp(12px, 2vw, 23px); }
.candle-display-head strong { color: #e9f5ff; font-size: .92rem; }
.candle-display-head strong span { color: #a8c0d9; font-size: .72rem; }
.candle-stage {
  --body-top: 28.1%;
  --body-bottom: 58.9%;
  --study-center: 38%;
  height: clamp(300px, 32vw, 450px);
  border-block: 1px solid #425d79;
  background:
    radial-gradient(ellipse at 38% 43%, #3f648c47, transparent 45%),
    linear-gradient(180deg, #0a1729cf, #112438bf 58%, #0b1526f0),
    var(--study-landscape) 63% 48% / cover;
}
.candle-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #a6c6e457 .7px, transparent 1px) 0 0 / 22px 22px;
  mask-image: radial-gradient(ellipse at 38% 49%, #000 18%, transparent 70%);
  pointer-events: none;
}
.candle-flat-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.candle-flat-art::before {
  content: '';
  position: absolute;
  width: 2px;
  left: var(--study-center);
  top: 16%;
  bottom: 16%;
  background: #bfd8ec;
}
.candle-flat-art i {
  position: absolute;
  top: var(--body-top);
  left: var(--study-center);
  width: min(27%, 135px);
  height: calc(var(--body-bottom) - var(--body-top));
  transform: translateX(-50%);
  clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
  border-block: 2px solid #d8edff;
  background:
    linear-gradient(124deg, transparent 16%, #e6f5fd55 24%, transparent 30%, transparent 72%, #e6f5fd4a 77%, transparent 83%),
    linear-gradient(90deg, #b0d1e46b, #0f2236a1 20%, var(--study-dark) 25% 75%, #0f2236a1 80%, #b0d1e46b);
  box-shadow: inset 0 0 10px #def0ff87;
  transition: top .28s var(--ease), height .28s var(--ease);
}
.candle-stage[data-depth-ready] { cursor: grab; }
.candle-stage[data-adjusting] { cursor: grabbing; }
.candle-hotspots { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.candle-hotspot {
  position: absolute;
  left: calc(var(--study-center) + clamp(34px, 4.35vw, 62px));
  right: clamp(9px, 6%, 48px);
  top: var(--price-y, 50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  transform: translateY(-50%);
  min-height: 41px;
  padding: 0 7px 0 0;
  border: 0;
  background: transparent;
  color: #d3e7fb;
  font: 700 .85rem/1 var(--mono);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.candle-hotspot:is([data-candle-hotspot="high"], [data-candle-hotspot="low"]) { left: var(--study-center); }
.candle-hotspot::before {
  content: '';
  flex: 1;
  height: 1px;
  background: #89afcc97;
}
.candle-hotspot::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #a3c4df;
}
.candle-hotspot[aria-pressed="true"] { color: #fff; text-shadow: 0 0 10px var(--study-light); }
.candle-hotspot[aria-pressed="true"]::before, .candle-hotspot[aria-pressed="true"]::after {
  background: var(--study-light);
  box-shadow: 0 0 10px var(--study-light);
}
.candle-marker-price {
  color: #f0f7ff;
  padding: 5px 7px;
  border: 1px solid #8eabc6;
  border-radius: 3px;
  background: #102238ef;
  font-size: clamp(.58rem, 1vw, .76rem);
  letter-spacing: -.025em;
  text-shadow: none;
  white-space: nowrap;
}
.candle-hotspot[aria-pressed="false"] .candle-marker-price { display: none; }
.candle-hotspot:hover { color: white; }
.candle-turn {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 10px;
  min-height: 35px;
  padding: 4px 9px;
  border: 1px solid #5b7d9e;
  border-radius: 3px;
  background: #102034e8;
  color: #d9eaff;
  font: 630 .71rem/1.2 var(--mono);
}
.candle-turn:hover { border-color: var(--study-light); }
.candle-context { padding: 11px clamp(10px, 2vw, 22px) 13px; }
.candle-context-head { font-size: .66rem; }
.candle-context canvas {
  width: 100%;
  height: 82px;
  cursor: crosshair;
}
.candle-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.candle-examples button {
  min-height: 41px;
  border: 1px solid #435f7e;
  border-radius: 3px;
  padding: 3px 6px;
  background: #142438;
  color: #c1d6eb;
  font-size: .8rem;
  font-weight: 740;
}
.candle-examples button:hover, .candle-examples button[aria-pressed="true"] { border-color: var(--study-light); }
.candle-examples button[aria-pressed="true"] { color: var(--study-light); background: #253951; }
.candle-inspector {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(170deg, #1d3149, #122135 72%);
}
.candle-details {
  padding: clamp(18px, 3.15vw, 44px);
  border-bottom: 1px solid #425d79;
}
.candle-details [data-candle-title] { color: var(--study-light); font: 700 .78rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .065em; }
.candle-details strong {
  display: inline-block;
  max-width: 100%;
  margin-block: 8px;
  color: #edf6ff;
  font: 710 clamp(1.85rem, 3.25vw, 3.4rem)/1.06 var(--sans);
  letter-spacing: -.065em;
}
.candle-currency { color: #aabed8; font: 660 .72rem/1.4 var(--mono); }
.candle-details [data-candle-description] { min-height: 3.4em; margin-top: 3px; color: #c6d7eb; line-height: 1.48; font-size: .89rem; }
.candle-parts button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 52px;
  gap: 7px;
  padding: 7px clamp(11px, 2.2vw, 29px);
  border: 0;
  border-bottom: 1px solid #39536f;
  background: transparent;
  color: #d7e6f6;
  text-align: left;
}
.candle-parts button > span:first-child { color: #95adc8; font: 650 .75rem/1.4 var(--mono); }
.candle-parts button > span:nth-child(2) { font-size: .86rem; }
.candle-parts button strong { color: #ebf4ff; font: 670 .77rem/1.4 var(--mono); white-space: nowrap; }
.candle-parts button:hover, .candle-parts button[aria-pressed="true"] { background: #293f58; }
.candle-parts button[aria-pressed="true"] > span:first-child { color: var(--study-light); }
.candle-parts button:focus-visible { outline-offset: -4px; }
.candle-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}
.candle-metrics div { padding: 13px clamp(9px, 1.8vw, 23px); border-bottom: 1px solid #39536f; }
.candle-metrics div + div { border-left: 1px solid #39536f; }
.candle-metrics dt { color: #b9cde3; font-size: .74rem; }
.candle-metrics dd { color: #e3effc; font: 700 .9rem/1.4 var(--mono); }
.candle-metrics [data-candle-change] { color: var(--study-light); }
.candle-note { margin: 0; padding: 12px clamp(11px, 2vw, 23px); color: #b6c9e0; font-size: .75rem; }
@media (max-width: 890px) {
  .candle-workbench { grid-template-columns: minmax(0, 1.2fr) minmax(250px, 1fr); }
}
@media (max-width: 740px) {
  .value-layout > div, .value-exercise, .candle-workbench { display: block; }
  .value-layout .benefits { margin: 16px 0; }
  .value-exercise .market-terminal { border-inline-start: 0; }
  .candle-heading { display: block; }
  .candle-heading p { margin-top: 10px; }
  .candle-display { border-right: 0; border-bottom: 1px solid #425d79; }
  .candle-stage { height: clamp(272px, 80vw, 400px); }
  .candle-details [data-candle-description] { min-height: 0; }
}

section.video-collection {
  margin-top: clamp(34px, 6vw, 87px);
  padding-block: clamp(19px, 3vw, 37px) 0;
  border-top: 1px solid var(--rule);
}
.video-collection-heading { margin-bottom: clamp(13px, 2.1vw, 26px); }
.video-collection-heading h3 {
  font-size: clamp(1.5rem, 4vw, 3.25rem);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -.046em;
}
.video-jump a, .organizer-video-links a, .video-source-link {
  color: var(--accent-light);
  font-size: .875rem;
  text-decoration-color: #afcae799;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 1.4vw, 20px);
  list-style: none;
  padding: 0;
}
.video-collection--reviews .video-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.video-collection--results .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-collection--interviews .video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #46617c;
  border-radius: 4px;
  background: #121f2d;
  color: var(--ink);
  text-decoration: none;
}
.video-thumb {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  border-radius: 3px 3px 0 0;
  background: #25384c;
}
.video-collection--reviews .video-thumb { aspect-ratio: 3 / 4; }
.video-thumb img, .video-play { grid-area: 1 / 1; }
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84);
  transition: filter .26s var(--ease), transform .36s var(--ease);
}
.video-collection--reviews .video-thumb img { object-position: center 34%; }
.video-collection--reviews [data-video-platform="youtube"] .video-thumb { background: #182736; }
.video-collection--reviews [data-video-platform="youtube"] img { object-fit: contain; object-position: center; }
.video-play {
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: start;
  margin: clamp(8px, 1.4vw, 16px);
  width: 43px;
  height: 43px;
  border: 1px solid #d2e4f7b8;
  border-radius: 50%;
  background: #102235df;
  color: #edf5fd;
  transition: color .24s var(--ease), background-color .24s var(--ease);
}
.video-play::before {
  content: '';
  width: 11px;
  height: 13px;
  margin-left: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video-card:is(:hover, :focus-visible) { border-color: #a3bfd8; }
.video-card:is(:hover, :focus-visible) .video-thumb img { filter: saturate(1); transform: scale(1.04); }
.video-card:is(:hover, :focus-visible) .video-play { color: #162738; background: #e4f2fc; }
.video-caption { display: grid; gap: 2px; padding: 10px clamp(10px, 1.2vw, 16px) 13px; }
.video-caption strong { font-weight: 680; line-height: 1.28; }
.video-caption > span { color: var(--muted); font-size: .83rem; line-height: 1.42; }
.academy-videos > .video-collection:first-of-type { margin-top: 21px; }
.video-jump { margin-top: 17px; }
.organizer-video-links { display: flex; gap: 8px 21px; flex-wrap: wrap; margin-top: 20px; }
.video-dialog { width: min(calc(100% - 20px), 860px); padding: clamp(10px, 2vw, 20px); background: #121e2a; }
.video-dialog-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.video-dialog-heading h2 { margin: 0; font-size: clamp(1.18rem, 3vw, 1.8rem); }
.video-dialog-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
}
.video-dialog-close:hover { border-color: var(--accent); }
.video-frame { aspect-ratio: 16 / 9; min-height: 200px; background: #080e18; }
.video-dialog[data-platform="instagram"] { width: min(calc(100% - 20px), 414px); }
.video-dialog[data-platform="instagram"] .video-frame { aspect-ratio: auto; height: min(72svh, 638px); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-source-link { display: inline-block; margin-top: 9px; padding-block: 4px; }

@media (max-width: 1130px) {
  :is(.video-collection--reviews, .video-collection--results, .video-collection--interviews) .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :is(.video-collection--reviews, .video-collection--results, .video-collection--interviews) .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-card:is(:hover, :focus-visible) .video-thumb img { transform: none; }
}
