/* Tally Radar homepage. One product-page system (design council round 2,
   launch/website-plan.md section 7): black stages where the product is the
   picture, light grey where people read, and orange only where the product is
   orange. Type (sections 9 and 10): Inter for what we say (headlines,
   sentences, buttons, prices); airport wayfinding for what the radar says:
   Overpass sign lettering for section labels and big numbers, Overpass Mono for
   radar data and times, and two sign plates (.plate = direction, an orange plate
   with an arrow; .plate.loc = location, orange letters in an orange border),
   used only where something points or says where. Plates are square-cornered
   capitals so they never look like the round Order buttons. */

:root {
  --black: #000;
  --tile: #141416;          /* tiles on black */
  --light: #f5f5f7;         /* reading sections */
  --white: #fff;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;     /* 8.4:1 on black, 7.5:1 on --tile */
  --on-dark-3: #86868b;     /* 5.6:1 on black, small print only */
  --on-light: #1d1d1f;
  --on-light-2: #6e6e73;    /* 4.7:1 on --light, 5.1:1 on white */
  --rule-light: #e3e3e8;
  --orange: #ff6b1a;        /* the ring, the Order buttons, orange on black */
  --orange-text: #a8380a;   /* orange text on light (5.4:1 on white) */
  --green: #3ddc84;         /* "live" only */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Menlo, monospace;   /* radar data and times */
  --sign: Overpass, Inter, system-ui, sans-serif;            /* sign lettering: section labels, big numbers, plates */
  --wrap: 1180px;
  --pad: 16px;
  --radius: 28px;
}
@media (min-width: 700px) { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--on-dark);
  font: 400 18px/1.5 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Sections: black stages and light reading rooms ---------- */
.stage { background: var(--black); color: var(--on-dark); padding: 130px 0; }
.light { background: var(--light); color: var(--on-light); padding: 130px 0; }
.sec-head { text-align: center; max-width: 860px; margin: 0 auto 64px; }
h2 { margin: 0; font: 700 clamp(40px, 6vw, 76px)/1.04 var(--sans); letter-spacing: -.035em; }
.kicker { margin: 0 0 16px; font: 800 15px/1.35 var(--sign); letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.light .kicker { color: var(--orange-text); }
.lede { margin: 20px auto 0; max-width: 32em; font-size: 21px; line-height: 1.45; color: var(--on-dark-2); }
.light .lede { color: var(--on-light-2); }
.tile-label { margin: 0 0 10px; font: 600 15px/1.3 var(--sans); color: var(--orange); }
.light .tile-label { color: var(--orange-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 980px;
  background: var(--orange); color: #000; text-decoration: none; white-space: nowrap;
  font: 600 17px/1 var(--sans); letter-spacing: -.01em; cursor: pointer;
}
.btn:hover { background: #ff8440; }
.btn.wide { width: 100%; min-height: 54px; font-size: 18px; }
.chirp-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px;
  background: none; border: 0; color: var(--on-dark); font: 500 17px/1 var(--sans); cursor: pointer;
}
.chirp-btn svg { width: 22px; height: 22px; flex: none; }
.chirp-btn:hover { color: var(--orange); }
.chirp-btn.small { padding: 0; font-size: 15px; color: var(--orange); align-self: flex-start; }
.chirp-btn.playing svg { animation: chirp .5s ease-out; }
@keyframes chirp { 0% { transform: scale(1); } 30% { transform: scale(1.25); color: var(--orange); } 100% { transform: scale(1); } }

/* ---------- Strip and nav ---------- */
.strip { background: #1d1d1f; color: #d2d2d7; font: 400 13px/1.4 var(--sans); padding: 10px 16px; text-align: center; }
.nav {
  position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 21px/1 var(--sans); letter-spacing: -.025em; text-decoration: none; color: var(--on-dark); }
.mark { width: 28px; height: 28px; flex: none; }   /* the Tally Radar mark (small drawing), from tools/brand/mark.mjs */
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a:not(.nav-btn) { text-decoration: none; color: #d2d2d7; }
.nav-links a:not(.nav-btn):hover { color: #fff; }
.nav-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 980px;
  background: var(--orange); color: #000; text-decoration: none; font: 600 14px/1 var(--sans);
}
.nav-btn:hover { background: #ff8440; }
@media (max-width: 900px) { .nav-links a:not(.nav-btn) { display: none; } }

/* ---------- 1. Hero: the claim, then the live radar, big ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); padding: 0 var(--pad) 64px; }
.stage-light { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,255,255,.07), transparent 70%),     /* key light from above */
    radial-gradient(circle at 50% 74%, rgba(255,107,26,.16), transparent 34%);             /* the ring lighting the air */
}
.hero-grid { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.hero-grid > * { min-width: 0; }
.hero-copy { text-align: center; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 10px 0 14px; font: 800 13px/1.2 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.hero-title { margin: 0; font: 700 clamp(64px, 19vw, 96px)/.95 var(--sans); letter-spacing: -.05em; }
.claim { margin: 16px auto 0; max-width: 21em; font: 500 clamp(19px, 2vw, 25px)/1.35 var(--sans); letter-spacing: -.015em; color: var(--on-dark-2); }
.claim em { font-style: normal; color: var(--on-dark); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 24px; }
.hero-facts { margin: 16px 0 0; font: 500 13px/1.5 var(--sans); color: var(--on-dark-3); }

.hero-demo { --dev: min(256px, 68vw); position: relative; display: flex; flex-direction: column; align-items: center; }
/* Range rings around the radar: the radar's own scope, carried out into the room */
.hero-demo::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: calc(48px + var(--dev) / 2);
  width: calc(var(--dev) * 3.2); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 calc(var(--dev) * .29 - 1px), rgba(255,255,255,.075) calc(var(--dev) * .29 - 1px) calc(var(--dev) * .29));
  -webkit-mask: radial-gradient(circle, #000 22%, transparent 62%);
          mask: radial-gradient(circle, #000 22%, transparent 62%);
}
.hero-demo .device { width: var(--dev); z-index: 1; }

.scope-tag {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 14px; width: max-content; max-width: 100%; min-height: 34px; padding: 3px 14px 0 12px; border-radius: 4px;
  background: var(--black); border: 2px solid rgba(255,255,255,.35);
  font: 800 13px/1 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: #d2d2d7;
}
/* Sign plates. Direction: an orange plate, black capitals, an arrow. Location: orange capitals in an orange border. */
.plate { display: inline-flex; align-items: center; gap: .45em; padding: .42em .6em .3em; border-radius: 4px; background: var(--orange); color: var(--black); font: 800 15px/1 var(--sign); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.plate.loc { background: var(--black); color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.plate .bar { align-self: stretch; width: 2px; margin: -.1em .1em; background: currentColor; }
.plate .unit { text-transform: none; }   /* "12 s", never "12 S", which reads as south */
.arrow { width: 1em; height: 1em; flex: none; margin-top: -.12em; }
.arrow.nw { transform: rotate(-45deg); }
.sep { display: inline-block; width: 2px; height: .9em; margin: 0 .3em; vertical-align: -.08em; background: currentColor; opacity: .7; }   /* the bar between words on a sign, instead of a dot */
.big-plate { font-size: 28px; }
.scope-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #8a8a8e; flex: none; }
.scope-tag.live { color: var(--orange); border-color: var(--orange); }   /* a location sign */
.scope-tag.live .dot { background: var(--green); animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }

/* The surface it stands on: a soft contact shadow and the ring's orange bounce */
.hero-demo .device::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: calc(100% - 10px); width: 92%; height: 34px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,120,40,.24), rgba(255,120,40,.06) 55%, transparent 75%);
  filter: blur(4px);
}

/* ---------- The device ---------- */
.device { position: relative; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; margin: 0 auto; }
.device:focus-visible .ring { box-shadow: 0 0 0 4px #ffcf7a; }
.bezel {
  position: relative; z-index: 2; aspect-ratio: 1; border-radius: 50%; padding: 4.5%;
  background: radial-gradient(circle at 35% 25%, #61666e, #34383d 52%, #1f2226 100%);
  box-shadow: 0 40px 70px -28px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.07), inset 0 2px 3px rgba(255,255,255,.16);
}
.ring {
  position: relative; width: 100%; height: 100%; border-radius: 50%; padding: 11%;
  touch-action: pan-y;
  background:
    repeating-conic-gradient(from 0deg, rgba(0,0,0,.11) 0 1.2deg, rgba(255,255,255,.07) 1.2deg 2.4deg),
    radial-gradient(circle at 35% 28%, #ffa060, #ff6b1a 45%, #d24c08 100%);
  box-shadow: inset 0 3px 6px rgba(255,255,255,.28), inset 0 -4px 8px rgba(0,0,0,.38);
  cursor: grab; transition: transform .12s ease-out;
}
.ring::after { /* the glass over the screen */
  content: ""; position: absolute; inset: 11%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,0) 38%);
}
.ring.dragging { cursor: grabbing; }
.ring canvas { width: 100%; height: 100%; border-radius: 50%; display: block; background: #000; }
.notch {
  position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 8px solid rgba(0,0,0,.35);
}
.stand {
  position: relative; z-index: 1; width: 62%; height: 70px; margin: -38px auto 0;
  background: linear-gradient(180deg, #2c2f33, #17191c); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); border-radius: 6px;
}
.device-controls { position: relative; z-index: 1; align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; margin-top: 14px; color: #d2d2d7; font-size: 15px; }
.device-controls .live-pick { flex-basis: 100%; }
.turn {
  width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.04); color: var(--on-dark); font-size: 1.15rem; cursor: pointer;
}
.turn:hover { border-color: var(--orange); }
.live-pick { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 10px; max-width: 100%; color: var(--on-dark-2); font-size: 15px; white-space: nowrap; }
.live-pick select {
  flex: 0 1 240px; width: auto; min-width: 0; font: 500 16px var(--sans); color: var(--on-dark); background: #1d1d1f;
  border: 1px solid rgba(255,255,255,.45); border-radius: 12px; padding: 9px 12px;
}

/* ---------- A real screen, inside the device ---------- */
.dial {
  --size: 240px; --bez: calc(var(--size) * .045);
  width: var(--size); aspect-ratio: 1; flex: none; border-radius: 50%; padding: calc(var(--size) * .065); margin: var(--bez) auto;
  background:
    repeating-conic-gradient(from 0deg, rgba(0,0,0,.11) 0 1.2deg, rgba(255,255,255,.07) 1.2deg 2.4deg),
    radial-gradient(circle at 34% 28%, #ffa060, #ff6b1a 46%, #cf4a08 100%);
  box-shadow:
    0 0 0 var(--bez) #2b2e33, 0 0 0 calc(var(--bez) + 1px) rgba(255,255,255,.08),
    0 34px 50px -26px rgba(0,0,0,.95),
    inset 0 3px 6px rgba(255,255,255,.28), inset 0 -4px 8px rgba(0,0,0,.38);
}
.dial img { width: 100%; height: 100%; border-radius: 50%; background: #000; }
.dial.glow { filter: drop-shadow(0 18px 44px rgba(255,107,26,.32)); }
/* "You look up": a real phone clip of a plane coming in low at dusk (media/clips/README.md), until our
   own window photo exists. It plays muted only while on screen, has a pause button (WCAG 2.2.2), and
   holds still on a close-up frame for people who turn motion off (clips.js). */
.dial.sky {
  position: relative; padding: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  background: linear-gradient(#4d525d, #8c8782);
  display: grid; place-items: center;
}
.sky-clip { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; object-position: 50% 6%; }
.clip-btn {
  position: absolute; right: -4px; bottom: -4px; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: #2c2c2f; color: var(--on-dark); box-shadow: 0 0 0 4px var(--tile);
}
.clip-btn:hover { background: #3c3c40; }
.clip-btn svg { width: 16px; height: 16px; }
.clip-btn .play, .clip-btn.paused .pause { display: none; }
.clip-btn.paused .play { display: block; }
.dial.sky.has-photo { background: var(--photo) center / cover; }
.dial.sky.has-photo .sky-clip, .dial.sky.has-photo .clip-btn { display: none; }

/* ---------- 2. One evening: four tiles ---------- */
.scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.scene {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px;
  background: var(--tile); border-radius: var(--radius);
}
.scene .dial { --size: 196px; margin-top: 18px; margin-bottom: 26px; }
.time { margin: 0; font: 700 13px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.scene h3 { margin: 0; font: 600 24px/1.2 var(--sans); letter-spacing: -.02em; }
.scene p { margin: 0; color: var(--on-dark-2); font-size: 16px; line-height: 1.5; }
.scene .cap { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--on-dark-3); }
.swipe-hint { display: none; }
@media (max-width: 1099px) {   /* narrower screens: the four moments become a sideways swipe */
  .scenes {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad);
  }
  .scenes::-webkit-scrollbar { display: none; }
  .scene { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
  .scene .dial { --size: min(220px, 62vw); }
  .swipe-hint { display: block; margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--on-dark-3); }
}

/* ---------- 3. Will it work where they live? ---------- */
.sky-card { max-width: 720px; margin: 0 auto; padding: 44px; background: var(--white); border-radius: var(--radius); }
.sky-card .lede { margin: 0 0 24px; max-width: none; font-size: 20px; }
.their-pick { display: flex; flex-direction: column; gap: 10px; font: 600 15px/1.3 var(--sans); color: var(--on-light); }
.their-pick select {
  width: 100%; padding: 15px 16px; font: 500 19px var(--sans); color: var(--on-light);
  background: var(--light); border: 1px solid #86868b; border-radius: 14px;
}
.their-result { min-height: 1.5em; margin: 26px 0 6px; font-size: 21px; line-height: 1.45; color: var(--on-light); }
.their-result .big { display: block; margin-bottom: 4px; font: 800 clamp(72px, 14vw, 120px)/1 var(--sign); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--orange-text); }
.their-result b { font-weight: 600; }
.link-btn { padding: 12px 0; background: none; border: 0; font: 600 17px/1.3 var(--sans); color: var(--orange-text); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.sky-mine { margin: 26px 0 8px; padding-top: 22px; border-top: 1px solid var(--rule-light); font-size: 17px; color: var(--on-light-2); }
.sky-mine .live-line { color: var(--on-light); }
.sky-mine .live-line b { color: var(--orange-text); }
.sky-mine .live-line small { display: block; margin-top: 4px; font-size: 15px; color: var(--on-light-2); }
.their-sky .small { margin: 0; font-size: 16px; color: var(--on-light-2); }
.their-sky .small a { color: var(--orange-text); font-weight: 600; }

/* ---------- Bento tiles ---------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.tile { margin: 0; padding: 36px; border-radius: var(--radius); background: var(--tile); }
.light .tile { background: var(--white); }
.tile p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-dark-2); }
.light .tile p { color: var(--on-light-2); }
.light .tile .tile-label { color: var(--orange-text); }
.tile-big { margin: 0 0 10px !important; font: 700 clamp(26px, 2.6vw, 34px)/1.12 var(--sans) !important; letter-spacing: -.03em; color: var(--on-light) !important; }

/* ---------- 4. The gift ---------- */
.gift-bento { grid-template-columns: 1fr; }
.who-list { list-style: none; margin: 0; padding: 0; font: 700 clamp(28px, 3.4vw, 46px)/1.14 var(--sans); letter-spacing: -.035em; color: var(--on-light); }
.who-list li { display: inline; }
.who-list li:nth-child(even) { color: var(--on-light-2); }
.who-list li + li::before { content: " "; }
.tile.box {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: 420px; background: var(--black) !important; color: var(--on-dark);
}
.tile.box .dial { --size: 170px; margin-top: 30px; }
.tile.box figcaption { position: relative; z-index: 1; }
.tile.box .tile-label { color: var(--orange) !important; }
.tile.box p { color: var(--on-dark-2) !important; }
.tile.box.has-photo { background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.82)), var(--photo) center / cover !important; }
.tile.box.has-photo .dial { visibility: hidden; }
@media (min-width: 800px) {
  .gift-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "who who box" "setup simple box"; }
  .gift-bento .who { grid-area: who; }
  .gift-bento .box { grid-area: box; }
}

/* ---------- 5. Order: a buy card, like a product page ---------- */
.order-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 70px; } }
.order h2 { font-size: clamp(40px, 5.4vw, 72px); }
.order-text { margin: 24px 0 0; max-width: 30em; font-size: 19px; line-height: 1.5; color: var(--on-dark-2); }
.promises { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: 18px; color: var(--on-dark-2); }
.promises li { position: relative; padding-left: 28px; }   /* block, so "No subscription." and its note wrap as one sentence */
.promises li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--orange); }
.promises b { font-weight: 600; color: var(--on-dark); }
.buy-card { display: flex; flex-direction: column; gap: 26px; padding: 32px; background: var(--tile); border-radius: var(--radius); }
.buy-top { display: flex; align-items: center; gap: 20px; }
.dial.mini { --size: 84px; margin: var(--bez); box-shadow: 0 0 0 var(--bez) #2b2e33, inset 0 2px 4px rgba(255,255,255,.28), inset 0 -3px 6px rgba(0,0,0,.38); }
.buy-name { margin: 0; font: 600 20px/1.2 var(--sans); }
.buy-price { margin: 4px 0 0; font: 700 34px/1 var(--sans); letter-spacing: -.035em; }
.board { display: flex; gap: 12px; }
.board > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.board small { font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.tiles { display: flex; gap: 4px; }
.tiles i {
  display: block; padding: 10px 11px; border-radius: 10px; font: 800 clamp(30px, 3.2vw, 42px)/1 var(--sign); font-variant-numeric: tabular-nums; font-style: normal;
  color: var(--on-dark); background: var(--black); border: 1px solid rgba(255,255,255,.08);
}
.fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-dark-3); }
.fine span { display: block; }

/* ---------- 6. What it does: highlights ---------- */
.does-shots { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin: 0 0 70px; }
.does-shots figure { margin: 0; width: 240px; text-align: center; }
.does-shots .dial { --size: 210px; }
.does-shots figcaption { margin-top: 22px; font-size: 14px; line-height: 1.45; color: var(--on-dark-3); }
.features { grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features .tile { display: flex; flex-direction: column; }
.glyph { display: flex; align-items: flex-end; height: 58px; margin: 0 0 26px !important; color: var(--on-dark) !important; }
.glyph svg { width: 54px; height: 54px; }
.glyph.num { font: 800 58px/1 var(--sign); letter-spacing: -.03em; color: var(--orange) !important; }
.glyph.num small { margin: 0 0 6px 4px; font-size: 22px; letter-spacing: 0; color: var(--on-dark-2); }
.glyph.word { font: 800 48px/1 var(--sign); letter-spacing: -.02em; }
.features h3 { margin: 0 0 8px; font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; }
.features p { font-size: 16px; }

/* ---------- 7. Specs and questions ---------- */
.sf-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .sf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); } }
.specs, .faq { padding: 44px; background: var(--white); border-radius: var(--radius); }
.specs h2, .faq h2 { margin: 0 0 22px; font-size: clamp(34px, 3.4vw, 44px); }
.specs p { margin: 0 0 8px; font-size: 19px; }
.specs .small { font-size: 16px; color: var(--on-light-2); }
.specs dl { margin: 26px 0 0; display: grid; grid-template-columns: 112px 1fr; }
.specs dt, .specs dd { margin: 0; padding: 13px 0; border-top: 1px solid var(--rule-light); }
.specs dt { font: 600 15px/1.5 var(--sans); color: var(--on-light-2); }
.specs dd { font-size: 16px; line-height: 1.5; }
.faq details { border-top: 1px solid var(--rule-light); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule-light); }
.faq summary { position: relative; min-height: 44px; padding: 20px 44px 20px 0; list-style: none; cursor: pointer; font: 600 19px/1.35 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--sans); color: var(--orange-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 22px; max-width: 40em; font-size: 17px; color: var(--on-light-2); }
.faq a { color: var(--orange-text); font-weight: 600; }

/* ---------- 8. The last word ---------- */
.last { position: relative; text-align: center; padding: 140px 0 150px; overflow: hidden; }
.last::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(255,107,26,.14), transparent 40%); }
.last .wrap { position: relative; }
.last .dial { --size: 150px; margin-bottom: 46px; }
.last h2 { font-size: clamp(44px, 7vw, 96px); }
.last-facts { margin: 22px 0 34px; font-size: 16px; color: var(--on-dark-2); }
.last.has-photo { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.8)), var(--photo) center / cover; }
.last.has-photo .dial { display: none; }

/* ---------- Footer ---------- */
footer { background: var(--light); color: var(--on-light-2); padding: 34px 0 44px; font-size: 13px; line-height: 1.55; }
footer p { margin: 0 0 8px; max-width: 980px; }
footer a { color: var(--on-light); }
@media (max-width: 999px) { footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }   /* room for the phone's Order bar */

.video-wrap { background: var(--black); padding: 0 16px 80px; }
.video-wrap video { display: block; width: min(420px, 100%); margin: 0 auto; }

/* ---------- The Order bar ---------- */
.buybar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  transform: translateY(110%); transition: transform .25s ease;
  background: rgba(22,22,23,.86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid rgba(255,255,255,.08); color: var(--on-dark);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
}
.buybar.on { transform: none; }
.buybar-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.bb-name { display: inline-flex; align-items: center; gap: 8px; font: 600 17px/1 var(--sans); letter-spacing: -.02em; }
.bb-name .mark { width: 22px; height: 22px; }
.bb-meta { flex: 1; font-size: 13px; line-height: 1.3; color: var(--on-dark-2); }
.buybar .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
@media (min-width: 1000px) {  /* wide screens: a slim bar under the top edge, like a product page */
  .buybar { top: 0; bottom: auto; transform: translateY(-110%); border-top: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 10px; }
  .buybar.on { transform: none; }
}

/* ---------- Wide screens: copy on the left, the radar on the right ---------- */
@media (min-width: 700px) {
  .hero-demo { --dev: min(340px, 48vw); }
}
@media (min-width: 1000px) {
  .hero { padding-bottom: 72px; }
  .stage-light { background:
    radial-gradient(ellipse 60% 45% at 68% 0%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(circle at 72% 52%, rgba(255,107,26,.15), transparent 30%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: 40px; padding-top: 10px; }
  .hero-copy { text-align: left; }
  .hero-kicker { font-size: 14px; justify-content: flex-start; }
  .hero-title { font-size: clamp(96px, 10.4vw, 164px); }
  .claim { margin-left: 0; font-size: clamp(22px, 1.9vw, 27px); }
  .hero-cta { justify-content: flex-start; margin-top: 32px; }
  .hero-facts { font-size: 14px; }
  .hero-demo { --dev: min(400px, 30vw); }
}

/* ---------- Phones ---------- */
@media (max-width: 699px) {
  .stage, .light { padding: 84px 0; }
  .sec-head { margin-bottom: 38px; }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .kicker { font-size: 13px; }
  .lede { font-size: 18px; }
  .hero { padding-bottom: 48px; }
  .hero-kicker { margin-top: 4px; font-size: 12px; }
  .claim { font-size: 19px; }
  .hero-cta { margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-grid { gap: 26px; }
  .sky-card, .specs, .faq { padding: 26px 22px; }
  .tile { padding: 28px 24px; }
  .tile.box { min-height: 340px; }
  .buy-card { padding: 24px 20px; }
  .last { padding: 100px 0 110px; }
  .does-shots { flex-wrap: nowrap; gap: 18px; margin-bottom: 44px; }
  .does-shots figure { width: calc(50% - 9px); }
  .does-shots .dial { --size: min(150px, 38vw); }
  .does-shots figcaption { font-size: 13px; }
}
@media (max-width: 420px) {
  .bb-name { display: none; }
  .tiles i { font-size: clamp(24px, 8vw, 32px); padding: 8px 8px; }
  .board { gap: 8px; }
  .btn { white-space: normal; text-align: center; }
  .order-grid > *, .sky-card { min-width: 0; }
}
/* The narrowest phones (320–380 px): keep the nav and the ring controls tidy */
@media (max-width: 380px) {
  .wordmark { font-size: 19px; }
  .nav-btn { padding: 0 12px; font-size: 13px; }
  .hero .device-controls { gap: .5rem; font-size: 13px; white-space: nowrap; }
  .hero-kicker { font-size: 11.5px; letter-spacing: .05em; }
}

/* ---------- Accessibility ---------- */
/* One clear focus ring everywhere, offset so it sits on the background (4:1 or better on black, grey and white) */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, .device:focus-visible { outline: 3px solid #2f7bf0; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .scope-tag.live .dot, .chirp-btn.playing svg { animation: none; }
  .buybar { transition: none; }
}
