@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&display=swap');

:root {
  color-scheme: light;
  --bg: #f5f0e6; --surface: #fffdf7; --surface-alt: #efe8d8;
  --text: #0a2540; --dim: #6f6450; --border: #ddd2ba;
  --accent: #96700f; --accent-soft: #f2e8cd; --accent-ink: #ffffff;
  --teal: #0d6e6a; --teal-soft: #e3efe9; --navy: #0a2540; --gold: #b08a1e;
  --radius: 14px; --shadow: 0 10px 30px rgba(10,37,64,.12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #060f1a; --surface: #0d2136; --surface-alt: #091a2c;
    --text: #f2ecdd; --dim: #b3a98f; --border: #274058;
    --accent: #d9ab3c; --accent-soft: #33270d; --teal: #2bb3a3; --teal-soft: #0d2f33; --navy: #060f1a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060f1a; --surface: #0d2136; --surface-alt: #091a2c;
  --text: #f2ecdd; --dim: #b3a98f; --border: #274058;
  --accent: #d9ab3c; --accent-soft: #33270d; --teal: #2bb3a3; --teal-soft: #0d2f33; --navy: #060f1a;
}
* { box-sizing: border-box; min-width: 0; }
html, body { overflow-x: clip; max-width: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.45; }
.font-display, h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; }
img, svg, video { max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--teal); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---- slim banner: scrolls away, logo never shrinks ---- */
.topbar { background: var(--navy); color: #f2ecdd; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; flex-wrap: wrap; }
.topbar .tb-note { font-weight: 600; letter-spacing: .02em; }
.topbar .tb-right { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.topbar select { background: transparent; color: #f2ecdd; border: 1px solid rgba(242,236,221,.35); border-radius: 8px; padding: 2px 6px; font-size: 12.5px; max-width: 150px; }
.topbar select option { color: #0a2540; }
.topbar a { color: #f2ecdd; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

header.site { background: var(--surface); border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo-lockup { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.wordmark { position: relative; display: inline-block; line-height: 1; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; font-size: 34px; }
.wordmark .z { color: var(--accent); }
.wordmark svg.arc { position: absolute; left: 0; top: -12px; width: 100%; height: 19px; overflow: visible; pointer-events: none; }
.header-nav { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.header-nav a, .header-nav button.ghost {
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; background: transparent;
}
.header-nav a:hover, .header-nav button.ghost:hover { border-color: var(--border); background: var(--surface-alt); }
.yow-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: none; border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 800; font-family: "Archivo", system-ui, sans-serif; }
:root[data-theme="dark"] .yow-btn { background: var(--accent); color: #0a2540; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yow-btn { background: var(--accent); color: #0a2540; } }

/* ---- hero / search ---- */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 26px 0 8px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 6px; }
.hero p.lede { margin: 0 0 18px; color: var(--dim); font-size: 17px; max-width: 640px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.seg { display: inline-flex; background: var(--surface-alt); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: none; background: transparent; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--accent); color: #0a2540; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg button[aria-pressed="true"] { background: var(--accent); color: #0a2540; } }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 900px) { .search-grid { grid-template-columns: 1.2fr 1.2fr 1fr 1fr; } }
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 5px; }
.field .control { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; padding: 9px 12px; min-height: 48px; }
.field .control:focus-within { border-color: var(--accent); }
.field input[type="text"], .field input[type="date"] { border: none; background: transparent; width: 100%; outline: none; font-weight: 600; }
.field select { width: 100%; border: none; background: transparent; outline: none; font-weight: 600; }
.swap-btn { align-self: end; justify-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); font-size: 17px; }
.picker { position: relative; }
.picker-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow: auto; padding: 6px; }
.picker-list .grp { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 8px 10px 3px; }
.picker-item { display: flex; gap: 10px; align-items: baseline; width: 100%; text-align: left; border: none; background: transparent; padding: 8px 10px; border-radius: 8px; }
.picker-item:hover, .picker-item.active { background: var(--surface-alt); }
.picker-item .code { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 15px; min-width: 44px; }
.picker-item .nm { font-weight: 600; font-size: 14px; }
.picker-item .ct { color: var(--dim); font-size: 12.5px; margin-left: auto; text-align: right; }
.picker-item .fare-hint { color: var(--teal); font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.search-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border: none; border-radius: 12px; padding: 13px 26px; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 16px; box-shadow: 0 6px 18px rgba(150,112,15,.35); }
.btn-primary:active { transform: scale(.98); }
.btn-secondary { background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 18px; font-weight: 700; }
.checkline { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); font-weight: 900; }
.pax-pop { margin-top: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--bg); display: grid; gap: 10px; }
.pax-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pax-row .who b { display: block; font-size: 14.5px; }
.pax-row .who span { color: var(--dim); font-size: 12.5px; }
.pax-note { color: #b3261e; font-weight: 700; font-size: 13.5px; }

/* ---- results ---- */
section.block { padding: 26px 0 6px; }
section.block h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; margin: 0 0 4px; }
section.block .sub { color: var(--dim); margin: 0 0 14px; }
.sortbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.sortbar .seg button { padding: 6px 13px; font-size: 13.5px; }
.count-line { color: var(--dim); font-size: 14px; font-weight: 600; }
.fare-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; display: grid; gap: 10px; animation: rise-in .45s cubic-bezier(.2,1,.3,1) both; }
@media (min-width: 860px) { .fare-card { grid-template-columns: 1fr auto; align-items: center; } }
.fare-main { display: grid; gap: 8px; }
.timeline { display: flex; align-items: center; gap: 12px; }
.tl-time { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 21px; }
.tl-code { font-weight: 800; color: var(--dim); font-size: 13px; letter-spacing: .04em; }
.tl-mid { flex: 1; text-align: center; min-width: 90px; }
.tl-line { position: relative; height: 2px; background: var(--border); margin: 7px 4px 5px; }
.tl-line::before, .tl-line::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--dim); }
.tl-line::before { left: 0; } .tl-line::after { right: 0; }
.tl-line .stopdot { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.tl-line .plane { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); color: var(--accent); font-size: 13px; }
.tl-dur { font-size: 12.5px; color: var(--dim); font-weight: 700; }
.tl-stops { font-size: 12.5px; font-weight: 800; }
.tl-stops.nonstop { color: var(--teal); }
.fare-meta { color: var(--dim); font-size: 13.5px; }
.fare-meta b { color: var(--text); }
.fare-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.fare-price { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 27px; color: var(--text); }
.fare-price .per { display: block; font-size: 12px; color: var(--dim); font-weight: 700; font-family: system-ui, sans-serif; }
.badge-cheapest { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pull-label { font-size: 12px; color: var(--dim); font-weight: 600; }
.book-btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; padding: 11px 20px; border-radius: 11px; font-size: 15px; }
:root[data-theme="dark"] .book-btn { background: var(--accent); color: #0a2540; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .book-btn { background: var(--accent); color: #0a2540; } }
.alt-links { font-size: 12.5px; color: var(--dim); }
.alt-links a { font-weight: 700; }
.callout { border: 1.5px dashed var(--teal); background: var(--teal-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 14.5px; }
.callout button { margin-left: 10px; }
.empty-note { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 16px; color: var(--dim); }

/* ---- anywhere / bloom ---- */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #0a2540; aspect-ratio: 800 / 520; }
.map-frame img.basemap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-frame .graticule { position: absolute; inset: 0; width: 100%; height: 100%; }
.price-pin { position: absolute; translate: -50% -50%; font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 13px; line-height: 1; color: #0a2540; background: #fff; border: 2px solid #0a2540; border-radius: 999px; padding: 7px 10px; white-space: nowrap; cursor: pointer; box-shadow: 0 4px 14px rgba(10,37,64,.35); animation: bloom-in .55s cubic-bezier(.2,1.4,.4,1) both; }
.price-pin--cheapest { background: var(--gold); border-color: var(--gold); color: #fff; font-size: 15px; padding: 9px 13px; animation: bloom-in .55s cubic-bezier(.2,1.4,.4,1) both, cheapest-pulse 2.2s ease-in-out .7s infinite; z-index: 3; }
.price-pin--on { background: #0a2540; color: #fff; z-index: 4; }
.price-pin--cheapest.price-pin--on { background: var(--gold); }
.origin-dot { position: absolute; translate: -50% -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.5); z-index: 2; }
@media (max-width: 560px) { .price-pin { font-size: 11px; padding: 5px 8px; border-width: 1.5px; } .price-pin--cheapest { font-size: 12.5px; padding: 7px 10px; } }
@keyframes bloom-in { 0% { transform: scale(.2) translateY(10px); opacity: 0; } 60% { transform: scale(1.18) translateY(-2px); opacity: 1; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes cheapest-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(176,138,30,.45), 0 4px 14px rgba(10,37,64,.35); } 50% { box-shadow: 0 0 0 12px rgba(176,138,30,0), 0 4px 14px rgba(10,37,64,.35); } }
@keyframes rise-in { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.dest-list { display: grid; gap: 8px; margin-top: 14px; }
.dest-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; animation: rise-in .5s cubic-bezier(.2,1,.3,1) both; }
.dest-row img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.dest-row .dcity { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 16px; }
.dest-row .dmeta { color: var(--dim); font-size: 13px; }
.dest-row .dprice { margin-left: auto; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 19px; white-space: nowrap; }
.dest-row .dprice small { display: block; font-family: system-ui, sans-serif; font-weight: 700; font-size: 11px; color: var(--teal); text-align: right; }

/* ---- popular trips ---- */
.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.trip-card { position: relative; border: none; padding: 0; border-radius: var(--radius); overflow: hidden; text-align: left; min-height: 150px; color: #fff; background: #0a2540; }
.trip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,26,.05) 40%, rgba(6,15,26,.82)); }
.trip-card .tc-body { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.trip-card .tc-city { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 19px; }
.trip-card .tc-fare { font-weight: 700; font-size: 13.5px; opacity: .92; }

/* ---- comparison ---- */
.compare-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.route-panel { border: 2px solid var(--route); border-radius: var(--radius); background: var(--surface); padding: 14px; }
.route-panel .rp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.route-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--route); color: #fff; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; display: grid; place-items: center; }
.route-panel .rp-route { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 17px; }
.route-panel .remove-route { margin-left: auto; border: none; background: transparent; color: var(--dim); font-size: 18px; }
.route-color-0 { --route: #0b5fa5; --route-soft: #e2eef8; }
.route-color-1 { --route: #c2510a; --route-soft: #fbeadb; }
.route-color-2 { --route: #00795f; --route-soft: #ddf1e9; }
.route-color-3 { --route: #a83a78; --route-soft: #f7e3ef; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .route-color-0 { --route: #6fb3e8; --route-soft: #10283f; }
  :root:not([data-theme="light"]) .route-color-1 { --route: #f0935c; --route-soft: #40230f; }
  :root:not([data-theme="light"]) .route-color-2 { --route: #3ecfa8; --route-soft: #0c352a; }
  :root:not([data-theme="light"]) .route-color-3 { --route: #e79bc4; --route-soft: #3c1b2d; }
}
:root[data-theme="dark"] .route-color-0 { --route: #6fb3e8; --route-soft: #10283f; }
:root[data-theme="dark"] .route-color-1 { --route: #f0935c; --route-soft: #40230f; }
:root[data-theme="dark"] .route-color-2 { --route: #3ecfa8; --route-soft: #0c352a; }
:root[data-theme="dark"] .route-color-3 { --route: #e79bc4; --route-soft: #3c1b2d; }
.cal { margin-top: 10px; }
.cal .cal-title { font-weight: 800; font-size: 13.5px; margin: 10px 0 5px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 10.5px; font-weight: 800; color: var(--dim); text-align: center; padding: 2px 0; }
.cal-day { border: 1px solid var(--border); border-radius: 8px; background: var(--bg); min-height: 40px; padding: 3px 2px; text-align: center; cursor: pointer; display: grid; align-content: start; gap: 0; }
.cal-day .d { font-size: 11px; font-weight: 700; color: var(--dim); }
.cal-day .p { font-size: 12px; font-weight: 900; font-family: "Archivo", system-ui, sans-serif; color: var(--route, var(--teal)); }
.cal-day.unpriced { opacity: .45; cursor: default; }
.cal-day.unpriced .p { color: var(--dim); font-weight: 600; }
.cal-day.cheapest { background: var(--route-soft, var(--accent-soft)); border-color: var(--route, var(--accent)); }
.cal-day.selected { outline: 2.5px solid var(--route, var(--accent)); outline-offset: 1px; }
.cal-day.blank { border: none; background: transparent; cursor: default; }
.winner-banner { margin-top: 14px; border-radius: 12px; padding: 14px 16px; background: var(--navy); color: #f2ecdd; font-size: 15.5px; }
.winner-banner b { color: #ffd968; }
.winner-banner button { margin-left: 10px; background: var(--gold); color: #0a2540; border: none; border-radius: 9px; padding: 8px 14px; font-weight: 900; }

/* ---- preferred ---- */
.pref-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pref-grid { grid-template-columns: repeat(3, 1fr); } }
.pref-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 14px; }
.pref-card.win { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.pref-card .pc-price { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 24px; }

/* ---- alerts / forms ---- */
.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-grid { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } }
.field input[type="email"] { border: none; background: transparent; width: 100%; outline: none; font-weight: 600; }
.form-ok { border: 1px solid var(--teal); background: var(--teal-soft); border-radius: 10px; padding: 10px 14px; font-weight: 600; margin-top: 12px; }
.saved-list { margin-top: 10px; display: grid; gap: 6px; }
.saved-list .sv { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.saved-list .sv button { margin-left: auto; border: none; background: transparent; color: #b3261e; font-weight: 800; }

/* ---- Yow ---- */
.yow-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; background: var(--navy); color: #fff; border: 2px solid var(--gold); border-radius: 999px; padding: 8px 16px 8px 8px; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; box-shadow: 0 12px 30px rgba(6,15,26,.4); }
.yow-panel { position: fixed; z-index: 90; right: 0; top: 0; bottom: 0; width: min(430px, 100vw); background: var(--surface); border-left: 1px solid var(--border); box-shadow: -18px 0 44px rgba(6,15,26,.28); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(105%); transition: transform .28s cubic-bezier(.2,1,.3,1); }
.yow-panel.open { transform: translateX(0); }
.yow-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.yow-head .yh-name { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 17px; }
.yow-head .yh-sub { font-size: 12px; color: var(--dim); }
.yow-head .icon-btn { margin-left: auto; }
.icon-btn { border: 1.5px solid var(--border); background: var(--surface); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; font-size: 15px; }
.yow-body { overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; animation: rise-in .3s both; }
.msg.yow { background: var(--surface-alt); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
:root[data-theme="dark"] .msg.user { background: var(--accent); color: #0a2540; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.user { background: var(--accent); color: #0a2540; } }
.msg .mini-fare { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.chip { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.chip:hover { background: var(--accent-soft); }
.yow-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.yow-input input { flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 15px; background: var(--bg); outline: none; }
.yow-input button.send { background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 10px 18px; font-weight: 900; }

/* ---- footer ---- */
footer.site { margin-top: 44px; background: var(--navy); color: #cfd8e3; }
footer.site .wrap { padding-top: 30px; padding-bottom: 26px; }
.foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer.site h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
footer.site a { color: #cfd8e3; text-decoration: none; display: block; padding: 3px 0; font-size: 14px; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 22px; padding-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.foot-bottom a { display: inline; padding: 0; }
.fb-btn { display: inline-flex !important; align-items: center; gap: 8px; background: #1877f2; color: #fff !important; border-radius: 9px; padding: 8px 13px; font-weight: 800; }
.settings-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.settings-row label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #93a5bb; display: grid; gap: 4px; }
.settings-row select { background: #0d2136; color: #f2ecdd; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 6px 8px; max-width: 170px; }

/* ---- static pages ---- */
.page-body { max-width: 820px; }
.page-body h2 { font-size: 19px; margin: 22px 0 6px; }
.page-body p { margin: 8px 0; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 14px 16px; margin-bottom: 10px; }
.faq-item h3 { margin: 0 0 5px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--dim); }
textarea.ta { width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--bg); min-height: 110px; font: inherit; }
.logo-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
.logo-formats .lf { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 16px; text-align: center; }
.logo-formats .lf p { font-size: 12px; color: var(--dim); margin: 8px 0 0; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .price-pin, .price-pin--cheapest, .fare-card, .dest-row, .msg { animation: none !important; }
  .yow-panel { transition: none; }
}
.hidden { display: none !important; }
