/* Pegasus Zulu: the website.
   The app's own palette and type: system text, monospaced numbers, amber on
   near-black. No web fonts, so no third party learns who visited. */

:root {
  --base: #010409;
  --bg: #0d1117;
  --surface: #161b22;
  --divider: #21262d;
  --divider2: #30363d;
  --muted: #7c838c;
  --sub: #9ba4ae;
  --text: #e6edf3;
  --amber: #f59e0b;
  --amber2: #d97706;
  --ember: #ff9a3c;
  --orange: #e47a1e;
  --purple: #c084fc;
  --green: #4ade80;
  --red: #ef4444;
  --cyan: #38bdf8;
  --on-amber: #140000;

  --r-tag: 6px;
  --r-control: 10px;
  --r-card: 12px;
  --r-container: 16px;
  --r-platter: 22px;

  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 20px;
  --max: 1120px;
}

* { 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(--base);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--amber); color: var(--on-amber); padding: 8px 14px; border-radius: var(--r-control);
}
.skip:focus { left: 12px; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 4, 9, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(48, 54, 61, 0.6);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand .words { display: flex; flex-direction: column; line-height: 1; }
.brand .p { font-family: var(--mono); font-weight: 800; font-size: 8px; letter-spacing: 4px; color: var(--amber); }
.brand .z { font-family: var(--mono); font-weight: 900; font-size: 20px; letter-spacing: 2px; margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--sub); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-amber); }
@media (max-width: 720px) { .nav a.hide-sm { display: none; } .nav { gap: 16px; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent;
  font-family: var(--ui); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--amber), var(--amber2)); color: var(--on-amber); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--divider2); }
.btn-small { white-space: nowrap; min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* The App Store button. Until the listing exists it reads "Coming soon" and
   does nothing; set APP_STORE_URL in site.js and every one goes live. Swap
   in Apple's official badge artwork once listed (see README). */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 14px; background: #000; color: #fff;
  border: 1px solid #3a3f47;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.store:hover { text-decoration: none; border-color: #6b7280; }
.store:active { transform: scale(0.97); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store .s { font-size: 11px; opacity: 0.8; }
.store .b { font-size: 19px; font-weight: 600; letter-spacing: -0.2px; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:active { transform: none; }
.store[aria-disabled="true"] .s::after { content: " · Coming soon"; color: var(--amber); opacity: 1; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.sky {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, var(--sky-top, #05091c) 0%, var(--sky-horizon, #0e1638) 55%, var(--base) 100%);
  transition: background 2s ease;
}
.sky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: radial-gradient(60% 80% at var(--glow-x, 18%) 100%, rgba(255, 138, 60, var(--glow, 0)), transparent 70%);
}
#stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } }

.eyebrow { font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 5px; color: var(--amber); text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -1.5px; margin: 14px 0 16px; font-weight: 800; }
.hero h1 .z { color: var(--purple); }
.hero p.lede { font-size: clamp(17px, 2vw, 20px); color: var(--sub); max-width: 540px; margin: 0 0 28px; }
@media (max-width: 900px) { .hero p.lede { margin-left: auto; margin-right: auto; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 900px) { .cta-row { justify-content: center; } }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* The mark, its orbits and the live clock, after the app's intro. */
.orbit-stage { position: relative; width: min(440px, 88vw); aspect-ratio: 1; margin: 0 auto; }
.orbit-stage svg.orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbits ellipse { fill: none; stroke: rgba(155, 164, 174, 0.28); stroke-width: 1.2; }
.orbits .dot { fill: var(--amber); }
.orbits .halo { fill: rgba(245, 158, 11, 0.18); }
.orbit-stage .glow {
  position: absolute; left: 50%; top: 44%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 154, 60, 0.28), rgba(255, 154, 60, 0.07) 45%, transparent 70%);
  animation: breathe 5s ease-in-out infinite;
}
.orbit-stage .mark {
  position: absolute; left: 50%; top: 44%; width: 42%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 6px rgba(255, 154, 60, 0.85)) drop-shadow(0 0 22px rgba(255, 154, 60, 0.45));
  animation: leap 1.3s cubic-bezier(0.45, 0, 0.35, 1) both, float 5.2s ease-in-out 1.3s infinite;
}
@keyframes leap {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.86) rotate(4deg); }
  45% { opacity: 1; transform: translate(-48%, -56%) scale(1.04) rotate(-7deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -53%); } }
@keyframes breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

.clock { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; }
.clock .big { font-family: var(--mono); font-weight: 800; font-size: clamp(38px, 7vw, 58px); letter-spacing: 1px; line-height: 1; }
.clock .big .zz { color: var(--amber); font-size: 0.62em; margin-left: 2px; }
.clock .small { font-family: var(--mono); color: var(--sub); font-size: 14px; letter-spacing: 3px; margin-top: 8px; }

/* Rolling digits: each digit is a column of 0-9 that slides. */
.roll { display: inline-flex; }
.roll .d { display: inline-block; height: 1em; overflow: hidden; position: relative; width: 0.6em; }
.roll .d .col { display: flex; flex-direction: column; transition: transform 0.45s cubic-bezier(0.3, 0.9, 0.3, 1); }
.roll .d .col span { height: 1em; line-height: 1; text-align: center; }
.roll .sep { display: inline-block; width: 0.45em; text-align: center; }
@media (prefers-reduced-motion: reduce) { .roll .d .col { transition: none; } }

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

section.feature { padding: 88px 0; border-top: 1px solid var(--divider); }
section.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
section.feature.flip .copy { order: 2; }
@media (max-width: 900px) {
  section.feature { padding: 64px 0; }
  section.feature .wrap { grid-template-columns: 1fr; gap: 36px; }
  section.feature.flip .copy { order: 0; }
}
.copy h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.8px; margin: 12px 0 14px; }
.copy p { color: var(--sub); margin: 0 0 14px; }
.copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.copy li { display: flex; gap: 10px; color: var(--sub); font-size: 16px; }
.copy li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--amber); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Phone and cards ---------- */

.phone {
  width: min(360px, 92vw); margin: 0 auto;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2a2f36, #0b0e12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.screen { border-radius: 36px; overflow: hidden; background: var(--base); position: relative; min-height: 640px; }
.island { width: 110px; height: 30px; border-radius: 20px; background: #000; margin: 10px auto 0; }

.card { background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r-container); }
.panel { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card); }

/* Timeline mock */
.tl-head { padding: 16px 18px 10px; }
.tl-head .cs { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; font-weight: 800; color: var(--amber); }
.tl-head .route { font-family: var(--mono); font-size: 26px; font-weight: 800; margin-top: 4px; }
.tl-head .route .arrow { color: var(--amber); }
.tl-head .to { font-family: var(--mono); color: var(--sub); font-size: 13px; margin-top: 4px; }
.tl-head .to b { color: var(--purple); }
.status { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--divider2); font-family: var(--mono); font-size: 12px; color: var(--sub); }
.status .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }

.rows { list-style: none; margin: 6px 12px 16px; padding: 0; }
.row {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 8px; border-bottom: 1px solid var(--divider);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.4s ease;
}
.in .row { opacity: 1; transform: none; }
.row .dot { width: 10px; height: 10px; border-radius: 50%; }
.row .n { font-size: 15px; }
.row .n small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.row .t { text-align: right; font-family: var(--mono); font-weight: 800; font-size: 16px; }
.row .t small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.row.past { opacity: 0.45; }
.in .row.past { opacity: 0.45; }
.row.next { background: rgba(245, 158, 11, 0.08); border-radius: 10px; border-bottom-color: transparent; }
.row.next .cd { color: var(--amber); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.row.key .n { color: var(--purple); font-weight: 700; letter-spacing: 1px; }
.row.key .t { color: var(--purple); }

/* Legal window mock */
.legal { padding: 18px; display: grid; gap: 12px; }
.legal .top { display: flex; justify-content: space-between; align-items: baseline; }
.legal .route { font-family: var(--mono); font-weight: 800; font-size: 20px; }
.chip { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 999px; }
.chip.aug { background: var(--green); color: var(--on-amber); }
.chip.passed { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.kv { display: flex; justify-content: space-between; font-size: 14px; color: var(--sub); }
.kv b { font-family: var(--mono); color: var(--text); font-weight: 700; }
.kv b.red { color: var(--red); }
.bar { height: 8px; border-radius: 99px; background: var(--divider2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 30%; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--amber)); transition: width 1.1s cubic-bezier(0.3, 0.8, 0.3, 1), background 0.6s ease; }
.bar i.over { background: linear-gradient(90deg, var(--amber), var(--red)); }
.spare { font-family: var(--mono); font-weight: 800; color: var(--green); transition: color 0.4s ease; }
.spare.over { color: var(--red); }
.latest { padding: 14px; border-radius: var(--r-card); border: 1px solid rgba(74, 222, 128, 0.35); background: var(--surface); }
.latest .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--muted); font-weight: 700; }
.latest .v { font-family: var(--mono); font-size: 34px; font-weight: 800; color: var(--green); line-height: 1.15; }
.latest.land { border-color: rgba(192, 132, 252, 0.35); }
.latest.land .v { color: var(--purple); }
.delay { padding: 14px; }
.delay .row2 { display: flex; justify-content: space-between; align-items: baseline; }
.delay .amt { font-family: var(--mono); font-size: 22px; font-weight: 800; }
.track { position: relative; height: 6px; border-radius: 99px; background: var(--divider2); margin: 14px 4px 6px; }
.track .fillb { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--amber); transition: width 1.1s cubic-bezier(0.3, 0.8, 0.3, 1); }
.track .knob { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); transition: left 1.1s cubic-bezier(0.3, 0.8, 0.3, 1); }

/* The globe: real coastlines from the app's own outline data. */
.globe-wrap { position: relative; width: min(460px, 92vw); aspect-ratio: 1; margin: 0 auto; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.map-credit { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stat { padding: 14px; text-align: left; }
.stat .v { font-family: var(--mono); font-weight: 800; font-size: 22px; }
.stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }

/* Lock screen mock */
.lock { background: radial-gradient(120% 70% at 20% 100%, rgba(255, 138, 60, 0.35), transparent 60%), linear-gradient(180deg, #0b1233, #2a1f4d 55%, #563055); min-height: 640px; }
.lock .date { text-align: center; color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 17px; margin-top: 34px; }
.lock .time { text-align: center; font-size: 86px; font-weight: 700; line-height: 1; letter-spacing: -2px; color: rgba(255, 255, 255, 0.92); }
.la { margin: 190px 12px 0; padding: 16px 18px; border-radius: 26px; background: rgba(10, 12, 16, 0.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08); }
.la .top { display: flex; justify-content: space-between; align-items: center; }
.la .cs { font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--amber); }
.la .top img { width: 22px; }
.la .route { font-family: var(--mono); font-size: 26px; font-weight: 800; margin-top: 6px; }
.la .route .arrow { color: var(--amber); }
.la .bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.la .ev { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; font-weight: 800; color: #e879f9; }
.la .at { font-family: var(--mono); font-size: 13px; color: var(--sub); margin-top: 2px; }
.la .cd { font-family: var(--mono); font-size: 34px; font-weight: 800; color: #e879f9; }
.pill-island { width: 200px; margin: 12px auto 0; height: 34px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-family: var(--mono); font-weight: 800; font-size: 13px; color: #e879f9; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 560px) { .themes { grid-template-columns: repeat(2, 1fr); } }
/* The selected look is ringed and glowing; the others dim. Nothing moves or
   resizes: a card lifting and scaling in a tight grid nudged its neighbors
   and read as a jolt every time the highlight moved on. */
.swatch {
  border-radius: var(--r-container); padding: 18px 8px 8px; border: 1px solid var(--divider2);
  cursor: pointer; opacity: 0.62;
  transition: opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
  -webkit-tap-highlight-color: transparent;
}
.swatch:hover { opacity: 0.85; }
.swatch.on { opacity: 1; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 28px rgba(245, 158, 11, 0.28); }
.swatch:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.swatch .mini { border-radius: var(--r-control); padding: 10px; }
.swatch .bar1 { width: 34px; height: 4px; border-radius: 4px; margin-bottom: 8px; }
.swatch .rt { font-family: var(--mono); font-weight: 800; font-size: 12px; }
.swatch .ln { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; margin-top: 6px; }
.swatch .name { text-align: center; font-size: 14px; font-weight: 600; margin-top: 10px; color: var(--sub); }
.swatch.on .name { color: var(--amber); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tile { padding: 22px; }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--sub); font-size: 15px; }

.center { text-align: center; }
.center .copy h2 { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head p { color: var(--sub); }

/* Privacy band */
.promise { padding: 96px 0; border-top: 1px solid var(--divider); background: radial-gradient(60% 100% at 50% 0%, rgba(245, 158, 11, 0.08), transparent 70%); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 36px auto 0; }
@media (max-width: 560px) { .figures { grid-template-columns: 1fr; } }
.figure { padding: 24px 12px; text-align: center; }
.figure .v { font-family: var(--mono); font-weight: 900; font-size: 44px; line-height: 1; }
.figure .l { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--muted); margin-top: 10px; }

/* Final call */
.final { padding: 110px 0 120px; border-top: 1px solid var(--divider); text-align: center; position: relative; overflow: hidden; }
.final img.mk { width: 110px; margin: 0 auto 20px; filter: drop-shadow(0 0 18px rgba(255, 154, 60, 0.5)); animation: float2 5s ease-in-out infinite; }
@keyframes float2 { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
.final h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -1px; margin: 0 0 12px; }
.final p { color: var(--sub); margin: 0 auto 28px; max-width: 560px; }
.final .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .orbit-stage .mark, .orbit-stage .glow, .final img.mk, .status .live { animation: none; }
  .orbit-stage .mark { transform: translate(-50%, -50%); }
}

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

.site-footer { border-top: 1px solid var(--divider); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { color: var(--sub); }
.site-footer .legal-note { max-width: 640px; margin-top: 22px; line-height: 1.6; }

/* ---------- Document pages (privacy, support) ---------- */

.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -1px; margin: 12px 0 8px; line-height: 1.1; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.doc h2 { font-size: 22px; margin: 44px 0 10px; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--sub); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.summary { padding: 22px 24px; margin: 28px 0 8px; }
.summary ul { margin: 10px 0 0; }
.contact-card { padding: 22px 24px; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.contact-card .addr { font-family: var(--mono); font-size: 17px; color: var(--text); }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.topic { padding: 16px 18px; color: var(--text); display: block; }
.topic:hover { text-decoration: none; border-color: var(--amber); }
.topic b { display: block; }
.topic span { color: var(--muted); font-size: 14px; }
details.faq { border-bottom: 1px solid var(--divider); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--amber); font-family: var(--mono); font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 10px 0 0; }

/* ---------- Phones ---------- */

/* A section reached by its link lands below the sticky header, not under it. */
[id] { scroll-margin-top: 76px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.delay .row2 { gap: 10px; align-items: center; }
.delay .amt { white-space: nowrap; }

@media (max-width: 900px) {
  /* The pegasus and the live clock are the first thing on a phone, not
     something found after a screen of text. */
  .hero { padding: 16px 0 56px; }
  .hero .wrap { gap: 8px; }
  .orbit-stage { order: -1; width: min(320px, 80vw); }
  .clock .big { font-size: clamp(34px, 10vw, 46px); }
  .clock .small { font-size: 12px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .site-header .wrap { height: 58px; }
  .brand img { width: 30px; }
  .brand .z { font-size: 18px; }

  .hero h1 { font-size: clamp(36px, 11vw, 46px); letter-spacing: -1px; margin: 10px 0 12px; }
  .hero p.lede { font-size: 16px; margin-bottom: 22px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .hero .cta-row .store, .hero .cta-row .btn { justify-content: center; width: 100%; }

  section.feature { padding: 52px 0; }
  section.feature .wrap { gap: 28px; }
  .copy h2 { font-size: clamp(28px, 8.5vw, 34px); }
  .copy li { font-size: 15px; }

  /* The phone mockups fit on a phone's screen instead of running past it. */
  .phone { width: min(310px, 84vw); border-radius: 40px; padding: 10px; }
  .screen { min-height: 540px; border-radius: 31px; }
  .lock { min-height: 540px; }
  .lock .date { margin-top: 26px; font-size: 15px; }
  .lock .time { font-size: 70px; }
  .la { margin-top: 130px; padding: 14px 16px; border-radius: 22px; }
  .la .route { font-size: 22px; }
  .la .cd { font-size: 28px; }
  .tl-head .route { font-size: 22px; }
  .row { padding: 9px 6px; }
  .row .n { font-size: 14px; }
  .row .t { font-size: 14px; }

  .legal { padding: 16px; }
  .latest .v { font-size: 28px; }
  .delay .eyebrow { font-size: 10px !important; letter-spacing: 2px !important; }

  .stats { gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat .v { font-size: 18px; }
  .stat .l { font-size: 9px; letter-spacing: 1.5px; }

  /* Feature tiles as compact rows: icon beside the words. */
  .grid { gap: 10px; margin-top: 26px; }
  .tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .tile .ic { grid-row: span 2; margin: 2px 0 0; width: 40px; height: 40px; }
  .tile h3 { font-size: 16px; margin-bottom: 2px; }
  .tile p { font-size: 14px; }

  /* The privacy figures stay side by side. */
  .promise { padding: 64px 0; }
  .figures { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
  .figure { padding: 18px 6px; }
  .figure .v { font-size: 32px; }
  .figure .l { font-size: 9px; letter-spacing: 2px; margin-top: 8px; }

  .final { padding: 72px 0 80px; }
  .final img.mk { width: 88px; }
  .final .cta-row .store { width: 100%; max-width: 340px; justify-content: center; }

  .site-footer { padding: 36px 0 44px; }
  .site-footer nav { gap: 16px; }

  .doc { padding: 36px 0 56px; }
  .summary, .contact-card { padding: 18px; }
  .contact-card .btn { width: 100%; }
}

/* ---------- Page changes ----------
   Moving between Home, Privacy and Support crossfades instead of flashing
   through a blank reload, and the top bar holds perfectly still, since it
   is the same on every page. Browsers without cross-document view
   transitions just change pages as before; Reduce Motion skips it. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  .site-header { view-transition-name: site-header; }

  ::view-transition-old(root) { animation: 160ms ease-out both pz-fade-out; }
  ::view-transition-new(root) { animation: 360ms cubic-bezier(0.2, 0.8, 0.2, 1) 60ms both pz-rise-in; }
  /* Only the highlighted menu link differs; a quick crossfade, no movement. */
  ::view-transition-group(site-header) { animation-duration: 0s; }
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation-duration: 180ms; }
}
@keyframes pz-fade-out { to { opacity: 0; } }
@keyframes pz-rise-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Type scale ----------
   Five sizes, used strictly: display for the one hero line, a section size
   for every section headline, a lede under it, body, and small print.
   Headlines are tight and heavy; everything under them steps clearly down.
   Letter-spaced capitals are kept for data labels that behave like an
   instrument's, not for headings. */
:root {
  --fs-display: clamp(46px, 7.2vw, 84px);
  --fs-section: clamp(34px, 4.6vw, 56px);
  --fs-lede: clamp(18px, 1.7vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;
}
.hero h1 { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; margin: 14px 0 22px; }
.eyebrow { font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--amber); }
.copy h2, .section-head h2, .final h2, .promise h2 {
  font-size: var(--fs-section); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px;
}
.copy p, .section-head p, .final p { font-size: var(--fs-body); }
.copy p.lede, .section-head p.lede, .hero p.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--sub); }
.copy p.lede + p { color: var(--muted); }
.fine, .map-credit, .site-footer, .legal-note { font-size: var(--fs-small); }
.dlbl { font-size: 13px; font-weight: 600; color: var(--amber); }
.latest .lbl { font-family: var(--ui); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; }

/* ---------- Varied section shapes ----------
   Every section used to be eyebrow, headline, paragraph and three bullets,
   left then right. Now the rhythm changes: split, then a centered stage,
   then a wide atlas, then split with the one list, then a centered row. */

/* A centered stage: the words above, the thing itself below and large. */
section.feature.stage .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 44px; }
section.feature.stage .copy { max-width: 720px; }
section.feature.stage .copy p.lede { margin-left: auto; margin-right: auto; max-width: 620px; }
section.feature.stage .legal { width: min(560px, 100%); text-align: left; }
section.feature.looks .themes { width: min(880px, 100%); }
@media (min-width: 901px) { section.feature.looks .themes { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* The atlas: headline beside its copy, the globe wide beneath. */
section.feature.atlas .wrap { grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 901px) {
  section.feature.atlas .copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  section.feature.atlas .copy h2 { margin: 0; }
  section.feature.atlas .copy p.lede { margin: 0; }
  section.feature.atlas .globe-wrap { width: min(620px, 100%); }
}
.figline { text-align: center; margin: 14px 0 0; font-size: var(--fs-lede); color: var(--sub); }
.figline b { font-family: var(--mono); font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.figline i { font-style: normal; color: var(--muted); margin: 0 10px; }

.section-head.left { text-align: left; margin: 0; max-width: none; }
.grid { margin-top: 32px; }
.promise .section-head p { font-size: var(--fs-lede); }

@media (max-width: 560px) {
  .copy h2, .section-head h2, .final h2, .promise h2 { font-size: clamp(32px, 9vw, 40px); }
  .hero h1 { font-size: clamp(42px, 12.5vw, 54px); }
  .figline { font-size: 16px; }
  .figline i { margin: 0 6px; }
  section.feature.stage .wrap { gap: 28px; }
}
/* In a two-column section the headline shares the width, so it steps down a
   size rather than breaking onto a third line. */
@media (min-width: 901px) {
  section.feature:not(.stage):not(.atlas) .copy h2 { font-size: clamp(34px, 3.5vw, 46px); }
}

/* Rest mock: the card's off-duty band, with the alarm and last sleep. */
.rest .tl-head { padding-bottom: 12px; }
.rest .band { margin: 0 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(129, 140, 248, 0.18), rgba(129, 140, 248, 0.03)); border-top: 1px solid rgba(129, 140, 248, 0.35); }
.rest .ph { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 3px; font-weight: 800; color: #8b93ff; }
.rest .ph .dot { width: 6px; height: 6px; border-radius: 50%; background: #8b93ff; }
.rest .cnt { margin-top: 6px; color: var(--sub); font-weight: 600; font-size: 15px; }
.rest .cnt b { font-family: var(--mono); font-size: 30px; color: var(--text); margin-left: 6px; }
.rest .sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rest .alarm, .rest .sleep { margin-top: 10px; padding: 10px 12px; border-radius: 10px; }
.rest .alarm { display: flex; gap: 10px; align-items: center; background: rgba(1, 4, 9, 0.45); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.rest .alarm svg { width: 18px; height: 18px; flex: none; color: var(--amber); }
.rest .alarm small { display: block; font-family: var(--ui); font-weight: 400; color: var(--muted); font-size: 11px; }
.rest .sleep { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.35); }
.rest .sleep .r { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rest .sleep .r > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); font-weight: 600; font-size: 14px; }
.rest .sleep .r svg { width: 14px; height: 14px; }
.rest .sleep b { font-family: var(--mono); font-size: 22px; color: var(--amber); }
.rest .sleep small { color: var(--sub); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rest .pill { font-size: 11px; font-weight: 700; color: var(--amber); background: rgba(245, 158, 11, 0.16); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.rest .rows { margin-top: 10px; }
@media (max-width: 560px) {
  .rest .cnt b { font-size: 26px; }
  .rest .sleep b { font-size: 20px; }
  .rest .sleep small { font-size: 11px; }
}

/* Page not found: the closing section's look, filling the screen. */
.final.lost { border-top: 0; min-height: calc(100vh - 260px); display: flex; align-items: center; }
.final.lost .wrap { width: 100%; }
.final.lost .eyebrow { margin-bottom: 12px; }
