:root {
  --bg: #050810;
  --bg2: #0a1018;
  --surface: #0c121c;
  --panel: #101a2a;
  --panel2: #162236;
  --panel-hover: #1a2840;
  --border: #243044;
  --border-light: #2f3f58;
  --accent: #f0c040;
  --accent2: #e8a820;
  --accent-dim: rgba(240, 192, 64, 0.12);
  --accent-glow: rgba(240, 192, 64, 0.35);
  --text: #eef2f8;
  --muted: #7d8da8;
  --muted2: #5a6a84;
  --ok: #3ee89a;
  --danger: #ff5c6c;
  --info: #4db8ff;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --nav-h: 68px;
  --page-pad: clamp(2.5rem, 6vw, 5rem);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --glow-line: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(240, 192, 64, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(77, 184, 255, 0.05), transparent 50%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 40%, var(--bg) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(36, 48, 68, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 48, 68, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

main { flex: 1; position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container--narrow { width: min(880px, calc(100% - 2.5rem)); }

.hidden { display: none !important; }

.muted { color: var(--muted); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(36, 48, 68, 0.7);
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; opacity: 0.92; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(240, 192, 64, 0.25);
}

.nav-cta {
  margin-left: 0.35rem !important;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.22), rgba(240, 192, 64, 0.1)) !important;
  border: 1px solid rgba(240, 192, 64, 0.45) !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: rgba(240, 192, 64, 0.28) !important;
  color: var(--accent) !important;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.15rem;
}

.nav-lang-label {
  font-size: 0.72rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-lang-select {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.7);
  color: var(--text);
  font-size: 0.8rem;
  font-family: var(--font);
  cursor: pointer;
}

.nav-lang-select:focus {
  outline: none;
  border-color: rgba(240, 192, 64, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(180deg, rgba(240, 192, 64, 0.28), rgba(240, 192, 64, 0.14));
  border-color: rgba(240, 192, 64, 0.55);
  color: #ffe9a0;
  box-shadow: 0 4px 20px rgba(240, 192, 64, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(180deg, rgba(240, 192, 64, 0.38), rgba(240, 192, 64, 0.2));
  color: #fff3c4;
  box-shadow: 0 8px 28px rgba(240, 192, 64, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-light);
  color: var(--text);
}

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

.btn.disabled,
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-icon { font-size: 1.1em; line-height: 1; }

/* ── Status ── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(16, 26, 42, 0.8);
  font-size: 0.8rem;
  color: var(--muted);
}

.status-pill.sm { font-size: 0.75rem; padding: 0.3rem 0.65rem; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.status-dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(62, 232, 154, 0.55); }
.status-dot.err { background: var(--danger); }
.status-dot.checking { background: var(--accent); animation: pulse 1.2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ── Panels ── */
.panel {
  background: linear-gradient(165deg, rgba(22, 34, 54, 0.9), rgba(16, 26, 42, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-glow {
  border-color: rgba(240, 192, 64, 0.22);
  box-shadow: var(--shadow), 0 0 40px rgba(240, 192, 64, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Page header (inner pages) ── */
.page-hero {
  padding: var(--page-pad) 0 2.5rem;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 60%);
  height: 1px;
  background: var(--glow-line);
  opacity: 0.5;
}

.page-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}

/* ── Home hero ── */
.home-hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-hero-copy .hero-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.home-hero-copy h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.home-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffe9a0, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero-copy .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Radar mockup */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
}

.radar-panel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at center, #0f1a2e 0%, #080e18 70%);
  border: 1px solid rgba(240, 192, 64, 0.2);
  box-shadow: 0 0 60px rgba(240, 192, 64, 0.08), var(--shadow);
}

.radar-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 38%, rgba(36, 48, 68, 0.4) 39%, transparent 40%),
    radial-gradient(circle, transparent 58%, rgba(36, 48, 68, 0.3) 59%, transparent 60%),
    radial-gradient(circle, transparent 78%, rgba(36, 48, 68, 0.25) 79%, transparent 80%),
    linear-gradient(rgba(36, 48, 68, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 48, 68, 0.25) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px, 24px 24px;
}

.radar-sweep {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(62, 232, 154, 0.12) 30deg, transparent 60deg);
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: blip 2s ease-in-out infinite;
}

.radar-blip:nth-child(1) { top: 32%; left: 58%; animation-delay: 0s; }
.radar-blip:nth-child(2) { top: 55%; left: 38%; animation-delay: 0.6s; background: var(--info); box-shadow: 0 0 12px rgba(77, 184, 255, 0.5); }
.radar-blip:nth-child(3) { top: 68%; left: 62%; animation-delay: 1.2s; }

@keyframes blip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.radar-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(5, 8, 16, 0.92));
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.radar-hud strong { color: var(--accent); font-weight: 600; }

.radar-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(5, 8, 16, 0.75);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ok);
  letter-spacing: 0.08em;
}

/* ── Bento / sections ── */
.section {
  padding: var(--page-pad) 0;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

.section-head--center {
  text-align: center;
}

.section-head--center p { margin-inline: auto; }

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s, transform 0.2s;
}

.bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-icon,
.bento-icon-wrap {
  font-size: 1.6rem;
  line-height: 1;
}

.bento-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 1.35rem;
}

.bento-icon-wrap.gold {
  background: rgba(240, 192, 64, 0.12);
  border-color: rgba(240, 192, 64, 0.3);
}

.bento-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.bento-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.bento-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.25rem;
}

.bento-link:hover { text-decoration: underline; }

.bento-card--cta {
  background: linear-gradient(145deg, rgba(240, 192, 64, 0.1), rgba(16, 26, 42, 0.95));
  border-color: rgba(240, 192, 64, 0.25);
}

.bento-card--cta h3 { color: var(--accent); }

/* Flow steps */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  opacity: 0.5;
  z-index: 0;
}

.flow-step {
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--border);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--bg);
}

.flow-step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Teaser cards row */
.teaser-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.teaser {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.teaser:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 192, 64, 0.3);
  text-decoration: none;
  color: inherit;
}

.teaser-icon,
.teaser-icon-wrap {
  font-size: 2rem;
}

.teaser-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(240, 192, 64, 0.1);
  border: 1px solid rgba(240, 192, 64, 0.22);
  font-size: 1.5rem;
}

.teaser-icon-wrap.rose {
  background: rgba(255, 92, 108, 0.1);
  border-color: rgba(255, 92, 108, 0.25);
}

.teaser-icon-wrap.blue {
  background: rgba(77, 184, 255, 0.1);
  border-color: rgba(77, 184, 255, 0.25);
}

.teaser h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.teaser p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.teaser-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ── Download page ── */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dl-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dl-card.is-soon { opacity: 0.88; }

.dl-card-head {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.dl-card-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.dl-card-badge.pilot { background: rgba(240, 192, 64, 0.15); color: var(--accent); }
.dl-card-badge.atc { background: rgba(77, 184, 255, 0.12); color: var(--info); }

.dl-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.dl-meta {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
}

.dl-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dl-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dl-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dl-features li {
  font-size: 0.86rem;
  color: var(--text);
  padding-left: 1.35rem;
  position: relative;
}

.dl-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
  font-size: 0.8rem;
}

.dl-card-foot {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.install-timeline {
  margin-top: 1rem;
}

.install-timeline h3 {
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 1.25rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.sys-req {
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.sys-req h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.sys-req ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}

.sys-req li {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ── Donate page ── */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.donate-main h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.donate-main > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.impact-card {
  padding: 1.35rem;
}

.impact-card .pct {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.impact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.impact-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.donate-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  padding: 2rem;
  text-align: center;
}

.donate-sidebar img {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.donate-sidebar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.donate-sidebar p {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.donate-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.donate-btns .btn { width: 100%; }

.alt-support {
  margin-top: 2rem;
  padding: 1.5rem;
}

.alt-support h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.alt-support ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alt-support li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.alt-support li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Team page ── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.role-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}

.role-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.85rem;
}

.role-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.role-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.team-banner {
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.08), rgba(77, 184, 255, 0.05));
  border-color: rgba(240, 192, 64, 0.2);
}

.team-banner p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  padding: 1.35rem;
}

.faq-item h4 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: rgba(5, 8, 16, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

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

.footer-col a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-col a:hover { color: var(--text); }

.footer-status-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.75rem;
  border-top: 1px solid rgba(36, 48, 68, 0.5);
  font-size: 0.8rem;
  color: var(--muted2);
}

.footer-copy a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy a:hover { color: var(--text); }

.footer-mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 192, 64, 0.25);
  background: rgba(240, 192, 64, 0.06);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-card.span-4,
  .bento-card.span-6,
  .bento-card.span-8 { grid-column: span 6; }

  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; order: -1; }

  .flow { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .flow::before { display: none; }

  .dl-grid { grid-template-columns: 1fr; }
  .donate-layout { grid-template-columns: 1fr; }
  .donate-sidebar { position: static; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.35rem;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(12px);
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
  }

  .bento-card.span-4,
  .bento-card.span-6,
  .bento-card.span-8,
  .bento-card.span-12 { grid-column: span 12; }

  .teaser-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .sys-req ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   Premium layer — ambient, depth, polish
   ══════════════════════════════════════════ */

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -5%;
  background: rgba(240, 192, 64, 0.14);
}

.orb-2 {
  width: 320px;
  height: 320px;
  top: 35%;
  right: -8%;
  background: rgba(77, 184, 255, 0.08);
  animation-delay: -6s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  bottom: 5%;
  left: 30%;
  background: rgba(62, 232, 154, 0.06);
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.95); }
}

.site-nav {
  position: sticky;
}

.nav-glow {
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 192, 64, 0.5), transparent);
  opacity: 0.6;
}

/* Hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.brand-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(240, 192, 64, 0.12);
  border: 1px solid rgba(240, 192, 64, 0.35);
  box-shadow: 0 0 20px rgba(240, 192, 64, 0.1);
}

.org-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

/* Stats bar */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem 0.5rem;
  padding: 1.35rem 1.5rem;
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(16, 26, 42, 0.95), rgba(10, 16, 28, 0.9));
  border-color: rgba(240, 192, 64, 0.15);
}

.stat {
  text-align: center;
  padding: 0.25rem 1rem;
  flex: 1;
  min-width: 100px;
}

.stat-val {
  display: block;
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.stat-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section bands & tags */
.section--band {
  position: relative;
}

.section--band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.5), transparent 30%, transparent 70%, rgba(12, 18, 28, 0.4));
  pointer-events: none;
  z-index: -1;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(240, 192, 64, 0.08);
  border: 1px solid rgba(240, 192, 64, 0.2);
}

.section-head--center .section-tag {
  display: table;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

/* Glass pills */
.status-pill.glass {
  background: rgba(8, 14, 24, 0.65);
  backdrop-filter: blur(8px);
}

/* Button shine */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.45s ease;
}

.btn-shine:hover::after {
  left: 120%;
}

/* Radar upgrades */
.radar-frame {
  position: relative;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(240, 192, 64, 0.35), rgba(77, 184, 255, 0.15), rgba(240, 192, 64, 0.2));
  box-shadow: 0 0 80px rgba(240, 192, 64, 0.12), var(--shadow);
}

.radar-frame .radar-panel {
  border: none;
  border-radius: 20px;
  box-shadow: none;
}

.radar-crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radar-crosshair::before,
.radar-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(240, 192, 64, 0.12);
}

.radar-crosshair::before {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  transform: translateY(-50%);
}

.radar-crosshair::after {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  transform: translateX(-50%);
}

.radar-freq {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid rgba(240, 192, 64, 0.25);
}

.radar-freq small {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 0.15rem;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 0.35rem;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(62, 232, 154, 0.6);
  animation: pulse 1.2s infinite;
}

/* Flow inside panel */
.flow-panel {
  padding: 1.5rem 0.5rem;
  background: linear-gradient(180deg, rgba(16, 26, 42, 0.6), rgba(10, 16, 28, 0.8));
}

.flow-panel .flow-num {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  box-shadow: 0 0 0 6px var(--bg), 0 0 20px rgba(240, 192, 64, 0.08);
}

/* Page hero glow */
.page-hero--glow {
  position: relative;
}

.page-hero--glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90%);
  height: 200px;
  background: radial-gradient(ellipse, rgba(240, 192, 64, 0.1), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero--glow h1 {
  max-width: none;
}

/* Download card hover */
.dl-card {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.dl-card.panel-glow:hover {
  box-shadow: var(--shadow), 0 0 50px rgba(240, 192, 64, 0.1);
}

/* Impact cards gradient top */
.impact-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.impact-card:hover {
  transform: translateY(-3px);
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

/* Teaser enhanced hover */
.teaser {
  position: relative;
  overflow: hidden;
}

.teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240, 192, 64, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}

.teaser:hover::before {
  opacity: 1;
}

.teaser:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(240, 192, 64, 0.06);
}

/* Panel hover lift */
.panel {
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bento-card.panel:hover {
  box-shadow: var(--shadow), 0 0 32px rgba(240, 192, 64, 0.05);
}

@media (max-width: 768px) {
  .stat-div { display: none; }
  .stats-bar { justify-content: center; }
  .stat { min-width: 42%; }
}

/* ── Nav dropdown ── */
.nav-featured {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.nav-drop {
  position: relative;
}

.nav-drop-btn {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
}

.nav-drop-btn:hover,
.nav-drop-btn.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-drop-btn.active { color: var(--accent); }

.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(8, 12, 20, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 300;
}

.nav-drop.open .nav-drop-menu { display: block; }

.nav-drop-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.nav-drop-menu a:hover,
.nav-drop-menu a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}

.nav-drop-menu a.active { color: var(--accent); }

/* ── Content pages ── */
.teaser-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

.app-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.app-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.app-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: rgba(240, 192, 64, 0.15);
  color: var(--accent);
}

.app-card-badge.atc {
  background: rgba(77, 184, 255, 0.12);
  color: var(--info);
}

.app-card-icon { font-size: 2rem; }

.app-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.app-card-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.app-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.app-features li {
  font-size: 0.86rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
}

.app-features li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.content-card {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.content-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.content-card p:last-of-type { margin-bottom: 1rem; }

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.guide-toc a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--accent);
  border-color: rgba(240, 192, 64, 0.35);
}

.guide-section {
  padding: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.guide-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.guide-section h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.2rem;
}

.guide-section p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-section kbd {
  font-family: var(--mono);
  font-size: 0.8em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.charts-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.charts-nav {
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.charts-nav h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.charts-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.charts-airport {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.charts-airport.active,
.charts-airport:hover {
  background: rgba(240, 192, 64, 0.1);
  border-color: rgba(240, 192, 64, 0.25);
  color: var(--accent);
}

.charts-note {
  font-size: 0.78rem;
  margin: 1rem 0 0;
}

.charts-viewer { padding: 0; overflow: hidden; }

.charts-viewer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.charts-viewer-head h2 {
  margin: 0;
  font-size: 1rem;
}

.charts-icao {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.charts-frame {
  overflow: auto;
  max-height: 70vh;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.charts-frame img {
  margin: 0 auto;
  transform-origin: center top;
  transition: transform 0.1s;
}

.charts-caption {
  padding: 0.75rem 1.25rem 1rem;
  font-size: 0.8rem;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-list {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-list li { margin-bottom: 0.35rem; }

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-links a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.about-links a:hover { text-decoration: underline; }

.footer-grid {
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.85fr 1fr;
}

/* ── Legal pages ─────────────────────────────────────────────── */

.legal-main {
  flex: 1;
  padding: 1.5rem 0 3rem;
}

.legal-breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.legal-breadcrumb a:hover { color: var(--accent); }

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
}

.legal-doc-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc-head h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.legal-doc-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-doc section {
  margin-bottom: 1.5rem;
}

.legal-doc h2 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
  color: var(--text);
}

.legal-doc h3 {
  font-size: 0.92rem;
  margin: 0.85rem 0 0.4rem;
  color: var(--muted);
}

.legal-doc p,
.legal-doc li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.legal-doc ul {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.25rem;
}

.legal-doc li { margin-bottom: 0.35rem; }

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  background: rgba(240, 192, 64, 0.08);
  border: 1px solid rgba(240, 192, 64, 0.28);
}

.legal-doc-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}

.legal-doc-foot a { text-decoration: none; }
.legal-doc-foot a:hover { text-decoration: underline; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
}

.legal-table th,
.legal-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  text-align: left;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
}

.legal-table td { color: var(--muted); }

.legal-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.legal-index-card {
  display: block;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.legal-index-card:hover {
  border-color: rgba(240, 192, 64, 0.35);
  transform: translateY(-2px);
}

.legal-index-card h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-index-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.legal-index-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-index-card--meta {
  cursor: default;
}

.legal-index-card--meta:hover {
  transform: none;
}

.legal-meta {
  margin-top: 0.75rem !important;
  font-size: 0.78rem !important;
  color: var(--muted2) !important;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.78rem;
}

.footer-legal-links a {
  color: var(--muted2);
  text-decoration: none;
}

.footer-legal-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .teaser-row--4 { grid-template-columns: 1fr 1fr; }
  .app-compare { grid-template-columns: 1fr; }
  .charts-layout { grid-template-columns: 1fr; }
  .charts-nav { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 0.5rem;
  }

  .nav-links.open .nav-drop.open .nav-drop-menu { display: block; }
}

@media (max-width: 768px) {
  .teaser-row--4 { grid-template-columns: 1fr; }
}
