/* ============================================================
   Roamala · Modern terminal
   Dark concourse, wayfinding yellow, white boarding passes.
   Type: Archivo (variable width: wide headlines, normal text) + Geist Mono for real data only
   (split-flap board, prices, codes, slider readouts).
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #090B10;
  --surface: #10141C;
  --surface-2: #1A1F2A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .2);
  --text: #F1F3F7;
  --muted: #8E97A6;
  --sign: #FFD23F;          /* wayfinding yellow */
  --sign-2: #FFDD6B;
  --paper: #F5F6F8;         /* boarding-pass stock */
  --paper-2: #E4E7EC;
  --ink: #0B0D11;           /* text on paper / yellow */
  --ink-2: #4A5261;
  --go: #2FCB73;
  --go-ink: #12733B;
  --stop: #FF5A4F;
  --stop-ink: #C0271D;
  --sky: #2F7BFF;

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --wide: 118%;             /* headline width (Archivo wdth axis) */
  --semi: 105%;             /* numbers and codes */

  --r: 18px;                /* card radius */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, 1.4, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1100px 520px at 78% -8%, rgba(255, 210, 63, .06), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 17px/1.55 var(--f-body);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sign); color: var(--ink); padding: 8px 14px; z-index: 200; border-radius: 999px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- test ribbon (hazard tape) ---------- */
.test-ribbon {
  /* solid yellow label in the middle, hazard stripes at both ends */
  background:
    linear-gradient(var(--sign), var(--sign)) center / calc(100% - 120px) 100% no-repeat,
    repeating-linear-gradient(-45deg, var(--sign) 0 12px, #17130a 12px 24px);
  text-align: center; padding: 7px 70px;
  font: 600 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 38px; height: 38px; border-radius: 10px; transition: transform .4s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.06); }
.logo-word { font: 800 26px/1 var(--f-display); font-stretch: var(--wide); letter-spacing: -.025em; }
.logo-word em, .footer-mark em { font-style: normal; color: var(--sign); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  text-decoration: none; font: 500 14.5px/1 var(--f-body);
  padding: 9px 14px; border: 1.5px solid transparent; border-radius: 999px; color: var(--muted);
}
.nav a:hover { color: var(--text); border-color: var(--line-2); }
.nav a[aria-current="page"] { background: var(--sign); color: var(--ink); }
.trip-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 50%; background: var(--sign); color: var(--ink); font: 600 11px/1 var(--f-mono); }
.nav a[aria-current="page"] .trip-count { background: var(--ink); color: var(--sign); }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; padding-top: 14px; padding-bottom: 10px; }
  .nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; margin: 0 -6px; }
  .nav a { padding: 9px 12px; font-size: 14px; white-space: nowrap; }
  .logo-word { font-size: 23px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(32px, 6vw, 72px) 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
/* eyebrows are little wayfinding signs */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sign); color: var(--ink);
  font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px 6px 10px; border-radius: 999px;
}
.eyebrow::before { content: "↗"; font-size: 14px; line-height: .8; }
.hero h1 {
  margin: 20px 0 20px;
  font: 800 clamp(48px, 7.4vw, 104px)/.92 var(--f-display); font-stretch: var(--wide); letter-spacing: -.03em;
}
.hero h1 .sub { display: block; font: 600 14px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sign); margin: .9em 0 .7em .1em; }
.hero h1 .accent { color: var(--sign); }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 30em; color: var(--muted); margin: 0 0 28px; }

/* search */
.search { position: relative; max-width: 520px; }
.search-box { display: flex; align-items: center; background: var(--paper); border-radius: 999px; overflow: hidden; outline: 0 solid var(--sign); transition: outline-width .12s; }
.search-box:focus-within { outline-width: 3px; }
.search-box label { font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 0 0 0 22px; color: var(--ink-2); white-space: nowrap; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 19px/1 var(--f-body); padding: 18px 12px; color: var(--ink); outline: none; }
.search-box input::placeholder { color: #8b93a1; }
.search-box button { border: 0; background: var(--sign); color: var(--ink); font: 600 15px/1 var(--f-body); padding: 0 22px; align-self: stretch; margin: 6px; border-radius: 999px; }
.search-box button:hover { background: var(--sign-2); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); max-height: 320px; overflow: auto;
}
.suggest li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; border-radius: 10px; }
.suggest li a img { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; }
.suggest li a .s-price { margin-left: auto; font: 500 13px var(--f-mono); color: var(--muted); }
.suggest li a[aria-selected="true"], .suggest li a:hover { background: var(--sign); color: var(--ink); }
.suggest li a[aria-selected="true"] .s-price, .suggest li a:hover .s-price { color: var(--ink); }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.hero-quick span { font: 600 11.5px var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line-2); background: transparent; border-radius: 999px;
  padding: 8px 14px; font: 500 14px/1 var(--f-body); text-decoration: none; color: var(--text);
}
.chip:hover { background: var(--text); border-color: var(--text); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--sign); border-color: var(--sign); color: var(--ink); }

/* ---------- split-flap departures board ---------- */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; box-shadow: 0 30px 60px -24px #000; }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.board-head h2 { margin: 0; font: 800 24px/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.board-head h2::before { content: "↗"; display: grid; place-items: center; width: 30px; height: 30px; background: var(--sign); color: var(--ink); border-radius: 8px; font: 700 18px/1 var(--f-body); letter-spacing: 0; }
.board-head .clock { font: 600 14px var(--f-mono); color: var(--sign); }
.board-cols, .board-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.board-cols { font: 600 10.5px var(--f-body); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; padding: 0 4px 8px; }
.board-row { padding: 5px 4px; text-decoration: none; border-radius: 6px; color: inherit; }
.board-row > .n { min-width: 0; }
.board-row:hover { background: var(--surface-2); }
.flaps { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.flap {
  width: 1.12em; height: 1.55em; display: grid; place-items: center; position: relative;
  font: 700 clamp(13px, 1.55vw, 18px)/1 var(--f-mono); background: #06070A; border-radius: 3px; color: var(--sign);
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .08); }
.flap.flip { animation: flip .08s linear; }
@keyframes flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.status-flaps .flap { color: var(--go); }
.board-foot { display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px var(--f-body); color: var(--muted); padding: 12px 4px 0; margin-top: 8px; border-top: 1px solid var(--line); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 520px) {
  .board { padding: 14px 10px 10px; }
  .board-row .col-code, .board-cols .col-code { display: none; }
  .board-cols { grid-template-columns: 1fr auto; }
  .board-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .flap { width: 1em; font-size: 12px; }
  .flaps { gap: 1px; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--sign); color: var(--ink); overflow: hidden; margin-top: 30px; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 700 17px/1 var(--f-display); padding: 14px 0; white-space: nowrap; }
.ticker span::after { content: "✈"; margin: 0 26px; font-size: 15px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { margin: 14px 0 0; font: 800 clamp(36px, 4.6vw, 60px)/1 var(--f-display); font-stretch: var(--wide); letter-spacing: -.03em; }
.section-head h2 em { font-style: normal; color: var(--sign); }
.section-head p { max-width: 26em; margin: 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

/* ---------- gate cards: mini boarding passes ---------- */
.gates { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
@media (max-width: 440px) { .gates { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gate {
  --notch: 58px;
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper);
  border-radius: var(--r); padding: 16px 16px 0; min-height: 190px; position: relative;
  -webkit-mask: radial-gradient(circle 9px at 0 calc(100% - var(--notch)), #0000 97%, #000), radial-gradient(circle 9px at 100% calc(100% - var(--notch)), #0000 97%, #000);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle 9px at 0 calc(100% - var(--notch)), #0000 97%, #000), radial-gradient(circle 9px at 100% calc(100% - var(--notch)), #0000 97%, #000);
          mask-composite: intersect;
  transition: transform .25s var(--ease), background .15s;
}
.gate:hover, .gate:focus-visible { transform: translateY(-5px); background: var(--sign); }
.gate-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gate-code { font: 800 44px/.85 var(--f-display); font-stretch: var(--semi); letter-spacing: -.035em; }
.gate-flag { width: 44px; height: 32px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(11, 13, 17, .14); }
.gate-name { font: 600 17px/1.2 var(--f-body); margin: 12px 0 12px; }
.gate-foot {
  margin-top: auto; height: var(--notch); display: flex; justify-content: space-between; align-items: center;
  border-top: 2px dashed rgba(11, 13, 17, .25); font: 600 11px var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2);
}
.gate:hover .gate-foot { color: var(--ink); border-color: var(--ink); }
.gate-price { font: 600 17px var(--f-mono); color: var(--ink); text-align: right; }
.gate-price small { display: block; font: 600 9.5px var(--f-body); letter-spacing: .1em; color: var(--ink-2); }
.gate:hover .gate-price small { color: var(--ink); }
.gates-more { margin-top: 36px; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid var(--ink); background: var(--sign); color: var(--ink);
  font: 600 15.5px/1 var(--f-body); text-decoration: none;
  padding: 15px 24px; border-radius: 999px; transition: transform .12s, background .12s;
}
.btn:hover { background: var(--sign-2); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ---------- luggage tags (regions) ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tag {
  position: relative; display: grid; grid-template-columns: 64px 1fr; text-decoration: none; color: var(--ink);
  background: var(--sign); border-radius: 12px 28px 28px 12px; min-height: 150px; transition: transform .2s var(--ease);
}
.tag:nth-child(3n+2) { background: var(--paper); }
.tag:nth-child(3n+3) { background: #9CC4FF; }
.tag:hover { transform: rotate(-1.2deg) translateY(-4px); }
.tag-stub { border-right: 2px dashed var(--ink); display: grid; place-items: center; position: relative; }
.tag-stub::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); position: absolute; top: 18px; }
.tag-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 26px/1 var(--f-display); font-stretch: var(--semi); letter-spacing: .04em; margin-top: 30px; }
.tag-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tag-body h3 { margin: 0; font: 800 24px/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.tag-body p { margin: 0; font: 500 14px var(--f-body); }
.tag-body .tag-price { margin-top: auto; display: flex; justify-content: space-between; align-items: end; font: 600 14px var(--f-body); }
.tag-body .tag-price b { font: 800 30px/1 var(--f-display); font-stretch: var(--semi); letter-spacing: -.03em; }

/* ---------- itinerary (how it works) ---------- */
.itinerary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
@media (max-width: 820px) { .itinerary { grid-template-columns: 1fr; } }
.leg { padding: 30px 28px 34px; position: relative; }
.leg + .leg { border-left: 2px dashed var(--line-2); }
@media (max-width: 820px) { .leg + .leg { border-left: 0; border-top: 2px dashed var(--line-2); } }
.leg-num { font: 800 88px/.8 var(--f-display); font-stretch: var(--semi); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--sign); }
.leg h3 { font: 800 24px/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; margin: 18px 0 10px; }
.leg p { margin: 0; color: var(--muted); }
.leg .time { position: absolute; top: 30px; right: 26px; font: 600 11.5px var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; text-align: right; }
.leg .time b { display: block; font: 600 20px var(--f-mono); letter-spacing: 0; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font: 600 19px/1.3 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--f-body); color: var(--sign); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 4px 22px; color: var(--muted); max-width: 40em; }
.faq a { color: var(--sign); }

/* ============================================================
   DESTINATION PAGE
   ============================================================ */
.dest-hero { padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.crumbs { font: 600 11.5px var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--sign); }
.dest-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; margin-top: 22px; }
@media (max-width: 820px) { .dest-grid { grid-template-columns: auto 1fr; gap: 18px; } .wayfind { grid-column: 1 / -1; justify-self: start; } }
.dest-flag { width: clamp(96px, 14vw, 150px); aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--sign); color: var(--ink); display: grid; place-items: center; font: 800 clamp(26px, 4vw, 40px)/1 var(--f-display); font-stretch: var(--semi); box-shadow: 0 0 0 2px var(--line-2); }
.dest-flag img { width: 100%; height: 100%; object-fit: cover; }
.dest-title h1 { margin: 0; font: 800 clamp(44px, 6.6vw, 92px)/.92 var(--f-display); font-stretch: var(--wide); letter-spacing: -.03em; overflow-wrap: anywhere; }
.dest-title p { margin: 12px 0 0; font: 500 15px/1.5 var(--f-body); color: var(--muted); }
/* overhead wayfinding sign */
.wayfind { display: flex; align-items: stretch; background: var(--sign); color: var(--ink); border-radius: 14px; overflow: hidden; }
.wayfind i { display: grid; place-items: center; width: 62px; background: var(--ink); color: var(--sign); font: 700 30px/1 var(--f-body); font-style: normal; margin: 6px; border-radius: 10px; }
.wayfind div { padding: 10px 18px 8px 10px; font: 600 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.wayfind b { display: block; font: 800 34px/.95 var(--f-display); font-stretch: var(--semi); letter-spacing: -.01em; }
.notice { border: 1px solid var(--sign); border-left-width: 6px; border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-top: 22px; }
.notice b { font: 600 12px var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--sign); }

/* ---------- filter console ---------- */
.fpanel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 24px 0 8px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 36px; }
@media (max-width: 820px) { .fgrid { grid-template-columns: 1fr; } }
.fctl { display: block; min-width: 0; }
.fhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 600 11px var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.fhead output { font: 600 13.5px/1 var(--f-mono); letter-spacing: .02em; text-transform: none; color: var(--sign); background: #06070A; padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.fscale { display: flex; justify-content: space-between; font: 500 10.5px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.fscale i { font-style: normal; }
.slider { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.slider:disabled { opacity: .35; cursor: default; }
/* "up to" sliders fill from the left; "at least" sliders fill to the right of the thumb */
.slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sign) var(--p, 0%), var(--surface-2) var(--p, 0%)); }
.slider.at-least::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--surface-2) var(--p, 0%), var(--sign) var(--p, 0%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--sign); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--sign); transition: transform .12s; }
.slider:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-2); }
.slider::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--sign); }
.slider.at-least::-moz-range-track { background: var(--sign); }
.slider.at-least::-moz-range-progress { background: var(--surface-2); }
.slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--sign); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--sign); }
.frow { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.fcount { margin-left: auto; font: 600 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.fpanel .group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fpanel .group > span { font: 600 11px var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.fpanel select { font: 500 14px var(--f-body); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 14px; color: var(--text); }
.plans-sub { font: 800 24px/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; margin: 44px 0 6px; display: flex; align-items: center; gap: 14px; }
.plans-sub::after { content: ""; flex: 1; border-top: 2px dotted var(--line-2); }
.plans-note { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- boarding-pass tickets ---------- */
.tickets { display: grid; gap: 14px; }
.ticket {
  --cut: calc(100% - 210px);
  display: grid; grid-template-columns: 170px 1fr 210px; background: var(--paper); color: var(--ink);
  border-radius: var(--r); position: relative; min-height: 136px;
  -webkit-mask: radial-gradient(circle at var(--cut) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--cut) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at var(--cut) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--cut) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  transition: transform .2s;
}
.ticket:hover { transform: translateX(4px); }
.ticket-data { background: var(--sign); display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; border-radius: var(--r) 0 0 var(--r); }
.ticket-data b { font: 800 50px/.85 var(--f-display); font-stretch: var(--semi); letter-spacing: -.035em; }
.ticket-data b small { font-size: .42em; margin-left: 2px; letter-spacing: 0; }
.ticket-data span { font: 600 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.ticket-body { padding: 18px 24px; display: grid; grid-template-columns: repeat(4, auto); gap: 6px 26px; align-content: center; justify-content: start; }
.ticket-body .field small { display: block; font: 600 10.5px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ticket-body .field strong { font: 600 17px/1.25 var(--f-body); }
.ticket-body .notes { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-block; font: 600 10.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border: 1.5px solid currentColor; border-radius: 999px; }
.badge.blue { color: #1D55C4; } .badge.red { color: var(--stop-ink); } .badge.green { color: var(--go-ink); }
.suggest .badge, .trip .badge { color: var(--sign); }
.ticket-buy { border-left: 2px dashed rgba(11, 13, 17, .3); padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.ticket-buy .price { font: 800 34px/.95 var(--f-display); font-stretch: var(--semi); letter-spacing: -.03em; }
.ticket-buy .per { font: 500 12.5px var(--f-body); color: var(--ink-2); }
.ticket-buy .btn { padding: 12px 16px; font-size: 14px; width: 100%; background: var(--ink); color: var(--sign); }
.ticket-buy .btn:hover { background: #232936; }
@media (max-width: 860px) {
  .ticket { --cut: 0px; grid-template-columns: 120px 1fr; -webkit-mask: none; mask: none; overflow: hidden; }
  .ticket-data { border-radius: 0; }
  .ticket-data b { font-size: 40px; }
  .ticket-body { grid-template-columns: repeat(2, auto); padding: 16px; }
  .ticket-buy { grid-column: 1 / -1; border-left: 0; border-top: 2px dashed rgba(11, 13, 17, .3); flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .ticket-buy .btn { width: auto; }
}
@media (max-width: 420px) { .ticket { grid-template-columns: 1fr; } .ticket-data { flex-direction: row; align-items: baseline; gap: 12px; } }

.empty { border: 2px dashed var(--line-2); padding: 48px 24px; text-align: center; border-radius: var(--r); }
.empty h3 { font: 800 30px/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; margin: 0 0 10px; }
.empty p { color: var(--muted); }

.skel { background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   CHECKOUT DIALOG (check-in desk)
   ============================================================ */
.checkout { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 24px)); width: 100%; color: var(--ink); color-scheme: light; }
.checkout::backdrop { background: rgba(5, 6, 8, .78); backdrop-filter: blur(4px); }
.checkout[open] { animation: slip .35s var(--ease); }
@keyframes slip { from { transform: translateY(36px); opacity: 0; } }
.co-card { background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px #000; }
.co-head { background: var(--sign); padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; }
.co-head h2 { margin: 0; font: 800 22px/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.co-close { background: none; border: 2px solid var(--ink); border-radius: 50%; width: 34px; height: 34px; color: var(--ink); font-size: 16px; line-height: 1; }
.co-close:hover { background: var(--ink); color: var(--sign); }
.co-body { padding: 22px; display: grid; gap: 18px; }
.co-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 2px dashed rgba(11, 13, 17, .3); border-radius: 14px; }
.co-summary img { width: 54px; height: 40px; object-fit: cover; border-radius: 6px; }
.co-summary .what { font: 800 20px/1.1 var(--f-display); font-stretch: 108%; letter-spacing: -.02em; }
.co-summary .what small { display: block; font: 500 13px var(--f-body); letter-spacing: 0; color: var(--ink-2); margin-top: 4px; }
.co-summary .amt { font: 800 28px/1 var(--f-display); font-stretch: var(--semi); letter-spacing: -.03em; }
.field-in label { display: block; font: 600 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.field-in input[type="email"], .field-in input[type="text"] { width: 100%; font: 500 18px var(--f-body); padding: 13px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); }
.field-in input:focus { outline: 3px solid var(--sky); outline-offset: 1px; }
.field-in .hint { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.co-test { background: #fff; border: 1.5px solid var(--paper-2); border-left: 6px solid var(--sign); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.co-test b { font: 600 12px var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.co-test.closed { border-left-color: var(--stop); }
.co-error { color: var(--stop-ink); font-weight: 600; font-size: 15px; min-height: 1em; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 14px; font: 600 13px var(--f-body); text-transform: uppercase; letter-spacing: .08em; }
.co-total b { font: 800 32px/1 var(--f-display); font-stretch: var(--semi); letter-spacing: -.03em; }
.co-body > .btn { background: var(--ink); color: var(--sign); }
.co-body > .btn:hover { background: #232936; }

/* ============================================================
   ORDER / ESIM DELIVERY
   ============================================================ */
.order { padding: 36px 0 80px; }
.pass { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 22px; overflow: hidden; margin-top: 24px; box-shadow: 0 30px 70px -30px #000; }
@media (max-width: 860px) { .pass { grid-template-columns: 1fr; } }
.pass-main { padding: clamp(22px, 4vw, 40px); position: relative; background: var(--paper); color: var(--ink); }
.pass-main .eyebrow { background: var(--ink); color: var(--sign); }
.pass-main h1 { clear: both; font: 800 clamp(40px, 5.6vw, 72px)/.92 var(--f-display); font-stretch: var(--wide); letter-spacing: -.03em; margin: 16px 0 22px; overflow-wrap: anywhere; }
.pass-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px 22px; border-top: 2px solid var(--ink); padding-top: 18px; }
.pass-fields small { display: block; font: 600 10.5px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pass-fields strong { font: 600 18px/1.25 var(--f-body); overflow-wrap: break-word; hyphens: auto; }
.pass-fields strong.mono { font-family: var(--f-mono); font-weight: 500; overflow-wrap: anywhere; }
.pass-side { background: var(--surface); border: 1px solid var(--line); border-left: 2px dashed var(--line-2); border-radius: 0 22px 22px 0; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
@media (max-width: 860px) { .pass-side { border-left: 1px solid var(--line); border-top: 2px dashed var(--line-2); border-radius: 0 0 22px 22px; } }
.qr { background: #fff; padding: 14px; border-radius: 14px; width: min(260px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-wait { width: min(260px, 100%); aspect-ratio: 1; border: 2px dashed var(--line-2); border-radius: 14px; display: grid; place-items: center; font: 600 13px/1.4 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 20px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--surface-2); border-top-color: var(--sign); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pass-side .btn { width: 100%; max-width: 280px; }
.pass-side .small { font: 500 12.5px/1.5 var(--f-body); color: var(--muted); }

/* flight-status chip, like a row on the departures board */
.status {
  float: right; margin: 0 0 12px 12px;
  display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--text); border-radius: 999px; padding: 9px 14px;
  font: 600 14px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
}
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--sign); box-shadow: 0 0 10px var(--sign); flex: none; }
.status small { font: 500 10px/1 var(--f-body); letter-spacing: .08em; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-2); }
.status.issued { color: var(--go); animation: land .45s var(--ease) both; }
.status.issued i { background: var(--go); box-shadow: 0 0 10px var(--go); }
.status.failed { color: var(--stop); animation: land .45s var(--ease) both; }
.status.failed i { background: var(--stop); box-shadow: 0 0 10px var(--stop); }
.status.pending { color: var(--sign); }
.status.pending i { animation: blink 1s steps(2) infinite; }
@keyframes land { from { transform: translateY(-14px) scale(1.15); opacity: 0; } }
@keyframes blink { 50% { opacity: .2; } }

.progress { display: flex; margin: 26px 0 4px; padding: 0; font: 600 11px var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.progress li { list-style: none; flex: 1; padding-top: 12px; border-top: 4px solid var(--paper-2); color: var(--ink-2); }
.progress li.done { border-color: var(--go); color: var(--ink); }
.progress li.now { border-color: var(--sky); color: var(--sky); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { border-color: var(--paper-2); } }

.install { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; }
.panel h3 { margin: 0 0 14px; font: 800 24px/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.panel a:not(.btn) { color: var(--sign); }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.steps { margin: 0; padding: 0; counter-reset: s; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--sign); color: var(--ink); display: grid; place-items: center; font: 600 14px var(--f-mono); }
.codeline { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.codeline code { flex: 1; min-width: 0; font: 500 14px var(--f-mono); background: #06070A; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; overflow-x: auto; white-space: nowrap; color: var(--sign); }
.codeline button { flex: none; }
.codeline-label { font: 600 10.5px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: block; }

.meter { margin: 14px 0; }
.meter-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 14px; font: 600 13px var(--f-body); margin-bottom: 6px; }
.meter-top span:last-child { color: var(--muted); }
.meter-bar { height: 18px; border: 1px solid var(--line-2); border-radius: 999px; background: repeating-linear-gradient(90deg, transparent 0 9px, var(--line) 9px 10px); overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--go); transition: width 1s ease; }

/* ---------- trips ---------- */
.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.trip { display: grid; grid-template-columns: 78px 1fr; text-decoration: none; border-radius: var(--r); background: var(--paper); color: var(--ink); overflow: hidden; transition: transform .15s; }
.trip:hover { transform: translateY(-3px); }
.trip-flag { background: var(--sign); display: grid; place-items: center; padding: 10px; border-right: 2px dashed var(--ink); }
.trip-flag img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; }
.trip-flag .reg { font: 800 18px var(--f-display); font-stretch: var(--semi); }
.trip-body { padding: 14px 16px; }
.trip-body h3 { margin: 0 0 4px; font: 800 22px/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.trip-body p { margin: 0; font: 500 12.5px/1.5 var(--f-body); color: var(--ink-2); }
.lookup { display: flex; gap: 10px; max-width: 560px; margin-top: 18px; flex-wrap: wrap; }
.lookup input { flex: 1; min-width: 220px; font: 500 15px var(--f-mono); padding: 13px 18px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); color-scheme: light; }

/* ---------- help ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }
.panel p { color: var(--muted); }
.panel p b, .steps b { color: var(--text); }
.devices { columns: 2; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
.devices li { break-inside: avoid; padding: 8px 0; border-bottom: 1px dotted var(--line-2); }
.devices li b { display: block; font: 700 17px/1.2 var(--f-display); font-stretch: var(--semi); letter-spacing: -.01em; }
.devices li span { font-size: 14px; color: var(--muted); }
.dial { display: flex; align-items: center; gap: 18px; background: var(--sign); color: var(--ink); border-radius: 14px; padding: 18px 22px; margin: 18px 0; }
.dial b { font: 700 40px/1 var(--f-mono); letter-spacing: .04em; }
.dial span { font-size: 15px; }

/* ---------- footer ---------- */
.footer { margin-top: 40px; background: var(--surface); padding: 0 0 40px; }
.runway { height: 6px; background: repeating-linear-gradient(90deg, var(--sign) 0 26px, transparent 26px 58px); opacity: .9; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-mark { font: 800 36px/1 var(--f-display); font-stretch: var(--wide); letter-spacing: -.03em; }
.footer p { max-width: 24em; color: var(--muted); }
.footer-legal { font: 500 12.5px var(--f-body); }
.footer h4 { font: 600 11.5px var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--sign); margin: 6px 0 12px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; color: var(--text); }
.footer a:hover { color: var(--sign); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--sign); color: var(--ink); padding: 12px 20px; border-radius: 999px; font: 600 14px var(--f-body); z-index: 300; transition: transform .3s var(--ease), visibility 0s .3s; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s var(--ease), visibility 0s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
