/*
  preorder.wagu.com. Tokens only (tokens.css, generated from @kite/design-tokens).
  One loud thing: the order box, outlined in ink like the wordmark's letters,
  with a button that presses down. Everything else stays quiet so the photos
  of the real device carry the page.
*/

@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-sans-800.woff2") format("woff2"); }

:root {
  --gutter: clamp(calc(var(--spacing) * 4), 4vw, calc(var(--spacing) * 12));
  --measure: 1200px;
  --outline: 2px solid var(--color-foreground);
  /* Side padding that lines full-width bars up with the centered content. */
  --inset: max(var(--gutter), calc((100% - var(--measure)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 10; padding: 8px 14px; border-radius: var(--radius-sm); background: var(--color-inverse); color: var(--color-on-inverse); }
.skip-link:focus { top: 12px; }

/* What shows in each state (the head script sets data-state before the page draws). */
:root:not([data-state="open"]) .if-open,
:root:not([data-state="soon"]) .if-soon,
:root:not([data-state="done"]) .if-done { display: none !important; }

/* ---------- Test mode ---------- */
.test-mode { display: none; padding: 8px var(--inset); background: var(--color-warning-surface); color: var(--color-warning-text); font: var(--type-label); text-align: center; }
:root[data-test-mode] .test-mode { display: block; }

/* ---------- Header: the only wordmark on the page ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--inset);
  background: color-mix(in srgb, var(--wash) 90%, transparent);
  backdrop-filter: blur(10px);
}
.bar__mark img { width: auto; height: 44px; }
.bar__buy {
  padding: 10px 20px;
  border: var(--outline);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font: var(--type-body-strong);
  text-decoration: none;
}
.bar__buy:hover { background: var(--color-surface-accent); }

/* ---------- The shop (the hero) ---------- */
/* On the left, the headline, then the order box with the colors; the device on its platform on the
   right. The picked color (--hue, from :root[data-color], set by preorder.js) washes the header and the
   hero. --hue is registered, so a new pick fades in instead of jumping. */
@property --hue { syntax: "<color>"; inherits: true; initial-value: #1e6fe6; }
:root {
  --hue: var(--palette-rainbow-blue);
  --wash: color-mix(in oklab, var(--hue) 58%, var(--color-background));
  transition: --hue 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-color="ocean"] { --hue: var(--palette-rainbow-blue); }
:root[data-color="bubblegum"] { --hue: var(--palette-rainbow-pink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". stage" "copy stage" "order stage" ". stage";
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: clamp(20px, 2.4vw, 28px);
  margin-bottom: clamp(56px, 8vw, 104px);
  padding: clamp(12px, 2.5vw, 32px) var(--inset) clamp(40px, 6vw, 80px);
  border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
  /* A spotlight behind the device, fading into the picked color. */
  --spotlight: radial-gradient(38% 44% at 70% 60%, color-mix(in oklab, var(--hue) 8%, var(--color-surface)), color-mix(in oklab, var(--hue) 30%, var(--color-background)) 55%, transparent);
  background: var(--spotlight), var(--wash);
}

/* The headline: the first thing on the page. It's one of wagu.com's four lead messages, the visitor's
   (data-lead, from the head script); the others stay hidden. */
.hero__copy { grid-area: copy; display: grid; gap: 14px; max-width: 36rem; }
:root:not([data-lead="connection"]) [data-lead-only="connection"],
:root:not([data-lead="safety"]) [data-lead-only="safety"],
:root:not([data-lead="education"]) [data-lead-only="education"],
:root:not([data-lead="play"]) [data-lead-only="play"] { display: none; }
.hero__copy h1 { font-size: clamp(2.3rem, 1.2rem + 2.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero__lede { max-width: 30em; font-size: 1.125rem; line-height: 1.5; color: var(--color-foreground); }

/* The stage: the device on its platform, and the views under it. */
.stage { grid-area: stage; position: relative; display: flex; flex-direction: column; align-items: center; align-self: center; min-width: 0; isolation: isolate; }
.stage__set { position: relative; width: min(100%, 600px, 66vh); aspect-ratio: 1; }
.stage__float { position: absolute; inset: 0; }
.stage__device { position: absolute; inset: 0; border-radius: 50%; touch-action: pan-y; }

/* The views: the device (name and platform) or a photo, picked in the strip under them. */
.stage__view { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.stage.is-photo .stage__set { visibility: hidden; }
.stage__photo { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; margin: 0; }
.stage__photo[hidden] { display: none; }
.stage__photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .stage__photo:not([hidden]) img { animation: pop var(--spring-bouncy) both; }
}
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.gallery__thumb {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--color-foreground) 12%, transparent), 0 10px 18px -12px color-mix(in srgb, var(--color-foreground) 45%, transparent);
  cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[data-view="3d"] img { padding: 6px; object-fit: contain; }
.gallery__thumb.is-current { box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 6px var(--color-foreground); }
.gallery__thumb:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 8px; }
.gallery__badge { position: absolute; right: 4px; bottom: 4px; padding: 1px 5px; border-radius: 6px; background: var(--color-foreground); color: var(--color-surface); font: 800 10px/1.3 var(--font-display); }

/* The platform: a round floor seen at an angle, with its edge showing, two faint rings, the device's
   shadow (it shrinks as the device lifts) and a ring that ripples out when a new color is picked.
   The device's base sits at 86% down the set, on the floor's middle. */
.stage__floor {
  position: absolute;
  top: 86%;
  left: 50%;
  width: 78%;
  aspect-ratio: 4 / 1;
  border-radius: 50%;
  translate: -50% -50%;
  background:
    radial-gradient(closest-side, transparent 46%, color-mix(in oklab, var(--hue) 38%, transparent) 46.5% 47.5%, transparent 48%),
    radial-gradient(closest-side, transparent 77%, color-mix(in oklab, var(--hue) 32%, transparent) 77.5% 78.5%, transparent 79%),
    radial-gradient(closest-side, color-mix(in oklab, var(--hue) 8%, var(--color-surface)) 0 55%, color-mix(in oklab, var(--hue) 26%, var(--color-surface)) 100%);
  box-shadow:
    0 12px 0 color-mix(in oklab, var(--hue) 70%, var(--palette-ink)),
    0 30px 38px -16px color-mix(in srgb, var(--color-foreground) 30%, transparent);
}
.stage__floor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 72%;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--color-foreground) 38%, transparent), transparent);
}
.stage__pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--hue); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .stage__float { animation: bob 3.6s ease-in-out infinite; }
  .stage__floor::before { animation: breathe 3.6s ease-in-out infinite; }
  .stage__pulse.is-on { animation: ripple 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.5deg); } 50% { transform: translateY(-2.4%) rotate(0.5deg); } }
  @keyframes breathe { 50% { transform: scale(0.84); opacity: 0.6; } }
  @keyframes ripple { from { opacity: 0.9; transform: scale(0.5); } to { opacity: 0; transform: scale(1.22); } }
}

/* Turn arrows at the platform's ends, curved like its rim. */
.stage__turn {
  position: absolute;
  top: 86%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--color-foreground) 12%, transparent), 0 10px 18px -12px color-mix(in srgb, var(--color-foreground) 45%, transparent);
  color: var(--color-foreground);
  cursor: pointer;
  translate: 0 -50%;
  transition: background-color var(--motion-base), transform var(--spring-bouncy);
}
.stage__turn--left { left: max(0px, calc(11% - 54px)); }
.stage__turn--right { right: max(0px, calc(11% - 54px)); }
.stage__turn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .stage__turn svg { transition: transform var(--spring-bouncy); }
  .stage__turn--left:hover svg { transform: rotate(-35deg); }
  .stage__turn--right:hover svg { transform: rotate(35deg); }
}
.stage__turn:hover { background: color-mix(in oklab, var(--hue) 16%, var(--color-surface)); }
.stage__turn--left:active { transform: translateX(-3px); }
.stage__turn--right:active { transform: translateX(3px); }
.stage:not(.can-spin) .stage__turn { display: none; }
.stage__device[role="slider"] { cursor: grab; }
.stage__device.is-dragging { cursor: grabbing; }
.stage__device:focus-visible { outline-offset: -32px; }
.stage__still, .stage__spin { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.stage__spin { visibility: hidden; }
.stage.is-spinning .stage__spin { visibility: visible; }
.stage.is-spinning .stage__still { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .stage__still.is-popping { animation: pop var(--spring-bouncy) both; }
  @keyframes pop { from { opacity: 0; transform: scale(0.88) rotate(-6deg); } }
}

/* The colors: round chips with the device in each color. One ring marks the pick and slides from
   chip to chip. */
.swatches { --chip: clamp(50px, 4vw, 58px); --ring-gap: var(--color-surface); min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.swatches__label { margin-bottom: 10px; padding: 0; font: var(--type-label); color: var(--color-foreground-secondary); }
.swatches__label [data-pick-name] { color: var(--color-foreground); font-weight: 800; }
.swatches__row { position: relative; display: flex; gap: 14px; }
.swatch { display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.swatch__input { position: absolute; opacity: 0; pointer-events: none; }
.swatch__chip {
  display: grid;
  place-items: center;
  width: var(--chip);
  height: var(--chip);
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--color-foreground) 12%, transparent), 0 10px 18px -12px color-mix(in srgb, var(--color-foreground) 45%, transparent);
}
.swatch__chip img { width: 84%; height: 84%; object-fit: contain; }
.swatch:has(.swatch__input:focus-visible) .swatch__chip { outline: 3px solid var(--color-focus-ring); outline-offset: 8px; }
.swatches__ring {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--chip);
  height: var(--chip);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 6px var(--color-foreground);
  transform: translate(var(--ring-x, 0px), var(--ring-y, 0px));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .swatches__ring { transition: transform var(--spring-bouncy); }
  .swatch__chip img { transition: transform var(--spring-bouncy); }
  .swatch:hover .swatch__chip img { transform: rotate(-9deg) scale(1.06); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "stage" "order"; row-gap: 16px; padding-top: 24px; }
  .hero__copy { justify-self: center; text-align: center; }
  .hero__lede { justify-self: center; }
  .stage__set { width: min(76%, 300px); }
  .stage__turn--left { left: -50px; }
  .stage__turn--right { right: -50px; }
  .order { width: 100%; }
}

/* ---------- The order box ---------- */
.order {
  grid-area: order;
  justify-self: start;
  width: min(100%, 460px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 26px);
  border: var(--outline);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: 6px 6px 0 var(--color-foreground);
}
.order__name { margin-bottom: 14px; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); line-height: 1; letter-spacing: -0.025em; }
.order__price { font: 800 clamp(2.25rem, 1.8rem + 1.6vw, 3rem) / 1 var(--font-display); letter-spacing: -0.02em; }
:root[data-state="done"] .swatches { display: none; }
.order .buy { padding-inline: 20px; }
.order__each { font: var(--type-body); letter-spacing: 0; color: var(--color-foreground-muted); }
/* The launch price, struck through, when the preorder discount is on. */
.order__list { font-size: 0.6em; color: var(--color-foreground-muted); text-decoration-thickness: 0.08em; }
.closing__price .order__list { font-size: inherit; }
.order__ships { margin-top: 8px; font: var(--type-body-strong); color: var(--color-success-text); }
.order__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.order__row .order__price { flex-basis: 100%; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.5rem); }
/* A full cart: no count to pick, and the button opens the cart. */
.order[data-full] .order__row .stepper { display: none; }
.order__full { margin-top: 10px; font: var(--type-body-strong); }
.order__note { margin-top: 10px; font: var(--type-label); color: var(--color-foreground-secondary); }
.order__note [data-deal] { color: var(--color-brand); font-weight: 800; }
.order__open .order__fine { margin-top: 6px; }
.order__status:not(:empty) { margin-top: 12px; font: var(--type-label); color: var(--color-danger); }
.order__status[data-tone="info"] { color: var(--color-foreground-secondary); }
.order__soon { display: grid; gap: 12px; justify-items: start; }
.order__soon .order__price { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.order__done { display: grid; gap: 10px; }
.order__done:focus { outline: none; }
.order__thanks { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); line-height: 1.15; }
.order__fine { font: var(--type-label); color: var(--color-foreground-muted); }

@media (prefers-reduced-motion: no-preference) {
  .order__done { animation: arrive var(--spring-bouncy) both; }
  @keyframes arrive { from { opacity: 0; transform: scale(0.94); } }
}

.stepper {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: var(--outline);
  border-radius: var(--radius-full);
  background: var(--color-background);
}
.stepper__button {
  width: 48px;
  height: 52px;
  border: 0;
  background: none;
  color: inherit;
  font: 800 1.5rem/1 var(--font-display);
  cursor: pointer;
}
.stepper__button:first-child { border-radius: var(--radius-full) 0 0 var(--radius-full); }
.stepper__button:last-child { border-radius: 0 var(--radius-full) var(--radius-full) 0; }
.stepper__button:disabled { color: var(--color-on-disabled); cursor: default; }
.stepper__count { min-width: 1.6em; font: 800 1.25rem/1 var(--font-display); text-align: center; }

/* The button presses down into its own shadow. */
.buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: var(--outline);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 4px 0 var(--color-foreground);
  font: 800 1.125rem/1.2 var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
}
.buy:hover { background: var(--color-primary-pressed); }
.buy:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--color-foreground); }
.buy[aria-busy="true"], .buy:disabled { background: var(--color-disabled); color: var(--color-on-disabled); box-shadow: 0 4px 0 var(--color-border-strong); border-color: var(--color-border-strong); cursor: default; transform: none; }
.buy--link { flex: none; }

@media (max-width: 420px) {
  .order__row .stepper { width: 100%; justify-content: space-between; }
}

/* ---------- The cart ---------- */
/* The header's cart: a bag with how many are in it, in place of Preorder once there are any. */
.bar__cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: var(--outline);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-foreground);
  cursor: pointer;
}
.bar__cart[hidden], .bar__buy[hidden] { display: none; }
.bar__cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bar__count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: 800 0.8rem/1 var(--font-display);
}
@media (prefers-reduced-motion: no-preference) {
  .bar__cart:not([hidden]) .bar__count { animation: pop var(--spring-bouncy) both; }
}

/* The panel: a modal <dialog> on the right, full height; on phones, the whole screen. */
:root.cart-is-open { overflow: hidden; }
.cart {
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-surface);
  color: var(--color-foreground);
  box-shadow: -24px 0 48px -24px color-mix(in srgb, var(--color-foreground) 45%, transparent);
}
.cart::backdrop { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .cart[open] { animation: slide-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .cart[open]::backdrop { animation: fade-in 300ms ease-out both; }
  @keyframes slide-in { from { translate: 100% 0; } }
  @keyframes fade-in { from { opacity: 0; } }
}
.cart__panel { display: flex; flex-direction: column; height: 100%; padding: 20px clamp(18px, 4vw, 28px) 24px; overflow-y: auto; }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.cart__head h2 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); line-height: 1; }
.cart__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-full); background: none; color: inherit; cursor: pointer; }
.cart__close:hover { background: var(--color-surface-accent); }
.cart__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; }
.cart__lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cart__line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "chip what amount" "chip stepper stepper";
  align-items: center;
  gap: 8px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart__chip { grid-area: chip; width: 64px; height: 64px; padding: 6px; border-radius: 50%; background: var(--color-background); object-fit: contain; }
.cart__what { grid-area: what; display: grid; justify-items: start; gap: 2px; min-width: 0; }
.cart__name { font: 800 1.125rem/1.2 var(--font-display); }
.cart__remove { padding: 2px 0; border: 0; background: none; color: var(--color-foreground-secondary); font: var(--type-label); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart__line .stepper { grid-area: stepper; justify-self: start; }
.cart__line .stepper__button { width: 42px; height: 42px; }
.cart__amount { grid-area: amount; align-self: start; font: 800 1.125rem/1.2 var(--font-display); text-align: right; white-space: nowrap; }
.cart__amount .order__list { font-size: 0.8em; }
@media (prefers-reduced-motion: no-preference) {
  .cart__line.is-new { animation: arrive var(--spring-bouncy) both; }
}
.cart__empty { display: grid; justify-items: start; gap: 14px; padding: 28px 0; }
.cart__empty[hidden], .cart__foot[hidden] { display: none; }
.cart__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 20px; }
.cart__sums { margin: 0; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font: 800 clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem)/1 var(--font-display); }
.cart__total dd { margin: 0; }
.cart__saving { font: var(--type-label); color: var(--color-brand); font-weight: 800; }
.cart__ships { font: var(--type-body-strong); color: var(--color-success-text); }
.cart__checkout { width: 100%; }
.cart .order__status:empty { display: none; }

/* ---------- Section headings ---------- */
.details h2, .closing h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Details and questions ---------- */
.details { max-width: var(--measure); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.specs { margin: 28px 0 0; }
.specs div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.specs div:last-child { border-bottom: 1px solid var(--color-border); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--color-foreground-secondary); }
.note { margin-top: 16px; font: var(--type-caption); color: var(--color-foreground-muted); }

.faq__title { margin-bottom: 16px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.faq details { border-top: 1px solid var(--color-border); }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font: var(--type-heading);
  font-size: 1.125rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 800 1.4rem/1 var(--font-display); color: var(--color-primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 36em; padding: 0 0 20px; color: var(--color-foreground-secondary); }
@media (max-width: 760px) { .details { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing ---------- */
.closing {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: var(--measure);
  margin: 0 auto clamp(48px, 7vw, 88px);
  padding: 0 var(--gutter);
}
.closing__price { color: var(--color-foreground-secondary); font-size: 1.1875rem; }
.closing .buy { flex: none; min-width: min(100%, 280px); }

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--measure) - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid var(--color-border);
  font: var(--type-label);
  color: var(--color-foreground-muted);
}
.foot a { color: inherit; }
.foot__links { display: flex; gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
