/* ==========================================================================
   Route2AI — brand stylesheet
   Implements Route2AI Brand Guidelines v1.0 (July 2026).
   No build step: this file ships to the browser exactly as written.
   ========================================================================== */

:root {
  /* Core palette */
  --midnight: #080f3d;
  --ocean: #122d60;
  --route-blue: #0299e8;
  --route-blue-dark: #0270ac;
  --signal-cyan: #2dbceb; /* dark surfaces only — never text on light */
  --cloud: #f4f7fb;

  /* Light neutrals */
  --border: #e1e8f4;
  --muted: #5b6b8c;
  --faint: #8b97b3;
  --tint-1: #eaf7fd;
  --tint-2: #b8e2fa;
  --tint-3: #7acdf3;
  --dashed: #c4d2e8;

  /* On dark */
  --on-dark: #e9ecfa;
  --on-dark-78: rgba(233, 236, 250, 0.78);
  --on-dark-65: rgba(233, 236, 250, 0.65);
  --on-dark-40: rgba(233, 236, 250, 0.4);
  --hairline: rgba(233, 236, 250, 0.1);
  --hairline-strong: rgba(233, 236, 250, 0.15);

  /* Brand gradient: Route Blue -> Deep Ocean -> Midnight, top-left to bottom-right */
  --grad-tile: linear-gradient(135deg, #0299e8, #122d60 95%);
  --grad-ground: linear-gradient(135deg, #122d60 0%, #080f3d 70%);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 12px;
  --r-btn: 10px;
  --r-input: 9px;
  --r-pill: 20px;

  --wrap: 1120px;
}

/* --------------------------------------------------------------- reset */

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--midnight);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  /* Sticky header is ~59px; keep anchored sections clear of it. */
  scroll-padding-top: 76px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--route-blue);
  text-decoration: none;
}

a:hover {
  color: var(--route-blue-dark);
}

button {
  font: inherit;
  cursor: pointer;
}

/* Class-level `display` would otherwise beat the UA rule for [hidden],
   which is how JS toggles the carousel slides, FAQ answers and form states. */
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 2px;
}

::selection {
  background: rgba(45, 188, 235, 0.35);
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--route-blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-btn) 0;
  font-size: 13.5px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ------------------------------------------------------------- layout */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 80px 32px;
}

.wrap--narrow {
  max-width: 760px;
}

.band--cloud {
  background: var(--cloud);
}

.band--white {
  background: #fff;
  border-top: 1px solid var(--border);
}

.band--cloud + .band--cloud,
.band--cloud.band--ruled {
  border-top: 1px solid var(--border);
}

.band--dark {
  background: var(--grad-ground);
}

.band--midnight {
  background: var(--midnight);
}

/* ------------------------------------------------------------ type */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--route-blue);
  margin-bottom: 10px;
}

.eyebrow--dark {
  color: var(--signal-cyan);
}

.kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
}

.h-section {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.h-section--dark {
  color: #fff;
}

/* Exactly one accent word per headline (brand rule). */
.accent {
  color: var(--route-blue);
}

.accent--dark {
  color: var(--signal-cyan);
}

.lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
}

.lede--dark {
  color: var(--on-dark-65);
}

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--r-btn);
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--route-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--route-blue-dark);
  color: #fff;
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Outline on dark grounds */
.btn--ghost {
  border: 1px solid rgba(233, 236, 250, 0.3);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--signal-cyan);
  color: var(--signal-cyan);
}

/* Outline on light grounds */
.btn--outline {
  border: 1px solid var(--dashed);
  color: var(--midnight);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--route-blue);
  color: var(--route-blue-dark);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 13.5px;
  border-radius: var(--r-input);
}

.btn--block {
  display: block;
  width: 100%;
}

/* ----------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 15, 61, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.logo__tile {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--grad-tile);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.logo__word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}

.logo__word span {
  color: var(--signal-cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--on-dark-65);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-input);
  padding: 7px;
  color: var(--on-dark-65);
  line-height: 0;
}

.nav-toggle:hover {
  color: #fff;
  border-color: var(--signal-cyan);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--midnight);
  padding: 18px 32px 24px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu[data-open="true"] {
  display: flex;
}

.mobile-menu a {
  color: var(--on-dark-78);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .btn {
  margin-top: 4px;
}

/* ------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #122d60 0%, #080f3d 60%);
}

/* Brand imagery rule: photo blended so dark values fall away. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: lighten;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 61, 0.45) 0%,
    rgba(8, 15, 61, 0.2) 45%,
    #080f3d 100%
  );
}

.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 32px 72px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(45, 188, 235, 0.4);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 28px;
  color: var(--on-dark);
  font-size: 12.5px;
  font-weight: 500;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-cyan);
  flex: none;
}

.hero__title {
  margin: 0;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 640px;
}

.hero__sub {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-dark-78);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* The route line — brand device, at most once per section. */
.route-line {
  width: 100%;
  max-width: 900px;
  height: 40px;
  display: block;
  margin: 56px 0 26px;
}

.hero__stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.stat {
  border-left: 1.5px solid rgba(45, 188, 235, 0.5);
  padding-left: 14px;
}

.stat__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--signal-cyan);
  line-height: 1.1;
}

.stat__label {
  font-size: 11.5px;
  color: var(--on-dark-65);
  margin-top: 2px;
}

/* ---------------------------------------------------------- grids */

.grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
}

.card--cloud {
  background: var(--cloud);
}

.card--hover:hover {
  border-color: var(--tint-3);
}

/* ------------------------------------------------------- problem */

.problem-card {
  padding: 26px 26px 22px;
}

.problem-card__stat {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  color: var(--midnight);
  line-height: 1;
}

.rule {
  width: 34px;
  height: 2px;
  background: var(--route-blue);
  margin: 14px 0;
}

.problem-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.video-block {
  margin-top: 40px;
  max-width: 760px;
}

.video-frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--midnight);
  padding-bottom: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------- how it works */

.route-line--how {
  width: 100%;
  height: 30px;
  display: block;
  margin: 44px 0 -14px;
  max-width: none;
}

.step__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--route-blue);
}

.step h3 {
  margin: 10px 0 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight);
}

.step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------------------------------------------- features */

.icon-tile {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--grad-tile);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-tile svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 0 0 7px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--midnight);
}

.feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.card--dashed {
  border: 1.5px dashed var(--dashed);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: transparent;
}

.card--dashed strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--midnight);
}

.card--dashed span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.card--dashed a {
  font-size: 13px;
  font-weight: 600;
  color: var(--route-blue-dark);
}

/* --------------------------------------------------- case study */

.case {
  margin-top: 32px;
  background: rgba(18, 45, 96, 0.45);
  border: 1px solid rgba(45, 188, 235, 0.25);
  border-radius: var(--r-card);
  overflow: hidden;
}

.case__progress {
  height: 3px;
  background: rgba(233, 236, 250, 0.12);
}

.case__progress-bar {
  height: 100%;
  width: 0;
  background: var(--signal-cyan);
}

.case__progress-bar.is-running {
  animation: case-progress 6s linear forwards;
}

@keyframes case-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.case__body {
  padding: 36px 40px 30px;
}

.tag-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-cyan);
  border: 1px solid rgba(45, 188, 235, 0.45);
  border-radius: 16px;
  padding: 4px 12px;
  margin-bottom: 26px;
}

.case__cols {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

.case__left {
  width: 270px;
  flex: none;
}

.case__stat {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 76px;
  line-height: 1;
  color: var(--signal-cyan);
}

.case__headline {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(233, 236, 250, 0.8);
}

.case__right {
  flex: 1;
  border-left: 1px solid var(--hairline-strong);
  padding-left: 40px;
}

.case__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--on-dark);
}

.case__sub {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: stretch;
}

.case__sub-rule {
  width: 3px;
  background: var(--signal-cyan);
  border-radius: 2px;
  flex: none;
}

.case__sub p {
  margin: 0;
  font-size: 12.5px;
  color: var(--on-dark-65);
}

.case__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.case__dots {
  display: flex;
  gap: 7px;
}

.case__dot {
  height: 6px;
  width: 8px;
  border: none;
  border-radius: 4px;
  background: rgba(233, 236, 250, 0.25);
  padding: 0;
  transition: width 0.3s, background-color 0.3s;
}

.case__dot[aria-selected="true"] {
  width: 30px;
  background: var(--signal-cyan);
}

.case__arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case__arrow {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(233, 236, 250, 0.25);
  background: transparent;
  color: var(--on-dark-65);
  font-size: 14px;
  transition: border-color 0.15s, color 0.15s;
}

.case__arrow:hover {
  border-color: var(--signal-cyan);
  color: var(--signal-cyan);
}

.case__count {
  font-size: 12px;
  color: var(--on-dark-40);
  margin-left: 6px;
}

.source-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: var(--on-dark-40);
}

/* ------------------------------------------------------- pricing */

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
}

.plan--highlight {
  border: 1.5px solid var(--route-blue);
  box-shadow: 0 12px 32px rgba(2, 153, 232, 0.12);
}

.plan__flag {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--route-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 12px;
}

.plan__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--midnight);
}

.plan__best {
  font-size: 11.5px;
  color: var(--faint);
  margin-top: 2px;
}

.plan__price {
  margin-top: 18px;
}

.plan__price b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--midnight);
}

.plan__price span {
  font-size: 12.5px;
  color: var(--faint);
}

.plan__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  flex: 1;
}

.plan__rows div {
  font-size: 12.5px;
  color: var(--muted);
}

.plan__rows b {
  color: var(--midnight);
}

.plan__rows .plan__overage {
  font-size: 11.5px;
  color: var(--faint);
}

.plan .btn {
  padding: 10px 0;
  font-size: 13px;
  border-radius: var(--r-input);
}

.addon {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.addon__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--midnight);
}

.addon__desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.addon__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--route-blue-dark);
  white-space: nowrap;
}

.included {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px 24px;
}

.included .kicker {
  text-align: center;
  margin-bottom: 12px;
}

.included__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tick {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.tick::before {
  content: "✓";
  color: var(--route-blue);
  font-weight: 700;
  flex: none;
}

.legal {
  margin: 16px 0 0;
  font-size: 11.5px;
  color: var(--faint);
  text-align: center;
}

/* ----------------------------------------------------------- faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--r-card);
  background: var(--cloud);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: var(--tint-2);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--midnight);
}

.faq-chev {
  color: var(--route-blue);
  font-size: 13px;
  flex: none;
  transition: transform 0.2s;
}

.faq-q[aria-expanded="true"] .faq-chev {
  transform: rotate(180deg);
}

.faq-a {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-a[hidden] {
  display: none;
}

/* ------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact__title {
  font-size: 40px;
}

.contact__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact__points .tick {
  font-size: 13.5px;
}

.contact__direct {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.contact__link .icon-tile {
  margin-bottom: 0;
  flex: none;
}

.contact__link b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--midnight);
}

.contact__link span {
  display: block;
  font-size: 11.5px;
  color: var(--faint);
}

.contact__link:hover b {
  color: var(--route-blue-dark);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 30px;
}

.contact-card__title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight);
  margin: 0 0 4px;
}

/* Inside the card the rule above the contact rows is redundant. */
.contact-card .contact__direct {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  gap: 16px;
}

.contact-card .btn {
  margin-top: 24px;
}

.contact-card__line {
  width: 120px;
  height: 20px;
  display: block;
  margin: 24px auto 0;
}

.contact-card__note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--faint);
  text-align: center;
}

/* -------------------------------------------------------- footer */

.site-footer {
  background: var(--midnight);
  border-top: 1px solid var(--hairline);
}

.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 32px 32px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer__tag {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(233, 236, 250, 0.5);
  max-width: 280px;
  line-height: 1.6;
}

.site-footer__cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__col > span:first-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--on-dark-40);
  text-transform: uppercase;
}

.site-footer__col a {
  font-size: 12.5px;
  color: var(--on-dark-65);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__col a:hover {
  color: var(--signal-cyan);
}

.site-footer__legal {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__legal span {
  font-size: 11px;
  color: var(--on-dark-40);
}

/* --------------------------------------------------- subpages */

.subpage {
  background: var(--grad-ground);
}

.subpage .wrap {
  padding-top: 72px;
}

.subpage__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
}

.subpage__meta {
  font-size: 13px;
  color: var(--on-dark-65);
  margin: 0;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.stat-strip li {
  background: rgba(18, 45, 96, 0.45);
  border: 1px solid rgba(45, 188, 235, 0.25);
  border-radius: var(--r-card);
  padding: 16px 22px;
}

.stat-strip b {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--signal-cyan);
  line-height: 1.1;
}

.stat-strip span {
  display: block;
  font-size: 11.5px;
  color: var(--on-dark-65);
  margin-top: 3px;
}

.doc-frame {
  margin-top: 32px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(45, 188, 235, 0.25);
  background: var(--midnight);
}

.doc-frame iframe {
  display: block;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  border: none;
}

.panel {
  background: rgba(18, 45, 96, 0.45);
  border: 1px solid rgba(45, 188, 235, 0.25);
  border-radius: var(--r-card);
  padding: 32px;
  margin-top: 28px;
}

/* ---------------------------------------------- case study narrative */

.sec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--route-blue);
  margin-bottom: 10px;
}

.body-lg {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 66ch;
  margin: 0 0 14px;
}

.body-lg b {
  color: var(--midnight);
  font-weight: 600;
}

.pullquote {
  border-left: 3px solid var(--route-blue);
  padding: 4px 0 4px 22px;
  margin: 30px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--midnight);
  max-width: 28ch;
}

/* Peak-hours tiles — dark ground only. */
.hour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hour {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-card);
  padding: 16px 15px;
  background: rgba(233, 236, 250, 0.03);
}

.hour--peak {
  border-color: var(--signal-cyan);
  background: linear-gradient(160deg, rgba(45, 188, 235, 0.15), transparent);
}

.hour__t {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-65);
}

.hour__v {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--signal-cyan);
  margin-top: 8px;
}

.hour__c {
  font-size: 11.5px;
  color: var(--on-dark-65);
  margin-top: 5px;
}

/* Share-of-minutes bar */
.split {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  margin-top: 30px;
}

.split h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--midnight);
  margin: 0 0 14px;
}

.sbar {
  display: flex;
  height: 34px;
  border-radius: var(--r-input);
  overflow: hidden;
}

.sbar__ai {
  background: var(--route-blue);
  flex: 0 0 79%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.sbar__staff {
  background: #c9d8e9;
  flex: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.skey {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}

.skey i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: -1px;
}

/* Horizontal bar charts */
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.chart {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
}

.chart h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--midnight);
  margin: 0 0 16px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bar__label {
  font-size: 12.5px;
  color: var(--muted);
  flex: 0 0 104px;
}

.bar__track {
  flex: 1;
  height: 12px;
  background: #edf2f8;
  border-radius: 6px;
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: var(--route-blue);
}

.bar__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--midnight);
  flex: 0 0 28px;
  text-align: right;
}

.bar--closed .bar__label,
.bar--closed .bar__value {
  color: var(--faint);
}

.bar--closed .bar__track {
  background: repeating-linear-gradient(
    45deg,
    #e6edf6,
    #e6edf6 4px,
    #f2f6fb 4px,
    #f2f6fb 8px
  );
}

.bar__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-left: 6px;
}

.cta-band {
  background: var(--midnight);
  border-top: 1px solid var(--hairline);
}

.cta-band .wrap {
  max-width: 640px;
  text-align: center;
  padding: 64px 32px;
}

/* Long-form legal copy on a dark ground. */
.prose {
  color: var(--on-dark-78);
  font-size: 14.5px;
  line-height: 1.75;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin: 28px 0 10px;
}

.prose p {
  margin: 0 0 14px;
}

.prose strong {
  color: #fff;
  font-weight: 600;
}

.prose a {
  color: var(--signal-cyan);
}

.prose a:hover {
  color: #fff;
  text-decoration: underline;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 14px;
}

.prose li {
  margin-bottom: 7px;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 36px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 13px;
}

.prose th,
.prose td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.prose th {
  color: #fff;
  font-weight: 600;
  border-bottom-color: var(--hairline-strong);
}

.prose td {
  color: var(--on-dark-65);
}

.table-scroll {
  overflow-x: auto;
}

/* ================================================== responsive */

@media (max-width: 980px) {
  .nav,
  .site-header .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__inner {
    padding: 72px 24px 60px;
  }

  .wrap {
    padding: 64px 24px;
  }

  .site-header__bar,
  .site-footer__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mobile-menu {
    padding-left: 24px;
    padding-right: 24px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .charts {
    grid-template-columns: 1fr;
  }

  .hour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case__cols {
    flex-direction: column;
    gap: 24px;
  }

  .case__left {
    width: auto;
  }

  .case__right {
    border-left: none;
    border-top: 1px solid var(--hairline-strong);
    padding-left: 0;
    padding-top: 24px;
  }

  .case__body {
    padding: 28px 24px 24px;
  }

  .case__stat {
    font-size: 60px;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__sub {
    font-size: 15.5px;
  }

  .hero__ctas .btn {
    flex: 1 1 100%;
  }

  .h-section,
  .contact__title {
    font-size: 28px;
  }

  .subpage__title {
    font-size: 32px;
  }

  .wrap {
    padding: 52px 20px;
  }

  .site-header__bar,
  .site-footer__inner,
  .mobile-menu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__inner {
    padding: 56px 20px 52px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 20px 28px;
  }

  .problem-card__stat {
    font-size: 36px;
  }

  .case__stat {
    font-size: 48px;
  }

  .contact-card {
    padding: 22px 20px;
  }

  .pullquote {
    font-size: 19px;
  }

  .bar__label {
    flex: 0 0 84px;
    font-size: 11.5px;
  }

  .doc-frame iframe {
    height: 70vh;
    min-height: 420px;
  }

  .site-footer__cols {
    gap: 32px;
  }
}
