/* twdial.com. One stylesheet for the landing page; the legal pages add legal.css.
   Layers, lowest first. On wide screens: page colour and glows, the 3D world, the page's words
   (so nothing in the world ever covers them), labels that belong to the world, the header.
   On tall screens the world has the top of the screen to itself, so there it is: colour and
   glows, the words, a fade over the stage, the world, its labels, the header. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Twdial red, from the app icon. */
  --red-300: #ff8a7a;
  --red-400: #ff5a54;
  --red-500: #e5243a;
  --red-600: #c8152c;
  --red-700: #a30f24;
  --red-800: #7d0a1b;
  --red-900: #560612;
  --red-950: #2b0309;

  /* Night is the default; day (below) is the same room with the lights up. */
  --base: #16050b;
  --glow: #8f0d1f;
  --glow-soft: rgb(143 13 31 / 0.55);
  --surface: rgb(255 246 244 / 0.06);
  --surface-strong: rgb(255 246 244 / 0.1);
  --header: rgb(22 5 11 / 0.66);

  --white: #fff6f4;
  --soft: rgb(255 246 244 / 0.94);
  --faint: rgb(255 246 244 / 0.66);
  --line: rgb(255 246 244 / 0.18);

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --text: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* One shape rule: things you press are pills, things that hold content have 28px corners. */
  --tile: 28px;
  --pad: clamp(1.25rem, 4.4vw, 4.5rem);
  --wide: 1360px;
  --header-height: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-world: 1;
  --z-words: 2;
  --z-stage-fade: 2;
  --z-labels: 4;
  --z-header: 10;
}

@media (prefers-color-scheme: light) {
  :root {
    --base: #a30f24;
    --glow: #c8152c;
    --glow-soft: rgb(200 21 44 / 0.6);
    --surface: rgb(43 3 9 / 0.26);
    --surface-strong: rgb(43 3 9 / 0.4);
    --header: rgb(125 10 27 / 0.72);
    --soft: #fff6f4;
    --faint: rgb(255 246 244 / 0.8);
    --line: rgb(255 246 244 / 0.26);
  }
}

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

html {
  background: var(--base);
  color: var(--white);
  font-family: var(--text);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; min-height: 100svh; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--white); color: var(--red-800); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: 0.7rem 1.1rem; border-radius: 999px; background: var(--white); color: var(--red-800); font-weight: 600; text-decoration: none; }
.skip:focus { top: 0.75rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-large { width: 2.25rem; height: 2.25rem; }

/* ---------- The room: one fixed glow behind everything ---------- */

body.landing::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 76% 40%, var(--glow-soft) 0%, transparent 70%),
    radial-gradient(60% 50% at 8% 102%, rgb(0 0 0 / 0.3) 0%, transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgb(0 0 0 / 0.42) 100%);
}

/* ---------- The 3D world ---------- */

.world, .labels, .stage-fade { display: none; }
.world-on .world {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100lvh;
  z-index: var(--z-world);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.world-ready .world { opacity: 1; }
.world-still .world { transition: none; }
.world-on .labels { display: block; position: fixed; inset: 0; z-index: var(--z-labels); pointer-events: none; overflow: clip; }
.world-on .fallback, html:not(.world-on) .needs-world { display: none; }
.world-on.is-grabbing, .world-on.is-grabbing * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.world-on.can-grab { cursor: grab; }
.world-on.can-press { cursor: pointer; }
/* Sideways drags turn the phone and the globe; up and down still scrolls the page. */
.world-on body { touch-action: pan-y pinch-zoom; }

.chip {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(22 5 11 / 0.74);
  color: var(--white);
  font: 500 0.8125rem/1.2 var(--mono);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.chip b { font-weight: 500; color: var(--faint); }
.chip-plain { border-color: transparent; background: none; font: 600 0.9375rem/1.2 var(--text); }
.chip-struck { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--faint); }
.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: var(--z-header);
  max-width: min(30rem, calc(100vw - 2rem));
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(22 5 11 / 0.86);
  color: var(--white);
  font-size: 0.9375rem;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
  pointer-events: none;
}
.toast.is-up { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Header ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--pad);
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: var(--header); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
@media (prefers-reduced-transparency: reduce) { .nav.is-stuck { background: var(--base); -webkit-backdrop-filter: none; backdrop-filter: none; } }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font: 700 1.3125rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 22%; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav-links a { font-size: 0.9375rem; font-weight: 500; color: var(--soft); text-decoration: none; padding: 0.4rem 0; white-space: nowrap; }
.nav-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-button { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--white); cursor: pointer; transition: background-color 0.25s ease, transform 0.2s var(--ease); }
.icon-button:hover { background: var(--surface-strong); }
.icon-button:active { transform: scale(0.94); }
.icon-button[aria-pressed="true"] .sound-off, .icon-button[aria-pressed="false"] .sound-on { display: none; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--red-800);
  font: 600 1.0625rem/1 var(--text);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px -12px rgb(43 3 9 / 0.7);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgb(43 3 9 / 0.85); }
.button:active { transform: translateY(0) scale(0.98); }
.button-quiet { background: transparent; color: var(--white); border-color: rgb(255 246 244 / 0.5); box-shadow: none; }
.button-quiet:hover { background: var(--surface-strong); box-shadow: none; }
.button-small { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }

html[data-store="soon"] .store-live, html[data-store="live"] .store-soon { display: none; }

/* ---------- Words ---------- */

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
/* Sized so the hero's headline sits on two lines beside the phone at any width. */
h1 { font-size: clamp(2.5rem, 5.4vw - 0.45rem, 4.6rem); line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 1.25rem + 2.9vw, 3.75rem); line-height: 1; }
h3 { font: 600 clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem)/1.12 var(--display); letter-spacing: -0.025em; }
.lede { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--soft); max-width: 33em; text-wrap: pretty; }
.copy { display: grid; gap: 1.35rem; justify-items: start; max-width: 37rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.status { font: 500 0.8125rem/1 var(--mono); letter-spacing: 0.01em; padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); }

/* ---------- Sections ---------- */

/* Each block of words is its own layer; the sections themselves are not, so the 3D world can sit
   between a section's glow and its words. */
.station, .tour-head { padding-inline: var(--pad); }
.station { position: relative; min-height: 100svh; }
.station > *, .tour-head > * { position: relative; z-index: var(--z-words); }
.station > *, .tour-head > * { max-width: var(--wide); }

/* A plain picture of the app, shown wherever the 3D world is not running. */
.device { width: clamp(13rem, 24vw, 19.5rem); padding: 0.7rem; border-radius: 3.1rem; background: linear-gradient(145deg, #34343a, #0b0b0d); box-shadow: 0 50px 90px -30px rgb(20 0 4 / 0.8), inset 0 0 0 2px #45454b; }
.device img { width: 100%; border-radius: 2.5rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 2rem; padding-top: var(--header-height); margin-inline: auto; }
.hero .device { justify-self: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(62% 70% at 74% 44%, var(--red-600) 0%, var(--glow) 34%, transparent 72%); opacity: 0.85; }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.ways { display: grid; gap: 1.15rem; margin-top: 0.75rem; }
.ways li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.ways .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--red-300); }
.ways strong { display: block; font: 600 1.125rem/1.3 var(--display); letter-spacing: -0.015em; }
.ways span { display: block; color: var(--soft); max-width: 30em; }

.direct { display: grid; grid-template-rows: auto minmax(42svh, 1fr) auto; padding-block: calc(var(--header-height) + 5svh) 9svh; }
.direct-head { grid-row: 1; justify-self: center; justify-items: center; text-align: center; max-width: 44rem; }
.direct .device { grid-row: 2; justify-self: center; align-self: center; margin-block: 3rem; }
.facts { grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); justify-self: center; width: 100%; max-width: 68rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 0.5rem; align-content: start; }
.facts .icon { width: 1.5rem; height: 1.5rem; color: var(--red-300); margin-bottom: 0.35rem; }
.facts h3 { font-size: 1.25rem; }
.facts p { color: var(--soft); }

.tour-head { padding-top: 16svh; }
.tour-head h2 { max-width: 14em; }
.tour-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 92svh; }
.tour-step .copy { gap: 0.9rem; max-width: 30rem; }
.tour-step .icon-large { color: var(--red-300); margin-bottom: 0.4rem; }
.tour-step h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.tour-step p { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); color: var(--soft); }
.tour-step .device { justify-self: center; }

.numbers { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.numbers .device { justify-self: center; }
.numbers .copy { max-width: 31rem; }
.notes { display: grid; gap: 0.9rem; margin-top: 0.5rem; }
.notes li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; color: var(--soft); max-width: 31em; }
.notes .icon { margin-top: 0.2rem; color: var(--red-300); }
.hint { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font: 500 0.875rem/1 var(--mono); color: var(--faint); }

.setup { display: grid; align-content: center; gap: clamp(2rem, 4vw, 3.25rem); padding-block: 14svh; justify-items: center; }
.setup h2 { text-align: center; max-width: 13em; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(15rem, auto); gap: 1.1rem; width: 100%; max-width: 70rem; }
.tile { position: relative; overflow: hidden; border-radius: var(--tile); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem, 2.6vw, 2.25rem); display: grid; align-content: space-between; gap: 1.5rem; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tile-text { display: grid; gap: 0.6rem; max-width: 24rem; }
.tile-text p { color: var(--soft); }
.tile-keys { grid-column: span 7; grid-row: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-content: stretch; align-items: start; padding-bottom: 0; padding-right: 0; }
.tile-keys img { align-self: end; width: 100%; border-radius: 2rem 0 0 0; border: 6px solid #121214; border-right: 0; border-bottom: 0; box-shadow: -20px 20px 60px -20px rgb(20 0 4 / 0.7); aspect-ratio: 660 / 1040; object-fit: cover; object-position: top; }
.tile-number { grid-column: span 5; background: radial-gradient(120% 130% at 12% 0%, var(--red-400) 0%, var(--red-500) 38%, var(--red-800) 100%); border-color: rgb(255 246 244 / 0.28); }
.big-number { font: 500 clamp(1.35rem, 0.6rem + 1.9vw, 2.25rem)/1 var(--mono); letter-spacing: -0.04em; white-space: nowrap; color: var(--white); }
.tile-plumbing { grid-column: span 5; }
.made { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.made li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem 0.45rem 0.6rem; border-radius: 999px; background: var(--surface-strong); font: 500 0.8125rem/1 var(--mono); }
.made .icon { width: 1em; height: 1em; color: var(--red-300); }
.setup-note { color: var(--soft); text-align: center; }

.questions { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: 16svh; min-height: 0; }
.questions-head { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-height) + 4rem); }
.questions-head p { color: var(--soft); }
.questions-head a { color: var(--white); text-underline-offset: 0.3em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font: 600 clamp(1.125rem, 1.02rem + 0.5vw, 1.4375rem)/1.2 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.4s var(--ease); color: var(--red-300); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.6rem 0; color: var(--soft); max-width: 40em; }
.faq details::details-content { transition: opacity 0.35s ease, content-visibility 0.35s allow-discrete; opacity: 0; }
.faq details[open]::details-content { opacity: 1; }

.get { display: grid; align-content: end; justify-items: center; padding-block: 52svh 12svh; text-align: center; }
.get::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 55% at 50% 38%, var(--red-600) 0%, var(--glow) 36%, transparent 74%); opacity: 0.9; }
.get-copy { display: grid; gap: 1.35rem; justify-items: center; }
.get h2 { max-width: 12em; }
.get .actions { justify-content: center; }
html:not(.world-on) .get { padding-top: 20svh; }

/* ---------- Footer ---------- */

.footer { position: relative; z-index: var(--z-words); padding: 3rem var(--pad) max(2.5rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(0 0 0 / 0.22); display: grid; gap: 1.1rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a { font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.fine { font-size: 0.875rem; color: var(--faint); max-width: 62em; }

/* ---------- Things arriving ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  @supports (animation-timeline: view()) {
    [data-fade]:not(.hero-copy) { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 60%; }
  }
}

/* ---------- Small screens: the 3D stage on top, the words under it ---------- */

@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  :root { --header-height: 60px; --z-words: 1; --z-world: 3; }
  .nav-links { display: none; }
  body.landing::before { background: radial-gradient(90% 46% at 50% 26%, var(--glow-soft) 0%, transparent 72%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgb(0 0 0 / 0.42) 100%); }
  .hero::before, .get::before { display: none; }

  .hero, .why, .tour-step, .numbers, .questions { grid-template-columns: minmax(0, 1fr); }
  .station { min-height: 0; padding-block: 4.5rem; }
  .hero { padding-top: calc(var(--header-height) + 2.5rem); gap: 2.5rem; }
  .device { width: min(15rem, 62vw); justify-self: center; }
  .tour-head { padding-top: 4.5rem; }
  .tour-step { min-height: 0; gap: 2.25rem; padding-block: 3rem; }
  .direct { grid-template-rows: auto; gap: 2.5rem; padding-block: 4.5rem; }
  .direct-head, .facts, .direct .device { grid-row: auto; }
  .direct-head { justify-items: start; text-align: left; justify-self: start; }
  .direct .device { margin-block: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile-keys, .tile-number, .tile-plumbing { grid-column: auto; grid-row: auto; }
  .tile-keys { grid-template-columns: minmax(0, 1fr); padding-right: clamp(1.4rem, 2.6vw, 2.25rem); }
  .tile-keys img { width: 78%; justify-self: end; margin-right: calc(-1 * clamp(1.4rem, 2.6vw, 2.25rem)); aspect-ratio: 660 / 760; }
  .tile-number { min-height: 13rem; }
  .setup, .questions { padding-block: 5rem; }
  .setup h2 { text-align: left; justify-self: start; }
  .setup-note { text-align: left; justify-self: start; }
  .questions-head { position: static; }
  .faq details p { padding-right: 0; }
  .get { padding-block: 5rem; }

  /* With the world running, each stop is one screen: the stage fills the top, the words sit
     below it, and anything scrolling up behind the stage fades into the room. */
  .world-on .hero, .world-on .why, .world-on .direct, .world-on .tour-step, .world-on .numbers, .world-on .get {
    min-height: 100svh; padding-block: 56svh 3.25rem; display: grid; align-content: start; gap: 1.5rem;
  }
  .world-on .hero { padding-top: 52svh; gap: 1.1rem; }
  .world-on .hero .actions { gap: 0.6rem; flex-wrap: nowrap; }
  .world-on .hero .button { padding: 0 1.05rem; font-size: 0.9375rem; }
  .world-on .tour-head { padding-top: 5rem; }
  .world-on .stage-fade {
    display: block; position: fixed; inset: 0; height: 100lvh; z-index: var(--z-stage-fade); pointer-events: none;
    background: radial-gradient(90% 46% at 50% 26%, var(--glow-soft) 0%, transparent 72%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgb(0 0 0 / 0.42) 100%), var(--base);
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 37svh, transparent 53svh);
    mask-image: linear-gradient(to bottom, #000 0, #000 37svh, transparent 53svh);
  }
  .world-on:not(.stage-off) .nav.is-stuck { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  h1 { font-size: clamp(2.2rem, 9.4vw, 3rem); }
  .button { min-height: 3rem; padding: 0 1.3rem; font-size: 1rem; }
}

/* Short phones: the hero drops its status line so the buttons stay in view. */
@media (max-height: 780px) and (max-width: 899px) {
  .world-on .hero .status { display: none; }
  .world-on .hero .lede { font-size: 1rem; }
}

@media (max-width: 420px) {
  .nav { gap: 0.75rem; }
  .brand span { font-size: 1.1875rem; }
  .button-small { padding: 0 0.9rem; font-size: 0.875rem; }
}
