/* ============================================================================
 * shop.getnovababy.com
 * ----------------------------------------------------------------------------
 * The Nova Room page's warm-paper identity (web/landing/nova-room/room.css):
 * Avenir Next with a Georgia italic accent, ink on paper, lavender. One section
 * (#inside) switches to the app's night palette for the 3D sequence.
 * Avenir Next ships on every iPhone and Mac, which is everyone who can use
 * Nova Room; other systems fall back to their UI font.
 * ========================================================================== */

:root {
  --paper: oklch(96.6% 0.008 85);
  --paper-deep: oklch(93.4% 0.011 82);
  --ink: oklch(27% 0.02 280);
  --ink-soft: oklch(36% 0.02 280);
  --muted: oklch(50% 0.014 285);
  --line: oklch(88.5% 0.008 80);
  --lavender: oklch(88.5% 0.04 292);
  --lavender-deep: oklch(80% 0.07 292);
  --plum: oklch(52% 0.075 300);
  --night: oklch(16.5% 0.02 278);
  --night-2: oklch(21% 0.025 280);
  --on-night: oklch(95% 0.012 290);
  --on-night-muted: oklch(74% 0.02 290);
  --signal: oklch(62% 0.2 27);
  --ok: oklch(58% 0.07 140);
  --focus: oklch(52% 0.13 292);

  --font:
    "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 56px);
  --radius: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 84px;
}
/* Smooth only for in-page links the reader clicks (a clicked link has focus),
 * not for the jump to a #fragment when the page first loads. */
html:focus-within {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  width: min(1240px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}

/* ── Type ──────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--plum);
}
h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
}
h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.button {
  display: inline-block;
  min-height: 56px;
  padding: 16px 26px;
  line-height: 24px;
  text-align: center;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}
.button:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.button span[aria-hidden="true"] {
  margin-left: 6px;
}
.button-small {
  min-height: 44px;
  padding: 10px 18px;
  line-height: 24px;
  font-size: 14px;
}
.button-block {
  width: 100%;
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: var(--lavender);
}

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}
.brand-orbit {
  font-size: 30px;
  color: var(--plum);
}
.wordmark-small {
  align-self: flex-end;
  margin: 0 0 3px 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.nav-links a:hover {
  color: var(--plum);
}

/* ── 1 · Hero ──────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 104px);
}
.hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.98;
}
.hero h1 em {
  display: block;
}
.lede {
  max-width: 34ch;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}
.stock {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}
.stock[hidden] {
  display: none;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--signal) 18%, transparent);
}
.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.promise-row li {
  position: relative;
  padding-left: 22px;
}
.promise-row li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.38em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.hero-visual {
  position: relative;
  aspect-ratio: 1;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--lavender) 0%, color-mix(in oklab, var(--lavender) 45%, transparent) 55%, transparent 100%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 20%;
  bottom: 9%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, oklch(30% 0.04 290 / 0.28), transparent);
  filter: blur(6px);
}
.hero-visual:has(img.is-photo)::after,
.hero-visual:has(img.is-photo)::before {
  display: none;
}
.hero-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-visual img.is-photo,
.step-visual img.is-photo,
.room-visual img.is-photo,
.offer-visual img.is-photo {
  object-fit: cover;
  border-radius: var(--radius);
}

/* ── 2 · Problem ───────────────────────────────────────────────────────── */
.problem {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px);
  padding-block: clamp(64px, 9vw, 128px);
}
.problem h2 {
  grid-row: span 2;
  max-width: 13ch;
}
.problem h2 em {
  display: block;
}
.problem-list {
  display: grid;
  gap: 26px;
  align-self: end;
}
.problem-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.problem-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}
.problem-list p {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.38;
  letter-spacing: -0.01em;
}
.problem-turn {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
  color: var(--plum);
}

/* ── 3 · How it works ──────────────────────────────────────────────────── */
.how {
  padding-block: clamp(72px, 10vw, 140px);
}
.how-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.how-head h2 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.step-visual {
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--paper-deep);
  overflow: hidden;
}
.step:nth-child(2) .step-visual {
  background: color-mix(in oklab, var(--lavender) 55%, var(--paper));
}
.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 8px;
}
.step h3 {
  max-width: 18ch;
  margin-bottom: 10px;
}
.step h3 + p {
  max-width: 34ch;
  color: var(--muted);
}
.how-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
}
.how-facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ── 4 · Inside (night) ────────────────────────────────────────────────── */
.inside {
  position: relative;
  background: var(--night);
  color: var(--on-night);
}
.inside-track {
  position: relative;
}
.inside-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 62% 50%, oklch(30% 0.06 292 / 0.55), transparent 70%),
    var(--night);
}
.inside-canvas,
.inside-labels {
  display: none;
}
/* Static mode (no JS, no WebGL, reduced motion): a grid of the title, the
 * exploded still and the four captions. Live mode overrides all of this. */
.inside:not(.is-live) .inside-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 32px clamp(24px, 4vw, 56px);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - 1240px) / 2));
}
.inside:not(.is-live) .inside-captions {
  display: contents;
}
.inside:not(.is-live) .inside-caption:first-child {
  grid-column: 1 / 3;
  grid-row: 1;
}
.inside:not(.is-live) .inside-static {
  grid-column: 3 / 5;
  grid-row: 1;
}
.inside:not(.is-live) .inside-caption:not(:first-child) {
  align-self: start;
}
.inside-caption {
  max-width: 30ch;
}
.inside-caption .eyebrow {
  color: var(--on-night-muted);
  margin-bottom: 14px;
}
.inside-caption h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.inside-caption h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.inside-caption p {
  margin-top: 14px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--on-night-muted);
}
.inside-static img {
  width: 100%;
}

/* Live mode: inside.js adds .is-live as soon as it knows it can run (before
 * any scroll) and .is-ready once the model has loaded. The track is tall; the
 * stage sticks while the scroll position drives the sequence. */
.inside.is-live .inside-track {
  height: 560vh;
}
.inside.is-live .inside-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.inside.is-live .inside-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.inside.is-ready .inside-canvas {
  opacity: 1;
}
.inside.is-live .inside-labels {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* While three.js and the model load, the still stands in as a poster. */
.inside.is-live .inside-static {
  position: absolute;
  top: 50%;
  right: max(var(--gutter), calc((100% - 1240px) / 2));
  width: min(56%, 760px);
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  transition:
    opacity 0.8s var(--ease-out),
    visibility 0s linear 0.8s;
}
.inside.is-ready .inside-static {
  opacity: 0;
  visibility: hidden;
}
.inside.is-live .inside-captions {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  pointer-events: none;
}
.inside.is-live .inside-caption {
  position: absolute;
  left: max(var(--gutter), calc((100% - 1240px) / 2));
  top: 50%;
  width: min(26ch, 32vw);
  opacity: 0;
  transform: translateY(calc(-50% + 18px));
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.inside.is-live .inside-caption.is-on {
  opacity: 1;
  transform: translateY(-50%);
}
.inside.is-live .inside-caption h3 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
}
.part-label {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  will-change: transform, opacity;
}
.part-label.is-on {
  opacity: 1;
}
.part-label::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--on-night);
  box-shadow: 0 0 0 4px oklch(95% 0.012 290 / 0.16);
}
.part-label.is-left {
  flex-direction: row-reverse;
}
.part-label-line {
  width: 26px;
  height: 1px;
  background: oklch(95% 0.012 290 / 0.5);
}
.part-label-text {
  display: grid;
  padding: 6px 10px;
  border-radius: 8px;
  background: oklch(16.5% 0.02 278 / 0.78);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.part-label-text b {
  font-weight: 600;
  color: var(--on-night);
}
.part-label-text span {
  color: var(--on-night-muted);
}
.part-label.is-left .part-label-text {
  text-align: right;
}

/* ── 5 · Room ──────────────────────────────────────────────────────────── */
.room {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(72px, 10vw, 140px);
}
.room-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}
.room-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-copy h2 {
  margin: 14px 0 22px;
  max-width: 14ch;
}
.room-copy > p:not(.eyebrow):not(.fine) {
  max-width: 44ch;
  color: var(--ink-soft);
}
.room-readings {
  display: grid;
  margin: 32px 0 26px;
  border-top: 1px solid var(--line);
}
.room-readings div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.room-readings dt {
  font-weight: 600;
}
.room-readings dd {
  color: var(--muted);
}
.fine {
  max-width: 52ch;
  font-size: 14px;
  color: var(--muted);
}

/* ── 6 · Offer (lavender) ──────────────────────────────────────────────── */
.offer {
  background: var(--lavender);
  padding-block: clamp(72px, 10vw, 140px);
}
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.offer-head .eyebrow {
  color: oklch(40% 0.08 300); /* plum darkened: 4.5:1 on lavender at 12 px */
}
.offer-head h2 {
  margin: 14px 0 20px;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.92;
}
.offer-scarcity {
  max-width: 36ch;
  font-size: 18px;
  color: var(--ink-soft);
}
.offer-visual {
  margin-top: clamp(28px, 4vw, 48px);
  aspect-ratio: 4 / 3;
}
.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.offer-card {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 18px;
  background: var(--paper);
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 0.6) inset,
    0 30px 60px -30px oklch(30% 0.06 292 / 0.35);
}
.stack li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.35;
}
.stack li:first-child {
  padding-top: 0;
  font-weight: 600;
}
.stack-tag {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  text-align: right;
}
.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 26px 0 22px;
}
.price {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-note {
  max-width: 24ch;
  font-size: 15px;
  color: var(--muted);
}
.buy-pending {
  display: grid;
  place-items: center;
  min-height: 56px;
  font-size: 14px;
  color: var(--muted);
}
.buy-pending[hidden] {
  display: none;
}
.buy-note {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}
.stock-offer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.buy[hidden],
.reserve[hidden] {
  display: none;
}
.reserve {
  display: grid;
  gap: 8px;
}
.reserve-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.reserve-intro {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}
.reserve label:not(.consent) {
  font-size: 14px;
  font-weight: 600;
}
.reserve input[type="email"],
.reserve input[type="text"] {
  width: 100%;
  min-height: 50px;
  margin-bottom: 6px;
  padding: 12px 14px;
  border: 1px solid oklch(58% 0.015 285); /* 3:1 against the field */
  border-radius: 10px;
  background: oklch(99% 0.004 85);
  font-size: 17px;
}
.reserve input:focus-visible {
  outline-offset: 1px;
}
.reserve input[aria-invalid="true"] {
  border-color: var(--signal);
}
.reserve-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}
.reserve-pair > div {
  display: grid;
  gap: 8px;
}
.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 6px 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}
.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.5em;
  font-size: 14px;
}
.form-status.is-error {
  color: oklch(48% 0.16 27);
}
.form-status.is-success {
  color: oklch(42% 0.08 145);
  font-weight: 600;
}
.risk {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.guarantee {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.guarantee .guarantee-seal {
  display: grid;
  place-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}
.guarantee-seal small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guarantee h3,
.ship-promise h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.guarantee p,
.ship-promise p {
  font-size: 15px;
  color: var(--ink-soft);
}
.ship-promise {
  padding: 16px 18px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--lavender) 45%, var(--paper));
}

/* ── 7 · Compare ───────────────────────────────────────────────────────── */
.compare {
  padding-block: clamp(72px, 10vw, 140px) clamp(40px, 6vw, 80px);
}
.compare h2 {
  max-width: 14ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}
.compare-table th,
.compare-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-table tbody th {
  font-weight: 600;
  width: 30%;
}
.compare-table td {
  color: var(--muted);
}
.compare-table .is-us {
  background: color-mix(in oklab, var(--lavender) 40%, var(--paper));
  color: var(--ink);
  font-weight: 600;
}
.compare-table thead .is-us {
  color: var(--plum);
  border-radius: 12px 12px 0 0;
}

/* ── 8 · Specs ─────────────────────────────────────────────────────────── */
.specs {
  padding-block: clamp(40px, 6vw, 80px);
}
.specs h2 {
  margin-bottom: clamp(24px, 3vw, 40px);
}
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.spec-list div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-weight: 600;
}
.spec-list dd {
  color: var(--ink-soft);
}

/* ── 9 · FAQ ───────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(56px, 8vw, 120px);
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--plum);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--ink-soft);
}

/* ── 10 · Last call ────────────────────────────────────────────────────── */
.last-call {
  background: var(--night);
  color: var(--on-night);
}
.last-call-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(64px, 9vw, 120px);
}
.last-call-copy {
  display: grid;
  justify-items: start;
  gap: 26px;
}
.last-call-visual {
  aspect-ratio: 1;
}
.last-call-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.last-call h2 {
  max-width: 12ch;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
}
.last-note {
  font-size: 14px;
  color: var(--on-night-muted);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  display: grid;
  gap: 14px;
  padding-block: 40px 56px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--plum);
}
.footer-fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.footer-fine [data-seller]:not(:empty)::before {
  content: " · ";
}
.footer-fine [data-seller="company"]:not(:empty)::before {
  content: none;
}

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal {
  max-width: 72ch;
  padding-block: clamp(48px, 7vw, 96px);
}
.legal h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  margin: 12px 0 18px;
}
.legal .legal-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.legal h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 40px 0 12px;
}
.legal h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}
.legal p,
.legal li {
  color: var(--ink-soft);
}
.legal p + p,
.legal ul,
.legal ol {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  padding-left: 1.3em;
}
.legal ul {
  list-style: disc;
}
.legal ol {
  list-style: decimal;
}
.legal li + li {
  margin-top: 6px;
}
.legal .legal-box {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--paper-deep);
}
.legal .legal-todo {
  padding: 2px 6px;
  border-radius: 4px;
  background: oklch(90% 0.08 85);
  color: var(--ink);
  font-weight: 600;
}
.thanks {
  max-width: 60ch;
  padding-block: clamp(64px, 10vw, 140px);
}
.thanks h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  margin: 14px 0 20px;
}
.thanks ol {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
  counter-reset: next;
}
.thanks ol li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink-soft);
  counter-increment: next;
}
.thanks p + p,
.thanks ol + p {
  margin-top: 12px;
}
.thanks ol li::before {
  content: "0" counter(next);
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  padding-top: 3px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hero,
  .problem-grid,
  .room,
  .offer-grid,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
    width: min(62%, 340px);
    margin: 0 auto -8px;
  }
  .last-call-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .last-call-visual {
    order: -1;
    width: min(60%, 300px);
  }
  .problem h2 {
    grid-row: auto;
  }
  .steps,
  .how-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
  }
  .step-visual {
    grid-row: span 3;
    margin-bottom: 0;
  }
  .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .room-visual {
    aspect-ratio: 4 / 3;
  }
  .inside:not(.is-live) .inside-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .inside.is-live .inside-static {
    top: 38%;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
  }
  .inside:not(.is-live) .inside-caption:first-child,
  .inside:not(.is-live) .inside-static {
    grid-column: 1;
    grid-row: auto;
  }
  .inside.is-live .inside-caption {
    top: auto;
    bottom: max(28px, env(safe-area-inset-bottom));
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    max-width: 34ch;
    transform: translateY(18px);
  }
  .inside.is-live .inside-caption.is-on {
    transform: translateY(0);
  }
  .inside-caption h2,
  .inside-caption h3 {
    font-size: clamp(26px, 7vw, 40px);
  }
}
@media (max-width: 680px) {
  .compare-table {
    min-width: 0;
  }
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: auto;
  }
  .compare-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .compare-table tbody th {
    width: auto;
    padding: 0 0 10px;
    border: 0;
    font-size: 17px;
  }
  .compare-table td {
    display: grid;
    grid-template-columns: 9em minmax(0, 1fr);
    gap: 12px;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
  }
  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
  }
  .compare-table td.is-us::before {
    color: var(--plum);
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .nav {
    height: 64px;
  }
  .wordmark {
    font-size: 24px;
  }
  .button-small {
    padding-inline: 14px;
    font-size: 13px;
  }
  .step {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .room-readings div,
  .spec-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .reserve-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .part-label-text {
    font-size: 11px;
  }
  .part-label-text span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
