/* ==========================================================================
   MediByte · Apple Flagship Design System
   Authentic SF Pro Typography · Gallery Ceramic & Obsidian Pro Theatres
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* MediByte Atelier Ivory & Electric Royal Cobalt Design System (v34) */
  --white: #FFFDF9;
  --ceramic: #FAF7F2;
  --ceramic-2: #F0E9DD;
  --page-top: #FAF7F2;
  --sky-panel: #EDF3FF;
  --chip-idle: #F2ECE2;

  --ink: #16171C;
  --ink-2: #5D5850;
  --ink-3: #8A8377;

  --apple-blue: #0E4FE8;
  --apple-blue-hover: #0A43CC;
  --cobalt: #0E4FE8;
  --cobalt-hi: #2264FF;
  --cobalt-deep: #093BB3;
  --cobalt-soft: rgba(14, 79, 232, 0.09);

  --teal: #0F8B7D;
  --clinical-teal: #159A6E;
  --teal-soft: rgba(21, 154, 110, 0.11);
  --mint: #78E3D6;
  --cyan-eye: #4CE0EB;
  --coral: #D93628;
  --coral-soft: rgba(217, 54, 40, 0.10);
  --amber-gold: #D48817;

  --line: rgba(124, 106, 80, 0.14);
  --line-strong: rgba(124, 106, 80, 0.24);
  --line-dark: rgba(255, 255, 255, 0.12);

  --ecg-paper: #FFF8F4;
  --ecg-trace-paper: #C83A2B;
  --obsidian: #070B16;
  --obsidian-2: #0B1122;
  --obsidian-card: #10172B;

  /* Warm Atelier Paper & Royal Cobalt Elevations */
  --shadow-ceramic:
    0 14px 36px -14px rgba(68, 52, 32, 0.09),
    0 2px 6px rgba(68, 52, 32, 0.03);
  --shadow-ceramic-hover:
    0 22px 48px -14px rgba(68, 52, 32, 0.14),
    0 6px 14px rgba(68, 52, 32, 0.05);
  --shadow-ceramic-hero:
    0 36px 86px -24px rgba(58, 44, 28, 0.22),
    0 10px 28px rgba(58, 44, 28, 0.08);
  --shadow-cobalt:
    0 14px 30px -8px rgba(14, 79, 232, 0.42);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "New York", "Iowan Old Style", Georgia, serif;
  --font-mono: var(--font-sans);

  --r-card: 28px;
  --r-hero: 32px;
  --r-pill: 980px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snappy: cubic-bezier(0.32, 0.72, 0, 1);
  --max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ceramic);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.52;
  color: var(--ink);
  background: var(--ceramic);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

main, section, header, footer, div, article, aside {
  min-width: 0;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--apple-blue);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout & Apple Gallery Chapters
   ========================================================================== */
.wrap {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(88px, 10vw, 136px);
  overflow: clip;
}

.section--pure {
  background: #FAF7F2;
}

.section--ceramic {
  background: #F4EFE6;
}

.section--obsidian {
  background:
    radial-gradient(ellipse 74% 48% at 50% 0%, rgba(14, 79, 232, 0.22) 0%, transparent 66%),
    var(--obsidian);
  color: #F8F6F2;
}

.arch-grid {
  display: none;
}

/* Centered Apple Keynote Chapter Header */
.section-head-apple {
  max-width: 780px;
  margin: 0 auto clamp(42px, 5vw, 64px);
  text-align: center;
}

.section-head-apple .lead {
  margin-inline: auto;
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 54px);
}

/* ==========================================================================
   Monumental SF Pro Display Typography
   ========================================================================== */
.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-blue);
  margin-bottom: 12px;
}

.section--obsidian .kicker,
.section--obsidian .eyebrow {
  color: #64D2FF;
}

.kicker__pill {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.section--obsidian .kicker__pill {
  color: #D2D8E4;
  background: rgba(255, 255, 255, 0.1);
}

.h-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 6.8vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.036em;
  color: var(--ink);
  margin: 0 0 18px;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section--obsidian .h-section {
  color: #F5F5F7;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}

.section--obsidian .h-card {
  color: #F5F5F7;
}

.payoff {
  background: linear-gradient(96deg, #0A46D6 0%, #0E4FE8 54%, #159A6E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.payoff-mint,
.section--obsidian .payoff {
  background: linear-gradient(96deg, #64D2FF 0%, #78E3D6 56%, #B4F5EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  margin: 0;
  max-width: 58ch;
}

.lead strong {
  color: var(--ink);
  font-weight: 600;
}

.section--obsidian .lead {
  color: #A1A7B3;
}

.section--obsidian .lead strong {
  color: #F5F5F7;
}

.mono-tag {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Apple Gallery Cards, Tactile Chips & Buttons
   ========================================================================== */
.ceramic-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-ceramic);
  transition:
    transform 0.38s var(--ease-spring),
    box-shadow 0.38s var(--ease-spring),
    border-color 0.25s ease;
}

.section--obsidian .ceramic-card {
  background: var(--obsidian-card);
  border-color: var(--line-dark);
  color: #F5F5F7;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.72);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  background: var(--ceramic);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
  white-space: nowrap;
}

.chip:hover {
  background: var(--ceramic-2);
}

.chip.is-active,
.chip[aria-selected="true"],
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.section--obsidian .chip {
  background: rgba(255, 255, 255, 0.08);
  color: #E5E7EB;
  border-color: rgba(255, 255, 255, 0.1);
}

.section--obsidian .chip:hover {
  background: rgba(255, 255, 255, 0.15);
}

.section--obsidian .chip.is-active {
  background: var(--apple-blue);
  color: var(--white);
  border-color: var(--apple-blue);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.42);
}

.chip--sm {
  height: 32px;
  padding: 0 13px;
  font-size: 12.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--apple-blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--apple-blue-hover);
}

.btn--ceramic {
  background: var(--ceramic);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ceramic:hover {
  background: var(--ceramic-2);
}

.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.apple-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: #0066CC;
  letter-spacing: -0.01em;
}

.apple-inline-link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Official Apple Store & Google Play Pills */
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.22s var(--ease-spring), background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.store-pill:hover {
  transform: translateY(-2px);
  background: #2C2C2E;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.28);
}

.store-pill--light {
  background: var(--ceramic);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.store-pill--light:hover {
  background: var(--ceramic-2);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.12);
}

.store-pill--cobalt {
  background: var(--apple-blue);
  color: var(--white);
  border-color: transparent;
}

.store-pill--cobalt:hover {
  background: var(--apple-blue-hover);
  box-shadow: 0 14px 30px -8px rgba(0, 113, 227, 0.45);
}

.store-pill svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.store-pill__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-pill__meta small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.78;
}

.store-pill__meta strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   Apple Sticky Frosted Glass Global Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 920;
  width: 100%;
  height: 54px;
  background: rgba(250, 247, 242, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(124, 106, 80, 0.13);
  transition: background 0.28s ease, border-color 0.28s ease;
}

body.on-dark-chapter .site-header {
  background: rgba(9, 13, 24, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-capsule {
  width: min(var(--max-w), calc(100% - 36px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  pointer-events: none;
}

.nav-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--apple-blue);
  transition: width 0.08s linear;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.brand-mark__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.25s ease;
}

body.on-dark-chapter .brand-mark__word {
  color: #F8F6F2;
}

.brand-mark__word span {
  color: var(--apple-blue);
}

body.on-dark-chapter .brand-mark__word span {
  color: #5DA0FF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 18px);
}

.nav-links a {
  padding: 4px 2px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.008em;
  color: rgba(29, 29, 31, 0.82);
  white-space: nowrap;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

body.on-dark-chapter .nav-links a {
  color: rgba(245, 245, 247, 0.78);
}

body.on-dark-chapter .nav-links a:hover,
body.on-dark-chapter .nav-links a[aria-current="page"] {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--apple-blue);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.006em;
  transition: background 0.18s ease;
}

.nav-download-cta:hover {
  background: var(--apple-blue-hover);
}

.nav-telemetry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-telemetry-btn:hover {
  background: rgba(0, 0, 0, 0.09);
  color: var(--ink);
}

body.on-dark-chapter .nav-telemetry-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #D2D8E4;
}

body.on-dark-chapter .nav-telemetry-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.nav-telemetry-btn kbd {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  opacity: 0.8;
}

.nav-burger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  flex-shrink: 0;
}

body.on-dark-chapter .nav-burger {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* ==========================================================================
   Spotlight Command Palette (⌘K) & Apple Mobile Sheet
   ========================================================================== */
.cmd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: min(12vh, 96px) 16px 24px;
}

.cmd-backdrop.is-open {
  display: flex;
}

.cmd-modal {
  width: min(600px, 100%);
  border-radius: 22px;
  background: rgba(28, 28, 30, 0.94);
  backdrop-filter: blur(28px);
  color: #F5F5F7;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 90px -16px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: modalPop 0.2s var(--ease-spring);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cmd-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
}

.cmd-search-bar input::placeholder {
  color: #8E8E93;
}

.cmd-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  text-align: left;
  color: #F5F5F7;
  transition: background 0.14s ease;
}

.cmd-item:hover,
.cmd-item:focus-visible {
  background: var(--apple-blue);
  color: #FFFFFF;
}

.cmd-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}

.cmd-item small {
  color: rgba(245, 245, 247, 0.72);
  font-size: 12px;
}

.cmd-item__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.12);
  color: #F5F5F7;
  white-space: nowrap;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  padding: 20px 28px 36px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.mobile-drawer .mobile-link {
  width: 100%;
  text-align: left;
  background: none;
  cursor: pointer;
  padding: 12px 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Badges, Disclaimers & Smooth Reveals
   ========================================================================== */
.app-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0066CC;
}

.clinical-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.section--obsidian .clinical-note {
  color: #8E95A2;
}

html.js-motion .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s var(--ease-spring), transform 0.34s var(--ease-spring);
}

html.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Authentic Apple Gallery Footer (#F5F5F7)
   ========================================================================== */
.site-footer {
  background: var(--ceramic);
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
}

.footer-footnotes {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.58;
  color: var(--ink-2);
}

.footer-footnotes p {
  margin: 0 0 8px;
}

.footer-footnotes p:last-child {
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 32px;
}

.footer-brand p {
  margin: 12px 0 16px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 12.5px;
  color: #424245;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-2);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-legal-links a {
  color: #424245;
}

.footer-legal-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-telemetry-btn {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav-capsule {
    width: calc(100% - 24px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .store-row {
    width: 100%;
    justify-content: center;
  }
  .store-pill {
    flex: 1 1 156px;
    justify-content: center;
    padding: 0 16px;
  }
}

@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;
  }
  html.js-motion .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
