:root {
  color-scheme: dark;
  --ink: #05070c;
  --ink-2: #0a0f1a;
  --ink-3: #101827;
  --surface: rgba(14, 20, 32, 0.78);
  --surface-strong: #111a2b;
  --line: rgba(210, 226, 255, 0.12);
  --line-strong: rgba(210, 226, 255, 0.24);
  --text: #eef3f8;
  --muted: #93a3b8;
  --sky: #4fa3ff;
  --sky-soft: #cfe6ff;
  --cyan: #35e2c9;
  --cyan-soft: #b6f5ea;
  --amber: #ffb454;
  --rose: #ff6b6b;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  --soft-glow: 0 0 0 1px rgba(214, 231, 255, 0.14), 0 0 34px rgba(53, 226, 201, 0.09), 0 30px 100px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(79, 163, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(53, 226, 201, 0.12), transparent 30rem),
    linear-gradient(180deg, #05070c 0%, #08101a 42%, #05070c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(5, 7, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.button,
.inline-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.72rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 2.3rem;
  height: 2.3rem;
  filter: drop-shadow(0 0 16px rgba(53, 226, 201, 0.28));
}

.brand-mark {
  color: var(--cyan-soft);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-right: auto;
  margin-left: 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(210, 226, 255, 0.2);
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  background: rgba(53, 226, 201, 0.14);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 820;
  box-shadow: 0 0 28px rgba(53, 226, 201, 0.1);
  cursor: pointer;
  border-width: 1px;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(182, 245, 234, 0.4);
  background: rgba(53, 226, 201, 0.24);
}

.section-band {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.25rem) clamp(1rem, 4vw, 2rem);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  max-width: none;
  min-height: calc(100vh - 4.1rem);
  align-items: center;
  margin: 0;
  padding: 0;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.1), #05070c 92%);
}

.radar-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(21rem, 0.74fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(5.4rem, 9vw, 7.6rem) clamp(1rem, 5vw, 4rem) clamp(6rem, 10vw, 8rem);
  transform: translateY(-2vh);
}

.hero-content {
  min-width: 0;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--cyan-soft);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 0.97;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.lede,
.section-copy p,
.section-heading p,
.alert-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.lede {
  max-width: 540px;
  margin-bottom: 2rem;
}

/* ---------- route ticker ---------- */

.search-ticker-mount {
  max-width: min(40rem, 100%);
  margin: 0 0 1.5rem;
}

.route-ticker {
  display: grid;
  gap: 0.55rem;
}

.route-ticker-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 720;
}

.route-ticker-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 3.4rem;
  border: 1px solid rgba(210, 226, 255, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.44rem 0.42rem 1rem;
  background: rgba(8, 13, 22, 0.72);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03), 0 0 34px rgba(53, 226, 201, 0.07);
  backdrop-filter: blur(18px);
}

.route-ticker-icon {
  display: inline-grid;
  width: 1.28rem;
  height: 1.28rem;
  place-items: center;
  color: var(--cyan-soft);
}

.route-ticker-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.route-ticker-window {
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.route-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.route-ticker-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

.route-ticker-item {
  font-family: var(--mono);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.route-ticker-dot {
  margin: 0 0.85rem;
  color: rgba(214, 231, 255, 0.45);
  font-size: 0.72rem;
}

.route-ticker-button {
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.05rem;
  background: var(--sky);
  color: #04121f;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(79, 163, 255, 0.28);
}

.route-ticker-button:hover,
.route-ticker-button:focus-visible {
  background: #7cbcff;
  outline: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #04121f;
  background: var(--cyan);
  box-shadow: 0 18px 38px rgba(53, 226, 201, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #7ff0de;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(214, 231, 255, 0.4);
}

.button.compact {
  min-width: 5.5rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.button.small {
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.button.disabled,
.button:disabled {
  pointer-events: none;
  opacity: 0.42;
}

.button.full {
  width: 100%;
}

.button-ghost {
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
}

.button-ghost:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.hero-showcase {
  position: relative;
  justify-self: end;
  width: min(30rem, 100%);
}

/* ---------- alert mock card (hero showcase + anatomy section) ---------- */

.alert-mock {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 231, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), rgba(9, 14, 23, 0.92);
  box-shadow: var(--soft-glow);
  transform: rotate(-1deg);
}

.alert-mock::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.03);
  content: "";
}

.alert-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-mock-app {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.alert-mock-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(53, 226, 201, 0.8);
}

.alert-mock-time {
  color: var(--muted);
  font-size: 0.76rem;
  font-family: var(--mono);
}

.alert-mock-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.alert-mock-route {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--mono);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.alert-mock-route svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--cyan-soft);
  flex-shrink: 0;
}

.alert-mock-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.alert-mock-meta div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
}

.alert-mock-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.alert-mock-meta strong {
  font-family: var(--mono);
  font-size: 0.98rem;
  color: var(--text);
}

.alert-mock-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.alert-mock-note strong {
  color: var(--cyan-soft);
}

.alert-mock-cta {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.alert-mock-cta span {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.alert-mock-cta span:first-child {
  background: var(--cyan);
  color: #04121f;
}

.alert-mock-cta span:last-child {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.market-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

.market-strip span:nth-child(1) {
  background: var(--sky);
}

.market-strip span:nth-child(2) {
  background: var(--cyan);
}

.market-strip span:nth-child(3) {
  background: var(--amber);
}

.market-strip span:nth-child(4) {
  background: var(--rose);
}

/* ---------- proof grid ---------- */

.proof {
  display: grid;
  gap: 2rem;
}

.section-heading {
  display: grid;
  max-width: 760px;
}

.section-heading.centered {
  gap: 0.9rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-heading.centered h2 {
  max-width: 14ch;
  margin: 0 auto;
  line-height: 0.97;
}

.section-heading.centered p:not(.kicker) {
  max-width: 680px;
  margin-inline: auto;
}

.proof-grid,
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.proof-grid article,
.data-grid article {
  min-height: 15rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)), var(--ink-2);
}

.tile-icon {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  margin-bottom: 3.2rem;
  border: 1px solid rgba(182, 245, 234, 0.32);
  border-radius: 999px;
  color: var(--cyan-soft);
  font-size: 0.7rem;
  font-weight: 900;
  font-family: var(--mono);
}

.proof-grid p,
.data-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.data-grid article {
  display: grid;
  align-content: start;
  min-height: 10.5rem;
  padding: 1.25rem 1.35rem;
}

.data-grid h3 {
  margin-bottom: 0.75rem;
}

/* ---------- alert anatomy ---------- */

.alert-anatomy {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.alert-copy {
  max-width: 480px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  color: var(--cyan-soft);
  font-weight: 850;
}

.alert-frame {
  position: relative;
}

/* ---------- console (live tracker / search / alerts) ---------- */

.console {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.console-shell {
  border: 1px solid rgba(214, 231, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), rgba(9, 14, 23, 0.92);
  box-shadow: var(--soft-glow);
  overflow: hidden;
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.console-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  cursor: pointer;
}

.console-tab[aria-selected="true"] {
  border-color: rgba(214, 231, 255, 0.2);
  background: rgba(53, 226, 201, 0.12);
  color: var(--text);
}

.console-tab .tab-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan-soft);
}

.console-panel {
  display: none;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.console-panel.active {
  display: block;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.panel-copy h3 {
  font-size: 1.35rem;
}

.panel-copy p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.builder-card {
  display: grid;
  gap: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.028);
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
}

.field-card {
  display: grid;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.field-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.field-header label {
  display: block;
}

.help-link {
  color: var(--cyan-soft);
  font-size: 0.8rem;
  font-weight: 850;
  text-align: right;
  text-decoration: none;
}

.help-link:hover,
.help-link:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.field-help strong {
  color: var(--text);
}

input,
select {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.68rem 0.85rem;
}

input::placeholder {
  color: rgba(147, 163, 184, 0.7);
}

input:focus,
select:focus {
  border-color: rgba(53, 226, 201, 0.7);
  outline: 4px solid rgba(53, 226, 201, 0.14);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.airport-field {
  position: relative;
}

.airport-suggest {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 15.5rem;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c1420;
  box-shadow: var(--shadow);
  display: none;
}

.airport-suggest.open {
  display: block;
}

.airport-suggest button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
}

.airport-suggest button:hover,
.airport-suggest button.active-option {
  background: rgba(53, 226, 201, 0.1);
}

.airport-suggest .opt-code {
  font-family: var(--mono);
  color: var(--cyan-soft);
  font-weight: 700;
}

.airport-suggest .opt-name {
  flex: 1;
  margin: 0 0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.swap-btn {
  align-self: end;
  min-height: 2.9rem;
  min-width: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.swap-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.swap-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.check-pill input {
  width: auto;
  min-height: 0;
  accent-color: var(--cyan);
}

.check-pill:has(input:checked) {
  border-color: rgba(53, 226, 201, 0.5);
  color: var(--text);
  background: rgba(53, 226, 201, 0.1);
}

.range-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--mono);
}

.results-pane {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pane-head h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.badge-demo {
  color: var(--amber);
  border: 1px solid rgba(255, 180, 84, 0.4);
  background: rgba(255, 180, 84, 0.1);
}

.badge-live {
  color: var(--cyan-soft);
  border: 1px solid rgba(53, 226, 201, 0.45);
  background: rgba(53, 226, 201, 0.12);
}

.badge-live .pulse-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(53, 226, 201, 0.9);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.result-list {
  display: grid;
  gap: 0.75rem;
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.result-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(79, 163, 255, 0.7);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.65rem;
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.result-airline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 780;
  font-size: 0.94rem;
}

.result-flightno {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.78rem;
}

.result-price {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan-soft);
  white-space: nowrap;
}

.result-price small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-align: right;
  font-family: Inter, sans-serif;
}

.result-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
}

.result-route .stop-line {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.result-route .stop-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0c1420;
  padding: 0 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-family: var(--mono);
  white-space: nowrap;
}

.result-route .endpoint {
  text-align: center;
  font-family: var(--mono);
}

.result-route .endpoint strong {
  display: block;
  font-size: 1.05rem;
}

.result-route .endpoint span {
  color: var(--muted);
  font-size: 0.68rem;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.result-meta strong {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.15rem;
  padding-top: 0.65rem;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto 0.8rem;
  color: var(--muted);
}

/* ---------- live tracker specific ---------- */

.tracker-result {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 1rem;
}

.tracker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tracker-callsign {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.telemetry-cell {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.telemetry-cell span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.telemetry-cell strong {
  font-family: var(--mono);
  font-size: 1.05rem;
}

.radar-plot {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(53, 226, 201, 0.07), transparent 70%), #060a12;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* ---------- alerts list ---------- */

.alert-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.55rem;
}

.alert-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.alert-route {
  font-family: var(--mono);
  font-weight: 780;
  font-size: 1.02rem;
}

.alert-criteria {
  color: var(--muted);
  font-size: 0.82rem;
}

.alert-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.toggle-row p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.7rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switch-track::before {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  left: 0.2rem;
  top: 0.2rem;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-track {
  background: rgba(53, 226, 201, 0.55);
}

.switch input:checked + .switch-track::before {
  transform: translateX(1.2rem);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-line strong {
  color: var(--text);
}

.text-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.text-note code {
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-size: 0.85em;
}

/* ---------- notify setup section ---------- */

.discord {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.discord-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(214, 231, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016)), rgba(9, 14, 23, 0.92);
  box-shadow: var(--soft-glow);
}

.form-note {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.channel-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.channel-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.channel-tabs button[aria-selected="true"] {
  border-color: rgba(53, 226, 201, 0.5);
  color: var(--text);
  background: rgba(53, 226, 201, 0.1);
}

.channel-panel {
  display: none;
}

.channel-panel.active {
  display: grid;
  gap: 1rem;
}

/* ---------- data / privacy grid ---------- */

.data {
  padding-top: clamp(3.5rem, 7vw, 5.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- self-hosted scout section ---------- */

.scout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.code-card {
  overflow: hidden;
  border: 1px solid rgba(214, 231, 255, 0.16);
  border-radius: 16px;
  background: #0a0f19;
  box-shadow: var(--soft-glow);
}

.code-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
  font-family: var(--mono);
}

.code-card-head span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.code-card pre {
  margin: 0;
  padding: 1.1rem 1.2rem 1.3rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--sky-soft);
}

.code-card pre .cm {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer span:last-child {
  max-width: 560px;
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    transform: none;
  }

  .hero-showcase {
    justify-self: start;
    max-width: 30rem;
  }

  .alert-anatomy,
  .discord,
  .scout {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 1rem;
  }

  .section-band {
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .route-ticker-bar {
    grid-template-columns: auto minmax(0, 1fr);
    padding-right: 0.5rem;
  }

  .route-ticker-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .proof-grid,
  .data-grid,
  .form-row,
  .telemetry-grid {
    grid-template-columns: 1fr;
  }

  .form-row.three {
    grid-template-columns: 1fr;
  }

  .field-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .help-link {
    text-align: left;
  }

  .proof-grid article,
  .data-grid article {
    min-height: auto;
  }

  .tile-icon {
    margin-bottom: 1.4rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer span:last-child {
    text-align: left;
  }

  .console-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* ------------------------------------------------------------------
   RedEye paper / departure-board redesign
   ------------------------------------------------------------------ */
:root {
  color-scheme: light;
  --ink: #10203a;
  --ink-2: #183055;
  --ink-3: #eef4ff;
  --surface: #ffffff;
  --surface-strong: #f5f8fd;
  --line: #d9e2ef;
  --line-strong: #b9c9df;
  --text: #10203a;
  --muted: #5f708b;
  --sky: #1e64e6;
  --sky-soft: #e8f0ff;
  --cyan: #ff5a36;
  --cyan-soft: #ff5a36;
  --amber: #e78b00;
  --rose: #d93b56;
  --shadow: 0 20px 55px rgba(36, 61, 95, 0.12);
}

body {
  background: #fbfcff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before { background-image: radial-gradient(#dfe8f4 0.7px, transparent 0.7px); background-size: 14px 14px; opacity: .34; mask-image: none; }
.site-header { background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: 0 1px 0 rgba(18, 40, 73, .04); }
.brand { font-family: ui-rounded, "Arial Rounded MT Bold", Inter, sans-serif; color: #132a50; font-size: 1.08rem; }
.brand-logo { filter: none; }
.brand-red { color: #e3232d; }
.brand-eye { color: #101827; }
.header-nav { color: #50627d; }
.header-nav a:hover { color: #1e64e6; }
.header-cta { background: #102a52; border-color: #102a52; color: white; box-shadow: none; }
.header-cta:hover,.header-cta:focus-visible { background: #1e64e6; border-color: #1e64e6; }

.hero { min-height: auto; background: linear-gradient(120deg, #ffffff 0%, #f5f8ff 64%, #ebf1ff 100%); border-bottom: 1px solid var(--line); }
.hero-inner { grid-template-columns: minmax(0,.88fr) minmax(26rem,1.12fr); width: min(1300px,100%); padding: clamp(5.5rem,10vw,8rem) clamp(1.25rem,5vw,4rem) 3rem; transform: none; }
.kicker { color: #1e64e6; letter-spacing: .1em; }
.live-orb,.globe-caption-dot { display:inline-block; width:.58rem; height:.58rem; margin-right:.48rem; border-radius:50%; background:#ff5a36; box-shadow:0 0 0 5px rgba(255,90,54,.12); vertical-align:middle; }
h1,h2 { color:#102a52; font-family: ui-rounded, "Arial Rounded MT Bold", Inter, sans-serif; letter-spacing:-.055em; }
h1 { max-width: 9.8ch; font-size: clamp(3.7rem,7.2vw,6.8rem); line-height:.94; }
h2 { line-height:1; }
.lede,.section-copy p,.section-heading p,.alert-copy p { color:#586c8a; }
.hero-actions { display:flex; align-items:center; gap:1.1rem; margin:0 0 2.2rem; }
.button { border-radius: .9rem; box-shadow:none; }
.button-primary { background:#1e64e6; border-color:#1e64e6; color:white; }
.button-primary:hover,.button-primary:focus-visible { background:#154eb7; border-color:#154eb7; }
.button-secondary { background:#fff; border-color:#c9d7ea; color:#183055; }
.button-ghost { color:#183055; }
.text-action { font-size:.94rem; font-weight:750; color:#183055; text-decoration:none; border-bottom:1px solid #aebfd8; padding-bottom:.2rem; }
.text-action:hover { color:#1e64e6; border-color:#1e64e6; }

.hero-globe-card { position:relative; min-height: 35rem; overflow:hidden; border:1px solid #c9d9ef; border-radius:2rem; background:radial-gradient(circle at 48% 38%, #fff 0 8%, #e9f2ff 48%, #ccdfff 100%); box-shadow: 0 30px 70px rgba(47, 86, 144, .18); }
.hero-globe-card::before { position:absolute; inset:1rem; border:1px solid rgba(33,100,230,.14); border-radius:1.3rem; content:""; pointer-events:none; }
.hero-globe,.tracker-globe { position:absolute; inset:0; }
.hero-globe canvas,.tracker-globe canvas { width:100%!important; height:100%!important; display:block; }
.globe-caption,.globe-float,.tracker-stage-label { position:absolute; z-index:2; background:rgba(255,255,255,.82); border:1px solid rgba(183,202,231,.8); box-shadow:0 8px 24px rgba(30,65,110,.1); backdrop-filter:blur(10px); }
.globe-caption { left:1.45rem; top:1.35rem; display:flex; align-items:center; gap:.25rem; padding:.62rem .72rem; border-radius:.65rem; color:#5c6f8b; font-size:.64rem; font-weight:850; letter-spacing:.1em; }
.globe-caption strong { margin-left:.45rem; color:#1e64e6; }
.globe-float { display:grid; gap:.16rem; padding:.7rem .85rem; border-radius:.7rem; font-size:.68rem; color:#63748d; letter-spacing:.06em; }
.globe-float b { color:#142b50; font-size:.92rem; letter-spacing:-.02em; }
.globe-float-top { top:25%; right:1.35rem; }
.globe-float-bottom { bottom:1.35rem; left:1.35rem; }
.globe-loading,.globe-fallback { display:grid; width:100%; height:100%; place-content:center; color:#587096; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.globe-fallback { gap:.5rem; text-align:center; }
.globe-fallback span { color:#1e64e6; font-size:2rem; }
.globe-fallback small { color:#8292aa; letter-spacing:0; text-transform:none; }

.airline-rail { width:min(1300px,100%); margin:0 auto; padding:0 clamp(1.25rem,5vw,4rem) 3.1rem; }
.airline-rail p { margin:0 0 1rem; color:#71829a; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.airline-logos { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:center; gap:1.15rem 1.4rem; padding:.45rem 0 .9rem; }
.carrier-mark { display:flex; min-width:0; min-height:3.5rem; align-items:center; justify-content:center; padding:.3rem; border:1px solid transparent; border-radius:.7rem; transition:transform .2s ease, border-color .2s ease, background .2s ease; }
.carrier-mark:hover { border-color:#d6e4f5; background:#fff; transform:translateY(-2px); }
.carrier-mark img { display:block; width:auto; max-width:100%; height:2.7rem; object-fit:contain; object-position:center; }

.section-band { max-width:1300px; }
.proof { padding-top:5.6rem; }
.section-heading .kicker { color:#ff5a36; }
.proof-grid article,.data-grid article { background:#fff; border:1px solid var(--line); box-shadow:0 10px 26px rgba(41,75,118,.05); }
.proof-grid article:hover { transform:translateY(-5px); box-shadow:var(--shadow); border-color:#aac3e7; }
.tile-icon { color:#1e64e6; background:#eaf1ff; border-color:#cdddf6; }
.console-shell { background:#fff; border-color:var(--line); box-shadow:var(--shadow); }
.console-tabs { background:#f2f6fc; border-bottom-color:var(--line); }
.console-tab { color:#65758d; }
.console-tab[aria-selected="true"] { background:#fff; color:#163e7b; border-bottom-color:#ff5a36; }
.tab-index { color:#ff5a36; }
.panel-copy>p,.text-note { color:#63738c; }
.builder-card,.results-pane,.channel-panel { background:#f8faff; border-color:#dce6f2; box-shadow:none; }
.field-card { background:#fff; border-color:#d6e1ef; }
input,select { color:#12294d; background:#fff; }
input:focus,select:focus { border-color:#1e64e6; box-shadow:0 0 0 3px rgba(30,100,230,.12); }
.range-value { color:#516580; }
input[type="range"] { accent-color:#1e64e6; }
.check-pill { background:#fff; border-color:#d0ddec; color:#344f77; }
.check-pill:has(input:checked) { border-color:#1e64e6; background:#eaf1ff; color:#164d9d; }
.airport-suggest { background:#fff; border-color:#c8d8ed; box-shadow:var(--shadow); }
.airport-suggest button { color:#183055; }.airport-suggest button:hover,.airport-suggest button.active-option { background:#edf4ff; }
.badge { border-color:#c8d8ed; }.badge-live { background:#e9f8f4; color:#14745e; }.badge-demo { background:#fff4df; color:#a25b00; }
.pulse-dot { background:#ff5a36; }.result-card,.alert-item { background:#fff; border-color:#d8e2ef; }.result-card:hover { border-color:#9eb9df; box-shadow:0 10px 25px rgba(49,85,126,.08); }
.result-price { color:#1e64e6; }.result-airline,.tracker-callsign,.alert-route { color:#142d54; }.result-flightno,.result-meta,.text-note { color:#71819a; }
.empty-state { color:#71829a; }.empty-state svg { color:#1e64e6; }
.tracker-stage { position:relative; min-height:44rem; overflow:hidden; border:1px solid #cfddf1; border-radius:1.25rem; background:radial-gradient(circle at 48% 30%, #fff 0, #e9f2ff 65%, #dbe9ff 100%); }
.tracker-stage-label { top:1rem; left:1rem; padding:.45rem .65rem; border-radius:.6rem; color:#40608f; font-size:.63rem; font-weight:850; letter-spacing:.12em; }
.tracker-results { position:absolute; left:1rem; right:1rem; bottom:1rem; max-height:40%; overflow:auto; background:rgba(255,255,255,.88); backdrop-filter:blur(16px); }
.telemetry-cell { background:#fff; border-color:#d8e4f1; }.telemetry-cell span,.text-note { color:#71819a; }.telemetry-cell strong { color:#19365f; }
.radar-plot { background:#15345e; }
.alert-mock,.code-card { background:#fff; border-color:#cfdded; box-shadow:var(--shadow); }.alert-mock-head,.code-card-head { background:#f4f8fd; border-color:#dce6f1; color:#58708f; }.alert-mock-route { color:#183d75; }.alert-mock-meta>div { background:#f3f7fc; }.alert-mock-meta span,.alert-mock-note { color:#6d7c91; }
.scout { background:#edf4ff; border-radius:1.5rem; margin-top:2rem; }.code-card pre { color:#274164; }.cm { color:#7a8aa2; }.data-grid article { background:#f8faff; }.footer { border-color:#dce5f1; color:#71819a; }

@media (max-width: 900px) { .hero-inner { grid-template-columns:1fr; padding-top:4.8rem; }.hero-globe-card { min-height:27rem; }.header-nav { display:none; }.tracker-stage { min-height:37rem; }.airline-logos { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) { .hero-actions { align-items:flex-start; flex-direction:column; }.hero-globe-card { min-height:23rem; border-radius:1.35rem; }.globe-float-top { display:none; }.globe-float-bottom { bottom:.85rem; left:.85rem; }.airline-rail { padding-bottom:2.1rem; }.tracker-results { left:.65rem; right:.65rem; bottom:.65rem; max-height:48%; }.tracker-stage { min-height:33rem; } }

/* Geographic globe controls and destination discovery overlays. */
.hero-globe,.tracker-globe { touch-action:none; cursor:grab; }
.hero-globe:active,.tracker-globe:active { cursor:grabbing; }
.globe-city-layer { position:absolute; inset:0; z-index:4; pointer-events:none; overflow:hidden; }
.city-pin { position:absolute; display:flex; align-items:center; gap:.32rem; padding:.26rem .42rem; border:1px solid rgba(255,255,255,.9); border-radius:999px; background:rgba(12,34,68,.86); box-shadow:0 5px 17px rgba(21,45,83,.26); color:#fff; font:750 .64rem/1 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:.015em; white-space:nowrap; pointer-events:auto; transform-origin:center; transition:opacity .18s ease,box-shadow .18s ease,background .18s ease; }
.city-pin:hover,.city-pin:focus-visible { background:#e3232d; box-shadow:0 8px 21px rgba(227,35,45,.32); outline:none; }
.city-pin span { width:.46rem; height:.46rem; border-radius:50%; background:#ff684d; box-shadow:0 0 0 3px rgba(255,104,77,.25); }
.destination-card { position:absolute; z-index:5; right:1.15rem; bottom:1.1rem; display:grid; grid-template-columns:4.2rem minmax(0,1fr); width:min(23.5rem,calc(100% - 2.3rem)); overflow:hidden; border:1px solid rgba(192,210,234,.9); border-radius:.9rem; background:rgba(255,255,255,.94); box-shadow:0 14px 35px rgba(25,58,105,.18); backdrop-filter:blur(14px); pointer-events:none; }
.destination-card img { width:100%; height:100%; min-height:6.15rem; object-fit:cover; }
.destination-card div { padding:.65rem .72rem; }
.destination-card span,.destination-card small { display:block; color:#657b9c; font-size:.58rem; font-weight:820; letter-spacing:.09em; text-transform:uppercase; }
.destination-card strong { display:block; margin-top:.14rem; color:#122c54; font-size:.94rem; letter-spacing:-.02em; }
.destination-card small { margin-top:.08rem; font-size:.52rem; font-weight:720; }
.destination-card p { margin:.28rem 0 0; color:#526987; font-size:.66rem; line-height:1.35; }
.globe-controls-hint { position:absolute; z-index:5; right:1.2rem; top:1.2rem; display:flex; align-items:center; gap:.35rem; padding:.48rem .62rem; border:1px solid rgba(183,202,231,.82); border-radius:.65rem; background:rgba(255,255,255,.78); color:#5f7494; box-shadow:0 6px 18px rgba(31,69,119,.08); backdrop-filter:blur(10px); font-size:.6rem; font-weight:780; letter-spacing:.025em; pointer-events:none; }
.globe-controls-hint span { color:#e3232d; font-size:.78rem; line-height:1; }.globe-controls-hint i { width:1px; height:.85rem; margin:.05rem; background:#c8d6e8; }
.hero-globe .destination-card { bottom:1.3rem; }.tracker-globe .destination-card { bottom:1rem; right:1rem; }
@media (max-width: 600px) { .globe-controls-hint { top:auto; bottom:.85rem; right:.85rem; }.hero-globe .destination-card { bottom:3.5rem; left:.85rem; right:auto; width:calc(100% - 1.7rem); }.city-pin { font-size:.56rem; padding:.22rem .34rem; }.destination-card { grid-template-columns:3.45rem minmax(0,1fr); }.destination-card img { min-height:5.55rem; }.destination-card p { font-size:.6rem; }.tracker-globe .destination-card { display:none; } }

/* Final alignment pass: only editable controls receive text selection. */
body { user-select:none; }
input,textarea,select,[contenteditable="true"] { user-select:text; }
.header-actions { display:flex; align-items:center; gap:.7rem; }
.header-account { border:1px solid rgba(20,46,83,.18); border-radius:.55rem; padding:.58rem .8rem; background:transparent; color:var(--ink); font:inherit; font-weight:750; cursor:pointer; }
.header-account:hover { border-color:rgba(227,35,45,.55); color:var(--red); }
.auth-dialog { width:min(28rem,calc(100vw - 2rem)); padding:0; border:1px solid rgba(24,58,103,.16); border-radius:1rem; color:var(--ink); background:#f9fbff; box-shadow:0 2rem 5rem rgba(10,35,70,.3); }
.auth-dialog::backdrop { background:rgba(8,25,52,.55); backdrop-filter:blur(4px); }
.auth-dialog-content { padding:1.5rem; }
.auth-dialog-content h2 { margin:.2rem 0 .55rem; font-size:1.65rem; }
.auth-dialog-content > p:not(.kicker):not(.form-note) { color:var(--muted); font-size:.9rem; line-height:1.55; }
.auth-dialog-close { position:absolute; right:.7rem; top:.55rem; }
.auth-dialog-close button { border:0; background:transparent; color:var(--muted); font-size:1.5rem; cursor:pointer; }
.auth-form { margin-top:1rem; }
.auth-switch { margin-top:.8rem; border:0; background:none; cursor:pointer; }
.auth-signout { margin-top:.85rem; }
.hero-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(2.25rem,5vw,5.5rem); align-items:center; }
.hero-globe-card { width:100%; max-width:44rem; margin-inline:auto; }
.airline-logos { grid-template-columns:repeat(6,minmax(7rem,1fr)); justify-content:center; gap:1.15rem clamp(.8rem,1.7vw,1.75rem); }
.carrier-mark { min-height:3.75rem; }
@media (max-width:900px) { .hero-inner { grid-template-columns:1fr; }.hero-globe-card { max-width:46rem; }.airline-logos { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:600px) { .header-nav { display:none; }.header-actions { gap:.4rem; }.header-account,.header-cta { padding:.48rem .58rem; font-size:.74rem; } }

/* Production layout pass: one centered visual column, deliberate type scale,
   and an account affordance that does not compete with the primary task. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-header { min-height:6rem; padding-inline:clamp(1.25rem,4vw,4.5rem); }
.header-actions { margin-left:auto; }
.header-account { position:relative; display:grid; width:3.1rem; height:3.1rem; place-items:center; padding:0; border:1px solid #cfdbeb; border-radius:50%; background:#fff; color:#15345e; box-shadow:0 6px 18px rgba(28,57,98,.08); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.header-account svg { width:1.28rem; height:1.28rem; fill:currentColor; }
.header-account:hover,.header-account:focus-visible { color:#1e64e6; border-color:#8db3e9; box-shadow:0 9px 22px rgba(30,100,230,.16); transform:translateY(-1px); outline:none; }
.header-account[data-signed-in="true"] { color:#fff; border-color:#183f78; background:#183f78; }
.account-status { position:absolute; right:.13rem; bottom:.13rem; width:.62rem; height:.62rem; border:2px solid #fff; border-radius:50%; background:#aab8cb; }
.header-account[data-signed-in="true"] .account-status { background:#42c99b; }
.hero-inner { grid-template-columns:minmax(0,.88fr) minmax(38rem,1.12fr); width:min(1680px,100%); gap:clamp(2.75rem,5vw,6.5rem); padding:clamp(4.6rem,7vw,6.75rem) clamp(1.5rem,4vw,4.5rem) 3.75rem; }
.hero-content { max-width:39rem; }
h1 { max-width:none; margin-bottom:1.5rem; font-size:clamp(3.45rem,5.1vw,5.25rem); line-height:.92; }
h1 span { display:block; white-space:nowrap; }
.lede { max-width:36rem; font-size:clamp(1rem,1.3vw,1.17rem); line-height:1.65; }
.hero-globe-card { max-width:46rem; min-height:clamp(31rem,42vw,38rem); justify-self:center; }
.hero-globe { inset:.2rem; }
.airline-rail { width:min(1680px,100%); padding-inline:clamp(1.5rem,4vw,4.5rem); }
.city-pin { left:0; top:0; transform:translate(-50%,-50%); will-change:left,top; }
.city-pin[hidden] { display:none!important; }
.hero-globe .destination-card { display:none; }
@media (max-width:1120px) { .hero-inner { grid-template-columns:minmax(0,.9fr) minmax(29rem,1.1fr); gap:2.5rem; } h1 { font-size:clamp(3.25rem,5.2vw,4.6rem); } }
@media (max-width:900px) { .site-header { min-height:5rem; }.hero-inner { grid-template-columns:1fr; width:min(760px,100%); padding-top:4.4rem; }.hero-content { max-width:42rem; }.hero-globe-card { width:100%; max-width:46rem; min-height:31rem; } }
@media (max-width:600px) { .site-header { min-height:4.5rem; padding-inline:1rem; }.brand-logo { width:2rem; height:2rem; }.header-account { width:2.65rem; height:2.65rem; }.hero-inner { padding:3.5rem 1.1rem 2.5rem; }.hero-content { max-width:none; }.kicker { font-size:.65rem; }.hero-content h1 { font-size:clamp(2.4rem,10.2vw,3.55rem); letter-spacing:-.07em; }.hero-content h1 span { white-space:normal; }.hero-globe-card { min-height:25rem; border-radius:1.35rem; }.lede { font-size:1rem; }.airline-rail { padding-inline:1.1rem; } }

/* The tracker owns the lower panel; the generic tourism card is hero-only. */
.tracker-globe .destination-card { display:none; }
.tracker-results { max-height:none; overflow:visible; padding:.7rem .85rem; }
.tracker-results .tracker-result { gap:.65rem; padding:.05rem; border:0; border-radius:0; background:transparent; }
.tracker-results .tracker-head { align-items:flex-start; }
.tracker-results .telemetry-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.45rem; }
.tracker-results .telemetry-cell { min-height:3.5rem; padding:.48rem .55rem; }
.tracker-results .telemetry-cell span { font-size:.57rem; line-height:1.15; }
.tracker-results .telemetry-cell strong { font-size:.78rem; }
.trajectory-note { margin:0; color:#63738c; font-size:.67rem; line-height:1.35; }
@media (max-width:720px) { .tracker-results { overflow:auto; max-height:45%; }.tracker-results .telemetry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Account surface: a quiet desktop panel that collapses to a focused mobile form. */
.auth-dialog { width:min(35rem,calc(100vw - 2rem)); max-height:min(44rem,calc(100vh - 2rem)); overflow:hidden; border:0; border-radius:1.35rem; background:#fff; box-shadow:0 2rem 6rem rgba(8,30,66,.38); }
.auth-dialog::backdrop { background:rgba(8,26,54,.62); backdrop-filter:blur(8px); }
.auth-layout { display:grid; grid-template-columns:minmax(0,1fr); min-height:36rem; }
.auth-aside { position:relative; display:flex; overflow:hidden; flex-direction:column; padding:2.3rem; color:#fff; background:radial-gradient(circle at 75% 16%,rgba(81,185,255,.5),transparent 24%),linear-gradient(155deg,#102d59 0%,#173f7a 54%,#1e64e6 130%); }
.auth-aside::after { position:absolute; inset:auto -16% -25% auto; width:16rem; height:16rem; border:1px solid rgba(255,255,255,.22); border-radius:50%; content:""; box-shadow:0 0 0 2.4rem rgba(255,255,255,.05),0 0 0 5rem rgba(255,255,255,.04); }
.auth-aside-brand { font:800 1.35rem/1 ui-rounded,"Arial Rounded MT Bold",Inter,sans-serif; letter-spacing:-.06em; }.auth-aside-brand .brand-eye { color:#fff; }
.auth-orbit { position:relative; display:grid; width:7.5rem; height:7.5rem; margin:3.2rem 0 2.1rem; place-items:center; border:1px solid rgba(255,255,255,.32); border-radius:50%; }.auth-orbit::before,.auth-orbit::after { position:absolute; border:1px solid rgba(255,255,255,.27); border-radius:50%; content:""; }.auth-orbit::before { width:9.7rem; height:3rem; transform:rotate(-32deg); }.auth-orbit::after { width:3rem; height:9.7rem; transform:rotate(-32deg); }.auth-orbit span { width:.65rem; height:.65rem; border-radius:50%; background:#ff684d; box-shadow:0 0 0 .45rem rgba(255,104,77,.2); }.auth-orbit i { position:absolute; right:-1rem; top:1.3rem; width:.55rem; height:.55rem; border-radius:50%; background:#fff; }.auth-orbit b { position:absolute; left:-1.05rem; bottom:1.1rem; color:#bfe4ff; font-size:1.15rem; }
.auth-aside-kicker { margin:0 0 .75rem; color:#9ed5ff; font-size:.67rem; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }.auth-aside h3 { max-width:12ch; margin:0; color:#fff; font:800 clamp(1.8rem,3vw,2.5rem)/.96 ui-rounded,"Arial Rounded MT Bold",Inter,sans-serif; letter-spacing:-.055em; }.auth-aside>p:not(.auth-aside-kicker) { max-width:20rem; margin:1.15rem 0 1.5rem; color:#d6e8ff; font-size:.88rem; line-height:1.55; }.auth-aside ul { display:grid; gap:.55rem; padding:0; margin:auto 0 0; list-style:none; color:#dcecff; font-size:.77rem; font-weight:700; }.auth-aside li::before { margin-right:.55rem; color:#ff8b75; content:"✦"; }
.auth-dialog-content { display:flex; min-width:0; flex-direction:column; justify-content:center; padding:clamp(1.8rem,5vw,3.6rem); }.auth-dialog-content .kicker { margin:0 0 .62rem; }.auth-dialog-content h2 { margin:0; font-size:clamp(2rem,4vw,2.8rem); letter-spacing:-.065em; }.auth-dialog-content>p:not(.form-note) { max-width:31rem; margin:.85rem 0 1.45rem; color:#627694; font-size:.94rem; line-height:1.55; }
.auth-dialog-close { z-index:4; right:1rem; top:.8rem; }.auth-dialog-close button { display:grid; width:2.3rem; height:2.3rem; place-items:center; border-radius:50%; color:#405a7f; font-size:1.65rem; line-height:1; transition:background .18s ease,color .18s ease; }.auth-dialog-close button:hover { color:#173e78; background:#edf4ff; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:.25rem; padding:.28rem; margin-bottom:1.25rem; border:1px solid #d7e3f2; border-radius:.75rem; background:#f4f7fc; }.auth-tabs button { min-height:2.55rem; border:0; border-radius:.55rem; background:transparent; color:#657895; font-size:.82rem; font-weight:800; cursor:pointer; }.auth-tabs button[aria-selected="true"] { background:#fff; color:#153a73; box-shadow:0 3px 10px rgba(34,66,111,.1); }
.auth-form { display:grid; gap:1rem; margin:0; padding:0; border:0; background:transparent; }.auth-field { display:grid; gap:.43rem; }.auth-field label { color:#18335e; font-size:.78rem; font-weight:850; }.auth-field-label { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }.auth-field-label span { color:#7b8da8; font-size:.67rem; }.auth-field input { width:100%; min-height:3.25rem; padding:.7rem .82rem; border:1px solid #cad9ec; border-radius:.72rem; font-size:.92rem; }.auth-field input::placeholder { color:#a0afc3; }.auth-password-wrap { position:relative; }.auth-password-wrap input { padding-right:4.3rem; }.auth-password-wrap button { position:absolute; right:.45rem; top:50%; padding:.25rem .4rem; border:0; border-radius:.38rem; transform:translateY(-50%); background:transparent; color:#1e64e6; font-size:.72rem; font-weight:850; cursor:pointer; }.auth-password-wrap button:hover { background:#e9f1ff; }
.auth-captcha { padding:.85rem; border:1px solid #d8e5f3; border-radius:.75rem; background:#f8fbff; }.auth-captcha-status { margin:.5rem 0 0; color:#687d9d; font-size:.68rem; line-height:1.35; }.auth-submit { min-height:3.35rem; margin-top:.1rem; border-radius:.76rem; font-size:.92rem; }.auth-legal { margin:0; color:#7e8fa8; font-size:.67rem; line-height:1.45; text-align:center; }.auth-hint { min-height:1.15rem; margin:.95rem 0 0; text-align:center; }.auth-signed-in { display:flex; align-items:center; gap:.85rem; padding:1rem; border:1px solid #bce9d9; border-radius:.85rem; background:#f0fbf7; }.auth-signed-in[hidden], #authForm[hidden], #authSignOut[hidden], .auth-tabs[hidden] { display:none!important; }.auth-signed-in-icon { display:grid; width:2.2rem; height:2.2rem; flex:0 0 auto; place-items:center; border-radius:50%; background:#24a87c; color:#fff; font-weight:900; }.auth-signed-in strong { color:#184e3c; font-size:.92rem; }.auth-signed-in p { margin:.2rem 0 0; color:#457866; font-size:.78rem; }.auth-signout { min-height:3.1rem; margin-top:1rem; border:1px solid #d3dfef; border-radius:.75rem; background:#fff; color:#18355f; font-weight:800; }
.auth-admin-link { min-height:3.1rem; margin-top:1rem; text-decoration:none; }
.auth-admin-link[hidden] { display:none!important; }
@media (max-width:680px) { .auth-dialog { width:min(34rem,calc(100vw - 1.2rem)); max-height:calc(100vh - 1.2rem); border-radius:1.1rem; }.auth-layout { display:block; min-height:0; }.auth-aside { display:none; }.auth-dialog-content { padding:2.2rem 1.25rem 1.4rem; }.auth-dialog-content h2 { font-size:2rem; }.auth-captcha { overflow:hidden; }.auth-captcha>div { transform:scale(.92); transform-origin:left top; width:110%; }.auth-captcha-status { margin-top:.25rem; } }

/* The flight console uses a cartographic 2D surface. The hero remains the
   cinematic globe, while this view prioritizes labels, airports and routes. */
.tracker-stage {
  display:grid;
  min-height:50rem;
  grid-template-rows:minmax(34rem,1fr) auto;
  background:#dce9f8;
}
.tracker-map {
  position:relative;
  min-width:0;
  min-height:34rem;
  overflow:hidden;
  background:#d7e5f3;
}
.flight-map-canvas {
  position:absolute;
  inset:0;
}
.flight-map-path-overlay {
  position:absolute;
  inset:0;
  z-index:5;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:none;
}
.flight-map-path-overlay path {
  fill:none;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.flight-map-path-overlay .route {
  stroke:#ff4b3e;
  stroke-width:2.4;
  stroke-dasharray:3 7;
  filter:drop-shadow(0 1px 2px rgba(161,33,39,.28));
}
.flight-map-path-overlay .observed {
  stroke:#1f7ae8;
  stroke-width:3;
}
.flight-map-path-overlay .projected {
  stroke:#e5232d;
  stroke-width:2;
  stroke-dasharray:5 6;
}
.tracker-stage-label {
  z-index:8;
}
.flight-map-loading,
.flight-map-fallback {
  display:grid;
  width:100%;
  height:100%;
  min-height:34rem;
  place-content:center;
  gap:.45rem;
  color:#294e7d;
  text-align:center;
  background:
    linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4)),
    repeating-linear-gradient(0deg,transparent 0 39px,rgba(57,103,158,.08) 40px),
    repeating-linear-gradient(90deg,transparent 0 39px,rgba(57,103,158,.08) 40px);
}
.flight-map-loading span {
  width:1.1rem;
  height:1.1rem;
  margin:0 auto .35rem;
  border:.18rem solid rgba(30,100,230,.2);
  border-top-color:#1e64e6;
  border-radius:50%;
  animation:flight-map-spin .8s linear infinite;
}
.flight-map-loading strong,
.flight-map-fallback strong {
  font-size:.86rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.flight-map-loading small,
.flight-map-fallback span {
  color:#6c819e;
  font-size:.7rem;
}
@keyframes flight-map-spin { to { transform:rotate(360deg); } }
.flight-map-status,
.flight-map-route-label,
.flight-map-legend {
  position:absolute;
  z-index:7;
  border:1px solid rgba(178,198,224,.86);
  background:rgba(255,255,255,.9);
  box-shadow:0 .65rem 1.7rem rgba(28,60,103,.14);
  backdrop-filter:blur(12px);
}
.flight-map-status {
  top:3.85rem;
  left:1rem;
  display:flex;
  align-items:center;
  max-width:calc(100% - 5.5rem);
  gap:.6rem;
  padding:.56rem .72rem;
  border-radius:.72rem;
}
.flight-map-status>div {
  display:grid;
  min-width:0;
  gap:.1rem;
}
.flight-map-status strong {
  overflow:hidden;
  color:#153867;
  font-size:.68rem;
  letter-spacing:.08em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.flight-map-status small {
  overflow:hidden;
  color:#6b7f9a;
  font-size:.61rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.flight-map-route-label {
  top:1rem;
  left:50%;
  padding:.5rem .78rem;
  border-radius:999px;
  transform:translateX(-50%);
  color:#8b4809;
  font:850 .66rem/1 var(--mono);
  letter-spacing:.06em;
}
.flight-map-route-label[hidden] { display:none; }
.flight-map-legend {
  right:1rem;
  bottom:1rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:.4rem .8rem;
  max-width:calc(100% - 2rem);
  padding:.48rem .62rem;
  border-radius:.65rem;
  color:#5d718f;
  font-size:.58rem;
  font-weight:750;
}
.flight-map-legend span {
  display:flex;
  align-items:center;
  gap:.3rem;
}
.flight-map-legend i {
  width:1.25rem;
  height:.16rem;
  border-radius:99px;
  background:#1f7ae8;
}
.flight-map-legend i.projected {
  height:.12rem;
  background:repeating-linear-gradient(90deg,#e5232d 0 4px,transparent 4px 7px);
}
.flight-map-legend i.route {
  height:.12rem;
  background:repeating-linear-gradient(90deg,#ff4b3e 0 3px,transparent 3px 7px);
}
.account-delivery-note { display:flex; align-items:flex-start; gap:.75rem; padding:1rem; border:1px solid #cfe0f2; border-radius:.85rem; background:#fff; }
.account-delivery-note .pulse-dot { flex:0 0 auto; margin-top:.38rem; }
.account-delivery-note strong { display:block; color:#18365f; }
.account-delivery-note p { margin:.25rem 0 0; color:#667d9e; font-size:.78rem; line-height:1.5; }
.flight-map-aircraft {
  position:relative;
  display:grid;
  width:3rem;
  height:3rem;
  place-items:center;
  filter:drop-shadow(0 .28rem .32rem rgba(19,48,87,.35));
}
.flight-map-aircraft svg {
  position:relative;
  z-index:2;
  width:2rem;
  height:2rem;
  fill:#e5232d;
  stroke:#fff;
  stroke-width:1.4;
  paint-order:stroke;
}
.flight-map-aircraft-ring {
  position:absolute;
  inset:.22rem;
  border:1px solid rgba(229,35,45,.5);
  border-radius:50%;
  animation:flight-map-pulse 1.8s ease-out infinite;
}
@keyframes flight-map-pulse {
  0% { opacity:.8; transform:scale(.45); }
  100% { opacity:0; transform:scale(1.35); }
}
.flight-map-popup {
  display:grid;
  min-width:10rem;
  gap:.16rem;
  color:#17365f;
}
.flight-map-popup strong {
  color:#1e64e6;
  font:850 .75rem/1 var(--mono);
}
.flight-map-popup span {
  font-size:.76rem;
  font-weight:800;
}
.flight-map-popup small {
  color:#71839c;
  font-size:.65rem;
}
.tracker-map .maplibregl-popup-content {
  padding:.75rem .85rem;
  border:1px solid #d3dfed;
  border-radius:.7rem;
  box-shadow:0 .8rem 2rem rgba(23,54,95,.18);
}
.tracker-map .maplibregl-ctrl-group {
  overflow:hidden;
  border:1px solid rgba(179,198,222,.9);
  border-radius:.65rem;
  box-shadow:0 .45rem 1.2rem rgba(29,62,104,.12);
}
.tracker-map .maplibregl-ctrl-top-right { top:.65rem; right:.65rem; }
.tracker-map .maplibregl-ctrl-bottom-right { right:.45rem; bottom:3.3rem; }
.tracker-map .maplibregl-ctrl-attrib {
  color:#526986;
  font-size:9px;
  background:rgba(255,255,255,.84);
}
.tracker-results {
  position:relative;
  z-index:6;
  left:auto;
  right:auto;
  bottom:auto;
  max-height:none;
  overflow:visible;
  padding:.85rem 1rem 1rem;
  border:0;
  border-top:1px solid #c9d8ea;
  border-radius:0;
  background:rgba(250,252,255,.98);
  backdrop-filter:none;
}
@media (max-width:720px) {
  .console-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.2rem; overflow:visible; padding:.55rem; }
  .console-tab { justify-content:center; min-width:0; padding:.55rem .25rem; font-size:.72rem; text-align:center; }
  .console-tab .tab-index { font-size:.6rem; }
  .tracker-stage {
    min-height:46rem;
    grid-template-rows:minmax(28rem,1fr) auto;
  }
  .tracker-map,
  .flight-map-loading,
  .flight-map-fallback { min-height:28rem; }
  .flight-map-status {
    top:3.55rem;
    left:.7rem;
    max-width:calc(100% - 4.7rem);
  }
  .flight-map-route-label {
    top:auto;
    bottom:4.1rem;
  }
  .flight-map-legend {
    right:.7rem;
    bottom:.7rem;
    left:.7rem;
    justify-content:flex-start;
    max-width:none;
  }
  .tracker-map .maplibregl-ctrl-bottom-right { bottom:4.8rem; }
  .tracker-results {
    max-height:none;
    overflow:visible;
    padding:.7rem;
  }
}

/* Final viewport, map-control, and selection polish. */
body {
  user-select:text;
  caret-color:transparent;
}
button,
.button,
.maplibregl-control-container {
  user-select:none;
}
input,
textarea,
select,
[contenteditable="true"] {
  user-select:text;
  caret-color:auto;
}
.hero {
  width:100%;
  max-width:none;
  min-height:calc(100svh - 6rem);
}
.hero-inner {
  width:min(1500px,100%);
  min-height:calc(100svh - 6rem);
  grid-template-columns:minmax(0,1fr) minmax(36rem,1fr);
  gap:clamp(2.5rem,4.5vw,5rem);
  padding:clamp(2.75rem,5vh,4.5rem) clamp(1.5rem,4vw,4.25rem);
}
.hero-content {
  justify-self:end;
  width:min(100%,39rem);
}
.hero-globe-card {
  justify-self:start;
  width:min(100%,46rem);
}
.airline-rail {
  width:100%;
  max-width:none;
  padding:2.35rem max(clamp(1.5rem,4vw,4.5rem),calc((100vw - 1500px)/2 + 4.25rem)) 3.25rem;
  border-top:1px solid #d4dfed;
  border-bottom:1px solid #e1e8f2;
  background:#f8fbff;
}
.airline-rail > p,
.airline-logos {
  width:min(100%,1364px);
  margin-inline:auto;
}
.globe-zoom-controls {
  position:absolute;
  z-index:8;
  top:1.15rem;
  right:1.15rem;
  display:grid;
  overflow:hidden;
  border:1px solid rgba(174,195,224,.95);
  border-radius:.7rem;
  background:rgba(255,255,255,.94);
  box-shadow:0 .55rem 1.5rem rgba(27,59,102,.14);
  backdrop-filter:blur(12px);
}
.globe-zoom-controls button {
  display:grid;
  width:2.45rem;
  height:2.35rem;
  place-items:center;
  border:0;
  background:transparent;
  color:#173761;
  font:800 1.35rem/1 Inter,sans-serif;
  cursor:pointer;
}
.globe-zoom-controls button + button {
  border-top:1px solid #d7e2f0;
}
.globe-zoom-controls button:hover,
.globe-zoom-controls button:focus-visible {
  background:#edf4ff;
  color:#1e64e6;
  outline:none;
}
.globe-controls-hint {
  right:4.35rem;
}
.tracker-map .maplibregl-ctrl-scale {
  min-width:5.6rem;
  padding:.4rem .58rem;
  border:1px solid rgba(174,195,224,.95);
  border-radius:.58rem;
  background:rgba(255,255,255,.94);
  color:#29496f;
  box-shadow:0 .45rem 1.2rem rgba(29,62,104,.12);
  font:800 .62rem/1.15 var(--mono);
  text-align:center;
}
.tracker-map .maplibregl-ctrl-bottom-right {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.35rem;
}
@media (max-width:900px) {
  .hero,
  .hero-inner {
    min-height:auto;
  }
  .hero-inner {
    width:min(760px,100%);
    grid-template-columns:1fr;
    padding-top:4.4rem;
  }
  .hero-content,
  .hero-globe-card {
    justify-self:center;
  }
}
@media (max-width:600px) {
  .globe-controls-hint {
    display:none;
  }
  .globe-zoom-controls {
    top:.85rem;
    right:.85rem;
  }
}

/* Airport-first navigation and the globe-to-vector map transition. */
html,
body,
.page-shell,
main {
  width:100%;
  max-width:none;
}
.site-header {
  overflow:visible;
}
.header-airport-search {
  position:relative;
  z-index:45;
  width:min(42rem,52vw);
  margin-inline:auto;
}
.airport-search-form {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:.65rem;
  min-height:3.25rem;
  padding:.35rem .55rem .35rem .9rem;
  border:1px solid #cad8ea;
  border-radius:999px;
  background:rgba(247,250,255,.96);
  box-shadow:0 .45rem 1.3rem rgba(24,56,99,.08);
}
.airport-search-form svg {
  width:1.1rem;
  height:1.1rem;
  fill:none;
  stroke:#557294;
  stroke-width:1.9;
}
.airport-search-form input {
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#142d52;
  font:700 .88rem/1.2 Inter,sans-serif;
}
.airport-search-form input::-webkit-search-cancel-button { display:none; }
.airport-search-results {
  position:absolute;
  top:calc(100% + .55rem);
  left:0;
  right:0;
  display:none;
  overflow:hidden;
  padding:.4rem;
  border:1px solid #cbd9eb;
  border-radius:1rem;
  background:rgba(255,255,255,.98);
  box-shadow:0 1.4rem 3.4rem rgba(18,48,91,.22);
  backdrop-filter:blur(18px);
}
.airport-search-results.open { display:grid; }
.airport-search-results button {
  display:grid;
  grid-template-columns:3.35rem minmax(0,1fr) auto;
  align-items:center;
  gap:.75rem;
  width:100%;
  padding:.55rem;
  border:0;
  border-radius:.7rem;
  background:transparent;
  color:#142d52;
  text-align:left;
  cursor:pointer;
}
.airport-search-results button:hover,
.airport-search-results button.active-option { background:#edf4ff; }
.airport-search-results img {
  width:3.35rem;
  height:2.75rem;
  border-radius:.52rem;
  object-fit:cover;
}
.airport-search-copy { display:grid; min-width:0; gap:.14rem; }
.airport-search-copy strong {
  overflow:hidden;
  font-size:.82rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.airport-search-copy em {
  margin-left:.35rem;
  color:#e3232d;
  font:850 .7rem/1 var(--mono);
  font-style:normal;
}
.airport-search-copy small {
  overflow:hidden;
  color:#7487a2;
  font-size:.66rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.airport-search-arrow { color:#1e64e6; font-weight:900; }
.airport-search-empty { margin:0; padding:.85rem; color:#6d809c; font-size:.78rem; }
.hero-vector-map {
  position:absolute;
  inset:0;
  z-index:1;
  min-height:0;
  opacity:0;
  pointer-events:none;
  transform:scale(1.018);
  transition:opacity .68s cubic-bezier(.22,.61,.36,1),transform .68s cubic-bezier(.22,.61,.36,1);
}
.hero-globe {
  z-index:2;
  opacity:1;
  transition:opacity .68s cubic-bezier(.22,.61,.36,1),transform .68s cubic-bezier(.22,.61,.36,1);
}
.hero-globe-card.vector-mode .hero-globe {
  opacity:0;
  pointer-events:none;
  transform:scale(1.025);
}
.hero-globe-card.vector-mode .hero-vector-map {
  z-index:3;
  opacity:1;
  pointer-events:auto;
  transform:scale(1);
}
.hero-vector-map .flight-map-status {
  top:4.5rem;
  left:1rem;
}
.destination-card[hidden] { display:none!important; }
.hero-globe .destination-card {
  display:grid;
  z-index:9;
  right:1rem;
  bottom:1rem;
}
.globe-controls-hint,
.globe-float-bottom {
  display:none!important;
}
.globe-caption {
  z-index:10;
}
.globe-caption strong {
  margin-left:.25rem;
}
.hero-map-legend {
  position:absolute;
  z-index:10;
  left:50%;
  bottom:1rem;
  display:flex;
  align-items:center;
  gap:.85rem;
  padding:.45rem .65rem;
  border:1px solid rgba(178,198,224,.86);
  border-radius:.65rem;
  transform:translateX(-50%);
  background:rgba(255,255,255,.9);
  color:#5d718f;
  box-shadow:0 .65rem 1.7rem rgba(28,60,103,.14);
  backdrop-filter:blur(12px);
  font-size:.58rem;
  font-weight:750;
  white-space:nowrap;
  pointer-events:none;
}
.hero-map-legend span {
  display:flex;
  align-items:center;
  gap:.32rem;
}
.hero-map-legend i {
  width:1.35rem;
  height:.14rem;
  border-radius:999px;
}
.hero-map-legend i.observed { background:#1f7ae8; }
.hero-map-legend i.projected {
  background:repeating-linear-gradient(90deg,#e5232d 0 4px,transparent 4px 7px);
}
.text-action {
  border:0;
  border-bottom:1px solid #9fb4cf;
  padding:.25rem 0;
  background:transparent;
  color:#18365f;
  font:800 .88rem/1.2 Inter,sans-serif;
  cursor:pointer;
}

/* Dedicated airport route and filter workspace. */
.airport-page { background:#f6f9fe; }
.airport-back-link {
  margin-left:1rem;
  color:#1c477e;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.airport-hero {
  position:relative;
  display:flex;
  min-height:31rem;
  align-items:flex-end;
  overflow:hidden;
  color:#fff;
  background:#15355f;
}
.airport-hero>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.airport-hero-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(9,26,52,.06),rgba(7,24,49,.84));
}
.airport-photo-credit {
  position:absolute;
  z-index:2;
  right:1rem;
  bottom:1rem;
  padding:.38rem .55rem;
  border:1px solid rgba(255,255,255,.28);
  border-radius:.5rem;
  background:rgba(6,21,43,.55);
  color:#e5f1ff;
  font-size:.58rem;
  font-weight:750;
  text-decoration:none;
  backdrop-filter:blur(8px);
}
.airport-photo-credit[hidden] { display:none; }
.airport-hero-content {
  position:relative;
  z-index:1;
  width:min(1400px,100%);
  margin:0 auto;
  padding:clamp(2rem,5vw,4.5rem);
}
.airport-eyebrow {
  margin:0 0 .8rem;
  color:#b9d9ff;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.airport-title-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
}
.airport-title-row h1 {
  max-width:18ch;
  margin:0;
  color:#fff;
  font-size:clamp(2.7rem,5.3vw,5.5rem);
}
.airport-title-row p {
  margin:.8rem 0 0;
  color:#dbe9fa;
  font-size:1.08rem;
}
.airport-title-row>strong {
  color:#fff;
  font:900 clamp(3rem,8vw,7rem)/.8 var(--mono);
  letter-spacing:-.08em;
}
.airport-facts {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin:2rem 0 0;
}
.airport-facts div {
  min-width:9rem;
  padding:.7rem .9rem;
  border:1px solid rgba(255,255,255,.22);
  border-radius:.72rem;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(10px);
}
.airport-facts dt { color:#bcd5f2; font-size:.58rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.airport-facts dd { margin:.15rem 0 0; color:#fff; font-size:.84rem; font-weight:800; }
.airport-search-section {
  width:min(1400px,100%);
  margin:0 auto;
  padding:clamp(3rem,6vw,5rem) clamp(1rem,4vw,4rem);
}
.airport-search-intro { max-width:47rem; }
.airport-search-intro h2 { font-size:clamp(2.3rem,4.3vw,4.4rem); }
.airport-search-intro>p:last-child { color:#647997; }
.airport-direction-tabs {
  display:inline-grid;
  grid-template-columns:1fr 1fr;
  gap:.25rem;
  padding:.28rem;
  margin:1.6rem 0;
  border:1px solid #d0deef;
  border-radius:999px;
  background:#edf3fb;
}
.airport-direction-tabs button {
  min-width:8rem;
  min-height:2.7rem;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#607593;
  font-weight:850;
  cursor:pointer;
}
.airport-direction-tabs button[aria-selected="true"] {
  background:#173c73;
  color:#fff;
  box-shadow:0 .4rem 1rem rgba(21,55,104,.18);
}
.airport-search-layout {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(22rem,1.08fr);
  gap:1.25rem;
  align-items:start;
}
.airport-flight-form,
.airport-results {
  padding:1.25rem;
  border:1px solid #d5e1ef;
  border-radius:1.2rem;
  background:#fff;
  box-shadow:0 1rem 2.5rem rgba(24,57,99,.08);
}
.airport-route-summary {
  display:grid;
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:end;
  gap:1rem;
  margin-bottom:1rem;
}
.airport-route-summary>span:first-child {
  padding-bottom:.7rem;
  color:#173d75;
  font:900 1.55rem/1 var(--mono);
}
.airport-route-summary>span[aria-hidden] {
  padding-bottom:.72rem;
  color:#e3232d;
  font-size:1.3rem;
}
.airport-filter-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
  margin-bottom:1rem;
}
.airport-filter-grid label,
.airport-route-summary label {
  display:grid;
  gap:.4rem;
  color:#213c63;
  font-size:.7rem;
  font-weight:850;
}
.airport-filter-grid input:not([type="range"]),
.airport-filter-grid select,
.airport-route-summary input {
  width:100%;
  min-height:3rem;
  padding:.65rem .75rem;
  border:1px solid #cbd9e9;
  border-radius:.65rem;
  background:#fbfdff;
  color:#17345e;
  font:700 .82rem Inter,sans-serif;
}
.airport-range-value { color:#1e64e6; font:800 .7rem/1 var(--mono); }
.airport-results { min-height:24rem; }
.airport-results .pane-head { margin-bottom:.7rem; }
.airport-results .result-list { max-height:36rem; overflow:auto; }

@media (max-width:900px) {
  .header-airport-search { width:min(34rem,58vw); }
  .airport-back-link { display:none; }
  .airport-search-layout { grid-template-columns:1fr; }
}
@media (max-width:650px) {
  .site-header { gap:.6rem; }
  .brand>span { display:none; }
  .header-airport-search { width:auto; flex:1; }
  .airport-search-form { min-height:2.8rem; }
  .airport-search-results { position:fixed; top:4.2rem; left:.65rem; right:.65rem; }
  .airport-title-row { display:grid; }
  .airport-title-row>strong { order:-1; font-size:3.1rem; }
  .airport-hero { min-height:27rem; }
  .airport-filter-grid { grid-template-columns:1fr; }
  .airport-route-summary { grid-template-columns:auto auto minmax(0,1fr); gap:.6rem; }
  .hero-map-legend { bottom:.7rem; gap:.55rem; font-size:.52rem; }
}
