/* AvClock website — shared styles
   =================================
   Design language: a glass-cockpit instrument panel, not a SaaS
   template. Palette and type are pulled straight from the product —
   the app's own aviation-livery themes (TwoToneTheme.swift) and its
   real METAR/departure-board data vernacular — rather than a generic
   dark-mode-plus-accent default. Deliberately single-theme (dark):
   the app's own "premium dark/glass" aesthetic is the whole point,
   the same choice the design brief calls for explicitly.

   TOKENS
   Color   — ink (bezel), panel/panel-2 (surfaces), paper (text),
             muted (labels), beacon (primary accent — the app's own
             system blue), amber (runway/caution accent), and the
             four REAL flight-category colors already used throughout
             the app (VFR/MVFR/IFR/LIFR).
   Type    — system-ui carries every role; the personality comes from
             weight, tracking and case (a heavy tracked-caps eyebrow
             face for headings, tabular monospace for codes/data,
             comfortable regular weight for reading), not an imported
             webfont — avoids a silent CDN-block fallback and keeps
             the page fast.
   Layout  — content reads like panel sections separated by hairline
             rules; the hero carries a small "departure board" strip
             of real airport codes (matching the app icon's own
             KJFK/EGLL/KLAX/ELFK ring) instead of a generic gradient. */

:root {
  --ink: #0a0d12;
  --panel: #12161d;
  --panel-2: #1a212c;
  --hairline: rgba(236, 239, 244, 0.09);
  --hairline-strong: rgba(236, 239, 244, 0.16);
  --paper: #eceff4;
  --muted: #838ea3;
  --muted-2: #5b6478;
  --beacon: #2c8cff;
  --beacon-strong: #5aa7ff;
  --amber: #ffb020;
  --vfr: #34c759;
  --mvfr: #2c8cff;
  --ifr: #ff453a;
  --lifr: #bf5af2;
  --radius-sm: 4px;
  --radius: 8px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.5em;
  color: var(--paper);
}

p { margin: 0 0 1em; color: var(--muted); max-width: 62ch; }

a { color: var(--beacon-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--beacon-strong);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow / label vernacular — tracked caps, used sparingly, borrowed
   from the avionics-panel and departure-board world this whole site
   draws from. */
.label-caps {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 18, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.brand img { width: 26px; height: 26px; border-radius: var(--radius-sm); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--paper); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--paper); border-radius: 1px; transition: transform 0.2s ease, opacity 0.2s ease; }
.site-nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
section { padding: 84px 0; border-bottom: 1px solid var(--hairline); }
section:last-of-type { border-bottom: none; }
.section-eyebrow {
  color: var(--beacon-strong);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--beacon-strong);
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); }
.section-head p { font-size: 17.5px; }

/* ============ HERO ============ */
.hero { padding-top: 56px; padding-bottom: 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 224px 1fr;
  gap: 44px;
  align-items: center;
}
.hero-icon img {
  width: 184px;
  height: 184px;
  border-radius: 40px;
  box-shadow: 0 24px 70px -18px rgba(44, 140, 255, 0.4), 0 0 0 1px var(--hairline-strong);
}
.hero .label-caps { color: var(--amber); margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  max-width: 15ch;
}
.hero .subhead {
  font-size: 19px;
  max-width: 46ch;
  margin-bottom: 30px;
  color: var(--muted);
}
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: var(--radius);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-badge:hover { transform: translateY(-1px); opacity: 0.9; text-decoration: none; }
.store-badge.secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--hairline-strong);
}
.store-badge svg { width: 17px; height: 17px; }

/* Departure-board strip — decorative, split-flap-inspired, using the
   SAME airport codes ringing the app icon (KJFK / EGLL / KLAX / ELFK)
   so it reads as brand continuity, not stock decoration. Each cell's
   status is a real flight-category color, not arbitrary — a quiet
   nod to the VFR/MVFR/IFR/LIFR system the app is actually built on. */
.board {
  margin-top: 48px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.board-row {
  display: grid;
  grid-template-columns: 90px 1fr 84px 70px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 13.5px;
}
.board-row:last-child { border-bottom: none; }
.board-row .code { color: var(--paper); font-weight: 600; letter-spacing: 0.02em; }
.board-row .city { color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .time { color: var(--muted); text-align: right; }
.board-row .status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.board-row .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.board-row .status.vfr  { color: var(--vfr); }
.board-row .status.mvfr { color: var(--mvfr); }
.board-row .status.ifr  { color: var(--ifr); }

.hero-shot {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--panel);
}

/* Real screenshot frame — for once a real image replaces
   .shot-placeholder below. The screenshots themselves already have a
   device bezel + caption baked in (Apple's own App Store screenshot
   template), so this just centers them on a subtle gradient instead
   of stretching them into the placeholder's 16:10 box. */
.shot-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
}
.shot-frame img { max-height: 560px; width: auto; max-width: 100%; border-radius: 14px; }

/* Screenshot placeholder */
.shot-placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.shot-placeholder .label {
  color: var(--muted-2);
  font-size: 13.5px;
  max-width: 32ch;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.shot-placeholder .label strong { color: var(--muted); display: block; margin-bottom: 4px; font-family: var(--sans); }

/* ============ Feature grid — breaker-panel tiles ============
   Each feature reads like a labeled avionics switch: a short bracket
   code + the plain-English label, instead of an emoji glyph. */
.feature-grid {
  /* flexbox, not CSS Grid: a fixed column count reserves a full row of
     cells even when the last row has fewer items than that, and the
     empty leftover cells showed the grid's own --hairline background
     through the 1px gap -- a visible blank/gray patch whenever the
     item count didn't divide evenly by the resolved column count.
     Flex-wrap has no such reserved trailing cells; the last row's
     items just grow to fill the space instead. */
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  padding: 17px 18px;
  flex: 1 1 240px;
}
.feature-item .tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--beacon-strong);
  border: 1px solid rgba(44, 140, 255, 0.35);
  background: rgba(44, 140, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 3px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.feature-item.premium .tag {
  color: var(--amber);
  border-color: rgba(255, 176, 32, 0.35);
  background: rgba(255, 176, 32, 0.09);
}
.feature-item span.label { color: var(--paper); font-weight: 600; font-size: 14.5px; }

.price-callout {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 700;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14.5px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.who-card { background: var(--panel); padding: 28px; }
.who-card h3 { font-size: 17px; color: var(--beacon-strong); letter-spacing: -0.01em; }
.who-card p { margin: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--paper);
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--beacon-strong);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; }

/* Footer */
footer { padding: 52px 0 36px; border-top: 1px solid var(--hairline); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.footer-note { color: var(--muted-2); font-size: 12.5px; margin-top: 22px; max-width: 70ch; }

/* Category color chips */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}
.cat-chip.vfr  { color: var(--vfr);  background: rgba(52, 199, 89, 0.12); }
.cat-chip.mvfr { color: var(--mvfr); background: rgba(44, 140, 255, 0.12); }
.cat-chip.ifr  { color: var(--ifr);  background: rgba(255, 69, 58, 0.12); }
.cat-chip.lifr { color: var(--lifr); background: rgba(191, 90, 242, 0.12); }

/* Blog listing — same departure-board vernacular as the homepage
   hero: a code, a title, a status. Live posts are a real link with a
   LIVE chip; unwritten topics are inert rows with a SOON chip, same
   list, no visual demotion to a separate "template" look. */
.blog-board {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.blog-row {
  display: grid;
  grid-template-columns: 58px 1fr 62px;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--hairline);
  color: inherit;
}
.blog-row:last-child { border-bottom: none; }
a.blog-row { transition: background 0.15s ease; }
a.blog-row:hover { background: var(--panel-2); text-decoration: none; }
.blog-row .tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--beacon-strong);
  border: 1px solid rgba(44, 140, 255, 0.35);
  background: rgba(44, 140, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  text-align: center;
}
.blog-row.stub .tag { color: var(--muted-2); border-color: var(--hairline-strong); background: transparent; }
.row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-title { color: var(--paper); font-weight: 700; font-size: 16.5px; }
a.blog-row:hover .row-title { color: var(--beacon-strong); }
.row-excerpt { color: var(--muted); font-size: 14px; }
.row-status {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: right;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.row-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.row-status.live { color: var(--vfr); }
.row-status.soon { color: var(--muted-2); }
.row-status.soon::before { box-shadow: none; }

/* "More from the blog" nudge at the bottom of a post */
.more-posts {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.more-posts .label-caps { color: var(--muted-2); margin-bottom: 14px; }

article.post { max-width: 700px; margin: 0 auto; }
article.post h1 { font-size: clamp(27px, 3.6vw, 38px); margin-bottom: 12px; }
article.post .post-meta { color: var(--muted-2); font-family: var(--mono); font-size: 12.5px; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-btn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--beacon-strong);
  background: rgba(44, 140, 255, 0.09);
  border: 1px solid rgba(44, 140, 255, 0.35);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  cursor: pointer;
  text-transform: none;
}
.share-btn:hover { background: rgba(44, 140, 255, 0.16); }
article.post h2 { font-size: 22px; margin-top: 38px; }
article.post p { font-size: 17px; color: var(--muted); max-width: none; }
article.post code {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 0.9em;
  font-family: var(--mono);
  color: var(--paper);
}
article.post .metar-example {
  background: var(--panel);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--beacon-strong);
  overflow-x: auto;
  margin: 20px 0 32px;
}
article.post .callout {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--beacon);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 32px 0;
}
article.post .callout p { max-width: none; }
article.post .disclaimer {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--muted-2);
}

/* Legal pages */
article.legal { max-width: 740px; margin: 0 auto; }
article.legal h1 { font-size: 30px; }
article.legal .updated { color: var(--muted-2); font-family: var(--mono); font-size: 13px; margin-bottom: 38px; }
article.legal h2 { font-size: 18px; margin-top: 34px; color: var(--paper); }
article.legal p { font-size: 15.5px; max-width: none; }

/* ============ "See it in action" demos ============
   Original, independent implementations built for the web -- not a
   port of any Swift/app code, just the same visual system driving new
   material: a live clock board (real Intl.DateTimeFormat math) and a
   decorative navigation-chart map (an equirectangular graticule, not
   a traced coastline -- see the note in the skill guidance about
   reaching for generated graphics over hand-authored SVG paths). */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.demo-panel {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
}
.demo-panel-head .label-caps { color: var(--muted); margin: 0; }
.demo-panel-head .label-caps::before { display: none; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--vfr);
}
.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: livePulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Live clock board — reuses .board-row's visual language with real
   ticking time swapped in via JS (see the script at the bottom of
   the page), keyed off data-tz (a real IANA zone) per row. */
.live-board .board-row { grid-template-columns: 74px 1fr 92px; cursor: default; }
.live-board .board-row .time { font-variant-numeric: tabular-nums; color: var(--paper); font-weight: 600; }

/* Map demo */
.map-demo { position: relative; aspect-ratio: 16 / 11; background: var(--ink); }
.map-demo svg { width: 100%; height: 100%; display: block; }
.map-continent { fill: var(--panel-2); stroke: var(--hairline-strong); stroke-width: 1; stroke-linejoin: round; }
.map-grid-dot { fill: var(--hairline-strong); }
.map-pin { cursor: pointer; }
.map-pin .core { fill: var(--beacon); transition: fill 0.15s ease; }
.map-pin .ring { fill: none; stroke: var(--beacon); stroke-width: 1; opacity: 0.45; }
.map-pin:hover .core, .map-pin.active .core { fill: var(--amber); }
.map-pin:hover .ring, .map-pin.active .ring { stroke: var(--amber); }
.map-popup {
  position: absolute;
  transform: translate(-50%, -100%);
  margin-top: -14px;
  background: var(--panel-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.map-popup.visible { opacity: 1; }
.map-popup .code { color: var(--paper); font-weight: 700; }
.map-popup .time { color: var(--beacon-strong); }
.map-hint {
  padding: 10px 18px;
  font-size: 12.5px;
  color: var(--muted-2);
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
}

.activity-caption { text-align: center; padding: 0 20px 20px; font-size: 12.5px; color: var(--muted-2); }

/* ============ Device-frame tabs ============
   Simplified, functional device silhouettes (not skeuomorphic phone
   renders) — consistent with the instrument-panel aesthetic elsewhere
   on this page. One shared .device-body shape, per-device modifiers
   for size/radius/chrome details. */
.device-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.device-tab {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--panel);
  border: 1px solid var(--hairline-strong);
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.device-tab:hover { color: var(--paper); }
.device-tab[aria-selected="true"] { color: var(--ink); background: var(--beacon); border-color: var(--beacon); font-weight: 800; }

/* Screenshot gallery — one combined section (was three scattered
   single-screenshot slots plus a separate placeholder device-tabs
   section) with a horizontal scroll-snap filmstrip per device. Real
   local screenshots, not hotlinks -- see images/screenshots/. */
.shot-gallery {
  display: none;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x proximity;
}
.shot-gallery[data-active] { display: flex; }
.shot-gallery img {
  height: 480px;
  width: auto;
  max-width: none;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.shot-gallery.mac img { height: 320px; }
.shot-gallery.watch img { height: 420px; }
.gallery-hint { color: var(--muted-2); font-size: 12.5px; font-family: var(--mono); margin-top: 4px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-icon { justify-self: center; }
  .hero-icon img { width: 132px; height: 132px; }
  .hero .subhead { margin-left: auto; margin-right: auto; }
  .hero .label-caps { justify-content: center; }
  .badge-row { justify-content: center; }
  .two-col { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 13, 18, 0.98);
    border-bottom: 1px solid var(--hairline);
    padding: 4px 24px 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease;
  }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--hairline); }
  .nav-links a:last-child { border-bottom: none; }
  .site-nav.nav-open .nav-links { max-height: 320px; opacity: 1; pointer-events: auto; }
  section { padding: 56px 0; }
  /* Scoped to the decorative hero board only (:not(.live-board)) --
     this used to be a bare ".board-row .time" rule, which also hid
     the LIVE board's time column since it shares the .board-row
     class. That was the actual bug behind "no seconds ever showing":
     the whole point of that section is the ticking time, so it can't
     be the one board that loses its time column on a narrow viewport. */
  .board:not(.live-board) .board-row { grid-template-columns: 70px 1fr 60px; }
  .board:not(.live-board) .board-row .time { display: none; }
  .live-board .board-row { grid-template-columns: 62px 1fr 84px; gap: 10px; }
  .demo-grid { grid-template-columns: 1fr; }
  .shot-gallery img { height: 340px; }
  .shot-gallery.mac img { height: 200px; }
  .shot-gallery.watch img { height: 300px; }
}
