/* ─── NetGlobe shared design system ──────────────────────────────────
   Used by all pages (index.html, features.html, faq.html, support.html).
   Page-specific styles stay inline on each page.
   ─────────────────────────────────────────────────────────────────── */

:root {
  --bg:           #050c16;
  --bg-2:         #0a1422;
  --surface:      rgba(14, 26, 44, 0.78);
  --surface-2:    rgba(20, 35, 55, 0.72);
  --border:       rgba(120, 235, 255, 0.12);
  --border-2:     rgba(120, 235, 255, 0.22);
  --text:         #e8eaf0;
  --text-dim:     #8a9ab5;
  --text-muted:   #5a6d8b;
  --cyan:         #5be7ff;
  --cyan-soft:    rgba(91, 231, 255, 0.18);
  --mint:         #66ffb2;
  --amber:        #ffd166;
  --rose:         #ff7a8a;
  --violet:       #b58eff;

  --shadow-lg:    0 30px 80px -20px rgba(0, 0, 0, 0.6),
                  0 0 1px rgba(120, 235, 255, 0.18) inset;
  --shadow-glow:  0 0 60px -10px rgba(91, 231, 255, 0.35);

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad-x:        clamp(1.25rem, 4vw, 4rem);
  --section-y:    clamp(4rem, 10vw, 8rem);
  --max-w:        1240px;
}

/* ─── Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  min-height: 100vh;
  font-synthesis: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(91, 231, 255, 0.3); color: #fff; }

/* ─── Layout primitives ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  /* Honor iOS safe-area-insets on devices with notches / Dynamic Island. */
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.eyebrow.center { justify-content: center; margin-bottom: 1rem; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: #fff; }
h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

/* ─── Launch banner ─────────────────────────────────────────────────
   Sticky strip above the nav announcing the Microsoft Store launch.
   Persists on every page, links straight to the store listing.
   ─────────────────────────────────────────────────────────────────── */
.launch-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  /* Top inset gives the notch / Dynamic Island some breathing room in landscape. */
  padding: max(0.55rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.55rem max(1rem, env(safe-area-inset-left));
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text);
  background:
    linear-gradient(90deg,
      rgba(102, 255, 178, 0.10) 0%,
      rgba(91, 231, 255, 0.14) 50%,
      rgba(102, 255, 178, 0.10) 100%),
    rgba(5, 12, 22, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(102, 255, 178, 0.28);
  text-align: center;
  text-decoration: none;
  transition: background 220ms, border-color 220ms;
}
.launch-banner:hover {
  background:
    linear-gradient(90deg,
      rgba(102, 255, 178, 0.16) 0%,
      rgba(91, 231, 255, 0.22) 50%,
      rgba(102, 255, 178, 0.16) 100%),
    rgba(5, 12, 22, 0.92);
  border-bottom-color: rgba(102, 255, 178, 0.5);
}
.launch-banner-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint), 0 0 16px rgba(102, 255, 178, 0.45);
  animation: launch-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes launch-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.15); }
}
.launch-banner strong { color: var(--mint); font-weight: 700; }
.launch-banner .sep   { color: var(--text-muted); margin: 0 0.35rem; }
.launch-banner .arrow {
  color: var(--cyan);
  font-weight: 700;
  display: inline-block;
  transition: transform 200ms;
}
.launch-banner:hover .arrow { transform: translateX(4px); }

/* Push everything below down by the banner's height. JS sets
   --launch-banner-h on resize so this stays correct on small screens
   where the banner may wrap to two lines. */
:root { --launch-banner-h: 42px; }
body { padding-top: var(--launch-banner-h); }

@media (max-width: 640px) {
  .launch-banner { font-size: 0.78rem; padding: 0.5rem 0.8rem; gap: 0.55rem; }
  .launch-banner .sep,
  .launch-banner .launch-banner-tail { display: none; }
}

/* ─── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--launch-banner-h, 0);
  left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: backdrop-filter 200ms, background 200ms, border-color 200ms;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  background: rgba(5, 12, 22, 0.72);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 800; letter-spacing: -0.02em; font-size: 1.1rem;
}
.logo-mark {
  width: 30px; height: 30px; position: relative; flex-shrink: 0;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, rgba(91,231,255,0.22), rgba(91,231,255,0.04));
  border: 1px solid rgba(91, 231, 255, 0.32);
  border-radius: 8px;
}
.logo-mark::before, .logo-mark::after {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid rgba(91, 231, 255, 0.55);
  border-radius: 50%;
}
.logo-mark::after { transform: scaleX(0.5); }
.logo-mark span {
  position: absolute; width: 5px; height: 5px; background: var(--cyan);
  border-radius: 50%; box-shadow: 0 0 6px var(--cyan);
}
.nav-links {
  display: flex; gap: 1.8rem; list-style: none;
  font-size: 0.92rem; color: var(--text-dim);
}
.nav-links a { transition: color 160ms; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--cyan); }

/* Hamburger toggle — hidden on desktop, visible on tablet/mobile. */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: rgba(20, 35, 55, 0.4);
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: border-color 160ms, background 160ms;
  flex-shrink: 0;
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  border-color: var(--cyan);
  background: rgba(91, 231, 255, 0.08);
}
.nav-toggle .bars { position: relative; width: 18px; height: 14px; }
.nav-toggle .bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms, top 220ms, opacity 160ms;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  top: 6px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  top: 6px; transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-inner { gap: 0.6rem; }
  /* Compact the header CTA so logo + button + hamburger fit small phones. */
  .nav-inner .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
  /* Slide-down panel: stacked links on a translucent backdrop. */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    background: rgba(5, 12, 22, 0.96);
    -webkit-backdrop-filter: saturate(1.5) blur(18px);
    backdrop-filter: saturate(1.5) blur(18px);
    border-bottom: 1px solid var(--border);
    /* Closed state */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms, opacity 200ms;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li {
    border-top: 1px solid var(--border);
  }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block;
    padding: 1rem var(--pad-x);
    font-size: 1rem;
    color: var(--text);
  }
  .nav-links a.active { color: var(--cyan); }
  /* The header button stays visible next to the toggle. */
  .nav-inner .btn { margin-left: auto; }
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem; font-weight: 600;
  border-radius: 8px;
  transition: transform 120ms ease, background 200ms, box-shadow 200ms, border-color 200ms;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--cyan) 0%, #2bb5d4 100%);
  color: #061421;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 6px 22px -6px rgba(91, 231, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 12px 28px -6px rgba(91, 231, 255, 0.7); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-2);
  background: rgba(20, 35, 55, 0.3);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(91, 231, 255, 0.08); }

/* ─── Section base ──────────────────────────────────────────────────── */
section.band {
  padding: var(--section-y) 0;
  position: relative;
}
.section-head { margin-bottom: 3.5rem; max-width: 720px; }
.section-head h2 { margin-top: 0.8rem; }
.section-head p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 0.8rem;
  max-width: 640px;
}

/* ─── Inner-page hero (non-index pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(91, 231, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(102, 255, 178, 0.04), transparent 70%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 235, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 235, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin: 1.2rem 0 1.4rem;
}
.page-hero h1 .accent {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  max-width: 680px;
}

/* ─── CTA band (Get NetGlobe) ───────────────────────────────────────── */
.cta {
  text-align: center;
  padding: var(--section-y) 0;
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(91, 231, 255, 0.08), transparent 70%);
  border-top: 1px solid var(--border);
}
.cta h2 { max-width: 720px; margin: 0 auto 1rem; }
.cta p { color: var(--text-dim); margin-bottom: 2.4rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-microcopy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Big store badges for the download section. Builds on the hero
   .store-badge but with more presence (larger padding, brighter
   border on the live one). */
.store-badges-lg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1.6rem;
}
.store-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: rgba(14, 26, 44, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 200ms, transform 200ms, background 200ms, box-shadow 200ms;
  text-decoration: none;
  color: var(--text);
}
.store-badge-lg:hover {
  border-color: var(--cyan);
  background: rgba(91, 231, 255, 0.07);
  transform: translateY(-2px);
}
.store-badge-lg svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge-lg .stack { line-height: 1.15; text-align: left; }
.store-badge-lg .stack small {
  font-size: 0.7rem; color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.store-badge-lg .stack strong {
  font-weight: 700; font-size: 1.05rem;
  display: block; color: #fff;
}
.store-badge-lg .pill {
  margin-left: 0.35rem;
  padding: 0.22rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}
.store-badge-lg .pill.live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--mint);
  border: 1px solid rgba(102, 255, 178, 0.45);
  background: rgba(102, 255, 178, 0.10);
}
.store-badge-lg .pill.live::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: launch-pulse 1.8s ease-in-out infinite;
}
.store-badge-lg .pill.soon {
  color: var(--amber);
  border: 1px solid rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.06);
}

/* The live one stands out: a soft mint glow border + emphasis. */
.store-badge-lg.is-live {
  border-color: rgba(102, 255, 178, 0.55);
  background: rgba(102, 255, 178, 0.05);
  box-shadow: 0 0 0 1px rgba(102, 255, 178, 0.18), 0 18px 50px -18px rgba(102, 255, 178, 0.45);
}
.store-badge-lg.is-live:hover {
  border-color: var(--mint);
  background: rgba(102, 255, 178, 0.10);
  box-shadow: 0 0 0 1px rgba(102, 255, 178, 0.35), 0 22px 60px -16px rgba(102, 255, 178, 0.65);
}

@media (max-width: 520px) {
  .store-badges-lg { flex-direction: column; align-items: stretch; }
  .store-badge-lg { justify-content: flex-start; }
}

/* ─── Launch date microcopy ─────────────────────────────────────────── */
.launch-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.5);
}
.launch-date::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
}

/* ─── Mac waitlist form ─────────────────────────────────────────────────
   Reused for the macOS-only signup in the download section. The form
   has a Formspree-ready action attribute and a graceful mailto fallback.
   ─────────────────────────────────────────────────────────────────── */
.waitlist {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border);
}
.waitlist .waitlist-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.waitlist .waitlist-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 5px var(--amber);
}
.waitlist h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.waitlist p.waitlist-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 1.4rem;
}
.notify-form {
  display: flex; gap: 0.6rem;
  max-width: 460px; margin: 0 auto;
  padding: 0.4rem;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.notify-form input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  background: transparent;
  border: 0; color: var(--text);
  font: inherit; outline: none;
}
.notify-form input::placeholder { color: var(--text-muted); }
.notify-form button {
  padding: 0.7rem 1.2rem;
  background: linear-gradient(180deg, var(--cyan), #2bb5d4);
  color: #061421; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
  transition: transform 120ms;
}
.notify-form button:hover { transform: translateY(-1px); }
.form-success {
  margin-top: 1.2rem;
  display: none;
  color: var(--mint);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success.visible { display: block; }
@media (max-width: 600px) {
  .notify-form { flex-direction: column; padding: 0.55rem; }
  .notify-form button { padding: 0.85rem; }
}

/* ─── Launch stamp / ribbon on the hero ─────────────────────────────
   Tilted "JUST LAUNCHED" sticker pinned to the upper-right of the hero.
   Hidden on narrow viewports so it never collides with the headline copy.
   ─────────────────────────────────────────────────────────────────── */
.launch-stamp {
  position: absolute;
  top: 7.2rem;
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  border: 2px solid var(--mint);
  background:
    linear-gradient(135deg, rgba(102, 255, 178, 0.20), rgba(91, 231, 255, 0.18));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transform: rotate(8deg);
  box-shadow:
    0 10px 30px -10px rgba(102, 255, 178, 0.55),
    0 0 0 4px rgba(102, 255, 178, 0.08);
  animation: stamp-wiggle 4.2s ease-in-out infinite;
  transform-origin: center;
  pointer-events: auto;
}
.launch-stamp:hover {
  animation-play-state: paused;
}
.launch-stamp .stamp-big {
  font-size: 0.95rem;
  color: var(--mint);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(102, 255, 178, 0.45);
}
.launch-stamp .stamp-small {
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  line-height: 1.1;
  margin-top: 0.15rem;
}
.launch-stamp .stamp-glow {
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(102, 255, 178, 0.2), transparent 70%);
  z-index: -1;
  filter: blur(8px);
  animation: stamp-glow 2.8s ease-in-out infinite;
}
@keyframes stamp-wiggle {
  0%, 100% { transform: rotate(8deg)  scale(1); }
  25%      { transform: rotate(5deg)  scale(1.03); }
  50%      { transform: rotate(10deg) scale(1); }
  75%      { transform: rotate(7deg)  scale(1.03); }
}
@keyframes stamp-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
@media (max-width: 960px) {
  .launch-stamp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-stamp { animation: none; transform: rotate(8deg); }
  .launch-stamp .stamp-glow { animation: none; opacity: 0.7; }
}

/* ─── Footer ────────────────────────────────────────────────────────── */
footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.foot-grid h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.foot-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.foot-grid a { color: var(--text-muted); transition: color 160ms; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.foot-base a:hover { color: var(--text); }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ─── Reveal animation ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.shown { opacity: 1; transform: translateY(0); }

/* ─── Skip link (accessibility) ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  padding: 0.7rem 1rem;
  background: var(--cyan);
  color: #061421;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  z-index: 200;
  transition: top 160ms;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* ─── Keyboard focus ─────────────────────────────────────────────────
   :focus-visible only fires for keyboard / non-pointer focus, so mouse
   users don't see ugly rings. Buttons, links, inputs, and details all
   get a consistent cyan outline.
   ─────────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.store-badge:focus-visible,
.store-badge-lg:focus-visible,
.launch-banner:focus-visible,
.launch-stamp:focus-visible {
  outline-offset: 4px;
}
.notify-form:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(91, 231, 255, 0.18);
}
.notify-form input:focus-visible { outline: none; }
.nav-links a:focus-visible {
  color: var(--cyan);
  outline-offset: 4px;
}
details:focus-within > summary { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Mobile typography baseline ────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-y: 4rem; }
  .page-hero { padding: 7rem 0 3rem; }
  .section-head { margin-bottom: 2.5rem; }
}
@media (max-width: 420px) {
  :root { --pad-x: 1.1rem; }
}
