/* One product story, one reservation. Shared foundations live in preorder.css. */
.preorder-unified {
  --preorder-paper: oklch(.985 .003 155);
  --preorder-paper-deep: oklch(.96 .005 155);
  --preorder-ink: oklch(.22 .01 165);
  --preorder-muted: oklch(.48 .012 165);
  --preorder-line: oklch(.875 .007 165);
  --preorder-green-dark: oklch(.40 .085 165);
  --preorder-green-pale: oklch(.94 .025 165);
  --preorder-field-surface: oklch(.994 .002 165);
  --preorder-payment-surface: oklch(.998 .002 165);
  --preorder-field-border: oklch(.79 .01 165);
  --preorder-field-border-hover: oklch(.61 .02 165);
  --preorder-field-focus: oklch(.43 .075 165);
  --preorder-field-focus-ring: oklch(.43 .075 165 / .14);
  /* Pure black is intentional: the hero and the photograph share one ground. */
  --preorder-night: oklch(0 0 0);
  --reserve-hero-ink: oklch(.97 .004 165);
  --reserve-hero-muted: oklch(.74 .008 165);
  --reserve-accent: var(--button-primary-bg);
  --reserve-hero-copy-width: min(440px, 32vw);
  --reserve-gutter: var(--page-gutter);
  --reserve-section-space: clamp(64px, 7vw, 104px);
  --reserve-nav-height: 56px;
  background: var(--preorder-paper);
}
.preorder-unified[data-lang="en"] {
  --font-display: var(--font-latin-display);
  --reserve-hero-copy-width: min(520px, 38vw);
  font-family: var(--font-ui);
}
.preorder-unified .preorder-nav { background: var(--preorder-paper); transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.preorder-unified .preorder-nav[data-reserve-theme="dark"] { background: var(--preorder-night); border-bottom-color: transparent; color: var(--reserve-hero-ink); }
.preorder-unified [data-reserve-theme="dark"] .nav__brand-logo { filter: invert(1) !important; }
.preorder-unified [data-reserve-theme="dark"] .nav__link { color: var(--reserve-hero-ink); }
.preorder-unified [data-reserve-theme="dark"] .nav__lang { background: oklch(.97 .004 165 / .08); }
.preorder-unified [data-reserve-theme="dark"] .nav__lang:hover { background: oklch(.97 .004 165 / .14); }
.preorder-unified [data-reserve-theme="dark"] .nav__lang :is([data-lang-zh], [data-lang-en], .nav__lang-sep) { color: var(--reserve-hero-muted); }
[data-lang="zh"] .preorder-unified [data-reserve-theme="dark"] .nav__lang [data-lang-zh],
[data-lang="en"] .preorder-unified [data-reserve-theme="dark"] .nav__lang [data-lang-en] { color: var(--reserve-hero-ink); }
.preorder-unified [data-reserve-theme="dark"] :is(a, button):focus-visible { outline-color: var(--reserve-accent); }
.preorder-unified main { padding-top: 0; }
.preorder-unified :is(button, a, summary):focus-visible { outline: 2px solid var(--preorder-green-dark); outline-offset: 4px; }
.preorder-unified :is(h1, h2, h3)[tabindex="-1"]:focus { outline: none; }

/* The image bleeds to the edge; the whole boot stays inside the composition. */
.reserve-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--reserve-hero-ink);
  background: var(--preorder-night);
}
.reserve-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, var(--reserve-hero-copy-width));
  grid-template-areas: "heading" "purchase";
  align-content: center;
  max-width: var(--page-content-max);
  min-height: max(740px, 100svh);
  margin-inline: auto;
  padding: calc(var(--reserve-nav-height) + var(--space-8)) var(--reserve-gutter) var(--space-9);
}
.reserve-hero__heading { grid-area: heading; position: relative; z-index: 1; }
.reserve-hero .preorder-kicker { color: var(--reserve-accent); font-size: .75rem; letter-spacing: .12em; font-weight: 500; line-height: 1.6; }
.reserve-hero .preorder-kicker i { display: none; }
.reserve-hero h1 { margin-top: var(--space-5); font: 400 clamp(3rem, 5.5vw, 5.5rem)/1.12 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.reserve-hero__lead { margin-top: var(--space-5); max-width: 29ch; color: var(--reserve-hero-muted); font-size: 1.125rem; line-height: 1.8; text-wrap: pretty; }
.reserve-hero__image { position: absolute; z-index: 0; right: -2%; top: 50%; width: min(78%, 1760px); max-width: none; transform: translateY(-45%); pointer-events: none; }
.reserve-hero__image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.reserve-hero__purchase { grid-area: purchase; position: relative; z-index: 1; margin-top: var(--space-8); max-width: 340px; }
.reserve-hero__offer { max-width: 300px; border-top: 1px solid oklch(.97 .004 165 / .20); padding-top: var(--space-5); }
.reserve-hero__prices { margin: 0; }
.reserve-hero__prices > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.reserve-hero__prices dt { flex: 1 1 8rem; font-size: .875rem; line-height: 1.7; color: var(--reserve-hero-muted); text-wrap: balance; }
.reserve-hero__prices dd { margin: 0; font-family: var(--font-ui); }
.reserve-hero__prices strong { font-size: 2.5rem; line-height: 1.2; font-weight: 400; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-currency { display: inline-block; margin-right: .25em; font-size: 0.875rem; font-weight: 500; letter-spacing: .025em; vertical-align: baseline; }
.reserve-hero__note { margin-top: var(--space-3); color: var(--reserve-hero-muted); font-size: .875rem; line-height: 1.8; text-wrap: pretty; }
.reserve-hero__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-6); margin-top: var(--space-6); }
.reserve-hero__actions .preorder-button { min-width: 0; }
.reserve-product-link { flex: 0 0 auto; white-space: nowrap; }
.preorder-unified .reserve-hero a:focus-visible { outline-color: var(--reserve-accent); }

/* One featured benefit, three supporting benefits; no repeated card grid. */
.reserve-perks { max-width: var(--page-content-max); margin-inline: auto; padding: var(--reserve-section-space) var(--reserve-gutter); }
.reserve-perks__heading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: baseline; column-gap: var(--space-8); margin-bottom: var(--space-7); }
.reserve-perks h2,
.reservation-heading h2,
.reserve-faq h2 { font: 400 clamp(2rem, 3.4vw, 3.25rem)/1.25 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.reserve-faq__subtitle { display: block; }
.reserve-perks__heading > p { max-width: none; color: var(--preorder-muted); font-size: 1rem; line-height: 1.8; }
.reserve-perks__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-8); margin: 0; padding: 0; list-style: none; }
.reserve-perk { display: flex; align-items: flex-start; gap: var(--space-5); padding-block: var(--space-5); border-bottom: 1px solid var(--preorder-line); }
.reserve-perk:nth-child(2) { padding-top: var(--space-2); }
.reserve-perk:last-child { padding-bottom: var(--space-2); border: 0; }
.reserve-perk > svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: var(--space-1); fill: none; stroke: var(--preorder-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.reserve-perk h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
.reserve-perk p { margin-top: var(--space-2); max-width: 40ch; color: var(--preorder-muted); font-size: 1rem; line-height: 1.8; text-wrap: pretty; }
.reserve-perk--discount { grid-row: span 3; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: var(--space-7); border: 0; border-radius: var(--radius-sm); background: oklch(.94 .005 240); color: var(--preorder-ink); }
.reserve-perk__label { color: var(--preorder-muted); font-size: .875rem; font-weight: 500; letter-spacing: .04em; }
.reserve-perk--discount h3 { margin-top: var(--space-5); font: 400 clamp(2rem, 3.2vw, 3rem)/1.28 var(--font-display); letter-spacing: -.035em; white-space: pre-line; }
.reserve-perk--discount p { margin-top: var(--space-5); max-width: none; color: var(--preorder-muted); }

/* CJK ch units are close to full glyphs; Latin ch units are much narrower.
   Give English copy an equivalent reading measure instead of forcing early wraps. */
.preorder-unified[data-lang="en"] .reserve-hero__lead { max-width: 38ch; }
.preorder-unified[data-lang="en"] .reserve-perk p { max-width: 56ch; }
.preorder-unified[data-lang="en"] .reserve-perk--discount p { max-width: 48ch; }

/* Product identity and the included subscription share a calm, open composition. */
.reserve-pro { max-width: var(--page-content-max); margin-inline: auto; color: var(--preorder-ink); scroll-margin-top: var(--reserve-nav-height); }
.reserve-pro::before,
.reserve-pro__inner::after { content: ""; display: block; border-top: 1px solid var(--preorder-line); }
.reserve-pro::before { margin-inline: var(--reserve-gutter); }
.reserve-pro__inner { padding: var(--reserve-section-space) var(--reserve-gutter) 0; }
.reserve-pro__inner::after { margin-top: var(--reserve-section-space); }
.reserve-pro__intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: var(--space-7) var(--space-8); }
.reserve-pro__identity { min-width: 0; }
.reserve-pro__wordmark { font: 400 clamp(4rem, 9.2vw, 8.5rem)/.98 var(--font-latin-display); letter-spacing: -.055em; text-wrap: balance; }
.reserve-pro__wordmark > span { font-weight: 500; }
.reserve-pro__tagline { margin-top: var(--space-5); color: var(--preorder-muted); font: 400 clamp(1.125rem, 1.5vw, 1.375rem)/1.5 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.reserve-pro__subscription { display: grid; grid-template-columns: minmax(0, 1fr); justify-self: end; gap: var(--space-4); max-width: 100%; }
.reserve-pro__included { color: var(--preorder-muted); font-family: var(--preorder-font-label); font-size: .875rem; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.reserve-pro__term { font: 400 clamp(2.25rem, 3.5vw, 3.25rem)/1.2 var(--font-display); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.reserve-pro__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); margin: clamp(3rem, 5vw, 4.5rem) 0 0; padding: 0; list-style: none; }
.reserve-pro__benefit { padding-top: var(--space-6); border-top: 1px solid var(--preorder-line); }
.reserve-pro__benefit h3 { font-size: 1.375rem; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
.reserve-pro__benefit p { max-width: 28em; margin-top: var(--space-3); color: var(--preorder-muted); font-size: 1rem; line-height: 1.8; text-wrap: pretty; }

/* A quiet order summary alongside a clear, comfortable form. */
.reservation-section { max-width: var(--page-content-max); margin: auto; padding: var(--reserve-section-space) var(--reserve-gutter); }
.reservation-heading { margin-bottom: var(--space-7); }
.reservation-heading h2 { scroll-margin-top: calc(var(--reserve-nav-height) + 24px); }
.reservation-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.reservation-summary { padding: var(--space-6); position: static; background: var(--preorder-paper-deep); border: 1px solid var(--preorder-line); border-radius: var(--radius-sm); }
.summary-product { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); padding-bottom: var(--space-5); }
.summary-product > div { flex: 1 1 8rem; min-width: 0; }
.summary-edition { display: block; color: var(--preorder-muted); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); text-wrap: balance; }
.summary-product h3 { margin-top: var(--space-2); font: 500 2.25rem/1.1 var(--font-ui); letter-spacing: -.055em; }
.summary-product p { margin-top: var(--space-2); color: var(--preorder-muted); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.summary-product .summary-product__bonus { flex-basis: 100%; margin: 0; color: var(--preorder-ink); font-weight: 500; }
.summary-product img { width: 34%; max-width: 128px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: var(--radius-sm); }
.summary-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); color: var(--preorder-ink); }
.summary-price > span { font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); font-weight: 500; line-height: var(--preorder-leading-label); }
.summary-price strong { font: 500 2.75rem/1.2 var(--font-ui); letter-spacing: -.045em; white-space: nowrap; }
.checkout-breakdown { margin: 0; padding-block: var(--space-4); border-block: 1px solid var(--preorder-line); }
.checkout-breakdown > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-2) var(--space-4); padding-block: var(--space-2); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.checkout-breakdown dt { color: var(--preorder-muted); }
.checkout-breakdown dd { margin: 0 0 0 auto; white-space: nowrap; font-weight: 500; font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.checkout-breakdown s { color: var(--preorder-muted); font-weight: 400; }
.checkout-breakdown .summary-quantity { align-items: center; padding-top: 0; padding-bottom: var(--space-4); }
.summary-quantity dt { color: var(--preorder-ink); font-weight: 500; }
.summary-quantity dd { display: flex; align-items: baseline; gap: var(--space-2); }
.summary-quantity strong { color: var(--preorder-ink); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.summary-quantity dd > span { color: var(--preorder-muted); font-size: var(--preorder-type-label); font-weight: 400; }
.summary-discount dt,
.summary-discount dd { color: var(--preorder-ink); font-weight: 600; }
.summary-discount dd { font-size: 1.125rem; }
.summary-email { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); margin: var(--space-4) 0 0; padding-bottom: var(--space-4); border-bottom: 1px solid var(--preorder-line); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.summary-email dt { color: var(--preorder-muted); }
.summary-email dd { min-width: 0; margin: 0; font-family: var(--font-ui); color: var(--preorder-ink); overflow-wrap: anywhere; }
.checkout-fineprint { margin-top: var(--space-4); color: var(--preorder-muted); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.summary-followup { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); color: var(--preorder-muted); }
.summary-followup svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: var(--space-1); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.reservation-form-column { min-width: 0; padding: 0; }
.checkout-layout .preorder-flow-wrap { min-height: 0; padding: 0; scroll-margin-top: calc(var(--reserve-nav-height) + 24px); }
.checkout-layout .preorder-flow { background: transparent; width: 100%; max-width: none; }
.checkout-layout .preorder-flow__head { margin-bottom: var(--space-4); }
.checkout-layout .preorder-flow__head h2 { margin: var(--space-5) 0 0; font: 500 var(--preorder-type-heading)/var(--preorder-leading-heading) var(--font-display); letter-spacing: -.025em; }
.checkout-layout .preorder-progress { margin-top: 0; gap: var(--space-4); }
.checkout-layout .preorder-progress li { min-width: 0; flex-wrap: wrap; gap: var(--space-2); padding-top: var(--space-3); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.checkout-layout .preorder-progress li > span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--preorder-paper-deep); font: 500 0.75rem/1 var(--font-ui); }
.checkout-layout .preorder-progress li.is-current > span { background: var(--preorder-ink); color: var(--preorder-paper); }
.checkout-layout .preorder-progress li.is-complete > span { background: var(--preorder-green-pale); color: var(--preorder-green-dark); }
.checkout-layout .preorder-progress li::before { background: var(--preorder-ink); }
.checkout-layout .preorder-progress li.is-complete::before { background: var(--preorder-line); }
.checkout-layout .preorder-progress b { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.checkout-layout .preorder-stage { padding: 0; border: 0; }
.checkout-layout .preorder-stage__title { display: block; }
.checkout-layout .preorder-stage__num { display: none; }
.checkout-layout .preorder-stage__title p { color: var(--preorder-muted); font-family: var(--font-body); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.checkout-layout [data-code-stage] .preorder-stage__title > .verification-delivery { align-items: center; }
.checkout-layout [data-code-stage] .verification-delivery p { line-height: 1.55; }
.checkout-layout .preorder-form { margin: var(--space-6) 0 0; }
.checkout-layout .preorder-field + .preorder-field { margin-top: var(--space-5); }
.checkout-layout .preorder-field label { margin-bottom: var(--space-2); }
.checkout-layout .preorder-field input,
.checkout-layout .preorder-field select { height: 56px; border-radius: var(--radius-sm); }
.checkout-layout .preorder-consent { min-height: 56px; align-items: start; margin: var(--space-5) 0 0; padding: var(--space-4); border: 1px solid var(--preorder-line); border-radius: var(--radius-sm); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.checkout-layout .preorder-consent input { margin-top: 3px; border-color: var(--preorder-muted); }
.checkout-layout .preorder-consent:has(input:checked) { border-color: var(--preorder-green-dark); background: oklch(.97 .01 165); }
.checkout-review-order { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-3) var(--space-5); }
.checkout-quantity { flex: 1 1 96px; }
.checkout-quantity__label { display: block; margin-bottom: var(--space-2); font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.checkout-quantity__fixed { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); min-height: 48px; }
.checkout-quantity__fixed strong { color: var(--preorder-ink); font: 500 2rem/1.2 var(--font-ui); font-variant-numeric: tabular-nums; }
.checkout-quantity__fixed span { max-width: 15rem; color: var(--preorder-muted); font-family: var(--font-body); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); text-wrap: pretty; }
.checkout-due { display: grid; flex: 1 1 9rem; min-width: 0; justify-items: end; align-content: start; gap: var(--space-2); text-align: right; }
.checkout-due > span { font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.checkout-due strong { font: 500 2rem/1.2 var(--font-ui); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.checkout-due-note { flex: 1 1 100%; margin: 0; color: var(--preorder-muted); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); text-align: right; text-wrap: pretty; }
.checkout-mobile-pricing { display: none; }
.checkout-layout .preorder-form > .preorder-button,
.checkout-layout .preorder-stage--payment > .preorder-button { display: flex; margin: var(--space-6) auto 0; width: min(100%, 320px); }
.checkout-layout .preorder-payment-note { margin: var(--space-3) 0 0; font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.checkout-layout .preorder-stage--payment > .preorder-payment-note { justify-content: center; align-items: flex-start; margin-top: var(--space-4); text-align: center; }
.checkout-layout .preorder-stage--payment > .preorder-payment-note svg { margin-top: var(--space-1); }
.checkout-layout .preorder-payment-note svg { flex: 0 0 16px; }
.checkout-layout .preorder-stage--verified { margin-block: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--preorder-line); background: none; }
.checkout-layout .preorder-stage--verified .preorder-stage__title { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: var(--space-3); }
.checkout-layout .preorder-verified-mark { width: 32px; height: 32px; }
.checkout-verified-details { min-width: 0; padding-top: var(--space-1); }
.checkout-verified-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-3); }
.checkout-verified-meta .text-button { margin-inline-start: auto; }
.checkout-layout .checkout-verified-details h3 { min-width: 0; overflow-wrap: anywhere; font-family: var(--font-ui); font-size: var(--preorder-type-body); line-height: var(--preorder-leading-label); }
.checkout-layout .checkout-verified-details p { margin: 0; font-family: var(--preorder-font-label); line-height: var(--preorder-leading-label); }
.checkout-layout .preorder-verified-label { font-size: var(--preorder-type-label) !important; font-weight: 500; letter-spacing: 0; text-transform: none; }
.checkout-layout [data-pending-email] { display: block; margin-top: var(--space-1); color: var(--preorder-ink); font-family: var(--font-ui); overflow-wrap: anywhere; font-weight: 500; }
.checkout-layout .preorder-alert { margin-block: var(--space-5); padding: var(--space-4); border-radius: var(--radius-sm); }
.checkout-layout .preorder-alert:has(> .text-button) { flex-wrap: wrap; align-items: flex-start; }
.checkout-layout .preorder-alert:has(> .text-button) > span:not(.preorder-alert__mark) { flex: 1 1 14rem; min-width: 0; }
.checkout-layout .preorder-alert--notice { background: var(--preorder-paper-deep); color: var(--preorder-muted); border-color: var(--preorder-line); }
.checkout-layout .preorder-alert > span > strong,
.checkout-layout .preorder-alert > span > small { display: block; font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.checkout-layout .preorder-form__aside { flex-direction: row; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); }
.checkout-layout .verification-code__actions { align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); padding-top: 0; border-top: 0; }
.checkout-layout [data-resend] { width: auto; flex: 0 1 auto; flex-wrap: wrap; column-gap: .25em; }
.checkout-layout .verification-code__actions [data-change-email] { margin-inline-start: auto; }
/* A closed checkout is a status message, so its inactive steps do not compete. */
.preorder-flow:has([data-preorder-closed]:not([hidden])) .preorder-flow__head { display: none; }
.preorder-flow:has([data-preorder-closed]:not([hidden])) [data-preorder-closed] { margin-top: 0; padding: var(--space-6); }
.preorder-flow:has([data-preorder-closed]:not([hidden])) [data-preorder-closed] strong { margin-bottom: var(--space-2); color: var(--preorder-ink); font: 400 1.5rem/1.4 var(--font-display); }

/* Reading-sized FAQ rows, aligned to the same page gutters. */
.reserve-faq { background: var(--preorder-paper-deep); }
.reserve-faq__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); max-width: var(--page-content-max); margin-inline: auto; padding: var(--reserve-section-space) var(--reserve-gutter); }
.reserve-question { border-bottom: 1px solid var(--preorder-line); }
.reserve-question:first-child { border-top: 1px solid var(--preorder-line); }
.reserve-question summary { cursor: pointer; padding: var(--space-5) var(--space-6) var(--space-5) 0; list-style: none; position: relative; font-size: 1rem; line-height: 1.7; }
.reserve-question summary::-webkit-details-marker { display: none; }
.reserve-question summary::before,
.reserve-question summary::after { content: ''; position: absolute; right: 2px; top: calc(50% - .5px); width: 14px; height: 1px; background: currentColor; }
.reserve-question summary::after { transform: rotate(90deg); transition: transform var(--dur-fast) var(--ease); }
.reserve-question[open] summary::after { transform: rotate(0); }
.reserve-question summary:hover { color: var(--preorder-ink); }
.reserve-question p { padding: 0 var(--space-6) var(--space-5) 0; max-width: 65ch; color: var(--preorder-muted); font-size: 1rem; line-height: 1.8; }
.reserve-faq .checkout-fineprint { display: flex; align-items: center; justify-content: flex-start; gap: var(--space-2) var(--space-5); flex-wrap: wrap; }
.reserve-faq .checkout-fineprint a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

/* Sandbox notices and payment states use the same type and spacing as the form. */
.sandbox-notice { padding: var(--space-4); margin-bottom: var(--space-5); background: var(--preorder-paper-deep); border: 1px solid var(--preorder-line); color: var(--preorder-muted); font-size: 0.875rem; line-height: 1.8; border-radius: var(--radius-sm); }
.sandbox-notice strong { color: var(--preorder-ink); }
.sandbox-notice strong,
.sandbox-notice span { display: block; margin-bottom: var(--space-1); }
.inline-result h2 { margin-top: var(--space-5); font: 400 2rem/1.3 var(--font-display); letter-spacing: -.025em; }
.embedded-payment { max-width: 520px; }
.embedded-payment > p { color: var(--preorder-muted); font-size: .875rem; line-height: 1.8; }
.embedded-payment .text-button { margin-block: var(--space-2) var(--space-4); }
.embedded-payment__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.embedded-payment__actions:has(button:not([hidden])) { margin-top: var(--space-3); }
.embedded-payment__actions .text-button { margin: 0; }
.payment-cancel { margin-block: var(--space-4); padding-block: var(--space-4); border-block: 1px solid var(--preorder-line); }
.payment-cancel h3 { font-family: var(--preorder-font-label); font-size: var(--preorder-type-section); font-weight: var(--weight-semibold); line-height: var(--preorder-leading-label); }
.payment-cancel > p { margin-block: 12px 20px; color: var(--preorder-muted); font-family: var(--font-body); font-size: var(--preorder-type-body); line-height: var(--preorder-leading-copy); }
.payment-cancel .preorder-button { width: 100%; }
.payment-cancel .text-button { margin-bottom: 0; }
/* The summary owns order details; the Element only collects payment details. */
.checkout-layout .preorder-flow:has(.embedded-payment:not([hidden]) #stripe-checkout:not([hidden])) [data-payment-hint] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.checkout-layout .preorder-flow:has(.embedded-payment:not([hidden])) .preorder-flow__head { margin-bottom: var(--space-5); }
#stripe-checkout { min-width: 0; }
.payment-form { padding: var(--space-5); background: var(--preorder-payment-surface); border: 1px solid var(--preorder-line); border-radius: var(--space-5); box-shadow: 0 2px 6px oklch(.22 .01 165 / .025); }
.payment-form__method { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-2); color: var(--preorder-ink); font: 400 .875rem/1.5 system-ui, sans-serif; }
.payment-form__method svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: currentColor; }
.payment-form__loading { padding-block: var(--space-5); color: var(--preorder-muted); font-family: var(--font-body); font-size: var(--preorder-type-copy); line-height: var(--preorder-leading-copy); }
.payment-form > .preorder-button { width: 100%; margin-top: var(--space-6); }
.payment-form > .preorder-alert { margin-top: var(--space-4); }
.payment-provider { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: var(--space-3); margin-top: var(--space-3); color: var(--preorder-muted); font: .75rem/1.5 system-ui, sans-serif; }
.payment-provider a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: inherit; }
.payment-provider a:hover { color: var(--preorder-ink); }
.payment-provider__brand { gap: var(--space-1); white-space: nowrap; }
.payment-provider__brand img { display: block; width: 33px; height: 15px; }
.payment-provider__divider { height: 14px; width: 1px; background: var(--preorder-line); }
@media (max-width: 480px) {
  .payment-form { padding: var(--space-5) var(--space-4); border-radius: var(--space-5); }
}
@media (min-width: 821px) {
  .reservation-grid:has(#preorder-flow:not([hidden]) .embedded-payment:not([hidden])) .reservation-summary {
    position: sticky;
    top: calc(var(--reserve-nav-height) + var(--space-5));
  }
}
.inline-result.preorder-result__content { min-height: 0; padding: 0; }
.inline-result .preorder-result__lead { max-width: none; font-size: var(--preorder-type-body); line-height: var(--preorder-leading-copy); }
.inline-result .preorder-receipt div { flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.inline-result .preorder-receipt dt,
.inline-result .preorder-receipt dd { font-family: var(--preorder-font-label); font-size: var(--preorder-type-label); line-height: var(--preorder-leading-label); }
.inline-result .preorder-receipt dd { overflow-wrap: anywhere; }
.inline-result[data-result-state] { border-top: 2px solid var(--preorder-line); padding-top: var(--space-6); }
.inline-result[data-result-state="paid"] { border-color: var(--preorder-green-dark); }
.inline-result[data-result-state="failed"] { border-color: var(--preorder-red); }
html:has(.legal-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.legal-dialog { position: fixed; inset: 0; margin: auto; width: min(48rem, calc(100% - 64px)); max-width: none; height: min(54rem, calc(100dvh - 64px)); max-height: none; padding: 0; overflow: hidden; border: 1px solid var(--preorder-line); border-radius: 16px; color: var(--preorder-ink); background: var(--preorder-paper); }
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog::backdrop { background: oklch(.16 .006 165 / .64); }
.legal-dialog__head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: var(--space-3) 24px; border-bottom: 1px solid var(--preorder-line); }
.legal-dialog__heading { min-width: 0; align-self: center; }
.legal-dialog__head h2 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.legal-dialog__meta { margin-top: 4px; color: var(--preorder-muted); font-family: var(--preorder-font-label); font-size: var(--preorder-type-caption); line-height: 1.5; }
.legal-dialog__head [data-legal-close] { flex: none; }
.legal-dialog__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-3) 24px 32px; scroll-padding-block: 24px; }
.legal-dialog__scroll:focus-visible { outline-offset: -4px; }
.legal-dialog__body,
.legal-dialog__contents,
.legal-dialog__actions { width: 100%; }
.legal-dialog__body { font-family: var(--font-body); font-size: var(--preorder-type-body); line-height: var(--preorder-leading-reading); overflow-wrap: anywhere; }
.legal-dialog__contents { margin-bottom: 28px; border-bottom: 1px solid var(--preorder-line); }
.legal-dialog__contents summary { min-height: 48px; padding-block: 12px; font-size: var(--preorder-type-label); font-weight: 600; line-height: 1.5; cursor: pointer; }
.legal-dialog__contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding-block: 4px 20px; list-style: none; }
.legal-dialog__contents a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; font-size: var(--preorder-type-label); line-height: 1.5; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-dialog__contents a:hover { text-decoration-color: currentColor; }
.legal-dialog__actions { margin-top: 24px; }
.legal-dialog__body header:empty { display: none; }
.legal-dialog__body header { margin-bottom: 24px; }
.legal-dialog__body :is(h2, h3, h4) { margin-block: 36px 16px; font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; line-height: 1.5; text-wrap: pretty; }
.legal-dialog__body h2 { font-size: 1.25rem; }
.legal-dialog__body h4 { margin-block: 28px 10px; font-size: var(--preorder-type-body); }
.legal-dialog__body section + section { margin-top: 36px; }
.legal-dialog__body :is(header, article, section) > :first-child { margin-top: 0; }
.legal-dialog__body p { margin-block: 0 20px; text-wrap: pretty; }
.legal-dialog__body p:last-child { margin-bottom: 0; }
.legal-dialog__body ul { list-style: disc; }
.legal-dialog__body ol { list-style: decimal; }
.legal-dialog__body :is(ul, ol) { padding-inline-start: 24px; margin-block: 16px 24px; }
.legal-dialog__body li + li { margin-top: 8px; }
.legal-dialog__body .legal-reader-list { margin-block: 8px 24px; }
.legal-dialog__body .legal-reader-list li { padding-inline-start: 4px; }
.legal-dialog__body .legal-reader-address { margin-block: 0 20px; font-style: normal; line-height: 1.65; text-wrap: pretty; }
.legal-dialog__body .legal-reader-address__company { display: block; margin-bottom: 2px; font-weight: 600; }
.legal-dialog__body .legal-reader-address__line:not(:last-child)::after { content: ","; }
.legal-dialog__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-dialog__body .legal-notice,
.legal-dialog__body .legal-formula { padding: 16px; border: 1px solid var(--preorder-line); border-radius: var(--radius-sm); background: oklch(.965 .004 165); }
.legal-dialog__body .legal-formula { padding-inline-start: 16px; list-style: none; font-variant-numeric: tabular-nums; }
@media (max-height: 600px) and (min-width: 601px) {
  .legal-dialog { height: calc(100dvh - 24px); }
  .legal-dialog__scroll { padding: var(--space-2) 24px 24px; }
}
@media (max-width: 600px) {
  html:has(.legal-dialog[open]) { scrollbar-gutter: auto; }
  .legal-dialog { width: calc(100% - 24px); height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom))); }
  .legal-dialog__head { padding-inline: 16px; }
  .legal-dialog__scroll { padding: var(--space-2) 16px 24px; }
  .legal-dialog__contents ol { grid-template-columns: 1fr; }
}

.reserve-perks__heading > p,
.reserve-perk p,
.checkout-fineprint,
.summary-followup,
.checkout-due-note,
.checkout-mobile-pricing p,
.reserve-question p,
.sandbox-notice,
.embedded-payment > p,
.legal-dialog__body :is(p, li) {
  font-family: var(--font-body);
}

/* A broad product entrance, then staggered reveals and decisive step changes. */
@keyframes reserve-enter {
  from { opacity: 0; transform: translate3d(0, 36px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes reserve-image-enter {
  from { opacity: 0; transform: translate3d(52px, 24px, 0) scale(1.1); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .reserve-hero__heading > * { animation: reserve-enter 800ms var(--ease) both; }
  .reserve-hero h1 { animation-delay: 90ms; }
  .reserve-hero__lead { animation-delay: 180ms; }
  .reserve-hero__purchase { animation: reserve-enter 700ms 260ms var(--ease) both; }
  .reserve-hero__image img { animation: reserve-image-enter 1100ms 100ms var(--ease) both; }
  .reserve-reveal {
    transition: opacity 680ms var(--ease), transform 680ms var(--ease);
    transition-delay: var(--reserve-reveal-delay, 0ms);
  }
  .reserve-reveal-pending { opacity: 0; transform: translate3d(0, 32px, 0); }
  .reserve-reveal-pending:focus-within { opacity: 1; transform: none; }
  .checkout-layout :is([data-entry-stage], [data-code-stage], [data-verified-stage], [data-payment-stage], [data-existing-reservation]):not([hidden]),
  .reserve-question[open] > p {
    animation: preorder-state-enter var(--preorder-motion-state) var(--ease);
  }
  /* Keep the payment iframe and result focus targets stationary. */
  .checkout-layout :is([data-embedded-payment], [data-inline-result]):not([hidden]) {
    animation: preorder-fade-in var(--preorder-motion-state) var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preorder-unified .reserve-reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .preorder-unified .reserve-reveal { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
  .reserve-hero__inner { grid-template-columns: minmax(0, 38%); }
  .preorder-unified[data-lang="en"] .reserve-hero__inner { grid-template-columns: minmax(0, 44%); }
  .reserve-hero h1 { font-size: clamp(2.75rem, 5.5vw, 3.75rem); }
  .reserve-hero__lead { font-size: 1rem; }
  .reserve-hero__image { width: 72%; right: -2%; }
  .reserve-hero__purchase { margin-top: var(--space-7); max-width: min(340px, 100%); }
  .reserve-perks__heading,
  .reserve-perks__list,
  .reserve-pro__intro,
  .reserve-pro__benefits { column-gap: var(--space-6); }
  .reserve-perk--discount { padding: var(--space-6); }
  .reservation-summary { padding: var(--space-5); }
}
@media (max-width: 820px) {
  .preorder-unified .nav__links { gap: var(--space-3); }
  .reserve-hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "image" "purchase"; min-height: 100svh; padding-top: calc(var(--reserve-nav-height) + var(--space-7)); padding-bottom: var(--space-7); }
  .preorder-unified[data-lang="en"] .reserve-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .reserve-hero h1 { margin-top: var(--space-4); font-size: clamp(2.5rem, 11.8vw, 4.5rem); }
  .reserve-hero__lead { margin-top: var(--space-4); max-width: none; font-size: 1rem; }
  .reserve-hero__image { grid-area: image; position: relative; inset: auto; transform: none; width: calc(100% + var(--reserve-gutter) * 2); max-width: 860px; margin: 0 calc(var(--reserve-gutter) * -1); justify-self: center; }
  .reserve-hero__purchase { margin-top: var(--space-3); max-width: none; }
  .reserve-hero__prices strong { font-size: 2.25rem; }
  .reserve-hero__note { margin-top: var(--space-3); }
  .reserve-hero__actions { gap: var(--space-5); margin-top: var(--space-5); }
  .reserve-perks__heading { display: block; margin-bottom: var(--space-6); }
  .reserve-perks__heading > p { margin-top: var(--space-4); }
  .reserve-perks__list { grid-template-columns: minmax(0, 1fr); }
  .reserve-perk--discount { grid-row: auto; margin-bottom: var(--space-3); padding: var(--space-6); }
  .reserve-perk:nth-child(2) { padding-top: var(--space-5); }
  .reserve-perk { gap: var(--space-4); }
  .reserve-perk h3 { font-size: 1.25rem; }
  .reserve-perk--discount h3 { font-size: 2.375rem; }
  [data-lang="en"] .reserve-perk--discount h3 { font-size: 2rem; }
  .reserve-pro__intro { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .reserve-pro__wordmark { font-size: clamp(4rem, 18.5vw, 6.5rem); }
  .reserve-pro__tagline { margin-top: var(--space-4); }
  .reserve-pro__subscription { justify-self: stretch; gap: var(--space-2); }
  .reserve-pro__term { font-size: clamp(2rem, 6vw, 2.5rem); }
  .reserve-pro__benefits { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--space-7); padding-top: 0; }
  .reserve-pro__benefit { padding-block: var(--space-5); }
  .reserve-pro__benefit:last-child { padding-bottom: 0; }
  .reservation-heading { margin-bottom: var(--space-6); }
  .reservation-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .reservation-summary { position: static; }
  .summary-product { gap: var(--space-4); padding-bottom: var(--space-5); }
  .summary-price strong { font-size: 2.5rem; }
  .reservation-form-column { padding: 0; }
  .checkout-mobile-pricing { display: block; margin-top: var(--space-4); font-size: .875rem; line-height: 1.7; color: var(--preorder-muted); }
  .checkout-mobile-pricing .checkout-breakdown { padding-block: 0 var(--space-3); border: 0; }
  .checkout-mobile-pricing > p { margin-top: var(--space-2); }
  .reserve-faq__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-6); }
}
@media (max-width: 560px) {
  .checkout-layout .preorder-progress { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); gap: var(--space-2); }
  .checkout-layout .preorder-progress li { align-content: start; column-gap: var(--space-1); }
  .checkout-verified-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-3); margin-top: var(--space-2); }
  .checkout-verified-meta p { grid-column: 1; }
  .checkout-verified-meta .text-button { grid-column: 2; grid-row: 1 / span 2; }
  .embedded-payment__actions { gap: var(--space-2); }
  .embedded-payment__actions [data-payment-cancel-open] { margin-inline-start: auto; }
  .inline-result .preorder-receipt div:has([data-result-code], [data-result-email]) { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .inline-result .preorder-receipt :is([data-result-code], [data-result-email]) { text-align: left; }
}
@media (max-width: 360px) {
  .reserve-hero h1 { font-size: 2.25rem; }
  /* Reserve two readable lines in either language without constraining growth. */
  .reserve-hero__note { min-height: 3.6em; }
  .reserve-hero__actions { gap: var(--space-4); }
  .reserve-hero__actions .preorder-button { padding-inline: var(--space-3); }
  .reserve-perk--discount,
  .reservation-summary { padding: var(--space-5) var(--space-4); }
  .reserve-perk--discount h3 { font-size: 2rem; }
  .summary-price { flex-wrap: wrap; }
  .checkout-breakdown > div { gap: var(--space-2); }
  .checkout-breakdown dt { max-width: 10em; }
}
