@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #11152a;
  --copy: #495671;
  --muted: #606a82;
  --accent: #2346c9;
  --accent-hover: #1836a7;
  --on-accent: #fff;
  --line: #dce5f1;
  --paper: #fff;
  --surface: #f2f6fb;
  --accent-surface: #ebf0ff;
  --hero-tint: #eef3ff;
  --hero-highlight: #dddfff;
  --headline-accent: #2346c9;
  --navy: #0b1d34;
  --navy-raised: #142a48;
  --navy-line: #345074;
  --night-text: #f3f7ff;
  --night-muted: #c3d1e9;
  --sky: #8cc7ff;
  --radius: 15px;
  --heading-tracking: -.05em;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7ff;
  --copy: #c4d1e8;
  --muted: #acbdd8;
  --accent: #8cc7ff;
  --accent-hover: #badcff;
  --on-accent: #0b1d34;
  --line: #304560;
  --paper: #0e1b2e;
  --surface: #12233a;
  --accent-surface: #1d3354;
  --hero-tint: #142642;
  --hero-highlight: #263665;
  --headline-accent: #a7c5ff;
}

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

body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: var(--heading-tracking); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 680; }
h3 { font-size: 1.25rem; font-weight: 670; letter-spacing: -.026em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.preview :focus-visible, .pilot-card :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

.container {
  width: min(73rem, calc(100% - 3.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 5;
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.bar {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: inline-block; width: 10.2rem; justify-self: start; }
.logo-reverse { display: none; }
:root[data-theme="dark"] .logo-color { display: none; }
:root[data-theme="dark"] .logo-reverse { display: block; }

.primary-nav, .header-actions {
  display: flex;
  gap: clamp(.9rem, 2.4vw, 2rem);
  align-items: center;
}
.primary-nav a { color: var(--copy); font-size: .91rem; font-weight: 550; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent); }
.header-actions { justify-content: end; gap: .8rem; }
.theme-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.theme-toggle:hover { background: var(--surface); }
.theme-icon {
  display: block;
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  box-shadow: -.27rem .25rem 0 0 currentColor;
  transform: translate(.15rem, -.14rem);
}
:root[data-theme="dark"] .theme-icon {
  width: .85rem;
  height: .85rem;
  border: 2px solid currentColor;
  box-shadow: 0 -.56rem 0 -.34rem, 0 .56rem 0 -.34rem, -.56rem 0 0 -.34rem, .56rem 0 0 -.34rem;
  transform: none;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.15rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { background: var(--paper); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.header-cta { min-height: 2.65rem; padding-inline: .95rem; white-space: nowrap; }
.mobile-menu { display: none; }

section[id], main[id] { scroll-margin-top: 5.25rem; }

.hero {
  background:
    radial-gradient(ellipse at 85% 38%, var(--hero-highlight) 0%, transparent 43%),
    linear-gradient(140deg, var(--paper) 12%, var(--hero-tint) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 34.25rem;
  padding-block: 4.6rem;
}
.pilot-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-weight: 690;
  font-size: .9rem;
}
.pilot-status span { width: .48rem; height: .48rem; border-radius: 50%; background: currentColor; }
.hero h1 {
  max-width: 12em;
  font-size: clamp(3rem, 5.15vw, 4.31rem);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: -.057em;
}
.hero-source { display: inline-block; }
.hero-target { display: block; color: var(--headline-accent); }
.lede {
  max-width: 29rem;
  margin-top: 1.35rem;
  color: var(--copy);
  font-size: clamp(1.05rem, 1.5vw, 1.16rem);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }

.preview {
  position: relative;
  isolation: isolate;
  padding: 1.65rem;
  overflow: hidden;
  border: 1px solid #385987;
  border-radius: 20px;
  color: var(--night-text);
  background:
    radial-gradient(ellipse at 99% 0%, #243b79 0%, transparent 57%),
    linear-gradient(150deg, #132d4c 0%, var(--navy) 75%);
  box-shadow: 0 1.35rem 3rem #131e5126, 0 .15rem .5rem #131e5118;
}
.preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .32;
  background-image: radial-gradient(circle, #8396d4 1px, transparent 1.1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at right top, #000 1%, transparent 47%);
}
.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.preview-caption, .preview-type, .route-label, .route-detail {
  color: var(--night-muted);
  font-size: .81rem;
  line-height: 1.35;
}
.preview-caption { margin-bottom: .32rem; }
.preview-heading h2 { font-size: clamp(1.25rem, 2.3vw, 1.62rem); font-weight: 650; letter-spacing: -.04em; }
.preview-type {
  white-space: nowrap;
  border: 1px solid #566da4;
  border-radius: 6px;
  background: #20395f;
  padding: .3rem .5rem;
}
.preview-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1rem minmax(0, 1fr);
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
.route-card {
  min-height: 5rem;
  display: grid;
  gap: .24rem;
  align-content: center;
  padding: .75rem .8rem;
  background: #152d4a;
  border: 1px solid #395675;
  border-radius: 10px;
}
.route-card.destination { background: #21395e; border-color: #5a73b1; }
.route-label { color: #a8caff; font-weight: 610; }
.route-card strong { line-height: 1.26; font-size: .98rem; font-weight: 630; }
.route-arrow { color: var(--sky); font-size: 1.05rem; text-align: center; }

.mapping-table {
  width: 100%;
  border: 1px solid var(--navy-line);
  border-spacing: 0;
  border-radius: 10px;
  background: #0f2440;
  font-size: .88rem;
  text-align: left;
}
.mapping-table th, .mapping-table td { padding: .51rem .7rem; }
.mapping-table thead th {
  color: #bed0eb;
  background: #152d4c;
  font-size: .8rem;
  font-weight: 610;
}
.mapping-table thead th:first-child { border-start-start-radius: 9px; }
.mapping-table thead th:last-child { border-start-end-radius: 9px; }
.mapping-table tbody :is(th, td) { border-top: 1px solid #29405d; }
.mapping-table tbody th { font-weight: 600; }
.mapping-table td:last-child { color: #b8d4ff; }
.preview figcaption { margin-top: .85rem; color: var(--night-muted); font-size: .82rem; }

.section { padding-block: clamp(3.35rem, 6.7vw, 5.7rem); }
.section-heading { max-width: 36rem; }
.section-heading p { margin-top: .7rem; color: var(--copy); font-size: 1.03rem; }

.path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
}
.path-list li {
  padding: 1.4rem 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.path-list p { margin-top: .45rem; color: var(--copy); }
.path-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: .8rem;
  border-radius: .68rem;
  color: var(--accent);
  background: var(--accent-surface);
}
.path-icon::before, .path-icon::after { content: ""; position: absolute; }
.path-icon.discover::before { width: .82rem; height: .82rem; border: 2px solid currentColor; border-radius: 50%; transform: translate(-.12rem, -.13rem); }
.path-icon.discover::after { width: .51rem; height: 2px; background: currentColor; border-radius: 1px; transform: translate(.34rem, .33rem) rotate(45deg); }
.path-icon.map::before { width: .48rem; height: .48rem; border: 2px solid currentColor; border-radius: 2px; transform: translate(-.4rem, -.22rem); box-shadow: .76rem .4rem 0 -2px var(--accent-surface), .76rem .4rem 0 0 currentColor; }
.path-icon.map::after { width: .78rem; height: 2px; background: currentColor; transform: rotate(28deg); }
.path-icon.migrate::before { width: 1.1rem; height: .74rem; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 3px 3px; transform: translateY(.21rem); }
.path-icon.migrate::after { width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.21rem) rotate(45deg); }
.path-icon.validate::before { width: 1.15rem; height: 1.15rem; border: 2px solid currentColor; border-radius: 50%; }
.path-icon.validate::after { width: .5rem; height: .3rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-.03rem) rotate(-45deg); }

.coverage-section { background: var(--surface); border-block: 1px solid var(--line); }
.coverage-layout { display: grid; gap: 1.65rem; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.coverage-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.coverage-card ul { margin: .85rem 0 0; padding: 0; list-style: none; color: var(--copy); }
.coverage-card li { position: relative; padding-left: 1.05rem; margin-top: .45rem; }
.coverage-card li::before {
  content: "";
  position: absolute;
  top: .62rem;
  left: .05rem;
  width: .33rem;
  height: .33rem;
  border-radius: 50%;
  background: var(--accent);
}
.review-card li::before { background: var(--muted); }
.coverage-card p { margin-top: .95rem; color: var(--copy); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 2.3rem;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 0;
  list-style: none;
  font-weight: 630;
}
.faq-list summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 1.24rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--copy); padding-bottom: 1rem; max-width: 41rem; }

.pilot-section { padding-bottom: clamp(3.35rem, 6.7vw, 5.7rem); }
.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid #334f77;
  border-radius: 20px;
  color: var(--night-text);
  background:
    radial-gradient(ellipse at 92% 10%, #263c76 0%, transparent 56%),
    linear-gradient(113deg, var(--navy), var(--navy-raised));
}
.pilot-card h2 { font-size: clamp(1.9rem, 3.35vw, 2.55rem); }
.pilot-card p { max-width: 38rem; margin-top: .58rem; color: var(--night-muted); }
.pilot-actions { display: flex; flex-direction: column; gap: .55rem; align-items: stretch; }
.pilot-button { background: #f1f6ff; color: #12245a; }
.pilot-button:hover { background: #c6dfff; }
.pilot-address { color: var(--night-muted); font-size: .86rem; overflow-wrap: anywhere; text-align: center; }
.pilot-address:hover { text-decoration: underline; }

.site-footer { background: var(--navy); padding: 2.4rem 0 1.3rem; color: var(--night-text); }
.footer-layout { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.5rem; }
.footer-layout nav { display: grid; gap: .45rem; align-content: start; }
.footer-layout nav h2 { font-size: .97rem; letter-spacing: -.01em; margin-bottom: .2rem; font-weight: 650; }
.footer-layout nav a, .footer-end { color: var(--night-muted); font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-end {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--navy-line);
  font-size: .85rem;
}

@media (max-width: 63rem) {
  .container { width: min(73rem, calc(100% - 2.5rem)); }
  .hero-layout { column-gap: 1.4rem; }
  .preview { padding: 1.25rem; }
  .path-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .bar { grid-template-columns: 1fr auto; gap: .5rem; min-height: 4.4rem; }
  .primary-nav, .header-cta { display: none; }
  .header-actions { gap: .55rem; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary {
    list-style: none;
    display: grid;
    place-items: center;
    min-height: 2.65rem;
    padding-inline: .7rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: .65rem;
    font-size: .88rem;
    font-weight: 630;
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    width: min(15rem, 82vw);
    display: grid;
    gap: .16rem;
    padding: .45rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: .8rem;
    box-shadow: 0 1rem 2rem #101e4426;
  }
  .mobile-menu nav a { display: block; padding: .55rem .63rem; border-radius: .4rem; }
  .mobile-menu nav a:hover { background: var(--surface); }
  section[id], main[id] { scroll-margin-top: 4.65rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.6rem; min-height: auto; padding-block: 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 8.3vw, 3.5rem); }
  .hero-copy .lede { margin-top: .95rem; }
  .hero-actions { margin-top: 1.25rem; }
  .coverage-grid, .faq-layout, .pilot-card { grid-template-columns: 1fr; }
  .faq-layout { gap: 1.2rem; }
  .pilot-card { gap: 1.15rem; }
  .pilot-actions { justify-self: start; }
}

@media (max-width: 32rem) {
  .container { width: calc(100% - 2rem); }
  .bar .brand { width: 8.9rem; }
  .preview { padding: 1rem; border-radius: 16px; }
  .preview-heading { margin-bottom: .85rem; }
  .preview-type { display: none; }
  .preview-route { gap: .35rem; margin-bottom: .75rem; }
  .route-card { padding: .52rem; min-height: 4.6rem; }
  .route-card strong { font-size: .82rem; }
  .route-detail, .route-label, .mapping-table th { font-size: .75rem; }
  .mapping-table { font-size: .82rem; }
  .mapping-table th, .mapping-table td { padding: .42rem .44rem; }
  .path-list { grid-template-columns: 1fr; }
  .coverage-card { padding: 1.25rem; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-layout > div { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
