:root {
  --mx-night: #060916;
  --mx-panel: #0c1326;
  --mx-panel-2: #111a31;
  --mx-ink: #ecf2f2;
  --mx-muted: #8e9bae;
  --mx-blue: #72c0cf;
  --mx-blue-soft: #183846;
  --mx-gold: #e4bd69;
  --mx-gold-soft: #fff0bd;
  --mx-green: #6bd3a4;
  --mx-red: #ff8b82;
  --mx-line: rgba(230, 241, 243, .12);
  --mx-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mx-ink); background: var(--mx-night); font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.mx-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; color: var(--mx-night); background: white; }
.mx-skip:focus { left: 12px; top: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(228,189,105,.45); outline-offset: 3px; }

.mx-header { width: 100%; height: 82px; padding: 0 clamp(20px, 5vw, 76px); position: absolute; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.mx-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mx-brand > span:last-child strong, .mx-brand > span:last-child small { display: block; }
.mx-brand > span:last-child strong { font-size: 14px; letter-spacing: .04em; }
.mx-brand > span:last-child small { margin-top: 2px; color: var(--mx-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.mx-mark { width: 40px; height: 40px; position: relative; display: grid; place-items: center; border: 1px solid rgba(228,189,105,.42); border-radius: 50%; color: var(--mx-gold); font-family: Georgia, serif; font-size: 18px; }
.mx-mark span { position: absolute; top: -5px; right: -2px; font-size: 9px; }
.mx-header nav { display: flex; align-items: center; gap: 26px; }
.mx-header nav a { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; text-decoration: none; }
.mx-header nav a:hover { color: white; }
.mx-nav-action { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 16px; border: 1px solid rgba(228,189,105,.36); border-radius: 999px; color: var(--mx-gold-soft) !important; }

.night-hero { min-height: 805px; position: relative; overflow: hidden; padding: 165px clamp(20px, 7vw, 110px) 90px; display: grid; grid-template-columns: 1.15fr .6fr; gap: 8vw; align-items: start; }
.night-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 75% 25%, #152544 0, #0a1124 25%, #060916 58%); }
.night-sky > i { width: 3px; height: 3px; position: absolute; display: block; border-radius: 50%; background: white; box-shadow: 0 0 9px white; opacity: .8; }
.night-sky > i:nth-child(1) { top: 17%; left: 8%; }
.night-sky > i:nth-child(2) { top: 28%; left: 43%; width: 2px; height: 2px; }
.night-sky > i:nth-child(3) { top: 12%; right: 30%; }
.night-sky > i:nth-child(4) { top: 44%; right: 8%; width: 2px; height: 2px; }
.night-sky > i:nth-child(5) { top: 58%; left: 33%; }
.night-sky > i:nth-child(6) { top: 8%; left: 58%; width: 2px; height: 2px; }
.night-glow { width: 260px; height: 260px; position: absolute; top: 110px; right: 19%; border-radius: 50%; border: 1px solid rgba(114,192,207,.16); box-shadow: 0 0 0 70px rgba(114,192,207,.025), 0 0 100px rgba(114,192,207,.09); }
.night-sky svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 420px; }
.night-hero-copy { max-width: 720px; position: relative; z-index: 2; }
.mx-eyebrow, .mx-kicker { color: var(--mx-gold); font-size: 10px; line-height: 1.2; text-transform: uppercase; font-weight: 750; letter-spacing: .2em; }
.mx-eyebrow { display: flex; align-items: center; gap: 10px; }
.mx-eyebrow span { width: 27px; height: 1px; background: currentColor; }
.night-hero h1 { max-width: 730px; margin: 22px 0 27px; font-size: clamp(58px, 7vw, 104px); font-weight: 600; line-height: .9; letter-spacing: -.065em; }
.night-hero h1 em { display: block; color: var(--mx-gold-soft); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.night-hero-copy > p { max-width: 610px; margin: 0; color: rgba(236,242,242,.64); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.72; }
.night-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.mx-button { min-height: 51px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.mx-button:hover { transform: translateY(-2px); }
.mx-button-primary { color: #171a1f; background: var(--mx-gold); box-shadow: 0 12px 34px rgba(228,189,105,.16); }
.mx-button-primary:hover { background: var(--mx-gold-soft); }
.mx-button-secondary { color: var(--mx-ink); background: transparent; border: 1px solid var(--mx-line); }
.mx-text-link { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 650; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.3); }
.night-assurances { max-width: 650px; margin-top: 53px; padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--mx-line); }
.night-assurances span { color: rgba(236,242,242,.53); font-size: 10px; }
.night-assurances b { color: var(--mx-blue); margin-right: 8px; }

.night-console { width: min(370px, 100%); position: relative; z-index: 3; justify-self: end; margin-top: 38px; padding: 24px; border: 1px solid rgba(114,192,207,.23); border-radius: 22px; background: rgba(7,13,29,.67); backdrop-filter: blur(18px); box-shadow: var(--mx-shadow); }
.console-head { padding-bottom: 17px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--mx-line); color: var(--mx-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.console-head i { color: var(--mx-blue); font-style: normal; }
.console-clock { padding: 27px 0 23px; }
.console-clock time { display: block; font-size: 62px; line-height: 1; font-weight: 300; letter-spacing: -.06em; }
.console-clock small { color: var(--mx-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.console-status { padding: 14px; display: grid; grid-template-columns: 12px 1fr; gap: 11px; align-items: center; border: 1px solid rgba(228,189,105,.19); border-radius: 12px; background: rgba(228,189,105,.06); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mx-gold); box-shadow: 0 0 0 5px rgba(228,189,105,.08); }
.console-status.open { border-color: rgba(107,211,164,.27); background: rgba(107,211,164,.07); }
.console-status.open .pulse-dot { background: var(--mx-green); box-shadow: 0 0 0 5px rgba(107,211,164,.1); }
.console-status strong, .console-status small { display: block; }
.console-status strong { font-size: 11px; }
.console-status small { margin-top: 2px; color: var(--mx-muted); font-size: 9px; }
.console-route { margin: 24px 3px; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; }
.console-route span { width: 24px; overflow: hidden; color: var(--mx-muted); font-size: 8px; white-space: nowrap; }
.console-route span:last-child { text-align: right; }
.console-route i { height: 1px; background: linear-gradient(90deg, var(--mx-blue), rgba(114,192,207,.18)); }
.night-console > a { padding-top: 17px; display: flex; justify-content: space-between; border-top: 1px solid var(--mx-line); color: var(--mx-gold-soft); font-size: 11px; font-weight: 650; text-decoration: none; }

.night-routes { padding: 110px clamp(20px, 7vw, 110px) 120px; background: #f0efe9; color: #101828; }
.night-section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; max-width: 1200px; margin: 0 auto 50px; }
.night-section-heading h2, .night-operation h2 { margin: 10px 0 0; font-size: clamp(38px, 5vw, 67px); line-height: .98; letter-spacing: -.055em; }
.night-section-heading > p { max-width: 470px; margin: 0; color: #667078; font-size: 12px; line-height: 1.75; }
.fare-band { max-width: 1200px; min-height: 103px; margin: 0 auto 18px; padding: 18px 27px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid rgba(16,24,40,.12); border-radius: 18px; background: #faf9f4; }
.fare-band > span { color: #768087; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.fare-band > strong { font-size: clamp(37px, 5vw, 58px); font-weight: 500; letter-spacing: -.05em; }
.fare-band > strong i { color: #98762f; font-size: .48em; font-style: normal; vertical-align: top; }
.fare-band > strong small { margin: 0 9px; color: #858b8d; font-size: .25em; letter-spacing: .04em; text-transform: uppercase; }
.fare-band > em { justify-self: end; color: #768087; font-size: 10px; font-style: normal; }
.night-fare-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.night-fare-grid article { min-height: 275px; padding: 26px; position: relative; border: 1px solid rgba(16,24,40,.11); border-radius: 18px; background: #faf9f4; }
.night-fare-grid article.featured { color: white; background: #0c1729; }
.fare-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #15516a; background: #d9ecec; font-weight: 750; font-size: 11px; }
.featured .fare-icon { color: var(--mx-gold-soft); background: rgba(228,189,105,.12); }
.night-fare-grid article > p { margin: 30px 0 8px; color: #8a7650; font-size: 9px; text-transform: uppercase; font-weight: 750; letter-spacing: .12em; }
.night-fare-grid h3 { margin: 0 0 28px; font-size: 17px; }
.night-fare-grid article > strong { display: block; font-size: 31px; letter-spacing: -.04em; }
.night-fare-grid article > small { color: #768087; font-size: 9px; }
.featured article > small, .featured small { color: rgba(255,255,255,.5); }
.fare-disclaimer { max-width: 1200px; margin: 18px auto 0; color: #858d91; font-size: 9px; line-height: 1.6; }

.night-operation { padding: 120px clamp(20px, 9vw, 140px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 140px); align-items: center; background: #091020; }
.operation-copy > p:not(.mx-kicker) { max-width: 520px; color: var(--mx-muted); font-size: 13px; line-height: 1.75; }
.operation-copy .mx-button { margin-top: 20px; }
.night-contact-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.night-contact-actions a { min-width: 185px; padding: 11px 13px; display: inline-flex; justify-content: space-between; gap: 13px; border: 1px solid var(--mx-line); border-radius: 11px; color: var(--mx-ink); background: rgba(255,255,255,.025); text-decoration: none; }
.night-contact-actions a:hover { border-color: rgba(228,189,105,.4); background: rgba(228,189,105,.05); }
.night-contact-actions span { color: var(--mx-muted); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.night-contact-actions strong { color: var(--mx-gold-soft); font-size: 9px; }
.operation-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mx-line); }
.operation-steps li { min-height: 90px; padding: 20px 5px; display: grid; grid-template-columns: 55px 1fr; align-items: center; border-bottom: 1px solid var(--mx-line); }
.operation-steps li > span { color: var(--mx-blue); font-size: 10px; }
.operation-steps strong { font-size: 14px; }
.operation-steps p { margin: 5px 0 0; color: var(--mx-muted); font-size: 10px; }
.mx-footer { min-height: 115px; padding: 25px clamp(20px, 6vw, 90px); display: grid; grid-template-columns: 1fr auto auto; gap: 45px; align-items: center; background: #040711; border-top: 1px solid var(--mx-line); }
.mx-footer p, .mx-footer a { color: var(--mx-muted); font-size: 9px; }
.mx-footer > div { display: flex; gap: 20px; }
.mx-footer > div a { color: var(--mx-gold); text-underline-offset: 4px; }

/* Companion app */
.mx-app-body { min-height: 100vh; background: #070b17; }
.app-header { height: 72px; padding: 0 clamp(16px, 4vw, 48px); position: relative; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--mx-line); background: rgba(6,9,22,.94); }
.app-header-actions { display: flex; align-items: center; gap: 12px; }
.network-badge { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(107,211,164,.2); border-radius: 999px; color: var(--mx-green); background: rgba(107,211,164,.06); font-size: 9px; }
.network-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-back { color: var(--mx-muted); font-size: 10px; text-decoration: none; }
.app-main { max-width: 1480px; margin: auto; padding: 28px clamp(14px, 3vw, 40px) 40px; }
.app-topbar { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.app-topbar h1 { margin: 7px 0 0; font-size: clamp(29px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.app-service-status { min-width: 240px; padding: 12px 14px; display: grid; grid-template-columns: 9px 1fr; gap: 10px; align-items: center; border: 1px solid rgba(228,189,105,.2); border-radius: 12px; background: rgba(228,189,105,.05); }
.app-service-status.open { border-color: rgba(107,211,164,.26); background: rgba(107,211,164,.06); }
.app-service-status .pulse-dot { width: 7px; height: 7px; }
.app-service-status.open .pulse-dot { background: var(--mx-green); box-shadow: 0 0 0 5px rgba(107,211,164,.1); }
.app-service-status strong, .app-service-status small { display: block; }
.app-service-status strong { font-size: 10px; }
.app-service-status small { margin-top: 2px; color: var(--mx-muted); font-size: 8px; }
.prototype-notice { margin-bottom: 18px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 18px; align-items: center; border: 1px solid rgba(114,192,207,.16); border-radius: 10px; color: #aab7c4; background: rgba(114,192,207,.05); font-size: 9px; line-height: 1.5; }
.prototype-notice strong { color: var(--mx-blue); }
.trial-contacts { flex: 0 0 auto; display: flex; gap: 13px; }
.trial-contacts a { color: var(--mx-gold); text-underline-offset: 3px; }
.app-shell { min-height: 700px; display: grid; grid-template-columns: minmax(420px, .82fr) minmax(480px, 1.18fr); overflow: hidden; border: 1px solid var(--mx-line); border-radius: 24px; background: var(--mx-panel); box-shadow: var(--mx-shadow); }
.app-controls { min-width: 0; border-right: 1px solid var(--mx-line); }
.app-tabs { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 1px solid var(--mx-line); }
.app-tabs button { min-height: 44px; border: 0; border-radius: 12px; color: var(--mx-muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.app-tabs button.active { color: var(--mx-ink); background: var(--mx-panel-2); box-shadow: inset 0 0 0 1px var(--mx-line); }
.app-tabs button span { margin-right: 7px; color: var(--mx-gold); }
.app-panel { display: none; padding: 28px; }
.app-panel.active { display: block; animation: mxIn .28s ease both; }
@keyframes mxIn { from { opacity: 0; transform: translateY(6px); } }
.panel-heading { margin-bottom: 25px; display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.panel-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.panel-heading p { margin: 5px 0 0; color: var(--mx-muted); font-size: 10px; }
.mini-tag { padding: 6px 9px; border: 1px solid rgba(228,189,105,.2); border-radius: 999px; color: var(--mx-gold); background: rgba(228,189,105,.05); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.app-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.app-field.full { grid-column: 1 / -1; }
.app-field > span, .app-fieldset legend { display: block; margin-bottom: 7px; color: var(--mx-muted); font-size: 8px; text-transform: uppercase; font-weight: 750; letter-spacing: .12em; }
.app-field input, .app-field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--mx-line); border-radius: 11px; outline: none; color: var(--mx-ink); background: #0a1122; font-size: 11px; }
.app-field input:focus, .app-field select:focus { border-color: rgba(228,189,105,.55); box-shadow: 0 0 0 3px rgba(228,189,105,.07); }
.app-field input.invalid, .app-field select.invalid { border-color: rgba(255,139,130,.65); }
.field-message { min-height: 14px; margin: 5px 0 0; color: var(--mx-red); font-size: 8px; }
.app-fieldset { margin: 19px 0 0; padding: 0; border: 0; }
.app-fieldset legend { width: 100%; margin-bottom: 9px; }
.vehicle-choice-grid, .payment-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-card { min-height: 74px; position: relative; padding: 13px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--mx-line); border-radius: 12px; cursor: pointer; background: #0a1122; }
.choice-card:has(input:checked) { border-color: rgba(228,189,105,.55); background: rgba(228,189,105,.055); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 10px; }
.choice-card small { margin-top: 4px; color: var(--mx-muted); font-size: 8px; }
.choice-card > i { color: var(--mx-gold); font-size: 9px; font-style: normal; }
.paypal-choice { grid-column: 1 / -1; }
.paypal-choice > i { color: #76a9ff; font-weight: 750; }
.paypal-invoice-note { margin-top: 14px; padding: 13px 14px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; border: 1px solid rgba(118,169,255,.25); border-radius: 12px; background: rgba(0,112,186,.08); }
.paypal-wordmark { color: #76a9ff; font-size: 14px; font-weight: 800; font-style: italic; letter-spacing: -.04em; }
.paypal-invoice-note strong, .paypal-invoice-note small { display: block; }
.paypal-invoice-note strong { font-size: 10px; }
.paypal-invoice-note small { margin-top: 3px; color: var(--mx-muted); font-size: 8px; line-height: 1.45; }
.app-fare { margin-top: 21px; padding: 17px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--mx-line); border-radius: 14px; background: var(--mx-panel-2); }
.app-fare > span strong, .app-fare > span small { display: block; }
.app-fare > span strong { font-size: 10px; }
.app-fare > span small { margin-top: 3px; color: var(--mx-muted); font-size: 8px; }
.app-fare output { color: var(--mx-gold-soft); font-size: 29px; letter-spacing: -.04em; }
.app-submit { width: 100%; margin-top: 14px; }
.job-card { overflow: hidden; border: 1px solid var(--mx-line); border-radius: 15px; background: #0a1122; }
.job-card-head { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--mx-line); }
.job-card-head span { color: var(--mx-blue); font-size: 8px; text-transform: uppercase; letter-spacing: .11em; }
.job-card-head strong { font-size: 10px; }
.job-route { padding: 18px 16px; display: grid; grid-template-columns: 21px 1fr; gap: 10px; }
.job-route-line { position: relative; }
.job-route-line::before { content: ""; width: 1px; position: absolute; top: 9px; bottom: 9px; left: 6px; background: rgba(114,192,207,.4); }
.job-route-line i { width: 13px; height: 13px; position: absolute; left: 0; border: 2px solid var(--mx-blue); border-radius: 50%; background: #0a1122; }
.job-route-line i:first-child { top: 1px; }
.job-route-line i:last-child { bottom: 1px; border-color: var(--mx-gold); }
.job-route-copy { display: grid; gap: 18px; }
.job-route-copy strong, .job-route-copy small { display: block; }
.job-route-copy strong { font-size: 11px; }
.job-route-copy small { margin-top: 2px; color: var(--mx-muted); font-size: 8px; }
.job-meta { padding: 13px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--mx-line); }
.job-meta span { color: var(--mx-muted); font-size: 8px; }
.job-meta strong { display: block; margin-top: 4px; color: var(--mx-ink); font-size: 9px; }
.customer-timeline { margin: 18px 0 0; padding: 18px; border: 1px solid var(--mx-line); border-radius: 15px; }
.customer-timeline h3 { margin: 0 0 17px; font-size: 11px; }
.timeline-steps { display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline-step { position: relative; padding-top: 21px; color: #596478; text-align: center; font-size: 7px; }
.timeline-step::before { content: ""; width: 9px; height: 9px; position: absolute; z-index: 2; top: 0; left: calc(50% - 4.5px); border-radius: 50%; background: #30394d; }
.timeline-step::after { content: ""; height: 1px; position: absolute; top: 4px; left: 50%; right: -50%; background: #30394d; }
.timeline-step:last-child::after { display: none; }
.timeline-step.done { color: var(--mx-ink); }
.timeline-step.done::before { background: var(--mx-green); }
.timeline-step.done::after { background: var(--mx-green); }
.empty-job { padding: 42px 20px; text-align: center; border: 1px dashed var(--mx-line); border-radius: 15px; }
.empty-job span { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: var(--mx-blue); background: rgba(114,192,207,.08); }
.empty-job h3 { margin: 0; font-size: 14px; }
.empty-job p { color: var(--mx-muted); font-size: 9px; line-height: 1.5; }
.driver-online { padding: 9px 11px; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--mx-line); border-radius: 999px; color: var(--mx-muted); font-size: 8px; cursor: pointer; }
.driver-online input { accent-color: var(--mx-green); }
.driver-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.driver-actions button { min-height: 42px; border: 1px solid var(--mx-line); border-radius: 11px; color: var(--mx-muted); background: #0a1122; cursor: pointer; font-size: 9px; }
.driver-actions button:hover:not(:disabled), .driver-actions button.active { border-color: rgba(107,211,164,.4); color: var(--mx-ink); background: rgba(107,211,164,.07); }
.driver-actions button:disabled { opacity: .35; cursor: not-allowed; }
.driver-actions .accept-job { grid-column: 1 / -1; color: #14191e; background: var(--mx-gold); border-color: var(--mx-gold); font-weight: 750; }

.map-panel { min-width: 0; position: relative; overflow: hidden; background: #0a1020; }
.map-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(114,192,207,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(114,192,207,.045) 1px, transparent 1px); background-size: 34px 34px; }
.map-topline { position: absolute; z-index: 4; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; pointer-events: none; }
.map-label, .map-legend { padding: 10px 12px; border: 1px solid var(--mx-line); border-radius: 10px; background: rgba(7,11,23,.8); backdrop-filter: blur(10px); }
.map-label strong, .map-label small { display: block; }
.map-label strong { font-size: 9px; }
.map-label small { margin-top: 2px; color: var(--mx-muted); font-size: 7px; }
.map-legend { display: flex; align-items: center; gap: 7px; color: var(--mx-muted); font-size: 8px; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--mx-green); box-shadow: 0 0 0 4px rgba(107,211,164,.1); }
.network-map { width: 100%; height: 100%; min-height: 700px; position: relative; z-index: 2; }
.map-coast { fill: rgba(18,44,58,.42); stroke: rgba(114,192,207,.14); stroke-width: 2; }
.network-line { fill: none; stroke: rgba(114,192,207,.17); stroke-width: 3; stroke-dasharray: 5 8; }
.active-route { fill: none; stroke: var(--mx-gold); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(228,189,105,.35)); }
.map-node { cursor: pointer; }
.map-node circle { fill: #101a30; stroke: var(--mx-blue); stroke-width: 3; transition: r .2s, fill .2s; }
.map-node:hover circle, .map-node.selected circle { r: 10; fill: var(--mx-blue-soft); }
.map-node text { fill: var(--mx-ink); font-size: 11px; font-weight: 650; pointer-events: none; }
.map-node .node-sub { fill: var(--mx-muted); font-size: 8px; font-weight: 400; }
.vehicle-marker { filter: drop-shadow(0 0 10px rgba(107,211,164,.75)); }
.vehicle-marker circle:first-child { fill: rgba(107,211,164,.18); }
.vehicle-marker circle:last-child { fill: var(--mx-green); stroke: white; stroke-width: 2; }
.map-bottom-card { min-width: 260px; position: absolute; z-index: 4; right: 18px; bottom: 18px; padding: 14px; border: 1px solid var(--mx-line); border-radius: 13px; background: rgba(7,11,23,.84); backdrop-filter: blur(10px); }
.map-bottom-card > span { color: var(--mx-muted); font-size: 8px; }
.map-bottom-card strong { display: block; margin-top: 4px; font-size: 11px; }
.map-bottom-card small { display: block; margin-top: 3px; color: var(--mx-green); font-size: 8px; }

.checkout-dialog { width: min(520px, calc(100% - 28px)); padding: 0; border: 1px solid var(--mx-line); border-radius: 21px; color: var(--mx-ink); background: #0b1223; box-shadow: var(--mx-shadow); }
.checkout-dialog::backdrop { background: rgba(2,4,11,.76); backdrop-filter: blur(5px); }
.dialog-head { padding: 20px 22px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--mx-line); }
.dialog-head h2 { margin: 0; font-size: 20px; }
.dialog-head p { margin: 4px 0 0; color: var(--mx-muted); font-size: 8px; }
.dialog-close { width: 31px; height: 31px; border: 1px solid var(--mx-line); border-radius: 50%; color: var(--mx-muted); background: transparent; cursor: pointer; }
.dialog-body { padding: 21px 22px; }
.checkout-summary { overflow: hidden; border: 1px solid var(--mx-line); border-radius: 13px; }
.checkout-row { padding: 10px 13px; display: grid; grid-template-columns: 120px 1fr; gap: 12px; border-bottom: 1px solid var(--mx-line); font-size: 9px; }
.checkout-row:last-child { border-bottom: 0; }
.checkout-row span { color: var(--mx-muted); }
.checkout-row strong { overflow-wrap: anywhere; }
.demo-consent { margin: 18px 0; display: grid; grid-template-columns: 18px 1fr; gap: 9px; color: var(--mx-muted); font-size: 8px; line-height: 1.55; }
.demo-consent input { width: 16px; height: 16px; accent-color: var(--mx-gold); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
.dialog-actions .mx-button { min-height: 43px; }
.toast { min-width: 250px; position: fixed; z-index: 100; right: 22px; bottom: 22px; padding: 13px 15px; border: 1px solid rgba(107,211,164,.23); border-radius: 12px; color: var(--mx-ink); background: #11251f; box-shadow: var(--mx-shadow); font-size: 9px; transform: translateY(25px); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1000px) {
  .night-hero { grid-template-columns: 1fr .52fr; gap: 40px; }
  .night-hero h1 { font-size: clamp(55px, 8vw, 82px); }
  .night-console { margin-top: 95px; }
  .app-shell { grid-template-columns: minmax(390px, .9fr) 1.1fr; }
  .night-operation { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .mx-header { height: 70px; }
  .mx-header nav a:not(.mx-nav-action) { display: none; }
  .mx-brand > span:last-child small { display: none; }
  .night-hero { min-height: 1070px; padding-top: 120px; grid-template-columns: 1fr; }
  .night-hero h1 { font-size: clamp(53px, 15vw, 78px); }
  .night-hero-copy > p { font-size: 14px; }
  .night-assurances { margin-top: 36px; }
  .night-console { width: 100%; max-width: 480px; margin: 10px 0 0; justify-self: start; }
  .night-section-heading { display: block; }
  .night-section-heading > p { margin-top: 20px; }
  .fare-band { grid-template-columns: 1fr auto; }
  .fare-band > em { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .night-fare-grid { grid-template-columns: 1fr; }
  .night-fare-grid article { min-height: 220px; }
  .mx-footer { grid-template-columns: 1fr auto; gap: 20px; }
  .mx-footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .app-header .network-badge { display: none; }
  .app-topbar { align-items: start; }
  .app-service-status { min-width: 190px; }
  .app-shell { display: flex; flex-direction: column; }
  .app-controls { border-right: 0; }
  .map-panel { min-height: 520px; border-top: 1px solid var(--mx-line); }
  .network-map { min-height: 520px; }
}

@media (max-width: 520px) {
  .mx-mark { width: 34px; height: 34px; }
  .mx-header .mx-nav-action { min-height: 35px; padding: 0 12px; }
  .night-hero { min-height: 1110px; }
  .night-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .night-assurances { grid-template-columns: 1fr; gap: 10px; }
  .console-clock time { font-size: 54px; }
  .night-routes { padding-top: 75px; padding-bottom: 80px; }
  .fare-band { padding: 16px; }
  .fare-band > strong { font-size: 34px; }
  .night-operation { padding-top: 80px; padding-bottom: 80px; }
  .night-contact-actions { flex-direction: column; }
  .night-contact-actions a { width: 100%; }
  .app-header { padding: 0 14px; }
  .app-back { display: none; }
  .app-main { padding: 20px 10px 30px; }
  .app-topbar { display: block; }
  .prototype-notice { align-items: flex-start; flex-direction: column; }
  .trial-contacts { flex-wrap: wrap; }
  .app-service-status { margin-top: 14px; }
  .app-shell { border-radius: 18px; }
  .app-panel { padding: 22px 16px; }
  .app-form-grid { grid-template-columns: 1fr; }
  .app-field.full { grid-column: auto; }
  .vehicle-choice-grid, .payment-choice-grid { grid-template-columns: 1fr; }
  .paypal-choice { grid-column: auto; }
  .job-meta { grid-template-columns: 1fr 1fr; }
  .map-panel { min-height: 440px; }
  .network-map { min-height: 440px; }
  .map-topline { top: 11px; left: 11px; right: 11px; }
  .map-legend { display: none; }
  .map-bottom-card { left: 11px; right: 11px; bottom: 11px; min-width: 0; }
  .checkout-row { grid-template-columns: 92px 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .mx-button { width: 100%; }
}

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