/* Repool.ev — repool.in static website styles
   Identity: ADR-096 (Split R, Ink #090c0b, Paper #f6f8f6, Jade #3ed68c / Deep Jade #0a7a4a,
   Hanken Grotesk + Noto Sans Telugu) & REPOOL-EXPERIENCE-PRINCIPLES.md. */

@layer reset, tokens, base, layout, components, sections;

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

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }

  body {
    margin: 0;
  }

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

  button,
  input,
  select {
    font: inherit;
    color: inherit;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  dl,
  dt,
  dd {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
    list-style: none;
  }
}

@layer tokens {
  :root,
  [data-theme='dark'] {
    color-scheme: dark;
    --canvas: #090c0b;
    --surface: #0f1412;
    --surface-2: #141b18;
    --pass-bg: #131a17;
    --pass-well: #0c100e;
    --pass-edge: rgba(238, 243, 240, 0.14);
    --line: rgba(238, 243, 240, 0.09);
    --line-strong: rgba(238, 243, 240, 0.2);
    --grid-line: rgba(238, 243, 240, 0.032);
    --ink: #eef3f0;
    --ink-muted: #92a099;
    --ink-subtle: #73827a;
    --accent: #3ed68c;
    --on-accent: #04140c;
    --accent-soft: rgba(62, 214, 140, 0.11);
    --accent-border: rgba(62, 214, 140, 0.32);
    --accent-text: #56df9c;
    --focus: #56df9c;
    --header-bg: rgba(9, 12, 11, 0.84);
    --pass-shadow: 0 28px 64px rgba(0, 0, 0, 0.62), 0 1px 0 rgba(238, 243, 240, 0.08) inset;
    --map-fill: #121916;
    --map-stroke: rgba(238, 243, 240, 0.16);
    --font-sans:
      'Hanken Grotesk', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pass: 24px;
    --radius-full: 9999px;
    --container: 1180px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-theme='light'] {
    color-scheme: light;
    --canvas: #f6f8f6;
    --surface: #ffffff;
    --surface-2: #edf2ee;
    --pass-bg: #ffffff;
    --pass-well: #f4f7f5;
    --pass-edge: rgba(9, 12, 11, 0.12);
    --line: rgba(9, 12, 11, 0.09);
    --line-strong: rgba(9, 12, 11, 0.22);
    --grid-line: rgba(9, 12, 11, 0.036);
    --ink: #090c0b;
    --ink-muted: #4b5952;
    --ink-subtle: #64736c;
    --accent: #0a7a4a;
    --on-accent: #ffffff;
    --accent-soft: rgba(10, 122, 74, 0.09);
    --accent-border: rgba(10, 122, 74, 0.28);
    --accent-text: #08683f;
    --focus: #0a7a4a;
    --header-bg: rgba(246, 248, 246, 0.88);
    --pass-shadow: 0 20px 50px rgba(9, 12, 11, 0.09), 0 1px 2px rgba(9, 12, 11, 0.05);
    --map-fill: #edf2ee;
    --map-stroke: rgba(9, 12, 11, 0.16);
  }
}

@layer base {
  body {
    font-family: var(--font-sans);
    background-color: var(--canvas);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.58;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

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

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

  .num {
    font-variant-numeric: tabular-nums;
  }

  .skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    background: var(--accent);
    color: var(--on-accent);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
  }

  .skip-link:focus {
    top: 16px;
  }

  .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;
  }
}

@layer layout {
  .container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(52px, 7vw, 88px);
    border-top: 1px solid var(--line);
    scroll-margin-top: 76px;
  }

  .section--tight {
    padding-block: clamp(48px, 6vw, 76px);
  }

  .section-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: clamp(28px, 4vw, 44px);
  }

  .section-head {
    max-width: 620px;
  }

  .section-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 10px;
  }

  .section-title {
    font-size: clamp(1.75rem, 3.1vw, 2.5rem);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -0.032em;
    margin-bottom: 12px;
  }

  .section-lead {
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    color: var(--ink-muted);
    max-width: 56ch;
  }
}

@layer components {
  /* Sticky Navigation */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
  }

  .brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    flex-shrink: 0;
  }

  .brand-lockup {
    height: 26px;
    width: auto;
  }

  [data-theme='dark'] .brand-lockup--light,
  [data-theme='light'] .brand-lockup--dark,
  [data-theme='dark'] .theme-icon--moon,
  [data-theme='light'] .theme-icon--sun {
    display: none;
  }

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

  .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-muted);
    transition:
      color 160ms var(--ease-out),
      background-color 160ms var(--ease-out);
  }

  .nav-link:hover {
    color: var(--ink);
    background: var(--surface);
  }

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

  /* Buttons (48px accessible target) */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition:
      background-color 160ms var(--ease-out),
      border-color 160ms var(--ease-out),
      transform 140ms var(--ease-out);
  }

  .btn:active {
    transform: translateY(1px);
  }

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

  .btn--primary {
    background: var(--accent);
    color: var(--on-accent);
  }

  .btn--primary:hover {
    background: color-mix(in srgb, var(--accent) 88%, var(--ink));
  }

  .btn--secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
  }

  .btn--secondary:hover {
    background: var(--surface-2);
    border-color: var(--ink);
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition:
      border-color 160ms var(--ease-out),
      background-color 160ms var(--ease-out);
  }

  .icon-btn:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
  }

  .menu-btn {
    display: none;
  }

  /* Mobile Nav Drawer */
  .mobile-drawer {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--canvas);
    padding: 16px 0 24px;
  }

  .mobile-drawer[data-open='true'] {
    display: block;
  }

  .mobile-drawer__list {
    display: grid;
    gap: 2px;
    margin-bottom: 16px;
  }

  .mobile-drawer__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-inline: 12px;
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
    font-weight: 600;
  }

  .mobile-drawer__link:hover {
    background: var(--surface);
  }

  @media (max-width: 860px) {
    .nav-links,
    .nav-cta-desktop {
      display: none;
    }

    .menu-btn {
      display: inline-flex;
    }
  }
}

@layer sections {
  /* HERO */
  .hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(32px, 5vw, 68px) clamp(44px, 6vw, 76px);
  }

  /* Subtle hairline highway coordinate frame behind hero only */
  .hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 62% 35%, #000 10%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 35%, #000 10%, transparent 78%);
  }

  .hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(28px, 4.5vw, 56px);
    align-items: center;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--accent-text);
    margin-bottom: 18px;
  }

  .eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
  }

  .eyebrow-rule {
    width: 1px;
    height: 12px;
    background: var(--line-strong);
  }

  .eyebrow-muted {
    color: var(--ink-muted);
    font-weight: 600;
  }

  .hero-title {
    font-size: clamp(2.45rem, 5.1vw, 4.05rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
  }

  .telugu-subtitle {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    color: var(--ink-muted);
    max-width: 50ch;
    text-wrap: pretty;
    margin-bottom: 24px;
  }

  /* Inline Route Console (replaces clunky double dropdowns) */
  .route-console {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    display: grid;
    gap: 16px;
  }

  .route-console__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
  }

  .route-direction {
    min-width: 0;
  }

  .route-direction__label {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-subtle);
    margin-bottom: 2px;
  }

  .route-direction__cities {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .route-arrow {
    color: var(--accent-text);
    flex-shrink: 0;
  }

  .swap-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--line-strong);
    background: var(--canvas);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
    transition:
      border-color 160ms var(--ease-out),
      color 160ms var(--ease-out);
  }

  .swap-pill svg {
    flex-shrink: 0;
    transition: transform 220ms var(--ease-out);
  }

  .swap-pill:hover {
    border-color: var(--accent);
    color: var(--accent-text);
  }

  .swap-pill[data-swapped='true'] svg {
    transform: rotate(180deg);
  }

  .corridor-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .corridor-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--canvas);
    text-align: left;
    cursor: pointer;
    transition:
      border-color 160ms var(--ease-out),
      background-color 160ms var(--ease-out),
      color 160ms var(--ease-out);
  }

  .corridor-btn:hover {
    border-color: var(--line-strong);
  }

  .corridor-btn[aria-pressed='true'] {
    background: var(--accent-soft);
    border-color: var(--accent-border);
  }

  .corridor-btn__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
  }

  .corridor-btn[aria-pressed='true'] .corridor-btn__name {
    color: var(--accent-text);
  }

  .corridor-btn__meta {
    font-size: 0.76rem;
    color: var(--ink-muted);
  }

  .route-metrics {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .route-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .route-metric__label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-subtle);
  }

  .route-metric__value {
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
  }

  .route-metric__value--accent {
    color: var(--accent-text);
  }

  .route-metric__sub {
    font-size: 0.76rem;
    color: var(--ink-muted);
  }

  .hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Machined Apple-Wallet Boarding Pass */
  .hero-stage {
    width: 100%;
  }

  .pass-card {
    background: var(--pass-bg);
    border: 1px solid var(--pass-edge);
    border-radius: var(--radius-pass);
    box-shadow: var(--pass-shadow);
    overflow: hidden;
  }

  .pass-card__stub {
    padding: 22px 24px 18px;
  }

  .pass-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .pass-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
  }

  .pass-highway {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink-muted);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    background: var(--pass-well);
    border: 1px solid var(--line);
  }

  .pass-time-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .pass-window {
    font-size: clamp(1.75rem, 2.7vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
  }

  .pass-sub {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-top: 4px;
  }

  .pass-seats {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-text);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
  }

  .pass-seats__dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--accent);
  }

  /* Perforated Ticket Notch Divider */
  .pass-divider {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
  }

  .pass-perf {
    width: 100%;
    border-top: 1px dashed var(--line-strong);
    margin-inline: 18px;
  }

  .pass-notch {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    background: var(--canvas);
    border: 1px solid var(--pass-edge);
  }

  .pass-notch--left {
    left: -10px;
  }

  .pass-notch--right {
    right: -10px;
  }

  .pass-card__body {
    padding: 14px 24px 20px;
  }

  .pass-card__body[hidden] {
    display: none;
  }

  .pass-route {
    background: var(--pass-well);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: grid;
    gap: 0;
  }

  .pass-stop {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .pass-stop__marker {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    justify-self: center;
  }

  .pass-stop__marker--origin {
    border-radius: var(--radius-full);
    border: 2px solid var(--accent);
  }

  .pass-stop__marker--drop {
    border-radius: 3px;
    background: var(--accent);
  }

  .pass-rail {
    width: 1px;
    height: 18px;
    margin-left: 7.5px;
    border-left: 1.5px dashed var(--accent-border);
    margin-block: 3px;
  }

  .pass-stop__eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-subtle);
  }

  .pass-stop__name {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .pass-stop__cue {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: 1px;
  }

  .pass-vehicle {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .pass-shield {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .pass-vehicle__title {
    font-size: 0.94rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pass-verified-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-text);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
  }

  .pass-vehicle__car {
    font-size: 0.84rem;
    color: var(--ink-muted);
    margin-top: 1px;
  }

  .pass-prefs {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pref-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--pass-well);
  }

  .pass-settlement {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .pass-price {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .pass-price-note {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: 4px;
  }

  .pass-fee-box {
    text-align: right;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--pass-well);
    border: 1px solid var(--line);
    flex-shrink: 0;
  }

  .pass-fee-box__amt {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-text);
    line-height: 1.1;
  }

  .pass-fee-box__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-muted);
  }

  .pass-rules {
    display: grid;
    gap: 14px;
  }

  .pass-rule {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .pass-rule:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .pass-rule dt {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 3px;
  }

  .pass-rule dd {
    font-size: 0.84rem;
    color: var(--ink-muted);
    line-height: 1.5;
  }

  .pass-card__footer {
    padding: 12px 24px;
    background: var(--pass-well);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .pass-switcher {
    display: inline-flex;
    padding: 3px;
    border-radius: var(--radius-md);
    background: var(--canvas);
    border: 1px solid var(--line);
    gap: 2px;
  }

  .pass-switch-btn {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      background-color 150ms var(--ease-out),
      color 150ms var(--ease-out);
  }

  .pass-switch-btn[aria-selected='true'] {
    background: var(--surface-2);
    color: var(--ink);
  }

  .pass-footnote {
    font-size: 0.76rem;
    color: var(--ink-subtle);
  }

  /* SECTION 1: TELANGANA CORRIDOR MAP & STOPS */
  .corridor-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
    gap: 4px;
  }

  .corridor-tab {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      background-color 160ms var(--ease-out),
      color 160ms var(--ease-out);
  }

  .corridor-tab:hover {
    color: var(--ink);
  }

  .corridor-tab[aria-pressed='true'] {
    background: var(--accent);
    color: var(--on-accent);
  }

  .corridor-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(20px, 3.5vw, 36px);
    align-items: stretch;
  }

  .map-frame {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
  }

  .map-frame__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .map-frame__title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
  }

  .map-frame__tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-text);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
  }

  .tg-map {
    width: 100%;
    height: auto;
  }

  .map-grid-lines line {
    stroke: var(--line);
    stroke-width: 1;
    stroke-dasharray: 2 5;
  }

  .map-state-shape {
    fill: var(--map-fill);
    stroke: var(--map-stroke);
    stroke-width: 1.5;
    stroke-linejoin: round;
  }

  .map-orr-outer {
    fill: var(--accent-soft);
    stroke: var(--accent-border);
    stroke-width: 1;
    stroke-dasharray: 3 3;
  }

  .map-orr-inner {
    fill: none;
    stroke: var(--accent-border);
    stroke-width: 1;
  }

  .map-corridor,
  .map-city-btn {
    cursor: pointer;
  }

  .map-route-hit {
    fill: none;
    stroke: transparent;
    stroke-width: 24;
  }

  .map-route {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition:
      stroke 180ms var(--ease-out),
      stroke-width 180ms var(--ease-out);
  }

  .map-route[data-active='true'] {
    stroke: var(--accent);
    stroke-width: 4;
  }

  .map-route-pulse {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 6 120;
    opacity: 0;
    pointer-events: none;
  }

  .map-route-pulse[data-active='true'] {
    opacity: 0.9;
    animation: route-pulse 2.6s linear infinite;
  }

  @keyframes route-pulse {
    from {
      stroke-dashoffset: 126;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .map-route-pulse[data-active='true'] {
      animation: none;
      opacity: 0;
    }
  }

  .map-badge-bg {
    fill: var(--canvas);
    stroke: var(--line-strong);
    stroke-width: 1;
    transition:
      fill 160ms var(--ease-out),
      stroke 160ms var(--ease-out);
  }

  .map-badge-text {
    fill: var(--ink-muted);
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .map-badge-group[data-active='true'] .map-badge-bg {
    fill: var(--accent);
    stroke: var(--accent);
  }

  .map-badge-group[data-active='true'] .map-badge-text {
    fill: var(--on-accent);
  }

  .map-hit {
    fill: transparent;
  }

  .map-node {
    fill: var(--canvas);
    stroke: var(--line-strong);
    stroke-width: 2.5;
    transition:
      fill 180ms var(--ease-out),
      stroke 180ms var(--ease-out);
  }

  .map-node[data-active='true'],
  .map-node--hub {
    fill: var(--accent);
    stroke: var(--canvas);
  }

  .map-city {
    fill: var(--ink-muted);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
  }

  .map-city[data-active='true'],
  .map-city--hub {
    fill: var(--ink);
  }

  .map-city-sub,
  .map-dist {
    fill: var(--ink-subtle);
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .map-caption {
    font-size: 0.82rem;
    color: var(--ink-muted);
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  /* Approved Stops Ledger */
  .stops-ledger {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .stops-ledger__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .stops-ledger__head h3 {
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: -0.025em;
  }

  .stops-ledger__sub {
    font-size: 0.86rem;
    color: var(--ink-muted);
    margin-top: 3px;
  }

  .stops-ledger__cap {
    text-align: right;
  }

  .stops-ledger__cap-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .stops-ledger__cap-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-text);
  }

  .stops-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .stops-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-text);
    margin-bottom: 14px;
  }

  .stops-list {
    display: grid;
    gap: 14px;
  }

  .stops-list li {
    display: grid;
    gap: 2px;
  }

  .stop-item__name {
    font-size: 0.94rem;
    font-weight: 700;
  }

  .stop-item__cue {
    font-size: 0.81rem;
    color: var(--ink-muted);
  }

  .stops-rule {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.84rem;
    color: var(--ink-muted);
  }

  .stops-rule strong {
    color: var(--ink);
  }

  /* SECTION 2: HOW IT WORKS (RIDERS / PILOTS) */
  .role-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
    gap: 4px;
  }

  .role-tab {
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      background-color 160ms var(--ease-out),
      color 160ms var(--ease-out);
  }

  .role-tab:hover {
    color: var(--ink);
  }

  .role-tab[aria-selected='true'] {
    background: var(--accent);
    color: var(--on-accent);
  }

  .role-panel[hidden] {
    display: none;
  }

  .steps-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .step-card__num {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-text);
    letter-spacing: 0.06em;
  }

  .step-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .step-card p {
    font-size: 0.93rem;
    color: var(--ink-muted);
  }

  .role-summary {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .role-summary__item {
    background: var(--canvas);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .role-summary__label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-subtle);
  }

  .role-summary__item strong {
    font-size: 0.92rem;
    font-weight: 700;
  }

  /* SECTION 3: ARCHITECTURE OF TRUST + FEE SCHEDULE */
  .spec-grid {
    margin-top: clamp(28px, 4vw, 40px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
  }

  .spec-cell {
    background: var(--surface);
    padding: clamp(24px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .spec-cell__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
  }

  .spec-cell__idx {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ink-subtle);
    letter-spacing: 0.06em;
  }

  .spec-cell__fact {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-text);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
  }

  .spec-cell h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .spec-cell p {
    font-size: 0.94rem;
    color: var(--ink-muted);
    max-width: 52ch;
  }

  .fee-strip {
    margin-top: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: clamp(22px, 3vw, 30px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px 32px;
    align-items: center;
  }

  .fee-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .fee-strip__intro h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }

  .fee-strip__intro p {
    font-size: 0.92rem;
    color: var(--ink-muted);
    max-width: 54ch;
  }

  .fee-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .fee-tier {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .fee-tier__range {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-subtle);
  }

  .fee-tier__amt {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .fee-tier__note {
    font-size: 0.74rem;
    color: var(--ink-muted);
  }

  /* SECTION 4: TWO-COLUMN FAQ */
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
  }

  .faq-aside {
    position: sticky;
    top: 96px;
  }

  .faq-links {
    margin-top: 22px;
    display: grid;
    gap: 8px;
  }

  .faq-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-text);
  }

  .faq-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .faq-list {
    border-top: 1px solid var(--line);
  }

  .faq-item {
    border-bottom: 1px solid var(--line);
  }

  .faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding-block: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .faq-summary::-webkit-details-marker {
    display: none;
  }

  .faq-summary::after {
    content: '+';
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--accent-text);
    flex-shrink: 0;
  }

  .faq-item[open] .faq-summary::after {
    content: '−';
  }

  .faq-body {
    padding-bottom: 20px;
    font-size: 0.95rem;
    color: var(--ink-muted);
    max-width: 64ch;
  }

  /* SECTION 5: CLOSED BETA INVITE BAND */
  .cta-band {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pass);
    padding: clamp(28px, 4.5vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 28px 40px;
    align-items: center;
  }

  .cta-band__copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.032em;
    margin-bottom: 12px;
  }

  .cta-band__copy p:last-child {
    color: var(--ink-muted);
    max-width: 50ch;
  }

  .cta-band__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--line-strong);
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition:
      color 150ms var(--ease-out),
      border-color 150ms var(--ease-out),
      background-color 150ms var(--ease-out);
  }

  .copy-btn:hover {
    color: var(--ink);
    border-color: var(--accent-border);
    background: var(--accent-soft);
  }

  .copy-btn[data-copied='true'] {
    color: var(--accent-text);
    border-style: solid;
    border-color: var(--accent-border);
    background: var(--accent-soft);
  }

  /* FOOTER */
  .site-footer {
    border-top: 1px solid var(--line);
    padding-block: clamp(44px, 5.5vw, 64px) 36px;
    background: var(--canvas);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }

  .footer-about {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--ink-muted);
    max-width: 36ch;
  }

  .footer-col h3 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-subtle);
    margin-bottom: 12px;
  }

  .footer-col ul {
    display: grid;
    gap: 2px;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    font-size: 0.9rem;
    color: var(--ink-muted);
    transition: color 150ms var(--ease-out);
  }

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

  .footer-bottom {
    padding-top: 24px;
    display: grid;
    gap: 12px;
    font-size: 0.83rem;
    color: var(--ink-muted);
  }

  .footer-legal {
    max-width: 92ch;
    line-height: 1.55;
  }

  .footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    color: var(--ink-subtle);
  }

  .footer-meta a {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .footer-sep {
    margin-inline: 8px;
    opacity: 0.45;
  }

  /* 404 PAGE */
  .not-found {
    min-height: calc(100vh - 69px);
    display: grid;
    place-items: center;
    padding-block: 56px;
  }

  .not-found__card {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pass);
    padding: clamp(28px, 5vw, 44px);
    display: grid;
    gap: 14px;
  }

  .not-found__code {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent-text);
  }

  .not-found__title {
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.025em;
  }

  .not-found__body {
    color: var(--ink-muted);
  }

  .not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
  }

  /* RESPONSIVE BREAKPOINTS */
  @media (max-width: 980px) {
    .hero-layout,
    .corridor-grid,
    .fee-strip,
    .faq-layout,
    .cta-band {
      grid-template-columns: minmax(0, 1fr);
    }

    .faq-aside {
      position: static;
    }

    .steps-rail,
    .role-summary {
      grid-template-columns: minmax(0, 1fr);
    }

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

  @media (max-width: 640px) {
    .container {
      width: min(100% - 32px, var(--container));
    }

    .hero {
      padding-block: 20px 44px;
    }

    .eyebrow {
      margin-bottom: 12px;
    }

    .hero-title {
      margin-bottom: 10px;
    }

    .telugu-subtitle {
      margin-bottom: 10px;
    }

    .hero-lead {
      font-size: 0.96rem;
      margin-bottom: 18px;
    }

    .route-console {
      padding: 14px 16px;
      gap: 12px;
    }

    .route-metrics {
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
      padding-top: 12px;
    }

    .route-metric {
      flex-direction: row;
      align-items: baseline;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2px 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }

    .route-metric:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .route-metric__sub {
      width: 100%;
    }

    .hero-actions {
      margin-top: 16px;
    }

    .pass-card__stub,
    .pass-card__body,
    .pass-card__footer {
      padding-inline: 18px;
    }

    .stops-ledger {
      padding: 18px;
    }

    .stops-ledger__cap {
      text-align: left;
    }

    .stops-columns,
    .spec-grid,
    .fee-tiers,
    .footer-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .corridor-tabs,
    .role-tabs {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .role-tabs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corridor-tab,
    .role-tab {
      padding-inline: 8px;
      font-size: 0.85rem;
    }

    .hero-actions .btn {
      width: 100%;
    }
  }

  @media (max-width: 380px) {
    .route-direction__cities {
      font-size: 0.96rem;
      gap: 6px;
    }

    .swap-pill {
      padding: 0 11px;
      font-size: 0.8rem;
      min-height: 40px;
    }

    .corridor-switch {
      grid-template-columns: minmax(0, 1fr);
    }

    .corridor-btn {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      min-height: 46px;
    }

    .pass-settlement {
      flex-direction: column;
      align-items: flex-start;
    }

    .pass-fee-box {
      text-align: left;
      width: 100%;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
    }
  }
}
