/* Beepsake launch site.
   Palette: translucent 90s plastic. Grape for the page's loud moments, teal for
   the gadgets, LCD green and one red light. Yellow is kept for one thing: joining
   the waitlist. The pixel font is the page's "status voice": the pager's screen,
   the small labels above headings and the prototype tag. */

@font-face { font-family: "Bagel Fat One"; src: url("/fonts/bagel-fat-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "VT323"; src: url("/fonts/vt323-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --grape: #4b2fa6;
  --grape-deep: #2a1764;
  --lilac: #ebe6fa;
  --teal: #12a594;
  --teal-deep: #0b6f64;
  --lcd: #b4c68f;
  --lcd-ink: #1e2a16;
  --red: #e8382d;
  --sun: #ffd447;
  --ink: #23164f;
  --paper: #fbfaff;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "VT323", "Courier New", monospace;
  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  /* Every section's content sits in the same 72rem column, however wide the window. */
  --edge: max(var(--gutter), calc((100vw - 72rem) / 2));
  --band: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lilac); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: 0.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }

/* Two rings, dark inside and yellow outside, so one of them shows on every background. */
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* The small pixel-font label above a heading. */
.eyebrow { font: 400 1.3rem/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grape); margin: 0 0 0.7rem; }

/* ---------------------------------------------------------------- header -- */
.top { background: var(--grape); color: var(--paper); display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem var(--edge) 0; }
.wordmark { font-family: var(--display); font-size: 1.9rem; line-height: 1; text-decoration: none; display: inline-flex;
  align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.wordmark-mark { height: 1.25em; width: auto; align-self: center; margin-right: -0.15em; }
.tagline { font: 500 0.95rem/1 var(--body); opacity: 0.85; }
.top-link { font-weight: 700; text-underline-offset: 0.25em; white-space: nowrap; }

/* ------------------------------------------------------------------ hero -- */
.hero { background: var(--grape); color: var(--paper); display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy demo" "cta demo";
  column-gap: clamp(2rem, 5vw, 5rem); align-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge) clamp(3rem, 7vw, 5.5rem); }
.hero-copy { grid-area: copy; align-self: end; }
.hero-cta { grid-area: cta; align-self: start; margin: 0; }
.demo { grid-area: demo; align-self: center; display: grid; gap: 1.6rem; justify-items: start; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); max-width: 11ch; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 31rem; margin: 1.4rem 0 1.75rem; }

/* The prototype tag: an LCD label, so it is the first thing read and still belongs. */
.status { display: inline-block; font: 400 1.3rem/1 var(--pixel); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lcd-ink); background: var(--lcd); border-radius: 7px; padding: 0.4rem 0.75rem 0.35rem; margin: 0 0 1.1rem;
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.22); }

/* Yellow means one thing on this page: join the waitlist. */
.button, .waitlist button {
  font: 700 1.05rem/1 var(--body); color: var(--ink); background: var(--sun); border: 0; border-radius: 999px;
  padding: 0.95rem 1.5rem; text-decoration: none; display: inline-block; cursor: pointer;
  box-shadow: 0 5px 0 #b98f0a; transition: transform 0.08s, box-shadow 0.08s; }
.button:hover, .waitlist button:hover { transform: translateY(2px); box-shadow: 0 3px 0 #b98f0a; }
.button:active, .waitlist button:active { transform: translateY(5px); box-shadow: 0 0 0 #b98f0a; }
.button:focus-visible, .waitlist button:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 5px 0 #b98f0a; border-radius: 999px; }
button:disabled { opacity: 0.6; cursor: default; }

/* ----------------------------------------------------------------- pager -- */
.pager { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 5%; align-items: center;
  width: 100%; max-width: 27rem; aspect-ratio: 16 / 10; padding: 7% 6%; border-radius: 13% / 20%;
  background: linear-gradient(160deg, #3fd0bf 0%, var(--teal) 42%, var(--teal-deep) 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), inset 0 -14px 24px rgba(4, 60, 54, 0.45), 0 22px 0 rgba(20, 8, 60, 0.35);
  transform: rotate(-3deg); container-type: inline-size; }
.pager-shine { position: absolute; left: 7%; right: 30%; top: 5%; height: 9%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); }
.lcd { background: var(--lcd); color: var(--lcd-ink); font-family: var(--pixel); height: 100%; border-radius: 6% / 10%;
  padding: 5% 7%; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.28), inset 0 0 0 3px rgba(11, 60, 54, 0.55); }
.lcd-from { font-size: 6cqw; line-height: 1; opacity: 0.75; }
.lcd-text { flex: 1; display: flex; align-items: center; font-size: 25cqw; line-height: 0.9; overflow-wrap: anywhere; }
.lcd-text.is-medium { font-size: 12cqw; }
.lcd-text.is-long { font-size: 8cqw; line-height: 1; }
/* Once, when the page opens: the first page "arrives" a character at a time. Silent,
   and done with a clip so nothing is re-announced to a screen reader. */
.lcd-text.is-intro { animation: arrive 0.9s steps(3, jump-none) 0.5s both; }
@keyframes arrive { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.pager-side { display: flex; flex-direction: column; align-items: center; gap: 12%; height: 100%; justify-content: center; }
.pager-name { font-family: var(--display); font-size: 4.4cqw; color: rgba(255, 255, 255, 0.9); writing-mode: vertical-rl; }
.pager-key { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--grape-deep);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.35), 0 3px 0 rgba(255, 255, 255, 0.25); }
.pager.is-buzzing { animation: buzz 0.45s linear 2; }
@keyframes buzz {
  0%, 100% { transform: rotate(-3deg) translate(0, 0); }
  20% { transform: rotate(-4.2deg) translate(-3px, 1px); }
  40% { transform: rotate(-1.8deg) translate(3px, -1px); }
  60% { transform: rotate(-4deg) translate(-2px, 0); }
  80% { transform: rotate(-2deg) translate(2px, 1px); }
}

/* The hero shows both gadgets: the machine peeks out from behind the pager. */
.gadgets { position: relative; width: 100%; max-width: 30rem; padding: 0 12% 17% 0; }
.gadgets .pager { max-width: none; z-index: 1; }
.gadgets .machine-mini { position: absolute; right: 0; bottom: 0; width: 50%; z-index: 0; transform: rotate(7deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -10px 18px rgba(15, 5, 50, 0.5), 0 10px 0 rgba(20, 8, 60, 0.35); }

.pagebox { width: 100%; max-width: 30rem; }
.pagebox label { font-weight: 700; display: block; margin-bottom: 0.5rem; }
.pagebox-row, .waitlist-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pagebox input, .waitlist input[type="email"] { flex: 1 1 11rem; min-width: 0; font: 400 1.05rem/1.2 var(--body); color: var(--ink);
  background: var(--paper); border: 3px solid var(--grape-deep); border-radius: 14px; padding: 0.8rem 1rem; }
.pagebox input { font-family: var(--pixel); font-size: 1.5rem; text-transform: uppercase; padding: 0.45rem 1rem; }
/* Keys on the pager side of things are LCD green, never yellow. */
.key, .codes button { font: 400 1.4rem/1 var(--pixel); text-transform: uppercase; color: var(--lcd-ink); background: var(--lcd);
  border: 0; border-radius: 10px; min-height: 2.75rem; min-width: 2.75rem; padding: 0.4rem 0.9rem; cursor: pointer;
  box-shadow: 0 4px 0 rgba(15, 5, 50, 0.55); transition: transform 0.08s, box-shadow 0.08s; }
.key { padding: 0.4rem 1.2rem; }
.key:hover, .codes button:hover { background: #c7d7a5; }
.key:active, .codes button:active { transform: translateY(4px); box-shadow: 0 0 0 rgba(15, 5, 50, 0.55); }
.key:focus-visible, .codes button:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 4px 0 rgba(15, 5, 50, 0.55); border-radius: 10px; }
.codes { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.codes-label { font-size: 0.95rem; margin-right: 0.2rem; }
.means { min-height: 1.6em; margin: 0.8rem 0 0; font-size: 0.95rem; opacity: 0.9; }
.after { margin: 0.6rem 0 0; font-weight: 700; }
.after a { text-underline-offset: 0.2em; }

/* --------------------------------------------------------------- devices -- */
.devices { padding: var(--band) var(--edge); }
.devices h2, .parents h2, .questions h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.device { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.device-flip .device-art { order: 2; }
/* Each gadget sits on its own coloured tile, so it has a place instead of floating. */
.tile { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 2rem; padding: 9% 10%; }
.tile-grape { background: var(--grape-deep); }
.tile-paper { background: var(--paper); box-shadow: inset 0 0 0 3px var(--ink); }
.device-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.9rem; color: var(--grape); }
.device-copy p { max-width: var(--measure); }
.device-copy ul { list-style: none; padding: 0; margin: 1.3rem 0 0; max-width: var(--measure); border-top: 3px solid var(--ink); }
.device-copy li { padding: 0.7rem 0; border-bottom: 1.5px solid rgba(35, 22, 79, 0.25); font-weight: 500; }
.pager-small { max-width: 24rem; transform: rotate(4deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), inset 0 -14px 24px rgba(4, 60, 54, 0.45), 0 18px 0 rgba(0, 0, 0, 0.4); }

/* --------------------------------------------------------------- machine -- */
.machine { width: 100%; max-width: 25rem; aspect-ratio: 4 / 3; border-radius: 9% / 12%; padding: 7%;
  display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto; gap: 8% 7%;
  background: linear-gradient(165deg, #7d5fe0 0%, var(--grape) 55%, var(--grape-deep) 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.2), inset 0 -16px 26px rgba(15, 5, 50, 0.5), 0 18px 0 rgba(18, 165, 148, 0.45);
  transform: rotate(-2deg); container-type: inline-size; }
.machine-grille { border-radius: 50%; aspect-ratio: 1; align-self: center; width: 100%;
  background: radial-gradient(circle, var(--grape-deep) 34%, transparent 36%) 0 0 / 14% 14%, rgba(255, 255, 255, 0.12); }
.machine-tape { background: rgba(10, 4, 40, 0.72); border-radius: 8% / 12%; display: flex; align-items: center; justify-content: space-evenly;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25); }
.reel { width: 26%; aspect-ratio: 1; border-radius: 50%; border: 0.9cqw solid var(--paper); animation: spin 6s linear infinite;
  background: radial-gradient(circle, #1a0d3d 0 20%, var(--paper) 21% 30%, transparent 31%),
    repeating-conic-gradient(var(--paper) 0 30deg, transparent 30deg 60deg); }
.machine-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 3.5%; }
/* Drawn as the machine's own keys, squarish and pale, so they do not look like buttons on this page. */
.machine-btn { font: 700 3.1cqw/1 var(--body); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); background: var(--lilac);
  border-radius: 1.6cqw; padding: 3% 3.6%; box-shadow: 0 0.9cqw 0 rgba(10, 4, 40, 0.75); }
.machine-rec::before { content: ""; display: inline-block; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--red); margin-right: 1.2cqw; }
.machine-count { margin-left: auto; font: 400 11cqw/0.9 var(--pixel); color: #ff5a4f; background: #1a0d3d; border-radius: 8px; padding: 1% 4% 0; }
.machine-led { width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0.8cqw rgba(232, 56, 45, 0.3), 0 0 5cqw var(--red);
  animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { background: #5a1410; box-shadow: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- parents -- */
.parents { background: var(--paper); padding: var(--band) var(--edge); }
.parents-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 2.4rem; }
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.controls > div { border-top: 3px solid var(--ink); padding: 1rem 0 1.5rem; }
.controls h3 { font: 700 1.2rem/1.2 var(--body); letter-spacing: 0; margin-bottom: 0.4rem; }
.controls p { margin: 0; max-width: 30rem; }

/* A drawing of the parent's phone showing the message log. */
.phonefig { margin: 0; width: 17rem; }
.phonefig figcaption { font-size: 0.9rem; margin-top: 1.2rem; text-align: center; opacity: 0.8; }
.phone { background: var(--ink); border-radius: 2.2rem; padding: 0.6rem; transform: rotate(-2deg);
  box-shadow: 0 16px 0 rgba(75, 47, 166, 0.2); }
.phone-bar { background: var(--grape); color: var(--paper); font: 400 1.25rem/1 var(--display); padding: 1.5rem 1rem 0.9rem;
  border-radius: 1.7rem 1.7rem 0 0; }
.log-row { background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.5rem; align-items: center;
  padding: 0.75rem 1rem; border-bottom: 1.5px solid rgba(35, 22, 79, 0.18); }
.log-row:last-child { border-bottom: 0; border-radius: 0 0 1.7rem 1.7rem; padding-bottom: 1.6rem; }
.log-kind { grid-column: 1 / -1; font: 400 1rem/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grape); }
.log-main { font-weight: 700; display: flex; align-items: center; gap: 0.45rem; }
.log-pixel { font: 400 1.5rem/1 var(--pixel); }
.log-meta { grid-column: 1; font-size: 0.82rem; opacity: 0.8; }
.log-play { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--grape); position: relative; flex: none; }
.log-play::after { content: ""; position: absolute; left: 38%; top: 28%; border: 0.35rem solid transparent; border-left: 0.55rem solid var(--paper); border-right: 0; }
.tag { grid-column: 2; grid-row: 2 / span 2; font: 700 0.72rem/1 var(--body); border-radius: 999px; padding: 0.35rem 0.6rem; white-space: nowrap; }
.tag-ok { background: #cfe6c9; color: #173a12; }
.tag-wait { background: var(--sun); color: var(--ink); }

/* ------------------------------------------------------------- questions -- */
/* Heading on the left, answers on the right, so the section fills the column. */
.questions { padding: var(--band) var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  grid-template-areas: "label list" "title list" ". list"; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.questions .eyebrow { grid-area: label; }
.questions h2 { grid-area: title; }
.qa { grid-area: list; border-top: 3px solid var(--ink); }
.qa details { border-bottom: 1.5px solid rgba(35, 22, 79, 0.25); }
.qa summary { font: 700 1.2rem/1.25 var(--body); padding: 0.95rem 2.5rem 0.95rem 0; min-height: 2.75rem; cursor: pointer; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0.4rem; top: 0.55rem; font: 400 1.9rem/1 var(--pixel); color: var(--grape); }
.qa details[open] summary::after { content: "-"; }
.qa details p { margin: 0 0 1.1rem; max-width: 38rem; }

/* -------------------------------------------------------------- waitlist -- */
/* The page's one job, drawn as the product: you leave something on the machine. */
.waitlist { background: var(--teal); color: #06231f; padding: var(--band) var(--edge);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.waitlist-card { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 10px 10px 0 var(--teal-deep); }
.waitlist h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--grape-deep); margin-bottom: 1.1rem; }
.waitlist form { margin: 1.5rem 0 1.1rem; }
.waitlist label { font-weight: 700; display: block; margin-bottom: 0.5rem; }
.waitlist input[type="email"] { border-color: var(--ink); }
.waitlist input[aria-invalid="true"] { border-color: #a3160e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.6em; margin: 0.9rem 0 0; font-weight: 700; }
.form-note.is-error, .result.is-error { color: #a3160e; }
/* Shown only when the form was posted without JavaScript and the page came back to #joined or #try-again. */
.result { display: none; font-weight: 700; border-left: 5px solid var(--teal); padding: 0.2rem 0 0.2rem 0.9rem; margin: 1.2rem 0 0; }
.result.is-error { border-left-color: #a3160e; }
.result:target { display: block; }
.small { font-size: 0.93rem; }
.waitlist .small { margin-bottom: 0; }

.waitlist-art { display: grid; justify-items: center; gap: 1.6rem; }
.waitlist-art .machine { max-width: 23rem; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.2), inset 0 -16px 26px rgba(15, 5, 50, 0.5), 0 18px 0 var(--teal-deep); }
/* Quiet until someone joins: no blinking light or turning reels beside a form. */
.waitlist-art .machine-led { animation: none; background: #5a1410; box-shadow: none; }
.waitlist-art .reel { animation: none; }
.waitlist-art .is-on .machine-led { background: var(--red); box-shadow: 0 0 0 0.8cqw rgba(232, 56, 45, 0.3), 0 0 5cqw var(--red); }
.machine-note { font: 400 1.4rem/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }

/* ---------------------------------------------------------------- footer -- */
.foot { background: var(--grape-deep); color: var(--paper); padding: 2.2rem var(--edge); display: flex; flex-wrap: wrap;
  gap: 1rem 2.5rem; align-items: baseline; }
.wordmark-small { font-size: 1.4rem; }
.foot nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot .small { margin: 0 0 0 auto; opacity: 0.8; }
/* A hidden door to /top8: a small red message light that blinks, as the machine's does when
   something is waiting. It holds steady while pointed at or focused. */
.door { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-left: 0.5rem; vertical-align: baseline;
  background: var(--red); box-shadow: 0 0 0 2px rgba(232, 56, 45, 0.3), 0 0 8px var(--red); animation: blink 1.2s steps(1) infinite; }
.door:hover, .door:focus-visible { animation: none; background: var(--red); box-shadow: 0 0 0 3px rgba(232, 56, 45, 0.35), 0 0 12px var(--red); }

/* ------------------------------------------------------- plain text pages -- */
.page { max-width: 42rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter); }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; color: var(--grape); }
.page h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.page .button { margin-top: 1rem; }
.top-plain { padding-bottom: 1.1rem; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 64rem) {
  .parents-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .controls { width: 100%; }
}
@media (max-width: 52rem) {
  /* Phone order: what it is, try it, then the ask. */
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "demo" "cta"; row-gap: 1.75rem; }
  .hero-cta { justify-self: start; }
  .lede { margin-bottom: 0; }
  .demo { justify-items: center; }
  .gadgets { max-width: 24rem; }
  .device, .waitlist { grid-template-columns: minmax(0, 1fr); }
  .questions { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "title" "list"; }
  .qa { margin-top: 1.6rem; }
  /* The label takes its own line so the three code keys stay together. */
  .codes-label { flex-basis: 100%; }
  .device-flip .device-art { order: 0; }
  /* The pager is already on screen in the hero: on a phone its second picture only adds scrolling. */
  .device-pager .device-art { display: none; }
  .tile { aspect-ratio: 3 / 2; padding: 7% 14%; border-radius: 1.5rem; }
  .controls { grid-template-columns: minmax(0, 1fr); }
  .phonefig { width: 14.5rem; }
  .waitlist-art { order: -1; }
  .waitlist-art .machine { max-width: 15rem; }
  .waitlist-card { box-shadow: 7px 7px 0 var(--teal-deep); }
  .waitlist-row button { flex: 1 1 100%; }
  .foot .small { margin-left: 0; }
}
@media (max-width: 26rem) {
  .tagline { display: none; }
  .foot .tagline { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pager.is-buzzing, .reel, .machine-led, .lcd-text.is-intro, .door { animation: none; }
  .button, .key, .codes button, .waitlist button { transition: none; }
}
