/* CloudFly / Playful Monumentalism. See ../DESIGN_SYSTEM.md. */
:root {
  color-scheme: light;
  --paper: #f4f2eb;
  --ink: #181916;
  --orange: #ff4f00;
  --orange-type: #df4300;
  --orange-fold: #ff894e;
  --orange-edge: #be3600;
  --blue: #2348f5;
  --muted: #666960;
  --line: #18191630;
  --surface: #eae8df;
  --text: var(--ink);
  --accent: var(--orange-type);
  --font: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --gutter: clamp(24px, 5vw, 80px);
  --radius: 3px;
  --shadow-press: 4px 4px 0 var(--ink);
  --duration: 180ms;
  --page-max: 1440px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button,input,select { font: inherit; }
button,a,input,select { -webkit-tap-highlight-color: transparent; }
button,a { touch-action: manipulation; }
button { border: 0; color: inherit; background: transparent; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; }
svg { vertical-align: middle; flex-shrink: 0; }
button,a { transition: color var(--duration), background var(--duration), transform 120ms, box-shadow 120ms; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
input:focus,select:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--orange); color: var(--ink); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.15; }
h1 { font-weight: 750; letter-spacing: -.065em; }
h2 { font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
h3 { font-size: 16px; font-weight: 600; }
p { color: var(--muted); line-height: 1.85; }
main:focus { outline: none; }
code { font-size: 12px; overflow-wrap: anywhere; }
.skip-link { position: fixed; top: -80px; left: 16px; background: var(--ink); color: var(--paper); z-index: 30; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
header { height: 92px; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 750; letter-spacing: -1.5px; white-space: nowrap; }
.brand>svg { color: currentColor; width: 27px; height: 27px; stroke-width: 2; }
.brand-dot { font-size: 18px; display: inline-block; margin-left: 3px; vertical-align: top; }
nav { display: flex; align-items: center; gap: 32px; }
.nav-item { min-height: 44px; font-size: 13px; position: relative; padding: 10px 0; }
.nav-item.active:after { content: ''; position: absolute; height: 2px; width: 100%; background: currentColor; bottom: 2px; left: 0; }
.nav-note,.secure-note { font-size: 11px; color: var(--muted); }
.secure-note { display: flex; gap: 8px; align-items: center; }
.header-right { display: flex; gap: 8px; }
.account { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); min-height: 42px; padding: 8px 15px; font-size: 12px; border-radius: var(--radius); }
.account:hover,.account.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px var(--gutter); border-top: 1px solid var(--line); font-size: 11px; }
footer>span:nth-child(2) { color: var(--muted); }
footer>div { display: flex; gap: 20px; flex-wrap: wrap; }
footer button { font-size: 11px; padding: 5px 0; min-height: 32px; }
footer button:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow,.mini-label { font-size: 11px; font-weight: 550; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow:before { content: ''; width: 8px; height: 8px; background: currentColor; display: inline-block; }
.accent-type,.accent-text { color: var(--accent); font-family: inherit; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 14px 22px; font-size: 14px; font-weight: 600; border-radius: var(--radius); }
.button.primary { background: var(--orange); color: var(--ink); border: 1px solid var(--ink); box-shadow: var(--shadow-press); }
.button.primary:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary:active { transform: translate(4px,4px); box-shadow: none; }
.button.outline { border: 1px solid currentColor; }
.button.outline:hover { background: var(--ink); color: var(--paper); }
.button.inverse { background: var(--paper); color: var(--ink); }
.button.inverse:hover { background: var(--orange); }
.full { width: 100%; }
.small { min-height: 42px; padding: 10px 16px; font-size: 12px; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; padding: 0; font-size: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 24px; font-size: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fine-print { font-size: 11px; margin: 22px 0 0; max-width: 96ch; }
/* Signature sculpture. A single architectural shape and a folded wing. */
.flight-art { display: block; position: relative; width: 100%; min-width: 0; padding: 0; text-align: left; color: var(--ink); isolation: isolate; }
.flight-art>svg { width: 100%; height: auto; overflow: visible; }
.art-arch { fill: var(--blue); }
.art-arch-line { stroke: var(--paper); stroke-width: 1; opacity: .4; }
.art-route { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 6; }
.wing-back { fill: var(--ink); }
.wing-main { fill: var(--orange); }
.wing-fold { fill: var(--orange-fold); }
.wing-edge { fill: var(--orange-edge); }
.art-wing { transform-origin: 260px 210px; transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
.art-dot { fill: var(--ink); }
.art-baseline { stroke: var(--ink); stroke-width: 1; }
.art-caption { fill: var(--ink); font: 9px var(--font); letter-spacing: 1.4px; }
.art-invitation { font-size: 11px; color: var(--muted); display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-right: 8%; }
.flight-art:hover .art-wing,.flight-art:focus-visible .art-wing { transform: translate(8px,-9px) rotate(-4deg); }
.flight-art.is-launched .art-wing { transform: translate(44px,-40px) rotate(-11deg); }
/* Registration: editorial cover + unboxed working form. */
.auth-layout { max-width: var(--page-max); margin: auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; padding: 56px var(--gutter) 64px; min-height: calc(100svh - 174px); align-items: center; }
.auth-intro { position: relative; min-width: 0; }
.auth-intro h1 { font-size: clamp(54px,6.5vw,100px); line-height: 1.08; margin: 28px 0 24px; letter-spacing: -.065em; }
.auth-intro h1 .accent-type { color: var(--ink); }
.auth-intro .intro-text { font-size: 14px; position: relative; z-index: 1; text-wrap: pretty; }
.auth-intro .flight-art { width: 68%; margin: -34px -3% -6px auto; }
.auth-intro .art-invitation { font-size: 10px; }
.auth-values { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.auth-values>span { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.auth-card { padding: 12px 0 12px 14%; border-left: 1px solid var(--line); min-width: 0; }
.auth-card .mini-label { color: var(--blue); }
.auth-tabs { display: flex; gap: 28px; margin: 38px 0 32px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 12px 0 16px; color: var(--muted); font-size: 13px; }
.auth-tabs button.selected { color: var(--ink); border-bottom: 3px solid var(--ink); }
.auth-card h2 { font-size: 27px; line-height: 1.3; margin: 0 0 14px; }
.auth-card>p { font-size: 12px; margin-bottom: 28px; }
form label:not(.checkbox-label) { display: block; font-size: 12px; font-weight: 550; margin-bottom: 22px; }
input:not([type=checkbox]),select { display: block; width: 100%; min-height: 48px; border: 1px solid #85877e; background: transparent; border-radius: var(--radius); padding: 13px 14px; color: var(--ink); font-size: 14px; margin-top: 9px; }
input::placeholder { color: #74766f; font-size: 12px; }
input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.7; margin: 24px 0; }
.form-error { color: #a32014; font-size: 12px; margin: 0 0 16px; }
.form-error:empty { display: none; }
.auth-bottom { display: flex; align-items: flex-start; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
/* Story chapters */
.story { max-width: var(--page-max); padding: 0 var(--gutter); margin: auto; min-height: calc(100svh - 174px); display: flex; flex-direction: column; }
.story-content { flex: 1; display: flex; flex-direction: column; animation: enter 220ms ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero { display: grid; grid-template-columns: 1.18fr 1fr; column-gap: 2%; align-items: center; padding: 48px 0 24px; min-height: 650px; flex: 1; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(56px,6.3vw,96px); line-height: 1.09; margin: 28px 0 24px; }
.hero .accent-type { white-space: nowrap; }
.hero p { font-size: 14px; max-width: 34ch; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.hero-promises { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.hero-promises>span,.hero-promises>button { display: flex; align-items: center; gap: 7px; padding: 8px 0; font-size: 11px; }
.hero-caption { display: flex; justify-content: space-between; gap: 24px; grid-column: 1/-1; padding: 32px 0 0; font-size: 11px; color: var(--muted); }
.journey { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; flex-shrink: 0; }
.journey-current { display: flex; gap: 12px; align-items: baseline; }
.journey-current>span { font-size: 28px; font-weight: 650; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.journey-current i { font-style: normal; font-size: 11px; color: var(--muted); }
.journey-current b { font-size: 11px; font-weight: 500; margin-left: 12px; }
.journey-dots { display: flex; gap: 4px; }
.journey-dots>button { width: 40px; height: 42px; position: relative; }
.journey-dots>button:after { content: ''; position: absolute; width: 22px; height: 3px; left: 7px; top: 19px; background: var(--line); }
.journey-dots>button.current:after { height: 7px; top: 17px; background: currentColor; }
.journey-controls { display: flex; align-items: center; gap: 24px; }
.next { min-height: 44px; display: flex; align-items: center; gap: 24px; padding: 8px 0; font-size: 12px; }
.previous { min-width: 40px; min-height: 40px; font-size: 22px; }
/* Declarative pages: quiet paper, then a blue interlude. */
.promise { position: relative; min-height: 630px; padding: 56px 0 40px; flex: 1; }
.promise-kicker { font-size: 18px; margin: 28px 0 20px; }
.promise-reveal { position: relative; z-index: 1; width: 76%; }
.big-word { font-size: clamp(96px,14vw,190px); font-weight: 750; letter-spacing: -.06em; padding: 0; line-height: 1.25; display: flex; align-items: flex-start; gap: 24px; }
.big-word>span { font-size: 36px; font-weight: 400; margin-top: 18px; color: var(--orange); transition: transform var(--duration); }
.promise-reveal:hover .big-word>span { transform: rotate(45deg); }
.reveal-content { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding: 0; max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: max-height 240ms,opacity 180ms,padding 240ms; max-width: 650px; }
.promise-reveal:hover .reveal-content,.promise-reveal:focus-within .reveal-content,.promise-reveal.opened .reveal-content { max-height: 350px; opacity: 1; visibility: visible; padding: 24px 0 8px; }
.reveal-content h3 { font-size: 17px; margin: 0 0 12px; }
.reveal-content p { font-size: 13px; margin: 0; }
.reveal-icon { color: var(--blue); }
.hover-hint { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); margin-top: 30px; }
.promise-rule { display: flex; gap: 40px; margin-top: 48px; font-size: 11px; }
.promise-rule>span { border-top: 1px solid var(--line); padding-top: 14px; width: 130px; }
.promise-mark { position: absolute; right: 3%; top: 140px; width: 210px; height: 260px; }
.source-card { position: absolute; width: 185px; height: 120px; background: var(--ink); top: 48px; right: 0; transform: rotate(-14deg); }
.source-card:before { content: ''; position: absolute; width: 100%; height: 13px; top: 25px; background: var(--paper); }
.source-card:after { content: ''; width: 34px; height: 20px; position: absolute; bottom: 18px; left: 18px; border: 1px solid var(--paper); }
.source-cut { position: absolute; width: 25px; height: 240px; background: var(--orange); top: 0; left: 110px; transform: rotate(35deg); border: 7px solid var(--paper); }
body[data-page='story-2'] { --text: var(--paper); --muted: #dcdefa; --line: #f4f2eb55; background: var(--blue); }
body[data-page='story-2'] button:focus-visible,body[data-page='story-2'] a:focus-visible { outline-color: var(--orange); }
body[data-page='story-2'] .account:hover { background: var(--paper); color: var(--blue); }
.promise-shared .reveal-icon { color: var(--paper); }
.promise-shared .big-word>span { color: var(--paper); }
.solo-shape { position: absolute; inset: 10px 20px 35px 20px; background: var(--orange); border-radius: 100px 100px 0 0; transform: rotate(13deg); }
.solo-line { position: absolute; width: 185px; height: 185px; border: 1px solid var(--paper); border-radius: 50%; top: 30px; left: -15px; }
.solo-line:after { content: ''; position: absolute; width: 70px; height: 18px; background: var(--paper); top: 83px; left: 58px; transform: rotate(-35deg); }
/* Brand spread */
body[data-page='story-3'] { background: var(--orange); --muted: #392b20; --line: #18191645; }
.about { padding: 48px 0 36px; min-height: 630px; }
.about-lead { display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 24px; margin: 35px 0 24px; }
.about h1 { font-size: 42px; margin: 0; line-height: 1.25; }
.about-word { font-size: clamp(80px,12vw,164px); letter-spacing: -.055em; line-height: 1.1; }
.about-period { color: var(--paper); }
.about-symbol { background: var(--paper); width: 210px; height: 210px; display: grid; place-items: center; border-radius: 50%; transform: rotate(-12deg); }
.about-symbol svg { width: 120px; height: 120px; stroke-width: 1; }
.about>p { margin-left: 41%; max-width: 46ch; font-size: 20px; line-height: 1.7; }
.about>p br { display: none; }
.about strong { font-weight: 650; color: var(--ink); text-wrap: balance; }
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 42px; }
.about-values>div { padding-top: 20px; border-top: 1px solid var(--ink); }
.about-values span { font-size: 11px; }
.about-values h3 { margin: 20px 0 10px; font-size: 22px; letter-spacing: -.04em; }
.about-values p { font-size: 12px; margin: 0; }
/* Membership: one pass + a clear ledger, not a grid of cards. */
.membership { padding: 48px 0 32px; width: 100%; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h1 { font-size: clamp(32px,3.5vw,52px); line-height: 1.28; margin: 24px 0 18px; }
.section-heading h1 .accent-type { color: var(--ink); }
.section-heading p { font-size: 13px; margin-bottom: 0; }
.membership-seal { position: relative; width: 125px; height: 125px; transform: rotate(10deg); flex-shrink: 0; margin-right: 20px; }
.membership-seal svg { width: 100%; fill: var(--orange); }
.membership-seal>span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 14px; font-weight: 600; }
.membership-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 7%; align-items: stretch; }
.member-pass { padding: 28px; background: var(--blue); color: var(--paper); position: relative; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.member-pass:after { content: ''; position: absolute; width: 210px; height: 320px; border: 36px solid #f4f2eb20; border-bottom: none; border-radius: 120px 120px 0 0; right: -72px; top: 65px; pointer-events: none; }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pass-top .brand { font-size: 22px; }
.pass-top .brand svg { width: 22px; }
.pass-top>span { font-size: 9px; letter-spacing: .1em; }
.pass-price { font-size: clamp(76px,9vw,124px); font-weight: 650; letter-spacing: -.085em; line-height: 1; margin: 42px 0 22px; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.pass-price>span { font-size: 34px; display: inline-block; margin-right: 10px; vertical-align: top; margin-top: 10px; letter-spacing: -.03em; }
.pass-price small { font-size: 12px; letter-spacing: 0; margin-left: 15px; font-weight: 400; }
.member-pass>p { color: var(--paper); font-size: 12px; }
.pass-line { border-top: 1px solid #f4f2eb66; margin-top: 26px; }
.pass-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.pass-bottom span { font-size: 9px; letter-spacing: .08em; }
.summary-row { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.summary-row:first-child { padding-top: 0; }
.summary-row>div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.summary-row strong { font-size: 15px; font-weight: 550; }
.summary-row span,.summary-row .text-link { font-size: 12px; text-align: left; }
.summary-row span { color: var(--muted); }
.summary-row b { font-size: 23px; font-weight: 550; letter-spacing: -.05em; }
.prize-row { display: flex; align-items: center; gap: 10px; font-size: 11px; margin-top: 20px; }
.prize-row>span { margin-left: auto; }
.join-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-block: 1px solid var(--line); padding: 24px 0; margin-top: 36px; }
.join-bar strong { font-size: 16px; font-weight: 550; }
.join-bar p { font-size: 12px; margin: 8px 0 0; }
/* Plus / Pro */
.plan { padding: 48px 0 32px; min-height: 620px; }
.plan-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; margin-top: 36px; }
.plan-badge { display: inline-block; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 12px; }
.plan-intro h1 { font-size: 46px; margin: 24px 0; line-height: 1.05; }
.plan-intro h1>.accent-type { font-size: clamp(88px,10vw,150px); letter-spacing: -.07em; }
.plan-star { display: inline-flex; margin-left: 24px; vertical-align: middle; }
.plan-star svg { width: 74px; height: 74px; stroke-width: 1.3; }
.plan-intro p { font-size: 14px; }
.official-price { display: flex; gap: 16px; align-items: baseline; margin: 24px 0; }
.official-price b { font-size: 40px; font-weight: 650; letter-spacing: -.06em; }
.official-price>span { font-size: 11px; color: var(--muted); }
.plan-features>div { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.feature-num { font-size: 12px; padding-top: 3px; color: var(--muted); }
.plan-features section { flex: 1; }
.plan-features h3 { font-size: 20px; margin: 0 0 12px; letter-spacing: -.03em; }
.plan-features p { font-size: 13px; margin: 0; }
.plan-features svg { margin-top: 3px; }
.source-note { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.source-note a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
body[data-page='story-6'] { background: var(--ink); --text: var(--paper); --muted: #c8c9c0; --line: #f4f2eb44; --accent: var(--orange); }
body[data-page='story-6'] .account:hover { background: var(--paper); color: var(--ink); }
/* Product surfaces: restrained grids, no ornamental shadows. */
.dashboard { padding: 48px var(--gutter) 64px; max-width: var(--page-max); margin: auto; min-height: calc(100svh - 174px); }
.dash-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.dash-heading h1 { font-size: 48px; margin: 20px 0 12px; overflow-wrap: anywhere; }
.dash-heading p { font-size: 13px; margin: 0; }
.dash-heading .button { font-size: 12px; min-height: 44px; }
.member-overview { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; margin-bottom: 36px; border-block: 1px solid var(--line); }
.identity-card { display: flex; flex-direction: column; padding: 28px; background: var(--blue); color: var(--paper); }
.identity-card h2 { font-size: 26px; margin: 24px 0 12px; }
.identity-card .mini-label { font-size: 9px; }
.identity-card code { font-size: 11px; }
.identity-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; margin-top: 24px; }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat>span { font-size: 12px; color: var(--muted); }
.stat b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.stat small { font-size: 13px; font-weight: 400; }
.stat p { font-size: 11px; margin: 0; }
.stat .text-link { text-align: left; font-size: 11px; }
.section-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 36px 0 20px; }
.section-bar h2 { font-size: 26px; margin: 0; }
.section-bar p { font-size: 12px; margin: 10px 0 0; }
.tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 12px 4px; font-size: 12px; min-height: 42px; color: var(--muted); }
.tabs button.selected { border-bottom: 3px solid var(--ink); color: var(--ink); }
.benefits-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
.benefit-card { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 24px 0; min-width: 0; }
.benefit-card>div { flex: 1; min-width: 0; }
.benefit-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); }
.benefit-card h3 { font-size: 14px; margin: 0 0 8px; }
.benefit-card p { font-size: 11px; margin: 0; }
.benefit-status { font-size: 11px; color: #315b28; white-space: nowrap; }
.coupon-amount { font-size: 28px; font-weight: 600; letter-spacing: -.06em; }
.benefit-card.used { color: #686a62; }
.benefit-card.used .benefit-icon,.benefit-card.used .coupon-amount,.benefit-card.used .benefit-status { color: #686a62; }
.empty { grid-column: 1/-1; padding: 64px 24px; border-block: 1px solid var(--line); text-align: center; color: var(--muted); }
.empty h3 { margin: 20px 0 12px; font-size: 18px; }
.empty p { font-size: 13px; margin: 0; }
.status-banner { padding: 24px; background: var(--surface); display: flex; align-items: center; gap: 20px; border-left: 4px solid var(--orange); }
.status-banner>div { flex: 1; }
.status-banner strong { font-size: 14px; font-weight: 550; }
.status-banner p { font-size: 12px; margin: 8px 0 0; }
.admin-stats { display: grid; grid-template-columns: repeat(5,1fr); border-block: 1px solid var(--line); margin-bottom: 32px; }
.admin-stats>div { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-right: 1px solid var(--line); }
.admin-stats>div:first-child { padding-left: 0; }
.admin-stats>div:last-child { border-right: 0; }
.admin-stats span { font-size: 12px; color: var(--muted); }
.admin-stats b { font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.admin-stats button { text-align: left; font-size: 11px; }
.admin-stats .accent-text { color: var(--blue); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.admin-section-bar { align-items: flex-end; }
.admin-section-bar .tabs { gap: 28px; }
.admin-section-bar .tabs button { font-size: 16px; }
.admin-section-bar .tabs span { font-size: 12px; margin-left: 8px; font-variant-numeric: tabular-nums; }
.admin-section-bar>p { margin: 0 0 12px; font-size: 12px; }
.missing-contact { color: var(--muted); font-size: 11px; }
.application-contact-note { font-size: 12px; padding: 12px 0; border-block: 1px solid var(--line); }
.review-contact { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.search-field { display: flex; gap: 10px; align-items: center; width: 360px; max-width: 70%; border: 1px solid #85877e; padding: 0 14px; }
.search-field input { border: 0; margin: 0; padding-inline: 0; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.admin-toolbar select { width: auto; min-width: 140px; margin: 0; font-size: 12px; }
.table-wrap { overflow: auto; border-block: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
th { background: var(--surface); padding: 16px 20px; font-size: 11px; font-weight: 550; }
td { padding: 20px; border-top: 1px solid var(--line); }
td>strong { display: block; font-size: 14px; font-weight: 550; margin-bottom: 8px; }
td>code { display: block; font-size: 10px; color: var(--muted); }
.row-selected { background: #e7e9f5; }
.status-pill { display: inline-block; padding: 5px 9px; font-size: 11px; background: var(--surface); }
.status-pill.pending { background: #ffd8c5; color: #6a2606; }
.status-pill.approved { background: #dde7d3; color: #315b28; }
.status-pill.rejected { background: #f2d8d5; color: #87251b; }
.table-actions { display: flex; align-items: center; gap: 14px; }
.table-actions button { font-size: 11px; min-height: 40px; }
.approve { padding: 8px 12px; background: var(--ink); color: var(--paper); }
.empty-cell { padding: 64px 20px; text-align: center; color: var(--muted); }
.redeem { display: flex; align-items: center; gap: 6px; min-height: 40px; border: 1px solid var(--ink); padding: 8px 10px; font-size: 11px; white-space: nowrap; }
.redeem:hover { background: var(--ink); color: var(--paper); }
.audit { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.audit summary { cursor: pointer; font-size: 14px; min-height: 40px; }
.audit summary span { color: var(--muted); font-size: 11px; margin-left: 12px; }
.audit .table-wrap { margin-top: 20px; }
/* Dialogs keep the functional paper palette on every chapter. */
dialog { --text: var(--ink); --muted: #666960; --line: #18191630; --accent: var(--orange); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 0; width: min(660px,calc(100% - 32px)); max-height: 86svh; }
dialog::backdrop { background: #181916a6; }
.modal-body { padding: 40px; }
.modal-body>.eyebrow { margin-bottom: 24px; font-size: 10px; }
.modal-body h2 { font-size: 30px; padding-right: 18px; margin-bottom: 16px; }
.modal-body>p { font-size: 13px; }
.modal-close { position: sticky; float: right; top: 12px; margin: 12px 12px -48px 0; width: 40px; height: 40px; display: grid; place-items: center; z-index: 3; background: var(--paper); border: 1px solid var(--line); }
.modal-intro { font-size: 13px; margin-bottom: 28px; }
.terms { padding-left: 20px; font-size: 13px; line-height: 1.8; margin: 28px 0; }
.terms>li { padding-left: 8px; margin: 24px 0; }
.terms strong { font-size: 15px; }
.terms p { margin: 8px 0; font-size: 13px; }
.formula { background: var(--surface); border-left: 3px solid var(--orange); padding: 16px; margin-top: 16px; line-height: 2; }
.terms-note { padding: 20px; border: 1px solid var(--line); font-size: 13px; }
.terms-note p { font-size: 12px; margin: 10px 0 0; }
.application-summary { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.application-summary>span { font-size: 11px; padding: 8px 10px; background: var(--surface); }
.application-terms { padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.application-terms summary { cursor: pointer; font-size: 13px; color: var(--blue); }
.application-terms>.eyebrow { margin-top: 28px; }
.application-terms h2 { font-size: 24px; margin-top: 16px; }
#toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%,12px); background: var(--ink); color: var(--paper); padding: 14px 22px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity 180ms,transform 180ms; max-width: 90vw; z-index: 50; }
#toast.show { opacity: 1; transform: translate(-50%,0); }
.loading { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 60vh; font-size: 28px; }
.loading>span { font-size: 13px; }
/* Responsive grid rules, not a scaled desktop canvas. */
@media(min-width:1440px) { .hero { min-height: 700px; } .auth-intro .flight-art { width: 64%; } }
@media(max-width:1100px) {
  header { gap: 16px; } nav { gap: 22px; }
  .auth-layout { gap: 6%; grid-template-columns: 1.15fr 1fr; }
  .auth-card { padding-left: 12%; } .auth-card h2 { font-size: 24px; }
  .auth-intro .flight-art { width: 72%; margin-top: -10px; }
  .hero { grid-template-columns: 1.2fr 1fr; }
  .hero h1 { font-size: 68px; } .hero-actions { gap: 20px; }
  .hero-actions .button { font-size: 12px; gap: 18px; padding-inline: 18px; }
  .hero-promises { gap: 15px; } .hero-promises>span,.hero-promises>button { font-size: 10px; }
  .promise-mark { width: 160px; right: 0; transform: scale(.8); transform-origin: right center; }
  .about-lead { grid-template-columns: 1fr 180px; } .about-symbol { width: 180px; height: 180px; }
  .membership-grid { gap: 5%; } .pass-top>span { font-size: 8px; }
  .member-overview { grid-template-columns: repeat(3,1fr); }
  .identity-card { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .identity-card h2 { grid-column: 1; grid-row: 2; margin: 14px 0 0; }
  .identity-card code { grid-column: 2; grid-row: 1; text-align: right; }
  .identity-bottom { grid-column: 2; grid-row: 2; justify-content: flex-end; margin: 0; }
  .plan-layout { gap: 8%; } .plan-features h3 { font-size: 18px; }
  .benefits-grid { column-gap: 24px; } .benefit-card { gap: 10px; }
}
@media(max-width:760px) {
  :root { --gutter: 24px; }
  header { min-height: 76px; height: auto; flex-wrap: wrap; gap: 6px 16px; padding-block: 14px; }
  .brand { font-size: 25px; } .brand>svg { width: 24px; } .brand-dot { font-size: 15px; }
  header nav { order: 3; width: 100%; gap: 28px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; }
  .nav-item { font-size: 12px; min-height: 42px; }
  .nav-note { display: none; } body[data-page='auth'] header nav { display: none; }
  .secure-note { font-size: 10px; gap: 6px; }
  .account { min-height: 40px; font-size: 11px; padding: 8px 10px; }
  .header-right { margin-left: auto; gap: 7px; }
  footer { flex-wrap: wrap; font-size: 10px; gap: 12px; padding-block: 20px; }
  footer>span:nth-child(2) { display: none; } footer>div { gap: 16px; } footer button { font-size: 10px; }
  .eyebrow { font-size: 10px; } .eyebrow:before { width: 6px; height: 6px; }
  .auth-layout { grid-template-columns: 1fr; padding: 32px var(--gutter) 44px; gap: 40px; }
  .auth-intro h1 { font-size: clamp(54px,12vw,76px); margin: 24px 0 18px; line-height: 1.1; }
  .auth-intro .intro-text { font-size: 12px; }
  .auth-intro .flight-art { width: min(76%,300px); margin: -14px -6px -5px auto; }
  .auth-values { gap: 20px; padding-top: 18px; margin-top: 18px; }
  .auth-values>span { font-size: 10px; gap: 6px; }
  .auth-card { border-left: 0; border-top: 1px solid var(--ink); padding: 28px 0 0; }
  .auth-tabs { margin: 18px 0 28px; } .auth-card h2 { font-size: 28px; }
  .auth-card>p { font-size: 13px; } input:not([type=checkbox]),select { font-size: 16px; }
  .story { min-height: calc(100svh - 190px); }
  .hero { grid-template-columns: 1fr; padding: 32px 0 20px; gap: 0; min-height: 0; }
  .hero h1 { font-size: clamp(48px,12vw,72px); margin: 24px 0; }
  .hero p { font-size: 13px; }
  .hero-actions { gap: 22px; margin-top: 24px; }
  .hero-actions .button { min-height: 48px; padding: 12px 16px; gap: 20px; }
  .hero-actions .text-button { font-size: 12px; gap: 12px; }
  .hero-promises { flex-wrap: wrap; gap: 18px; margin-top: 24px; }
  .hero-promises>span,.hero-promises>button { font-size: 10px; }
  .hero .flight-art { width: min(100%,410px); margin: 14px auto 8px; }
  .art-invitation { font-size: 10px; }
  .hero-caption { padding-top: 24px; font-size: 10px; gap: 12px; }
  .hero-caption>span:last-child { max-width: 16ch; text-align: right; }
  .journey { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding-block: 10px; }
  .journey-current { gap: 6px; } .journey-current>span { font-size: 23px; }
  .journey-current i { font-size: 10px; } .journey-current b { display: none; }
  .journey-dots { grid-row: 2; grid-column: 1/-1; justify-content: center; gap: 4px; } .journey-dots>button { width: 40px; height: 42px; }
  .journey-dots>button:after { width: 22px; left: 9px; }
  .journey-controls { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 8px; } .next { gap: 10px; font-size: 12px; }
  .next>svg { width: 16px; } .previous { min-width: 40px; font-size: 20px; }
  .promise { padding: 38px 0 32px; min-height: 640px; }
  .promise-kicker { font-size: 15px; margin: 26px 0 16px; }
  .promise-reveal { width: 100%; }
  .big-word { font-size: clamp(86px,24vw,138px); letter-spacing: -.08em; gap: 12px; padding: 10px 0; }
  .big-word>span { font-size: 24px; margin-top: 10px; }
  .promise-mark { position: relative; height: 120px; top: auto; width: 160px; margin: 0 0 6px auto; transform: scale(.5); transform-origin: 100% 50%; }
  .promise-source .promise-mark { margin-right: 12px; }
  .promise-shared .promise-mark { height: 140px; transform: scale(.62); }
  .solo-shape { height: 190px; top: -40px; } .solo-line { top: -15px; }
  .source-card { top: 0; } .source-cut { top: -60px; }
  .reveal-content { gap: 12px; grid-template-columns: 24px 1fr; }
  .reveal-content h3 { font-size: 15px; } .reveal-content p { font-size: 12px; }
  .promise-reveal:hover .reveal-content,.promise-reveal:focus-within .reveal-content,.promise-reveal.opened .reveal-content { max-height: 420px; padding-top: 20px; }
  .hover-hint { font-size: 10px; margin-top: 24px; } .promise-rule { gap: 20px; margin-top: 32px; font-size: 10px; }
  .promise-rule>span { width: auto; flex: 1; }
  .about { padding: 36px 0; min-height: 0; }
  .about-lead { grid-template-columns: 1fr; gap: 20px; margin: 32px 0 24px; position: relative; }
  .about h1 { font-size: 30px; } .about-word { font-size: clamp(66px,18vw,100px); line-height: 1.25; }
  .about-symbol { position: absolute; width: 72px; height: 72px; top: -10px; right: 0; }
  .about-symbol svg { width: 43px; height: 43px; }
  .about>p { margin-left: 0; font-size: 18px; max-width: 24ch; }
  .about-values { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .about-values>div { display: grid; grid-template-columns: 36px 1fr; gap: 8px 12px; padding-top: 18px; }
  .about-values h3 { font-size: 20px; margin: 0; } .about-values p { grid-column: 2; font-size: 12px; }
  .membership { padding: 36px 0 28px; }
  .section-heading { gap: 10px; margin-bottom: 28px; position: relative; }
  .section-heading h1 { font-size: clamp(26px,7.3vw,40px); letter-spacing: -.065em; margin-top: 26px; line-height: 1.35; }
  .section-heading p { font-size: 12px; } .membership-seal { display: none; }
  .membership-grid { grid-template-columns: 1fr; gap: 36px; }
  .member-pass { padding: 24px; } .pass-price { font-size: 100px; margin-top: 36px; }
  .pass-price>span { font-size: 28px; } .pass-price small { font-size: 11px; margin-left: 10px; }
  .pass-top .brand { font-size: 22px; } .pass-top>span { font-size: 8px; }
  .summary-row { gap: 16px; padding: 18px 0; } .summary-row strong { font-size: 14px; }
  .summary-row span,.summary-row .text-link { font-size: 11px; } .summary-row b { font-size: 21px; }
  .prize-row { gap: 8px; font-size: 10px; }
  .join-bar { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 28px; padding-block: 24px; }
  .join-bar strong { font-size: 15px; } .join-bar p { font-size: 11px; }
  .fine-print { font-size: 10px; }
  .plan { padding: 36px 0 28px; min-height: 0; }
  .plan-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 28px; }
  .plan-intro h1 { font-size: 42px; } .plan-intro h1>.accent-type { font-size: 108px; }
  .plan-star svg { width: 56px; height: 56px; } .plan-intro p { font-size: 13px; }
  .plan-features>div { gap: 18px; padding: 22px 0; } .plan-features h3 { font-size: 19px; }
  .plan-features p { font-size: 12px; } .source-note { flex-direction: column; gap: 14px; font-size: 10px; margin-top: 28px; }
  .dashboard { padding: 32px var(--gutter) 48px; }
  .dash-heading { gap: 18px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 28px; }
  .dash-heading>div { flex: 1 0 100%; }
  .dash-heading h1 { font-size: clamp(28px,7.7vw,34px); margin: 18px 0 12px; text-wrap: pretty; }
  .dash-heading p { font-size: 11px; } .dash-heading .eyebrow { font-size: 9px; letter-spacing: .02em; }
  .dash-heading .button { padding: 10px 12px; min-height: 42px; gap: 8px; font-size: 10px; white-space: nowrap; }
  .member-overview { margin-bottom: 28px; } .identity-card { padding: 24px; }
  .identity-card h2 { font-size: 23px; } .identity-card code { font-size: 9px; }
  .identity-card .mini-label { font-size: 8px; } .identity-bottom { font-size: 9px; gap: 8px; }
  .identity-bottom svg { width: 20px; } .stat { padding: 20px 10px; gap: 16px; }
  .stat>span { font-size: 10px; } .stat b { font-size: 23px; } .stat small { font-size: 10px; }
  .stat p,.stat .text-link { font-size: 9px; }
  .section-bar { gap: 12px; margin-top: 28px; } .section-bar h2 { font-size: 22px; }
  .tabs { gap: 12px; } .tabs button { font-size: 11px; padding-inline: 0; }
  .benefits-grid { grid-template-columns: 1fr; } .benefit-card { padding: 20px 0; gap: 10px; }
  .benefit-card h3 { font-size: 13px; } .benefit-card p { font-size: 10px; }
  .benefit-icon { width: 30px; } .benefit-icon svg { width: 22px; }
  .coupon-amount { font-size: 25px; } .benefit-status { font-size: 10px; }
  .status-banner { padding: 18px; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .status-banner strong { font-size: 13px; } .status-banner p { font-size: 11px; }
  .status-banner .button { margin-left: 32px; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-stats>div,.admin-stats>div:first-child { padding: 20px 0 20px 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .admin-stats>div:nth-child(odd) { padding-left: 0; }
  .admin-stats>div:nth-child(even) { border-right: 0; }
  .admin-stats>div:last-child { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center; border-bottom: 0; padding-right: 0; }
  .admin-stats b { font-size: 34px; } .admin-stats span { font-size: 11px; }
  .admin-toolbar { gap: 12px; } .search-field { max-width: 64%; padding-inline: 10px; gap: 8px; }
  .admin-section-bar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .admin-section-bar>p { margin: 0; font-size: 11px; }
  .search-field input::placeholder { font-size: 11px; }
  .admin-toolbar select { min-width: 104px; padding-inline: 8px; font-size: 11px; }
  th { padding: 14px 16px; } td { padding: 18px 16px; }
  .admin-benefits .section-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
  .admin-benefits .section-bar p { font-size: 11px; }
  .modal-body { padding: 32px 24px; } .modal-body h2 { font-size: 25px; }
  .modal-intro,.modal-body>p { font-size: 12px; }
  .terms { padding-left: 15px; } .terms p { font-size: 12px; } .terms strong { font-size: 14px; }
  .application-summary { gap: 8px; } .application-summary>span { font-size: 10px; }
}
@media(max-width:380px) {
  :root { --gutter: 20px; }
  .secure-note { font-size: 9px; } .brand { font-size: 23px; }
  .auth-values { gap: 16px; } .auth-values>span { font-size: 9px; }
  .journey-controls { gap: 4px; } .next { font-size: 11px; gap: 8px; }
  .pass-price { font-size: 90px; } .pass-top>span { font-size: 7px; }
  .hero-actions { gap: 18px; } .hero-actions .button { font-size: 11px; padding-inline: 14px; gap: 14px; }
  .hero-actions .text-button { font-size: 11px; gap: 9px; }
  .section-bar h2 { font-size: 20px; } .tabs { gap: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
