/* Folds. OLED black. The Fold Stats colors: iOS system orange for open, system blue for closed. */

:root {
  color-scheme: dark;
  --bg: #000;
  --card: #1D1D1F;
  --ink: #F5F5F7;
  --dim: #A1A1A6;
  --open: #FF9F0A;
  --closed: #0A84FF;
  --none: #2C2C2E;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --max: 74rem;
  font-family: -apple-system, system-ui, sans-serif;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.5 -apple-system, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.act, .tile, .site, .store { transition: transform 160ms ease, box-shadow 160ms ease; }
/* The page marks what nobody can see as resting, and nothing in it moves until it is seen again. */
.resting, .resting * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }  .act, .tile, .site, .store { transition: none; } }
:focus-visible { outline: 2px solid var(--open); outline-offset: 3px; }
/* A section an in-page link has just scrolled to holds focus for the next Tab; no ring round it. */
section:focus-visible { outline: none; }

.wrap { width: min(var(--max), calc(100% - var(--gut) * 2)); margin-inline: auto; }
/* Words for screen readers only, such as the name of a button the page shows as its symbol.
   Placed before the symbol, so Reader view and a copy of the text read "Info ⓘ". */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: 0.75rem var(--gut);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
/* Every link in the header is a 44 pt target, Apple's minimum for a finger: as tall as the
   bar's content, and padded at the sides by as much as the gap between them gives up, so the
   words stay where they were. On a narrow screen the game link is its icon alone. */
.brand, .nav-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand {
  font-weight: 760;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.2rem;
}
.nav-link {
  justify-content: center;
  min-width: 2.75rem;
  padding-inline: 0.3rem;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--ink); }
.nav nav { display: flex; align-items: center; gap: 0.6rem; margin-right: -0.3rem; }
.nav-atc { gap: 0.45rem; color: var(--ink); }
.nav-atc img { width: 1.4rem; height: 1.4rem; border-radius: 0.35rem; }
@media (max-width: 30rem) { .nav-atc { font-size: 0; gap: 0; } .nav-atc img { width: 2rem; height: 2rem; border-radius: 0.5rem; } }

.kicker {
  margin: 0 0 0.85rem;
  color: var(--open);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 760;
}
h1 { font-size: clamp(3.1rem, 6.4vw, 5.4rem); max-width: 10ch; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14ch; }
h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.lede {
  max-width: 28rem;
  margin: 1.1rem 0 0;
  color: var(--dim);
  font-size: 1.25rem;
  line-height: 1.4;
}

/* Clipped at the sides: on a screen under 310px the drawn Duo is a few px too wide mid-fold. */
.hero { padding: clamp(2.4rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); overflow-x: clip; }
.hero-copy { text-align: center; }
.hero h1 { max-width: none; font-size: clamp(3rem, 8vw, 6.4rem); }
/* the one bright moment: open to closed, amber to blue */
.hero h1 span, .rainbow {
  background: linear-gradient(90deg, #5EBD3E, #FFB900 22%, #F78200 40%, #E23838 58%, #973999 78%, #009CDF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-inline: auto; max-width: 34rem; }
.hero .actions { justify-content: center; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.act {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.4rem;
  border-radius: 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.act:hover { transform: translateY(-1px); }
.act-atc { gap: 0.6rem; }
.act-atc img { width: 2.1rem; height: 2.1rem; border-radius: 0.5rem; flex: none; }
/* Two lines, like a store badge: the game on top, the App Store under it */
.act-two { display: grid; text-align: left; line-height: 1.15; }
.act-two b { font-weight: 680; }
.act-two small { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.15rem; font-size: 0.8rem; font-weight: 500; color: var(--dim); }
.act-two .apple { width: 0.75rem; height: 0.9rem; fill: currentColor; }
.act.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 22%, transparent);
}
.fine {
  margin: 0.85rem 0 0;
  color: var(--dim);
  font-size: 0.95rem;
}

/* ---------- The Duo, in HTML and CSS only ----------
   Real proportions from Apple's specs and Xcode's iPhone Duo simulator:
   closed 84.1 x 117.8 mm around a 466 x 678 pt cover screen,
   open 164.6 x 117.8 mm around a 951 x 669 pt inner screen.
   One number, --unfold (0 closed, 1 open), drives every difference. It cycles every 10 s
   until someone taps the button; then the radios hold it. Inside .duo-body everything is
   real points, scaled so the phone is --hs px tall.
   On narrow screens the open phone is drawn shorter than the closed one so it fits the
   column. .duo always keeps room for the taller of the two (--slot) and centers the phone
   in it, so the fold never moves the button, the caption or anything further down.
   Halfway through the fold the phone is wider than at either end, and on a narrow screen
   wider than the column: .duo's side margins keep it centered there too. */
@property --unfold { syntax: "<number>"; inherits: true; initial-value: 0; }
.stage {
  --unfold: 0;
  --hs-closed: 520;
  --hs-open: 520;
  position: relative;
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  transition: --unfold 520ms cubic-bezier(.2, .8, .2, 1);
}
.stage:has(#fold-open:checked) { --unfold: 1; }
.stage:not(:has(.fold:checked)) { animation: auto-fold 20s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes auto-fold {
  0%, 47.5% { --unfold: 0; }
  50%, 97.5% { --unfold: 1; }
  100% { --unfold: 0; }
}
@media (max-width: 820px) { .stage { --hs-closed: 480; --hs-open: 400; } }
@media (max-width: 620px) { .stage { --hs-closed: 460; --hs-open: 300; } }
@media (max-width: 460px) { .stage { --hs-closed: 440; --hs-open: 250; } }
@media (max-width: 380px) { .stage { --hs-closed: 400; --hs-open: 225; } }
@media (max-width: 353px) { .stage { --hs-closed: 380; --hs-open: 200; } }
.duo {
  --hs: calc(var(--hs-closed) + (var(--hs-open) - var(--hs-closed)) * var(--unfold));
  --slot: max(var(--hs-closed), var(--hs-open));
  --W: calc(529.2 + 463.2 * var(--unfold));
  --H: calc(741.2 - 30.8 * var(--unfold));
  --w: calc(var(--hs) / var(--H) * var(--W) * 1px);
  position: relative;
  margin-inline: calc(50% - var(--w) / 2);
  width: var(--w);
  height: calc(var(--slot) * 1px);
}
/* Night Sky titanium rails, a black glass border, then the screen */
.duo-body {
  --bezel: calc((31.6 - 10.9 * var(--unfold)) * 1px);
  --bar: calc((52 - 12 * var(--unfold)) * 1px);
  --rail: 9px;
  --left: calc((22 + 45 * var(--unfold)) * 1px);
  --right: calc((75 - 8 * var(--unfold)) * 1px);
  position: absolute;
  top: calc((var(--slot) - var(--hs)) / 2 * 1px);
  left: 0;
  width: calc(var(--W) * 1px);
  height: calc(var(--H) * 1px);
  padding: var(--rail);
  border-radius: var(--left) var(--right) var(--right) var(--left);
  transform-origin: top left;
  transform: scale(calc(var(--hs) / var(--H)));
  -webkit-user-select: none;
  user-select: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 2% 98%, rgba(255,255,255,.14)),
    linear-gradient(160deg, #6d7077 0%, #2c2e33 18%, #4a4d53 46%, #222428 70%, #5c5f66 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    inset 0 0 0 4px rgba(0, 0, 0, 0.35),
    0 60px 90px -50px rgba(0, 0, 0, 0.6),
    0 20px 40px -24px rgba(0, 0, 0, 0.35);
}
/* closed: the hinge spine on the left rail. open: the seam where the halves meet. */
.duo-body::before, .duo-body::after { content: ""; position: absolute; }
.duo-body::before {
  left: -3px;
  top: 7%;
  bottom: 7%;
  width: 7px;
  border-radius: 6px;
  background: linear-gradient(90deg, #1c1d20, #8d9097 45%, #3b3d42);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  opacity: calc(1 - var(--unfold));
}
.duo-body::after {
  inset: 0 auto 0 50%;
  width: 2px;
  translate: -1px;
  background: linear-gradient(#0b0c0e 0 2%, transparent 2% 98%, #0b0c0e 98%);
  opacity: var(--unfold);
}
.glass {
  --left: calc((14 + 44 * var(--unfold)) * 1px);
  --right: calc((66 - 8 * var(--unfold)) * 1px);
  height: 100%;
  padding: calc(var(--bezel) - var(--rail));
  border-radius: var(--left) var(--right) var(--right) var(--left);
  background: #050506;
}
/* cover screen: tight corners on the hinge side, round ones on the other */
.screen {
  --left: calc((8 + 38 * var(--unfold)) * 1px);
  --right: calc((52 - 6 * var(--unfold)) * 1px);
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--left) var(--right) var(--right) var(--left);
  background: var(--bg);
}
/* the crease down the middle of the inner screen */
.screen::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 3px;
  translate: -1.5px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 12%, transparent) 15% 85%, transparent);
  opacity: var(--unfold);
  pointer-events: none;
}
/* each screen gets Fold Stats at its real size, crossfading as it unfolds. They are pictures:
   a touch on one belongs to the page, whichever of the two is showing. */
.screen iframe { position: absolute; top: var(--bar); left: 0; border: 0; background: var(--bg); pointer-events: none; }
.view-closed { width: 466px; height: 626px; opacity: calc(1 - var(--unfold)); }
.view-open { width: 951px; height: 629px; opacity: var(--unfold); }
/* status bar with the Dynamic Island */
.status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar);
  padding: 0 34px 0 40px;
  color: var(--ink);
  font: 600 19px/1 -apple-system, system-ui, sans-serif;
}
.island {
  position: absolute;
  top: calc((12 - 4 * var(--unfold)) * 1px);
  left: calc(50% + 25% * var(--unfold));
  width: calc((118 - 14 * var(--unfold)) * 1px);
  height: calc((34 - 4 * var(--unfold)) * 1px);
  border-radius: 20px;
  background: #000;
  translate: -50%;
}
.batt {
  position: relative;
  width: 27px;
  height: 13px;
  padding: 2px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 45%, transparent);
}
.batt::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 4px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.batt i { display: block; width: 78%; height: 100%; border-radius: 2px; background: var(--ink); }
/* buttons on the right rail: volume, side button with Touch ID, Camera Control */
.key {
  position: absolute;
  right: -5px;
  width: 6px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, #2a2c30, #777a81 60%, #3a3c41);
}
.key.vol-up   { top: 15%; height: 7%; }
.key.vol-down { top: 23.5%; height: 7%; }
.key.side     { top: 34%; height: 11%; }
.key.cam      { top: 64%; height: 9%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #1b1c1f, #4a4c51 60%, #26272a); }
/* the banner an automation shows when it runs: on each tap, and in step with the cycle */
.toast {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(390px, calc(100% - 36px));
  padding: 14px 18px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  text-align: left;
  font: 400 19px/1.25 -apple-system, system-ui, sans-serif;
  transform: translate(-50%, -160%);
  opacity: 0;
  pointer-events: none;
}
.stage:has(#fold-open:checked) .toast-open,
.stage:has(#fold-closed:checked) .toast-closed { animation: banner 2.8s cubic-bezier(.2, .8, .2, 1) 0.35s both; }
.stage:not(:has(.fold:checked)) .toast-open { animation: banner-cycle 20s 10s infinite; }
.stage:not(:has(.fold:checked)) .toast-closed { animation: banner-cycle 20s 20s infinite; }
@keyframes banner {
  0% { transform: translate(-50%, -160%); opacity: 0; }
  14%, 82% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, -160%); opacity: 0; }
}
@keyframes banner-cycle {
  0% { transform: translate(-50%, -160%); opacity: 0; }
  3%, 14% { transform: translate(-50%, 0); opacity: 1; }
  17%, 100% { transform: translate(-50%, -160%); opacity: 0; }
}
.toast b { display: block; font-weight: 650; }
.toast span { color: var(--dim); }
.toast .glyph {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--open), var(--closed));
}
.toast .glyph::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff 0 46%, transparent 46% 54%, #fff 54%);
}

/* Unfold it / Fold it share one spot; whichever matches the phone is on top */
.flips { display: inline-grid; margin-top: 1.6rem; }
.flip {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 0.6rem 1.3rem;
  border-radius: 99px;
  background: var(--open);
  color: #15161A;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: clamp(0, (0.5 - var(--unfold)) * 100, 1);
  z-index: 1;
}
.flip-closed { background: var(--closed); color: #fff; opacity: clamp(0, (var(--unfold) - 0.5) * 100, 1); z-index: calc(var(--unfold) * 2); }
.flip:hover { translate: 0 -1px; }
/* the radios stay in the tab order; the visible label shows their focus */
.fold { position: absolute; opacity: 0; pointer-events: none; }
.fold:focus-visible ~ .flips .flip { outline: 2px solid var(--open); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .stage { transition: none; }
  .stage:not(:has(.fold:checked)), .stage .toast { animation: none !important; }
}
.stage figcaption {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.35;
}
.setup { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.setup .lede { margin-bottom: 2.4rem; }

/* Shortcut tiles, in each shortcut's own icon color */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.tile {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-height: 9.5rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 1.4rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(160deg, var(--hi), var(--lo));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 30px -20px var(--lo);
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 20px 40px -20px var(--lo); }
.t-open   { --hi: #FF8F63; --lo: #FD6631; }
.t-closed { --hi: #55B8FF; --lo: #1B9AF7; }
.t-stats  { --hi: #FFE36B; --lo: #FFC81F; color: #2B2200; }
.tile .glyph {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
}
.t-stats .glyph { background: rgba(43, 34, 0, 0.12); }
.tile .glyph::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.2rem;
  background: linear-gradient(90deg, currentColor 0 44%, transparent 44% 56%, currentColor 56%);
}
.tile b { font-size: 1.15rem; letter-spacing: -0.02em; }
.tile span { font-size: 0.92rem; opacity: 0.85; }
.tile em {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
}
.t-stats em { background: rgba(43, 34, 0, 0.12); }

/* Setup, the way Apple writes it: numbered sections, numbered steps with one action each, the
   screen beside the step on wide screens and under it on narrow ones. The section numbers are
   text in the page, so they survive Reader view and a copy. */
.step-n { display: flex; align-items: center; gap: 0.7rem; margin: clamp(2.6rem, 5vw, 3.4rem) 0 0.7rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.setup .step-n:first-of-type { margin-top: 0; }
.step-n .n {
  display: grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0;
}
.step-n .opt { color: var(--dim); font-weight: 500; }
.step-note { margin: 0.9rem 0 1.1rem; max-width: 40rem; color: var(--dim); }
.step-note b, .howto b { color: var(--ink); font-weight: 650; }
/* The step numbers are drawn here, in the column under the section number, because a grid
   item cannot show a list marker. With no marker, Safari reads a list as a list only if it
   says so: each one in the page has role="list". A lone step carries no number. */
.howto { margin: 0; padding: 0 0 0 2.6rem; list-style: none; max-width: 52rem; counter-reset: step; }
.howto li {
  position: relative;
  counter-increment: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: 0.9rem 2rem;
  align-items: start;
  padding: 0.9rem 0;
}
.howto li > p, .howto li > div { grid-column: 1; }
.howto p { margin: 0; color: var(--ink); font-size: 1.06rem; line-height: 1.45; }
.howto .hint { margin-top: 0.35rem; color: var(--dim); font-size: 0.95rem; }
.howto img {
  grid-column: 2;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  background: #1C1C1E;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
}
.howto li + li { border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
/* Same size and line height as the step's first line, so the two sit on one baseline. */
.howto li::before {
  content: counter(step);
  position: absolute;
  left: -2.6rem;
  top: 0.9rem;
  width: 1.9rem;
  text-align: center;
  color: var(--open);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
}
.howto li:only-child::before { content: none; }
@media (max-width: 44rem) {
  .howto { padding-left: 2.2rem; }
  .howto li { grid-template-columns: 1fr; padding: 1.1rem 0; }
  .howto li::before { left: -2.2rem; top: 1.1rem; }
  .howto img { grid-column: 1; max-width: 24rem; }
  .howto li + li { border-top: 0; }
}
/* Links that open a shortcut straight in the Shortcuts app */
.deep { color: var(--open); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.coffee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: clamp(2rem, 4vw, 2.8rem);
  padding: 1.2rem 1.4rem;
  border-radius: 1.4rem;
  background: var(--card);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}
.coffee p { margin: 0; max-width: 34rem; color: var(--dim); }
.coffee b { color: var(--ink); }
.coffee .coffee-btn { background: #C68B59; color: #1a0f05; }
/* A V60: dripper with its spiral ribs, one slow drop, coffee in the glass server */
.v60 { width: 3.6rem; height: auto; fill: none; stroke: var(--v60-line, #F5F5F7); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v60 .ribs { stroke-width: 1.5; opacity: 0.5; }
.v60 .server { stroke-width: 2; opacity: 0.85; }
.v60 .brew { fill: #6B3E1F; stroke: none; }
.v60 .crema { stroke: #C68B59; stroke-width: 2; }
.v60 .drop { fill: #6B3E1F; stroke: none; animation: drip 2.8s ease-in infinite; }
@keyframes drip { 0%, 35% { translate: 0 -4px; opacity: 0; } 50% { opacity: 1; } 100% { translate: 0 14px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .v60 .drop { animation: none; } }
@media (max-width: 40rem) { .coffee { grid-template-columns: auto minmax(0, 1fr); } .coffee .act { grid-column: 1 / -1; justify-self: start; } }

.file {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--ink);
}

/* Approach Traffic Control: a compact band, not a second landing page */
.atc {
  background: #000;
  color: #eef6f0;
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
  overflow: hidden;
}
.atc-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(12rem, 17rem);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.atc-icon { width: 5.5rem; height: 5.5rem; border-radius: 1.3rem; align-self: start; }
.atc .kicker { color: #8cf2d1; margin-bottom: 0.5rem; }
/* The name of the game is the heading, big enough to read as the name */
.atc h2 { color: #eef6f0; max-width: none; font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.035em; line-height: 1.02; }
.atc-copy .atc-tag { margin: 0.5rem 0 0; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 760; letter-spacing: -0.03em; line-height: 1.1; }
.atc-copy p:not(.kicker) { max-width: 32rem; margin: 0.8rem 0 0; color: #a9bdb2; font-size: 1.1rem; line-height: 1.45; }
.atc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 1.3rem 0 clamp(2.5rem, 6vw, 4rem); }
.site {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border-radius: 0.7rem;
  background: #66fa7a;
  color: #03140a;
  text-decoration: none;
  font-weight: 700;
}
.site:hover, .store:hover { transform: translateY(-1px); }
.store { display: block; line-height: 0; border-radius: 0.5rem; }
.store img { height: 2.75rem; width: auto; }
/* the radar peeks up from the bottom edge of the band */
.radar { align-self: end; width: 100%; height: 19rem; object-fit: cover; object-position: top; border-radius: 1.4rem 1.4rem 0 0; margin-top: 1rem; }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 1.4rem 0 2.2rem;
  color: var(--dim);
  font-size: 0.9rem;
}
.foot a { color: var(--dim); }

@media (max-width: 60rem) {
  .tiles { grid-template-columns: 1fr; }
  .atc-in { grid-template-columns: auto minmax(0, 1fr); }
  .radar { grid-column: 1 / -1; height: 15rem; }
  .tile { min-height: 6.5rem; }
}
@media (max-width: 28rem) {
  .hero h1 { font-size: 2.9rem; }
}
