/* Sputnik Proxy: direction "The product performs" (seed 2019425531), Albert Sans, signal red on white and black. */

:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --surface-2: #dcdcdc;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --accent: #d92b21;
  --accent-ink: #ffffff;
  --field-1: #0a0a0a;
  --field-1-ink: #ffffff;
  --field-1-soft: #1b1b1b;
  --field-1-muted: #b4b4b4;

  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --poster: "Oswald", "Arial Narrow", sans-serif;
  --paper: #f4efe4;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* taste-skill-ignore: real code only */

  /* the five sizes */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, 1rem + 8.4vw, 9.25rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, dl, dd, pre { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
p { max-width: 62ch; text-wrap: pretty; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--margin); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.45; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-ink { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .button:hover { background: #b8231b; }
  .button-ink:hover { background: #2a2a2a; }
  .button-light:hover { background: #f2f2f2; }
}

/* =========================================================
   HERO: controls on the sentence
   ========================================================= */
.hero { background: var(--field-1); color: var(--field-1-ink); min-height: 100svh; display: flex; flex-direction: column; }
.hero-bar { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; gap: 1rem; }
/* the lockup: a poster in one line, red ground, the name in black, PROXY on a black plate */
.lockup { display: inline-flex; align-items: center; gap: 0.16em; background: var(--accent); color: var(--ink); font-family: var(--poster); font-weight: 700; text-transform: uppercase; line-height: 1; text-decoration: none; }
.lockup .mark { width: 1.45em; height: 1.45em; margin-block: -0.2em; flex: none; background: none; }
.lk-name { letter-spacing: -0.005em; }
.lk-box { margin-left: 0.14em; padding: 0.12em 0.2em 0.1em; background: var(--ink); color: var(--paper); font-size: 0.74em; }
.wordmark.lockup { font-size: 32px; padding: 6px 12px 6px 6px; border-radius: 2px; }
@media (max-width: 480px) { .wordmark.lockup { font-size: 26px; } }
.hero-nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); font-size: var(--step-body); }

.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(2rem, 4vh, 3rem); padding-block: clamp(2rem, 6vh, 4rem) clamp(2.5rem, 7vh, 5rem); }
.hero-stage { position: relative; width: min(100%, 70rem); margin-inline: auto; padding-block: clamp(2.5rem, 7vh, 4.5rem); }
.hero-title { font-size: var(--step-display); line-height: 0.98; text-align: center; letter-spacing: -0.045em; }

/* the three working chips, product UI */
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--field-1-soft); color: #fff; border-radius: 10px; border: 1px solid #2c2c2c; font-size: 14px; line-height: 1.2; z-index: 2; transition: transform var(--t-ui) var(--ease-out); }
.chip-label { color: var(--field-1-muted); font-size: 13px; }
.chip-read { font-weight: 600; font-size: 15px; min-width: 4.5ch; text-align: right; }
.chip-type { top: -0.25rem; left: 4%; rotate: -3deg; }
.chip-gb { top: 46%; left: -1%; rotate: 2.5deg; }
.chip-proto { bottom: -0.75rem; right: 3%; rotate: -2deg; }
@media (hover: hover) and (pointer: fine) { .chip:hover { transform: translateY(-3px); } }

.seg { display: inline-flex; background: #000; border-radius: 7px; padding: 3px; gap: 2px; }
.seg button { padding: 7px 11px; border-radius: 5px; font-size: 14px; color: var(--field-1-muted); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); font-weight: 600; }
.seg button:active { transform: scale(0.96); }

.stepper { display: inline-flex; align-items: center; background: #000; border-radius: 7px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 5px; font-size: 18px; line-height: 1; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.stepper button:hover:not(:disabled) { background: #2a2a2a; }
.stepper button:active:not(:disabled) { transform: scale(0.92); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 6ch; text-align: center; font-weight: 600; font-size: 15px; }

.switch { display: inline-flex; background: #000; border-radius: 7px; padding: 3px; gap: 2px; }
.switch-opt { padding: 7px 11px; border-radius: 5px; font-size: 14px; color: var(--field-1-muted); transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) ease; }
.switch[aria-checked="false"] .switch-opt:first-child,
.switch[aria-checked="true"] .switch-opt:last-child { background: var(--accent); color: #fff; font-weight: 600; }

.hero-foot { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.beam { max-width: 100%; overflow-x: auto; padding: 14px 18px; background: var(--field-1-soft); border: 1px solid #2c2c2c; border-radius: 8px; font-family: var(--mono); /* taste-skill-ignore: data-ui code */ font-size: clamp(13px, 1.2vw, 16px); color: #fff; }
.beam code { font-family: inherit; white-space: pre; }
.beam.is-new { animation: beam 700ms var(--ease-out); }
@keyframes beam { 0% { background: #3a0f0c; } 100% { background: var(--field-1-soft); } }
.hero-sub { max-width: 46ch; font-size: var(--step-body); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   HOW IT WORKS: one card, four fields
   ========================================================= */
.how { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--section); }
.how-field { position: relative; min-height: 84svh; padding: clamp(1.5rem, 2.2vw, 2.25rem); display: flex; flex-direction: column; }
.how-field.f1 { background: var(--surface); }
.how-field.f2 { background: var(--surface-2); }
.how-field.f3 { background: var(--field-1); color: #fff; }
.how-field.f4 { background: var(--accent); color: #fff; }
.how-title { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; max-width: 14ch; }
.order { position: absolute; top: 38%; left: 50%; width: min(260px, calc(100% - 2rem)); translate: -50% 0; background: #fff; color: var(--ink); border-radius: 8px; border: 1px solid #e3e3e3; padding: 14px; font-size: 14px; line-height: 1.3; transition: transform var(--t-ui) var(--ease-out); }
.order header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #ececec; } /* taste-skill-ignore: data-ui card */
.order dl div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.order dt { color: #6b6b6b; }
.order dd { font-weight: 500; text-align: right; }
.tag { font-size: 13px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.tag-wait { background: #ececec; color: #4a4a4a; }
.tag-ok { background: #e3f4e8; color: #17692f; }
.tag-live { background: #fde8e6; color: #b3241b; }
@media (hover: hover) and (pointer: fine) { .how-field:hover .order { transform: translateY(-6px); } }
.how-clause { margin-top: auto; font-size: var(--step-lead); line-height: 1.15; font-weight: 500; letter-spacing: -0.015em; max-width: 12ch; }

/* =========================================================
   HOMES: residential, real pictures
   ========================================================= */
.homes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; margin-top: var(--section); }
.homes-text { grid-column: 1 / span 5; display: grid; gap: 1.5rem; }
.homes-pic { grid-column: 6 / -1; display: grid; gap: 0.75rem; }
.xfade { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.xfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms var(--ease-soft); }
.xfade img.is-on { opacity: 1; }
.homes-pic figcaption { color: var(--ink); }

/* =========================================================
   CODE: output index, live sheet
   ========================================================= */
.code { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--section); }
.code-index { grid-column: 1 / span 5; min-width: 0; display: flex; flex-direction: column; gap: 2rem; padding-top: 1rem; }
.code-names { display: flex; flex-direction: column; align-items: flex-start; }
.code-names button { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: #858585; transition: color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.code-names button[aria-selected="true"] { color: var(--ink); }
.code-names button:hover { color: var(--ink); }
.code-names button:active { transform: translateX(4px); }
.code-title { color: var(--accent); font-size: var(--step-lead); letter-spacing: -0.02em; }
.code-note { color: var(--ink); }
.code-stage { grid-column: 7 / -1; background: var(--surface); min-height: 0; position: relative; overflow: hidden; padding: 72px 0 0 64px; }
.sheet { width: 560px; max-width: none; background: var(--field-1); color: #e9e9e9; border-radius: 10px 0 0 0; font-size: 14px; line-height: 1.6; min-height: 0; transition: opacity 200ms ease; }
.sheet.is-swapping { opacity: 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #262626; color: #a9a9a9; font-size: 13px; } /* taste-skill-ignore: data-ui sheet */
.copy { font-size: 13px; color: #fff; padding: 4px 10px; border-radius: 4px; background: #262626; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.copy:hover { background: #3a3a3a; }
.copy:active { transform: scale(0.95); }
.sheet pre { padding: 20px 18px; overflow: hidden; }
.sheet-out pre { padding-bottom: 28px; }
.sheet code { font-family: var(--mono); font-size: 13.5px; white-space: pre; }
.sheet .k { color: #ff7b72; }
.sheet .s { color: #a5d6a7; }
.sheet .c { color: #8b8b8b; }
.sheet-out { border-top: 1px solid #262626; color: #8fd19e; } /* taste-skill-ignore: data-ui sheet */

/* =========================================================
   PRICING: plans as a large table
   ========================================================= */
.pricing { margin-top: var(--section); }
.table-wrap { overflow-x: auto; }
.plans { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--step-lead); line-height: 1.25; table-layout: fixed; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 20px 18px; font-weight: 400; }
.plans thead th { vertical-align: bottom; padding-top: 0; padding-bottom: 28px; }
.plans thead th:first-child { width: 22%; vertical-align: top; }
.plans thead th:first-child .head { max-width: 8ch; }
.plan-name { display: block; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.plan-price { display: block; font-size: var(--step-lead); margin-top: 0.6rem; }
.plan-price small { font-size: var(--step-small); color: inherit; opacity: 0.75; }
.plans tbody th { color: var(--ink); font-weight: 500; }
.plans tbody tr:nth-child(odd) > * { background: var(--surface); }
.plans thead .pick { padding-top: 24px; border-radius: var(--radius) var(--radius) 0 0; }
.plans .pick, .plans tbody tr:nth-child(odd) > .pick { background: var(--accent); color: #fff; }
.plans tbody tr:last-child .pick { border-radius: 0 0 var(--radius) var(--radius); }
.row-buy th, .row-buy td { padding-top: 28px; padding-bottom: 28px; }
.row-buy .button { width: 100%; }

/* =========================================================
   BEEP: named after Sputnik
   ========================================================= */
.beep { margin-top: var(--section); }
.beep-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--gutter); align-items: start; }
.beep-main { grid-column: 1 / span 7; grid-row: 1; background: #000; overflow: hidden; }
.beep-main img { width: 100%; aspect-ratio: 1094 / 896; object-fit: cover; }
.beep-text { grid-column: 8 / -1; grid-row: 1; display: grid; gap: 1.5rem; align-self: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 0.5rem; }
.facts div { padding: 4px 0; }
.facts dt { font-size: var(--step-small); color: var(--muted); }
.facts dd { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.beep-film { grid-column: 1 / span 5; grid-row: 2; display: grid; gap: 0.75rem; }
.beep-film video { width: 100%; height: clamp(260px, 27vw, 400px); object-fit: cover; background: #222; filter: grayscale(1); }
.beep-tall { grid-column: 6 / span 3; grid-row: 2; display: grid; gap: 0.75rem; }
.beep-side { grid-column: 9 / span 4; grid-row: 2; display: grid; gap: 0.75rem; }
.beep-side img { width: 100%; height: clamp(260px, 27vw, 400px); object-fit: cover; object-position: 40% 50%; }
.beep-tall img { width: 100%; height: clamp(260px, 27vw, 400px); object-fit: cover; object-position: 30% 20%; }
.beep figcaption { color: var(--ink); }

/* =========================================================
   STACK: large marks on tiles
   ========================================================= */
.stack { margin-top: var(--section); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { aspect-ratio: 3 / 2; background: var(--surface); border-radius: var(--radius); padding: 24px; }
.tile span { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.tile-head { grid-column: span 2; aspect-ratio: auto; background: var(--accent); color: #fff; }
.tile-head .head { max-width: 10ch; }

/* =========================================================
   FAQ: accordion of filled tiles
   ========================================================= */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--section); align-items: start; }
.faq-title { grid-column: 1 / span 4; position: sticky; top: 96px; max-width: 8ch; }
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.faq details[open] { background: var(--accent); color: #fff; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 24px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]):hover { background: var(--surface-2); } }
.faq details p { padding: 0 24px 24px; max-width: 52ch; }

/* =========================================================
   CTA: first step, already open
   ========================================================= */
.cta { background: var(--accent); color: #fff; margin-top: var(--section); }
.cta-inner { min-height: 72svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-block: 40px; }
.cta-text { grid-column: 1 / span 5; align-self: center; display: grid; gap: 1.25rem; }
.cta-title { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.045em; }
.cta-text p { max-width: 36ch; }
.dialog { grid-column: 7 / span 5; width: min(440px, 100%); justify-self: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 24px; display: grid; gap: 10px; font-size: 15px; box-shadow: 0 30px 60px -20px rgba(60, 10, 6, 0.55); } /* taste-skill-ignore: an open dialog floats */
.dialog-title { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.dialog-label { font-size: 13px; color: #5f5f5f; }
.dialog-field { min-height: 44px; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 6px; font-size: 16px; transition: border-color var(--t-hover) ease; margin-bottom: 6px; }
.dialog-field:focus { outline: none; border-color: var(--ink); }
.seg-light { background: #efefef; width: 100%; margin-bottom: 10px; }
.seg-light button { flex: 1; color: #5f5f5f; }
.seg-light { background: #e6e6e6; }
.seg-light button[aria-checked="true"] { background: #fff; color: var(--ink); }
.dialog-go { min-height: 48px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.dialog-go:hover { background: #2a2a2a; }
.dialog-go:active { transform: scale(0.98); }

/* =========================================================
   FOOTER: tiles
   ========================================================= */
.foot { padding: 10px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.ft { background: var(--surface); border-radius: var(--radius); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; text-decoration: none; }
.ft-statement { grid-column: 1 / span 4; }
.ft-big { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.credits { font-size: var(--step-small); line-height: 1.5; }
.ft-nav { grid-column: 5 / span 3; justify-content: flex-start; gap: 0.35rem; }
.ft-time { grid-column: 8 / span 2; }
.ft-clock { font-size: var(--step-lead); font-weight: 600; }
.ft-mail { grid-column: 10 / span 3; }
.ft-email { font-size: var(--step-lead); font-weight: 500; word-break: break-all; }
.ft-word { grid-column: 1 / span 8; min-height: 320px; background: var(--accent); gap: 0.16em; flex-direction: row; align-items: center; justify-content: center; overflow: hidden; font-size: clamp(2.6rem, 1rem + 6.6vw, 8.5rem); white-space: nowrap; }
.ft-go { grid-column: 9 / -1; min-height: 320px; background: var(--field-1); color: #fff; transition: background-color var(--t-hover) ease; }
.ft-go span { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.ft-go svg { width: 48px; height: 48px; align-self: flex-end; transition: transform var(--t-ui) var(--ease-out); }
.ft-go:hover { background: var(--field-1-soft); }
.ft-go:hover svg { transform: translate(4px, -4px); }

/* =========================================================
   PHONE
   ========================================================= */
@media (max-width: 860px) {
  .hero-nav { display: none; }
  .beep-tall img, .beep-side img, .beep-film video { height: auto; aspect-ratio: 4 / 3; }
  .beam { white-space: normal; }
  .beam code { white-space: pre-wrap; word-break: break-all; }
  .ft-email { font-size: var(--step-body); word-break: normal; overflow-wrap: anywhere; }
  .code-names button { color: #6b6b6b; }
  .hero-stage { padding-block: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .hero-title { font-size: 13.5vw; order: 1; }
  .chip { position: static; rotate: none; width: 100%; max-width: 360px; justify-content: space-between; }
  .chip-type { order: 0; margin-bottom: 8px; }
  .chip-gb { order: 2; margin-top: 8px; }
  .chip-proto { order: 3; }
  .hero-body { justify-content: center; padding-top: 1.5rem; }

  .how { grid-template-columns: 1fr; }
  .how-field { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); column-gap: 1.5rem; row-gap: 1rem; align-items: end; padding-block: 3rem; }
  .how-title { grid-column: 1 / -1; }
  .how-clause { margin-top: 0; grid-column: 1; grid-row: 2; font-size: var(--step-lead); }
  .order { position: static; translate: none; width: 100%; grid-column: 2; grid-row: 2; }

  .homes, .code, .faq, .beep-inner, .cta-inner { grid-template-columns: 1fr; }
  .homes-text, .homes-pic, .code-index, .code-stage, .faq-title, .faq-list,
  .beep-main, .beep-text, .beep-side, .beep-tall, .beep-film, .cta-text, .dialog { grid-column: 1 / -1; grid-row: auto; }
  .homes { row-gap: 2rem; }
  .code-index { gap: 1.25rem; }
  .code-names { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem; padding-bottom: 6px; }
  .code-names button { font-size: var(--step-lead); scroll-snap-align: start; white-space: nowrap; }
  .code-stage { min-height: 70svh; padding: 16px 0 0 16px; margin-top: 1.5rem; }
  .sheet { min-height: 0; }
  .code-stage { min-height: 0; }

  .plans, .plans thead, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: auto; }
  .plans thead { display: none; }
  .table-wrap { display: none; }
  .phone-plans { display: grid; }

  .beep-inner { row-gap: 1.5rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile-head { grid-column: 1 / -1; min-height: 120px; }
  .tile span { font-size: var(--step-lead); }

  .faq-title { position: static; margin-bottom: 1.5rem; }
  .faq summary { min-height: 64px; padding: 14px 20px; }
  .faq details p { padding: 0 20px 20px; }

  .cta-inner { min-height: 0; row-gap: 2.5rem; padding-block: 3rem; }
  .cta-title { font-size: var(--step-display); }
  .dialog { justify-self: stretch; width: 100%; }
  .dialog-go { min-height: 52px; }

  .foot { padding: 6px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ft { min-height: 0; padding: 20px; }
  .ft-word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .ft-word { font-size: clamp(2.2rem, 11vw, 4rem); }
  .ft-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .ft-nav { grid-column: 1; order: 1; }
  .ft-mail { grid-column: 2; order: 1; }
  .ft-time { grid-column: 1 / -1; order: 2; }
  .ft-statement { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 560px) {
  .how-field { grid-template-columns: 1fr; }
  .how-clause { grid-row: 2; grid-column: 1; }
  .order { grid-row: 3; grid-column: 1; max-width: 300px; }
}

/* plans for the phone: stacked blocks, built by main.js from the table */
.phone-plans { display: none; gap: 8px; }
.pp { background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.pp.pick { background: var(--accent); color: #fff; }
.pp-name { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.pp-price { font-size: var(--step-lead); }
.pp dl { display: grid; gap: 10px; }
.pp dt { font-size: var(--step-small); }
.pp dd { font-size: var(--step-body); }
.pp .button { width: 100%; }
.phone-plans .pp-title { font-size: var(--step-head); margin-bottom: 1rem; }

/* =========================================================
   MOTION (content stays visible without JavaScript)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; translate: 0 22px; animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .chip[data-rise] { animation-name: rise-chip; }
  .js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity 700ms var(--ease-out), translate 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .js .order[data-reveal] { translate: -50% 26px; }
  .js .order[data-reveal].is-in { translate: -50% 0; }
  .drift { transition: transform 200ms linear; will-change: transform; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .js .order[data-reveal], .js .order[data-reveal].is-in { translate: 0 26px; }
  .js .order[data-reveal].is-in { translate: 0 0; }
}
@keyframes rise { to { opacity: 1; translate: 0 0; } }
@keyframes rise-chip { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .xfade img { transition: none; }
  .beep-film video { display: none; }
  .beep-film { background: url("assets/1957-10-07-new-moon-poster.jpg") center / cover; aspect-ratio: 4 / 3; }
}
