/* AeroLink — shared styles (landing + shipping form) */

:root {
  --paper: #F3F4F2;
  --surface: #FFFFFF;
  --ink: #0B1526;
  --ink-2: #33405A;
  --muted: #5B6677;
  --line: #DADEE4;
  --line-strong: #C4CAD3;
  --accent: #F2542D;
  --accent-press: #D9431E;
  --accent-ink: #B8330F;
  --plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.9 13.6 10V4.6c0-1-.7-2.1-1.6-2.1s-1.6 1.1-1.6 2.1V10L3 12.9v2l7.4-1.8v4.6L8.2 19.3v1.6l3.8-1 3.8 1v-1.6l-2.2-1.6v-4.6l7.4 1.8z'/%3E%3C/svg%3E");   /* accent as small text on paper: 5.3:1 */
  --amber: #F5A524;
  --amber-press: #E08F0B;
  /* Green means one thing only: this shipment has landed, nothing left to do. One shade, one tint. */
  --success: #1F7A4C;
  --success-pale: #E3F1E9;
  /* Steel: secondary actions, links, in-progress statuses */
  --steel: #3A6186;
  --steel-press: #2E4F72;
  --steel-pale: #E6EDF4;
  --steel-light: #9DB8D6;
  --deck: #0B1526;
  --deck-2: #132038;
  --deck-3: #0F1B30;
  --deck-line: #22314F;
  --deck-text: #E6EAF1;
  --deck-muted: #8391A8;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: 64px;
  --radius: 10px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);          /* strong ease-out: entrances, feedback */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* on-screen movement */
  --lift: 8px;                                     /* entrance travel; 0 under reduced motion */

  /* Film grain: white for dark surfaces, ink for paper. Alpha is baked in, so it stays quiet. */
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --chev-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%238391A8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --chev-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%236B7688' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; interpolate-size: allow-keywords; }
a, button, label, summary, select, input, textarea { touch-action: manipulation; }
html { scroll-padding-top: 84px; }
section[id], #track, #ship { scroll-margin-top: 84px; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top 160ms var(--ease); }
.skip:focus { top: 12px; }
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--grain-dark), var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.ac { stroke: var(--amber); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 52px); text-wrap: balance; }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }

/* Aviation ruler: hairline with an amber tick every eighth of the width */
.ruler {
  position: relative; height: 7px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1px no-repeat,
    linear-gradient(90deg, var(--amber) 1px, transparent 1px) 0 0 / 12.5% 7px repeat-x;
}
.ruler::after { content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 7px; background: var(--amber); }
.ruler.on-dark { background: linear-gradient(var(--deck-line), var(--deck-line)) 0 0 / 100% 1px no-repeat, linear-gradient(90deg, var(--amber) 1px, transparent 1px) 0 0 / 12.5% 5px repeat-x; height: 5px; }
.ruler.on-dark::after { height: 5px; }

/* Live indicator: amber, gently pulsing — reserved for views that update */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font: 600 12px var(--mono); letter-spacing: .02em; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.steel { background: var(--steel-pale); color: var(--steel); }
.pill.ok { background: var(--success-pale); color: var(--success); }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--amber); animation: livepulse 2s ease-out infinite; }
@keyframes livepulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 8px 22px;
  border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform 160ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .arrow { display: none; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary, .btn-amber { background: var(--amber); color: var(--ink); }
.btn-primary:hover, .btn-amber:hover { background: var(--amber-press); }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: var(--steel-press); }
.btn-ghost { border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .15s; }


/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo small { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .08em; margin-left: 2px; }
.nav-menu { display: contents; }
.nav-links { order: 1; display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); white-space: nowrap; padding-block: 12px; margin-block: -12px; }
.nav-links a:hover { color: var(--ink); }
.lang { order: 2; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
.lang button {
  height: 32px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; cursor: pointer;
  font: 600 12px var(--mono); letter-spacing: .06em; color: var(--muted);
  transition: background .15s, color .15s;
}
.lang button { position: relative; min-width: 36px; }
.lang button::after { content: ""; position: absolute; inset: -7px -1px; }   /* 46px touch target, same look */
.cur-btn { position: relative; }
.cur-btn::after { content: ""; position: absolute; inset: -3px; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cur { order: 3; position: relative; }
.cur-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); cursor: pointer;
  font: 600 12px var(--mono); letter-spacing: .06em; color: var(--ink);
}
.cur-btn:hover { border-color: var(--ink); }
.cur-btn svg { color: var(--muted); }
.cur-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 220px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 16px -10px rgba(11, 21, 38, .35);
}
.cur-menu:focus { outline: none; }
.cur-menu li { display: flex; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.cur-menu li b { font: 700 12px var(--mono); letter-spacing: .06em; width: 34px; }
.cur-menu li span { color: var(--muted); }
.cur-menu li.active, .cur-menu li:hover { background: var(--paper); }
.cur-menu li[aria-selected="true"] b { color: var(--accent-press); }
.nav-cta { order: 4; display: flex; gap: 10px; }
.nav-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; }
@media (min-width: 1241px) {
  /* impeccable-disable-next-line layout-transition: one small element collapses once as the calculator enters view, so the nav never shows a hole */
  .nav-cta { max-width: 220px; padding: 3px; margin: -3px; overflow: hidden; transition: max-width 280ms var(--ease), opacity 200ms var(--ease), margin 280ms var(--ease); }
  .nav.cta-hidden .nav-cta { max-width: 0; opacity: 0; margin-inline-start: -23px; pointer-events: none; }
}
.menu-btn { order: 5; display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(28px, 5vh, 56px) clamp(32px, 4vw, 52px); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--deck); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    var(--grain-light),
    linear-gradient(90deg, rgba(8, 14, 27, .92) 0%, rgba(8, 14, 27, .74) 44%, rgba(8, 14, 27, .32) 100%),
    linear-gradient(0deg, rgba(8, 14, 27, .82) 0%, transparent 42%);
}
.hero .eyebrow { color: rgba(230, 234, 241, .72); }
.hero-proof { display: grid; gap: 12px; margin: 30px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 46ch; }
.hero-proof li { display: flex; align-items: center; gap: 9px; font: 500 13px/1.3 var(--mono); color: var(--deck-text); }
.hero-proof svg { width: 20px; height: 20px; color: #fff; flex: none; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "text calc" "track track";
  gap: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 72px); align-items: start;
}
.hero-grid > :first-child { grid-area: text; }
.hero-grid > .calc { grid-area: calc; }
.hero-grid > .track { grid-area: track; }
.hero-short { display: none; }
/* Top-aligned so the text doesn't jump when the quote result opens */
.hero-grid > :first-child { padding-top: 26px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-block: 22px 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { font-size: clamp(17px, 1.4vw, 19px); color: #D5DCE6; max-width: 46ch; }

/* ---------- Instant quote (dark instrument panel) ---------- */
/* impeccable-disable-next-line codex-grid-background: the calculator is drawn as a flight-deck instrument; the grid is its measurement surface */
.calc {
  position: relative;
  display: grid; gap: 16px;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 16px;
  background:
    var(--grain-light),
    linear-gradient(var(--deck-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--deck-line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--deck);
  background-blend-mode: normal, soft-light, soft-light, normal;
  color: var(--deck-text);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.calc-title { display: flex; align-items: center; gap: 8px; color: var(--deck-text); }
.calc-title i { width: 7px; height: 7px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.demo-chip { padding: 3px 7px; border: 1px dashed #5B6B88; border-radius: 5px; color: var(--amber); font-size: 11px; }
.calc .lbl { display: block; margin-bottom: 7px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--deck-muted); }

.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid var(--deck-line); border-radius: 10px; background: var(--deck-3); }
.dir label { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 6px 8px; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--deck-muted); text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
.dir input { position: absolute; opacity: 0; pointer-events: none; }
.dir label:hover { color: var(--deck-text); }
.dir label:has(input:checked) { background: #fff; color: var(--ink); }
.dir label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.swap {
  width: 40px; height: 40px; margin-bottom: 4px; display: grid; place-items: center;
  border: 1px solid var(--deck-line); border-radius: 50%; background: var(--deck-2); color: var(--deck-muted); cursor: pointer;
  transition: color .15s, border-color .15s, transform .3s var(--ease);
}
.swap:hover { color: var(--amber); border-color: #3A4D72; }
.swap.spin { transform: rotate(180deg); }
.dfield { display: flex; flex-direction: column; min-width: 0; }
.dfield input, .dfield select {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1px solid var(--deck-line); border-radius: 10px; background: var(--deck-2); color: #fff;
  font-size: 15px;
}
.dfield select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; appearance: none; -webkit-appearance: none; padding-right: 30px; background: var(--chev-dark) right 12px center no-repeat, var(--deck-2); cursor: pointer; }
.dfield select option { color: var(--ink); background: #fff; }
.dfield input::placeholder { color: #5E6C86; }
.dfield input:focus, .dfield select:focus { outline: none; border-color: var(--amber); background-color: var(--deck-3); box-shadow: 0 0 0 3px rgba(245, 165, 36, .22); }
.dfield.invalid input { border-color: #FF8A6B; }

.combo { position: relative; }
.combo input { padding-right: 44px; }
.combo .chip { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 2px 6px; border-radius: 4px; background: var(--accent); color: #fff; font: 700 10px var(--mono); letter-spacing: .06em; pointer-events: none; }
.combo-list {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max(100%, 280px);
  max-height: 290px; overflow: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--deck-3); border: 1px solid var(--deck-line); border-radius: 10px;
  box-shadow: 0 12px 16px -8px rgba(0, 0, 0, .55);
}
.combo-list.to-left { left: auto; right: 0; }
.combo-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.combo-list li .c { color: #fff; font-weight: 600; }
.combo-list li .k { color: var(--deck-muted); font-size: 13px; }
.combo-list li code { margin-left: auto; font: 700 10px var(--mono); letter-spacing: .06em; color: var(--deck-muted); border: 1px solid var(--deck-line); border-radius: 4px; padding: 1px 5px; }
.combo-list li.active, .combo-list li:hover { background: rgba(255, 255, 255, .06); }
.combo-list li.active code { color: var(--amber); border-color: var(--amber); }
.calc-fx { margin: -4px 0 12px; font-size: 12px; line-height: 1.45; color: var(--amber); }
/* Simulated data is labelled as such */
.sim-chip { display: inline-block; margin-right: 8px; padding: 2px 7px; border: 1px solid rgba(245, 166, 35, .45); border-radius: 4px; font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
/* Phone quote shortcut */
.qbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: flex; padding: 8px; border-radius: 12px; background: rgba(12, 22, 40, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(10, 18, 34, .28); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
@starting-style { .qbar { opacity: 0; transform: translateY(12px); } }
.qbar[hidden] { display: none; }
.qbar .btn { flex: 1; justify-content: center; height: 48px; }
body.has-qbar .help { bottom: calc(84px + env(safe-area-inset-bottom)); }
.combo-list .none { color: var(--deck-muted); font-size: 13px; cursor: default; }
.combo-list .combo-head { padding: 6px 10px 4px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--deck-muted); cursor: default; }
.combo-list .combo-head:hover { background: none; }

.wc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 10px; align-items: start; }
.kg { display: flex; height: 48px; border: 1px solid var(--deck-line); border-radius: 10px; overflow: hidden; background: var(--deck-2); }
.kg button { width: 40px; flex: none; border: 0; background: transparent; color: var(--deck-text); font-size: 20px; cursor: pointer; }
.kg button:hover { background: rgba(255, 255, 255, .05); color: var(--amber); }
.kg-val { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px; border-inline: 1px solid var(--deck-line); }
.kg-val input { width: 4.5ch; min-width: 0; border: 0; background: transparent; text-align: right; font: 700 20px var(--mono); color: #fff; -moz-appearance: textfield; appearance: textfield; }
.kg-val input::-webkit-inner-spin-button, .kg-val input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kg-val input:focus { outline: none; }
.kg:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 165, 36, .22); }
.kg-val span { font: 500 13px var(--mono); color: var(--deck-muted); }
.inline-note { display: flex; gap: 8px; margin-top: 8px; font-size: 13px; line-height: 1.4; color: #FFD58A; }
.inline-note svg { flex: none; margin-top: 1px; }
.other-desc { margin-top: 8px; }

.wc.docs { grid-template-columns: 1fr; }
.calc-idle { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 14px; border: 1px dashed rgba(245, 165, 36, .35); border-radius: 10px; background: rgba(245, 165, 36, .05); color: var(--deck-muted); }
.calc-idle .idle-ic { flex: none; color: var(--amber); }
.idle-copy { display: grid; gap: 2px; min-width: 0; }
.idle-copy b { font: 600 14px/1.3 var(--sans); color: #fff; }
.idle-copy span { font-size: 13px; line-height: 1.4; }
.calc-final { margin-top: -6px; font-size: 12.5px; color: var(--deck-muted); }
.calc-how { color: var(--deck-text); text-underline-offset: 3px; white-space: nowrap; }
.calc-how:hover { color: var(--amber); }
.env { display: grid; gap: 6px; }
.env-opt {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--deck-line); border-radius: 10px; background: rgba(255, 255, 255, .02); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.env-opt input { position: absolute; opacity: 0; pointer-events: none; }
.env-opt:hover { border-color: #3A4D72; }
.env-opt:has(input:checked) { border-color: var(--amber); background: rgba(245, 165, 36, .07); }
.env-opt:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.env-ic { justify-self: center; color: var(--deck-text); }
.env-ic.s { width: 20px; height: 20px; }
.env-ic.l { width: 26px; height: 26px; }
.env-ic.r { width: 30px; height: 30px; }
.env-txt b { display: block; font-size: 14px; color: #fff; line-height: 1.25; }
.env-txt span { display: block; font-size: 12.5px; color: var(--deck-muted); line-height: 1.35; }
.env-opt code { font: 700 11px var(--mono); color: var(--deck-muted); border: 1px solid var(--deck-line); border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.env-opt:has(input:checked) code { color: var(--amber); border-color: rgba(245, 165, 36, .5); }
.env-note { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--deck-muted); }
.calc-err { font: 500 13px var(--mono); color: #FF8A6B; margin-top: -4px; }
.calc-result { display: grid; gap: 14px; padding-top: 16px; border-top: 1px dashed var(--deck-line); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.calc-price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.calc-price .k { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--deck-muted); }
.calc-price .v { font: 700 clamp(28px, 2.8vw, 36px)/1.05 var(--mono); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.ccy { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 6px; border: 1px solid var(--deck-line); border-radius: 4px; font: 700 11px var(--mono); letter-spacing: .08em; color: var(--deck-muted); }
.bd { display: grid; gap: 7px; margin: 0; font: 500 12.5px var(--mono); }
.bd div { display: flex; align-items: baseline; gap: 8px; }
.bd dt { color: var(--deck-muted); }
.bd dd { margin: 0 0 0 auto; color: var(--deck-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bd .lead { flex: 1; border-bottom: 1px dotted #33456A; transform: translateY(-3px); }
.bd .ccy { display: none; }
.send { width: 100%; height: 50px; font-size: 16px; }
.calc-fine { font-size: 12px; color: var(--deck-muted); }

/* ---------- Track bar ---------- */
.track {
  background: var(--surface);
  border: 0;
  color: var(--ink);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .6);
  border-radius: 12px;
  padding: 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
}
.track label { font: 600 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.track label svg { color: var(--ink); }
.track input {
  height: 48px; width: 100%;
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 0 16px; background: var(--paper);
  font-family: var(--mono); font-size: 16px; letter-spacing: .04em;
}
.track input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(11, 21, 38, .12); }
.track-recent { grid-column: 2 / -1; justify-self: start; margin-top: -8px; padding: 6px 10px; border: 1px dashed var(--line-strong); border-radius: 6px; background: transparent; font: 500 12.5px var(--mono); color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.track-recent:hover { border-color: var(--ink); color: var(--ink); }
.track-error { grid-column: 2 / -1; font: 500 13px var(--mono); color: var(--accent-ink); margin-top: -8px; }
.track-result { grid-column: 1 / -1; border-top: 1px dashed var(--line-strong); padding-top: 18px; }
.track-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; font: 500 13px var(--mono); }
.track-head { align-items: center; }
.track-head .demo { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { position: relative; padding-top: 22px; padding-right: 12px; font-size: 14px; }
.steps li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.steps li.done::before, .steps li.now::before { background: var(--ink); }
.steps li.now::before { background: linear-gradient(90deg, var(--ink) 30%, var(--line) 30%); }
.steps li.done::after { background: var(--ink); border-color: var(--ink); }
.steps li.delivered::before { background: var(--success); }
.steps li.delivered::after { background: var(--success); border-color: var(--success); box-shadow: 0 0 0 4px var(--success-pale); }
.steps li.delivered b { color: var(--success); }
.steps li.now::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242,84,45,.18); }
.steps b { display: block; font-weight: 600; }
.steps span { display: block; font: 400 12px/1.5 var(--mono); color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding-block: var(--section); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat .num { font: 600 clamp(36px, 4.4vw, 56px)/1 var(--sans); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .5em; color: var(--muted); font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.stat .num.txt { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.65; }
.stat .lbl { margin-top: 10px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

/* ---------- Sections ---------- */
section.block { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 0; text-wrap: balance; }
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }

/* ---------- Coverage (dotted chart underlay) ---------- */
#regions { position: relative; isolation: isolate; }
#regions::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(11, 21, 38, .16) 1px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}

.chart {
  position: relative;
  background: var(--grain-light), var(--deck);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2.35 / 1;
  margin-bottom: 16px;
  box-shadow: 0 30px 60px -30px rgba(11, 21, 38, .45);
}
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 55% 45%, transparent 55%, rgba(6, 12, 24, .55) 100%); }
.chart .grat { stroke: var(--deck-line); stroke-width: .6; opacity: .7; }
.chart .land { fill: #34496F; opacity: 0; transition: opacity 1.2s ease; }
.chart .land.in { opacity: 1; }
.chart .route { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; opacity: .85; }
.chart .ap-dot { fill: var(--deck-text); }
.chart .hub-dot { fill: var(--accent); }
.chart .home-dot { fill: var(--amber); }
.chart .home-ring { fill: none; stroke: var(--amber); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.chart .ap-label { font: 500 11px var(--mono); fill: #B9C4D6; letter-spacing: .04em; paint-order: stroke; stroke: var(--deck); stroke-width: 3px; stroke-linejoin: round; }
.chart .hub-label { fill: var(--deck-text); font-weight: 700; font-size: 11px; }
.chart .home-label { fill: var(--amber); font-weight: 700; font-size: 12px; }
.chart .grat-label { font: 500 9px var(--mono); fill: #4A5B7C; letter-spacing: .06em; }
.chart .plane { fill: #fff; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.chart-hud {
  position: absolute; inset: 14px 14px auto 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  font: 500 11px/1.3 var(--mono); color: var(--deck-muted); letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.live { display: inline-flex; align-items: center; gap: 9px; color: var(--deck-text); background: rgba(255,255,255,.06); border: 1px solid var(--deck-line); padding: 6px 10px; border-radius: 6px; }
.readout {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 8px 26px; flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--deck-line);
  background: rgba(9, 17, 31, .88);
  backdrop-filter: blur(6px);
  color: var(--deck-text);
  font: 500 12px/1.4 var(--mono);
}
.readout .k { color: var(--deck-muted); margin-right: 8px; letter-spacing: .06em; }
.readout .row:last-child { margin-left: auto; }
.readout #ro-rte { color: #fff; font-weight: 700; }

.network { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.region { display: flex; flex-direction: column; background: var(--surface); padding: 22px 22px 20px; }
.region h3 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 17px; }
.region h3 span { font: 700 11px var(--mono); letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 6px; }
.region ul { list-style: none; margin: 0; padding: 0; }
.region li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--paper); font-size: 14px; color: var(--ink-2); }
.region li code { font: 700 13px var(--mono); color: var(--ink); width: 34px; flex: none; }
.region li.more { color: var(--muted); }
.region li.more code { color: var(--accent-ink); }

/* ---------- Departures board ---------- */
.deck { background: var(--grain-light), var(--deck); color: var(--deck-text); }
.deck .eyebrow { color: var(--deck-muted); }
.deck .section-head p { color: var(--deck-muted); }
.board { border: 1px solid var(--deck-line); border-radius: 12px; overflow: hidden; background: var(--deck-2); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 12px; font: 500 12px var(--mono); color: var(--deck-muted); letter-spacing: .06em; text-transform: uppercase; }
.board-top .l, .board-top .r { display: flex; align-items: center; gap: 12px; }
.board-top .on-air { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); }
.board-top time { color: var(--deck-text); font-variant-numeric: tabular-nums; }
.board-scroll { overflow-x: auto; }
table.lanes { width: 100%; border-collapse: collapse; font: 500 14px var(--mono); min-width: 900px; font-variant-numeric: tabular-nums; }
.lanes th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--deck-muted); padding: 12px 18px; border-bottom: 1px solid var(--deck-line); white-space: nowrap; }
.lanes td { padding: 14px 18px; border-bottom: 1px solid var(--deck-line); white-space: nowrap; }
.lanes tr:last-child td { border-bottom: 0; }
.lanes .route-cell b { color: #fff; font-weight: 700; }
.lanes .route-cell i { font-style: normal; color: var(--accent); padding-inline: 8px; }
.lanes .dim { color: var(--deck-muted); }
.lanes .fl { color: #8EC2FF; }
.lanes .fuel { color: #C9D1DE; }
.flap { display: inline-flex; gap: 1px; }
.flap span {
  display: inline-block; width: 1.1em; text-align: center;
  background: #0A1322; border-radius: 3px; padding: 3px 1px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.04), inset 0 1px 0 rgba(0,0,0,.4);
  font-weight: 700; font-size: 13px;
  background-image: linear-gradient(transparent calc(50% - .5px), rgba(0,0,0,.55) calc(50% - .5px), rgba(0,0,0,.55) calc(50% + .5px), transparent calc(50% + .5px));
}
.st-ontime, .st-bookable { color: #CFE0F2; }
.st-open { color: #FFD166; }
.st-closed { color: var(--deck-muted); }
.lanes.cal .day { font-weight: 700; color: #fff; }
.lanes.cal tr.is-closed td { color: var(--deck-muted); }
.cal-next { margin: 0; padding: 14px 20px 16px; border-top: 1px solid var(--deck-line); font: 500 13px/1.5 var(--mono); color: var(--amber); }
.corr-more { display: none; }
.st-airborne { color: #8EC2FF; }
.st-loading { color: #FFD166; }
.st-landed { color: var(--deck-text); }
.st-delayed { color: #FF8A6B; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.step { position: relative; padding-right: 28px; }
.step-ic {
  position: relative; width: 56px; height: 56px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 14px; background: var(--surface); color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.step-ic svg { width: 30px; height: 30px; }
.step-ic b { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: #fff; font: 700 11px var(--mono); }
.step:last-child .step-ic b { background: var(--accent-ink); }
.step-top { display: flex; align-items: center; gap: 14px; }
.step-top h3 { margin: 0; }
/* the route: each step draws its own dashed leg towards the next one */
.step-top::after { content: ""; flex: 1; min-width: 16px; border-top: 1.5px dashed var(--line-strong); margin-inline-end: -28px; }
.step:last-child .step-top::after { display: none; }
.step .t { font: 500 12px var(--mono); color: var(--muted); margin: 14px 0 10px; letter-spacing: .06em; text-transform: uppercase; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 15px; max-width: 30ch; }

/* ---------- Photo band ---------- */
.band { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 72vh, 700px); overflow: hidden; background: var(--deck); color: #fff; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background:
    var(--grain-light),
    linear-gradient(270deg, rgba(8, 14, 27, .9) 0%, rgba(8, 14, 27, .55) 40%, rgba(8, 14, 27, 0) 68%),
    linear-gradient(0deg, rgba(8, 14, 27, .6), transparent 45%);
}
.band-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 8vw, 96px); }
.band-copy { max-width: 430px; margin-left: auto; }
.band-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  font: 500 12px var(--mono); letter-spacing: .08em; color: var(--deck-text);
}
.band-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.band h2 { margin: 20px 0 16px; font-size: clamp(32px, 3.8vw, 50px); text-wrap: balance; }
.band p { font-size: 17px; color: #C9D1DE; }

/* ---------- Customer stories ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.trust-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--deck); }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.trust-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px;
  background: rgba(11, 21, 38, .8); color: var(--deck-text);
  font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.trust-photo figcaption i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.stories-h { margin-top: 0; font-size: clamp(26px, 2.8vw, 36px); }
.stories { display: grid; gap: 36px; margin-top: 28px; }
blockquote { margin: 0; }
.story-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story-tag b { color: var(--ink); font-weight: 700; }
.story-tag i { font-style: normal; color: var(--accent); }
blockquote p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.38; letter-spacing: -0.01em; font-weight: 500; text-wrap: pretty; }
blockquote p::before { content: "\201C"; color: var(--accent); margin-left: -.45em; }
blockquote p::after { content: "\201D"; color: var(--accent); }
blockquote footer { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 13px var(--mono); flex: none; }
blockquote footer b { display: block; }
blockquote footer span { font-size: 14px; color: var(--muted); }

/* ---------- Business ---------- */
.biz {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px;
  padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.biz h2 { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 36px); }
.biz p { max-width: 58ch; color: var(--ink-2); }
.biz-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Light form fields (business band, shipping page) ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.field label .req, .field .label .req { color: var(--accent-ink); }
.field label .opt { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 14px;
  background: var(--paper); width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 32px; background: var(--chev-light) right 12px center no-repeat, var(--paper); cursor: pointer; }
.field textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 3px rgba(11, 21, 38, .12); }
.field input[readonly] { color: var(--ink-2); background: var(--surface); border-style: dashed; }
.field .hint { font-size: 13px; color: var(--muted); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.done-box { grid-column: 1 / -1; align-self: start; padding: 22px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 10px; }
.qd-h { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.phone { display: flex; gap: 8px; }
.phone select { width: 118px; flex: none; font-family: var(--mono); font-size: 14px; }

/* ---------- Footer ---------- */
footer.site { background: var(--grain-light), var(--deck); color: var(--deck-muted); padding-block: 0 36px; font-size: 14px; }
footer.site .ruler { margin-bottom: 60px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
footer.site .logo { color: #fff; }
footer.site h4, footer.site .foot-h { margin: 0 0 14px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--deck-text); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--deck-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 500 12px var(--mono); }
.foot-bottom a { color: var(--steel-light); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Help chat ---------- */
.help { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; }
.help-btn {
  position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; background: var(--ink); color: #fff; cursor: pointer;
  font: 600 14px var(--sans);
  box-shadow: 0 12px 28px -12px rgba(11, 21, 38, .6);
  transition: transform .2s var(--ease), background .15s;
}
.help-btn:hover { background: #16233B; }
.help-badge { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px var(--mono); }
.help-panel {
  position: absolute; right: 0; bottom: 56px; width: 350px; max-height: min(520px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 16px -10px rgba(11, 21, 38, .4);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(8px) scale(0.97); pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.help-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.help-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; background: var(--grain-light), var(--ink); color: #fff; }
.help-title { display: block; font-size: 15px; font-weight: 600; }
.help-status { display: flex; align-items: center; gap: 7px; margin-top: 3px; font: 500 11px var(--mono); letter-spacing: .04em; color: var(--deck-muted); }
.help-status i { width: 6px; height: 6px; border-radius: 50%; background: #5B6B88; }
.is-live .help-status i { background: var(--amber); }
.help-close { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.help-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.msg.sys { background: var(--paper); color: var(--ink-2); }
.msg.agent { background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.help-form { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.help-form input, .help-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); padding: 9px 11px; font-size: 14px; resize: none; }
.help-form input:focus, .help-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(11, 21, 38, .12); }
.help-row { display: flex; gap: 8px; align-items: stretch; }
.help-row .btn { height: auto; padding: 0 14px; font-size: 14px; }

/* ---------- Shipping page ---------- */
.ship-summary { position: sticky; top: 68px; z-index: 40; background: var(--grain-light), var(--deck); color: var(--deck-text); box-shadow: 0 10px 30px -18px rgba(11, 21, 38, .6); }
.ship-summary .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 28px; padding-block: 14px; font: 500 13px var(--mono); }
.ship-summary .rt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #fff; }
.ship-summary .rt i { font-style: normal; color: var(--accent); }
.ship-summary .kv { display: flex; gap: 8px; }
.ship-summary .kv span { color: var(--deck-muted); }
.ship-summary .price { margin-left: auto; display: flex; align-items: baseline; gap: 8px; }
.ship-summary .price .amt { font-size: 20px; font-weight: 700; color: #fff; }
.ship-summary .price .ccy { margin: 0; }
.ship-summary a { color: var(--steel-light); font-size: 12px; }
.ship-summary a:hover { color: #fff; }
.ship-main { max-width: 780px; margin-inline: auto; padding: 48px var(--gutter) clamp(56px, 7vw, 88px); }
.ship-intro { margin-bottom: 28px; }
.ship-intro h1 { font-size: clamp(32px, 4vw, 44px); margin: 16px 0 10px; }
.ship-intro p { color: var(--ink-2); font-size: 17px; }
.fs { position: relative; margin-bottom: 16px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.fs-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.fs-head .n { font: 700 11px var(--mono); letter-spacing: .08em; color: var(--muted); padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 4px; }
.fs-head h2 { font-size: 20px; letter-spacing: -0.01em; }
.fs-head .aside { margin-left: auto; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card svg { width: 30px; height: 30px; flex: none; color: var(--ink); }
.opt-card b { display: block; font-size: 15px; line-height: 1.3; }
.opt-card span { font-size: 13px; color: var(--muted); }
.opt-card:hover { border-color: var(--ink-2); }
.opt-card:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sub { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.points { display: grid; gap: 8px; }
.point { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.point input { accent-color: var(--ink); }
.point b { font-size: 15px; }
.point span { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); }
.point:has(input:checked) { border-color: var(--ink); }
.marks { display: flex; flex-wrap: wrap; gap: 10px; }
.mark { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15px; }
.mark input { position: absolute; opacity: 0; pointer-events: none; }
.mark svg { width: 26px; height: 26px; color: var(--ink); }
.mark:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.mark:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.total { background: var(--grain-light), var(--deck); color: var(--deck-text); border-color: var(--deck); }
.total .fs-head h2 { color: #fff; }
.total .fs-head .n { color: var(--deck-muted); border-color: var(--deck-line); }
.total .bd { font-size: 14px; gap: 10px; }
.total .bd .grand { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--deck-line); }
.total .bd .grand dt { color: #fff; font-weight: 700; }
.total .bd .grand dd { font-size: 22px; font-weight: 700; color: #fff; }
.total .bd .grand .ccy { display: inline-block; }
.total-note { margin-top: 14px; font-size: 12.5px; color: var(--deck-muted); }
.total-note.light { color: var(--muted); }
.field .hint.link { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.submit-row small { color: var(--muted); font-size: 13px; max-width: 44ch; }
.magic { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.magic button { padding: 0; border: 0; background: none; color: var(--steel); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.empty-state { padding: 48px 28px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface); }
.empty-state p { color: var(--ink-2); margin: 10px 0 20px; }
.confirm { text-align: center; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); animation: rise .3s var(--ease); }
.confirm .eyebrow { justify-content: center; }
.confirm-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 14px 0 22px; }
.confirm h1 { font-size: clamp(28px, 3.6vw, 40px); }
.confirm-panel { max-width: 540px; margin: 0 auto 22px; padding: 22px clamp(16px, 3vw, 28px); border-radius: 14px; background: var(--success-pale); }
.trk-label { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.trk-big { display: flex; justify-content: center; margin: 8px 0 18px; font: 700 clamp(34px, 6.4vw, 56px)/1 var(--mono); color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.trk-big .tk { display: inline-block; min-width: .62em; color: rgba(11, 21, 38, .28); transition: color .12s; }
.trk-big .tk.set { color: var(--ink); }
.trk-big .tk.sp { min-width: .4em; }
.confirm p { color: var(--ink-2); max-width: 46ch; margin: 0 auto; }
.confirm .final { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ok-recap { display: grid; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid rgba(31, 122, 76, .18); font: 500 13px var(--mono); text-align: left; }
.ok-recap div { display: flex; gap: 24px; justify-content: space-between; align-items: baseline; }
.ok-recap dt { color: var(--ink-2); }
.ok-recap dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.ok-recap .ccy { margin-left: 6px; color: var(--ink-2); border-color: rgba(11, 21, 38, .15); }
.confirm .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.confirm .fine { margin-top: 20px; font-size: 12.5px; color: var(--muted); }

/* Corridor transit times (coverage section) */
.corridors { margin-top: 16px; border-radius: 12px; overflow: hidden; background: var(--grain-light), var(--deck); color: var(--deck-text); }
.corr-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px 11px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--deck-muted); }
.corr-top .l { display: flex; align-items: center; gap: 10px; color: var(--deck-text); }
.corr-top .l svg { color: var(--deck-text); }
.corr-top .r { display: none; }
.corr-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1px; background: var(--deck-line); }
.corr-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: var(--deck); border-top: 1px solid var(--deck-line); font: 500 13.5px var(--mono); }
.corr-rt b { color: #fff; font-weight: 700; }
.corr-rt i { font-style: normal; color: var(--accent); padding-inline: 7px; }
.corr-rt span { margin-left: 12px; font-family: var(--sans); font-size: 14px; color: var(--deck-muted); }
.corr-tt { display: flex; align-items: center; gap: 14px; }
.corr-tt b { min-width: 7.5ch; text-align: right; color: var(--deck-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge { position: relative; width: 96px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #22314F 1px, transparent 1px) 0 0 / calc(100% / 7) 100%, #16233B; }
.gauge span { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 3px; background: var(--amber); }

/* Network facts (under the stories) */
/* Network ticker: full-bleed strip above the photo band */
.ticker-band { position: relative; background: var(--grain-light), var(--deck); color: var(--deck-text); border-bottom: 1px solid var(--deck-line); }
.ticker-row { display: flex; align-items: stretch; }
/* impeccable-disable-next-line clipped-overflow-container: the ticker must clip its looping track; nothing inside needs to escape */
.ticker { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
/* impeccable-disable-next-line marquee: scrolling network ticker requested by the client; pauses on hover, focus or tap, static under reduced motion */
.ticker-track { display: flex; width: max-content; margin: 0; animation: ticker var(--tick-dur, 44s) linear infinite; }
.ticker { cursor: pointer; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
.ticker:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
@keyframes ticker { to { transform: translateX(-50%); } }
/* Each destination is a stop on a flight strip: round flag stamp, figure, then a plane on a dashed path to the next */
.tick { position: relative; display: flex; align-items: center; gap: 24px; flex: none; padding: 22px 118px 22px 0; transition: opacity 240ms var(--ease); }
.tick::before { content: ""; position: absolute; right: 24px; top: 50%; width: 70px; border-top: 1.5px dashed rgba(245, 165, 36, .55); }
.tick::after {
  content: ""; position: absolute; right: 44px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--amber);
  -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat;
  transform: rotate(90deg);
}
.tick dt { position: relative; flex: none; width: 46px; height: 46px; }
.tick .flag { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--deck), 0 0 0 3px rgba(255, 255, 255, .22); display: block; }
.tick dt span { position: absolute; right: -10px; bottom: -4px; padding: 2px 5px; border-radius: 4px; background: var(--amber); color: var(--ink); font: 700 11px/1.2 var(--mono); letter-spacing: .04em; box-shadow: 0 0 0 2px var(--deck); }
.tick dd { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tick dd b { font: 700 28px/1 var(--mono); color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .ticker-track:hover .tick { opacity: .42; }
  .ticker-track .tick:hover { opacity: 1; }
}
.tick dd span { font-size: 14px; color: var(--deck-muted); white-space: nowrap; }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); flex: none; }


/* FAQ: native details/summary; opens smoothly where ::details-content is supported */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro h2 { margin: 0 0 14px; }
.faq-intro p { color: var(--ink-2); font-size: 18px; max-width: 34ch; margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 2px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform 220ms var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { max-width: 68ch; padding: 0 2px 20px; color: var(--ink-2); font-size: 16px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease), content-visibility 260ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--steel); } }

/* Private shipment view */
.sv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 12px; }
.sv-head h1 { font-size: clamp(28px, 4vw, 40px); }
.sv-head h1 i { font-style: normal; color: var(--accent); }
.sv-delivered { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: var(--success-pale); color: var(--success); font-weight: 600; }
.sv-trk { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.sv-trk b { font: 700 24px var(--mono); letter-spacing: .02em; }
.sv-facts { display: grid; gap: 10px; margin: 0; font: 500 14px var(--mono); }
.sv-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dotted var(--line-strong); }
.sv-facts dt { color: var(--muted); }
.sv-facts dd { margin: 0; text-align: right; font-weight: 700; }
.sv-demo { margin-top: 8px; font-size: 13px; color: var(--muted); }


/* ---------- Motion ----------
 * Only where it bridges a change the eye would otherwise miss. transform + opacity only.
 * Entrances use @starting-style so they retarget instead of restarting when toggled quickly. */

/* Selectable cards: same press feedback as buttons, a touch subtler */
.dir label, .env-opt, .opt-card, .mark, .point, .kg button { transition: background .15s, border-color .15s, color .15s, transform 160ms var(--ease); }
.dir label:active, .env-opt:active, .opt-card:active, .mark:active, .point:active, .kg button:active { transform: scale(0.98); }

/* Content that appears in place: fade + short rise */
.calc-result, .env, .inline-note, .other-desc, .track-result, .biz-form, .calc-idle, .calc-err {
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
@starting-style {
  .calc-result, .track-result, .biz-form { opacity: 0; transform: translateY(var(--lift)); }
  .env, .inline-note, .other-desc, .calc-idle, .calc-err { opacity: 0; transform: translateY(calc(var(--lift) * -0.5)); }
}

/* Menus grow from their trigger */
.combo-list { transform-origin: top left; transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.combo-list.to-left { transform-origin: top right; }
.cur-menu { transform-origin: top right; transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
@starting-style {
  .combo-list, .cur-menu { opacity: 0; transform: scale(0.97); }
}
.nav.open .nav-menu { transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
@starting-style {
  .nav.open .nav-menu { opacity: 0; transform: translateY(calc(var(--lift) * -0.75)); }
}

/* Tracking timeline: milestones arrive in order */
.steps li { transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.steps li:nth-child(2) { transition-delay: 40ms; }
.steps li:nth-child(3) { transition-delay: 80ms; }
.steps li:nth-child(4) { transition-delay: 120ms; }
.steps li:nth-child(5) { transition-delay: 160ms; }
@starting-style {
  .steps li { opacity: 0; transform: translateY(calc(var(--lift) * 0.5)); }
}

/* Group reveals: children stagger once their container is in view (ui.js adds .in and --i) */
.stagger > * { opacity: 0; transform: translateY(var(--lift)); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.stagger.in > * { opacity: 1; transform: none; }

/* Rare moments get the delight budget */
.confirm .pill { animation: settle 320ms var(--ease) 420ms both; }
@keyframes settle { from { opacity: 0; transform: scale(0.9); } }
.sv-delivered path { stroke-dasharray: 12; stroke-dashoffset: 12; animation: draw 360ms var(--ease) 260ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hover motion only where hover is real */
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow { transform: translateX(3px); }
  .step:hover .step-ic { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(11, 21, 38, .45); }
  .help-btn:hover { transform: translateY(-1px); }
}

.reveal { opacity: 0; transform: translateY(calc(var(--lift) * 1.5)); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-menu { display: none; }
  .menu-btn { display: block; }
  .lang { margin-left: auto; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; gap: 22px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--paper); padding: 20px var(--gutter) 24px;
    border-block: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 21, 38, .35);
  }
  .nav.open .nav-links { flex-direction: column; gap: 16px; margin: 0; }
  .nav.open .nav-links a { font-size: 17px; margin-block: 0; padding-block: 10px; }
  .nav.open .nav-cta .btn { flex: 1; height: 46px; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "track" "calc"; row-gap: 20px; min-height: 0; }
  .hero-grid > :first-child { padding-top: 8px; }
  .hero-bg::after { background: var(--grain-light), linear-gradient(180deg, rgba(8, 14, 27, .6) 0%, rgba(8, 14, 27, .85) 60%, rgba(8, 14, 27, .95) 100%); }
  .hero-bg img { object-position: 62% 60%; }
  .network { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step-top::after { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-photo { aspect-ratio: 16 / 10; }
  .trust-photo img { object-position: center 35%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chart { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .tick { padding: 18px 92px 18px 0; gap: 22px; }
  .tick::before { width: 54px; right: 20px; }
  .tick::after { right: 38px; width: 16px; height: 16px; margin-top: -8px; }
  .tick dt, .tick .flag { width: 40px; height: 40px; }
  .tick dd b { font-size: 22px; }
  .corr-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
  /* Phones: tracking is a compact one-line bar */
  .track { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 14px 14px; }
  .track label { grid-column: 1 / -1; font-size: 11px; }
  .track .btn { height: 48px; padding-inline: 16px; }
  .track-error, .track-recent { grid-column: 1 / -1; margin-top: -2px; }
  .hero-lede, .hero-proof { display: none; }
  .hero-short { display: block; font-size: 16px; line-height: 1.5; color: #D5DCE6; max-width: 36ch; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 16px 26px; }
  .steps li::before { top: 12px; bottom: -2px; left: 5px; right: auto; width: 2px; height: auto; }
  .steps li:last-child::before { display: none; }
  .steps li.now::before { background: var(--line); }
  .biz { grid-template-columns: minmax(0, 1fr); }
  .biz > .btn { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 10px; }
  .biz-form { grid-template-columns: 1fr 1fr; }
  .ship-summary .price { margin-left: 0; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 8px; }
  .tick { padding: 16px 78px 16px 0; gap: 20px; }
  .tick::before { width: 44px; right: 18px; }
  .tick::after { right: 32px; }
  .tick dt, .tick .flag { width: 36px; height: 36px; }
  .tick dd b { font-size: 19px; }
  .tick dd span { font-size: 13px; }
  .logo small { display: none; }
  .lang button { padding: 0 7px; }
  .cur-btn { padding: 0 8px; }
  .process { grid-template-columns: 1fr; }
  .network { display: none; }
  .corr-more { display: block; margin: 0; padding: 14px; border-top: 1px solid var(--deck-line); font-size: 13.5px; line-height: 1.5; color: var(--deck-text); }
  .cal-next { padding: 12px 16px 14px; font-size: 12.5px; }
  .lanes.cal th, .lanes.cal td { padding-inline: 6px; }
  .lanes.cal th:first-child, .lanes.cal td:first-child { padding-left: 14px; }
  .lanes.cal th:last-child, .lanes.cal td:last-child { padding-right: 10px; }
  .lanes.cal tbody tr:nth-child(n+6) { display: none; }
  .lanes.cal .flap span { font-size: 9px; }
  .lanes.cal th { white-space: normal; line-height: 1.3; vertical-align: bottom; }
  .biz-form, .grid2, .opt-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 16px 28px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); margin-block: 10px 8px; }
  .hero-grid { row-gap: 16px; }
  .calc { gap: 12px; padding: 14px; border-radius: 14px; }
  .dir label { font-size: 12px; min-height: 36px; padding: 4px 6px; }
  .calc .lbl { margin-bottom: 5px; font-size: 11px; }
  .dfield input, .dfield select { height: 44px; font-size: 15px; }
  .dfield select { padding-left: 10px; padding-right: 26px; background-position: right 8px center, 0 0; }
  .route { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .route .swap { position: absolute; left: 50%; bottom: 7px; z-index: 2; width: 30px; height: 30px; margin: 0 0 0 -15px; background: var(--deck-3); }
  .route .swap::after { content: ""; position: absolute; inset: -7px -2px; }
  .combo input { padding-right: 34px; }
  .wc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .kg { height: 44px; }
  .kg button { width: 36px; }
  .kg-val input { font-size: 18px; }
  .calc-idle { min-height: 0; padding: 10px 12px; gap: 10px; }
  .idle-copy b { font-size: 13.5px; }
  .idle-copy span { font-size: 12.5px; }
  .band { min-height: 560px; }
  .band > img { object-position: 42% center; }
  .band-copy { margin-left: 0; }
  .band::after { background: var(--grain-light), linear-gradient(0deg, rgba(8, 14, 27, .96) 22%, rgba(8, 14, 27, .45) 62%, rgba(8, 14, 27, .15)); }
  .band p { font-size: 16px; }
  .trust-photo { aspect-ratio: 4 / 3; }
  .readout { gap: 6px 16px; font-size: 11px; }
  .readout .row:last-child { margin-left: 0; }
  .readout .opt { display: none; }
  .chart { aspect-ratio: 4 / 3.4; }
  table.lanes { min-width: 0; font-size: 13px; }
  .lanes .xs-hide { display: none; }
  .lanes th, .lanes td { padding: 13px 8px; }
  .lanes th:last-child, .lanes td:last-child { padding-right: 12px; }
  .lanes th:first-child, .lanes td:first-child { padding-left: 16px; }
  .lanes .route-cell i { padding-inline: 4px; }
  .flap { gap: 0; }
  .flap span { font-size: 10px; width: 1.05em; border-radius: 2px; }
  .board-top .r .utc-label { display: none; }
  /* the map is drawn ~0.4x on phones: keep Antananarivo and the lead city per region */
  .chart .ap-label:not(.hub-label):not(.home-label) { display: none; }
  .chart .hub-label, .chart .home-label { font-size: 24px; }
  .chart .hub-dot, .chart .home-dot { r: 7px; }
  .chart .ap-dot { r: 4px; }
  .chart .route { stroke-width: 2.4; }
  .help { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .help-btn { height: 40px; padding: 0 13px 0 10px; font-size: 13px; }
  .track input { font-size: 14px; letter-spacing: 0; padding: 0 12px; }
  .submit-row .btn { width: 100%; }
  .ok-recap div { flex-direction: column; gap: 2px; }
  .ok-recap dd { text-align: left; }
  .corr-row { padding: 11px 14px; }
  .corr-rt span { display: none; }
  .gauge { width: 64px; }
  .confirm .actions .btn { width: 100%; }
  .help-panel { width: calc(100vw - 24px); }
  .ship-summary .wrap { gap: 6px 16px; font-size: 12px; }
  .ship-summary .kv:nth-of-type(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --lift: 0px; }
  html { scroll-behavior: auto; }
  .live-dot::after, .chart .home-ring, .confirm { animation: none; }
  .confirm .pill { animation-name: fade-only; }
  .sv-delivered path { animation: none; stroke-dashoffset: 0; }
  .btn:active, .dir label:active, .env-opt:active, .opt-card:active, .mark:active, .point:active, .kg button:active { transform: none; }
  .help-panel, .combo-list, .cur-menu, .nav.open .nav-menu { transform: none !important; }
  .swap.spin { transform: none; }
  .faq details::details-content, .skip { transition: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; padding-inline: var(--gutter); }
  .ticker-track [data-clone] { display: none; }
}
@keyframes fade-only { from { opacity: 0; } }

@media (max-width: 359px) {
  /* too narrow for side-by-side fields */
  .route, .wc { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .route .swap { position: static; justify-self: center; margin: -2px 0; transform: rotate(90deg); }
  .route .swap.spin { transform: rotate(270deg); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
}
@media (max-width: 400px) {
  .lanes.cal td { font-size: 12.5px; }
  .lanes.cal td:nth-child(3) { white-space: normal; }
}

/* ---------- Legal pages (drafts) ---------- */
.legal-main { padding-block: 40px 88px; }
.legal-main .wrap { max-width: 800px; }
.draft-banner { display: flex; gap: 10px; align-items: baseline; margin: 0 0 20px; padding: 12px 16px; border: 1px dashed #C98A12; border-radius: 10px; background: #FFF6E3; color: var(--ink); font-size: 14px; line-height: 1.5; }
.draft-banner b { flex: none; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8A5A00; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 36px; font-size: 14px; }
.legal-nav a { color: var(--ink-2); text-underline-offset: 3px; }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: none; }
[data-lang-block] { display: none; }
html[lang="fr"] [data-lang-block="fr"], html[lang="en"] [data-lang-block="en"] { display: block; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; text-wrap: balance; }
.legal-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin-bottom: 8px; }
.legal h2 { margin: 36px 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.legal a { color: var(--steel); text-underline-offset: 3px; }
mark.ph { padding: 1px 4px; border-radius: 4px; background: #FFE9B8; color: var(--ink); }
.lawyer-notes { margin-top: 44px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.lawyer-notes h2 { margin: 0 0 8px; font-size: 15px; }
.lawyer-notes li { font-size: 14.5px; }
.legal-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.legal-note a, .foot-legal a { color: inherit; text-underline-offset: 3px; }

/* Server repriced the booking: a quiet note under the confirmed rate */
.ok-note { display: block; margin-top: 4px; font-size: .8em; font-weight: 400; color: var(--muted); }
