:root {
  color-scheme: light;
  --ink: #112743;
  --muted: #516278;
  --blue: #1651b7;
  --line: #dbe5f0;
  --paper: #f5f8fd;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #e37e25; outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, .button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 3rem;
  background: var(--blue); color: white; border: 0; border-radius: .7rem;
  padding: .7rem 1.2rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
button:hover, .button:hover { background: #103e92; }
.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.nav { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
nav a, .nav-phone, .brand { text-decoration: none; }
.nav a { color: var(--ink); font-weight: 650; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 8rem; height: auto; }
.hero {
  color: white;
  background: radial-gradient(ellipse at 87% 0%, #5489d5 0%, transparent 49%),
    radial-gradient(ellipse at 105% 110%, #16848d 0%, transparent 45%),
    linear-gradient(110deg,#0c2342,#193f73);
}
.hero-inner { padding-block: clamp(2.8rem, 6vw, 5.3rem) 2.5rem; }
h1,h2,h3,p { margin: 0 0 .8rem; overflow-wrap: anywhere; }
h1,h2,h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); max-width: 20ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
h3 { margin-top: 1.5rem; }
.hero h1 + p { max-width: 40ch; color: #e3efff; }
.eyebrow { font-weight: 800; font-size: .82rem; letter-spacing: .14em; color: #315c96; }
.hero .eyebrow { color: #b7d7ff; }
.search, .panel { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 1.1rem; padding: clamp(1rem, 3vw, 1.6rem); box-shadow: 0 10px 30px #06234c0c; }
.search { margin-top: 1.8rem; }
.trip-controls, fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
fieldset { border: 0; margin: 0; padding: 0; }
.trip-controls { margin-bottom: .8rem; }
.trip-controls select { margin-left: .25rem; }
.flight-fields { display: grid; grid-template-columns: 1.25fr 1.25fr 1fr 1fr auto; gap: .65rem; align-items: end; }
label { font-size: .9rem; font-weight: 700; }
.flight-fields label, .stack label:not(.consent) { display: grid; gap: .3rem; min-width: 0; }
.flight-fields label[hidden] { display: none; }
input:not([type=radio],[type=checkbox]), select, textarea { min-width: 0; color: var(--ink); padding: .65rem .75rem; border: 1px solid #aebfd5; border-radius: .55rem; background: #fff; }
.flight-fields input { width: 100%; min-height: 3rem; }
input[type=radio], input[type=checkbox] { accent-color: var(--blue); }
.search small { display: block; margin-top: .7rem; color: var(--muted); }
.section { padding-block: 2.3rem; }
.section + .section { padding-top: .6rem; }
.cards, .routes, .split { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(4,1fr); }
.routes { grid-template-columns: repeat(3,1fr); }
.split { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.destination { position: relative; display: flex; min-height: 10rem; gap: .8rem; flex-direction: column; justify-content: space-between; padding: 1rem; color: white; border-radius: .9rem; text-decoration: none; background: linear-gradient(145deg,#0c2953,#3566a4); overflow: hidden; }
.destination::after { content: ""; position: absolute; right: -2rem; top: -4rem; border: 1px solid #ffffff65; width: 10rem; height: 11rem; border-radius: 50%; box-shadow: 0 0 0 1rem #ffffff16, 0 0 0 2rem #ffffff12; pointer-events: none; }
.mi { background: linear-gradient(140deg,#10394b,#167679); }
.lv { background: linear-gradient(140deg,#3a214f,#8a4063); }
.la { background: linear-gradient(140deg,#392650,#8a513c); }
.airport { font-weight: 800; letter-spacing: .12em; }
.destination strong { display: block; font-size: 1.35rem; }
.carrier, .routes a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .8rem; text-decoration: none; color: var(--ink); }
.carrier:hover, .routes a:hover { border-color: var(--blue); }
.carrier span, .routes a span { color: #35577e; }
.routes strong { font-size: 1.15rem; }
.stack { display: grid; gap: .85rem; }
.stack > button { justify-self: start; }
.stack p, .stack h2 { margin: 0; }
.section > form { margin-block: 1rem; }
.panel textarea { min-height: 5rem; resize: vertical; }
.centered { text-align: center; padding-block: 3rem; }
.centered h1 { margin-inline: auto; }
.spinner { height: 2.8rem; width: 2.8rem; margin: 0 auto 1rem; border: .25rem solid #dbe6f6; border-top-color: var(--blue); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error,.notice { padding: .6rem .85rem; border-radius: .45rem; }
.error { background: #ffe8e8; color: #7d1e24; }
.notice { background: #e2f6e8; color: #164f32; }
.narrow, .prose p { max-width: 45rem; }
.lead { margin-bottom: .7rem; }
summary { cursor: pointer; font-weight: 700; }
.trap, .visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; inset: .5rem auto auto .5rem; background: white; z-index: 5; padding: .6rem; }
footer { background: #e9f0fa; padding: 1.75rem 0 5.6rem; margin-top: 1.5rem; }
footer nav { margin-block: .75rem; }
.floating { position: fixed; z-index: 2; right: 1rem; bottom: max(1rem,env(safe-area-inset-bottom)); padding: .65rem 1rem; border-radius: 2rem; background: #112f5f; color: white; box-shadow: 0 6px 24px #11274340; text-decoration: none; font-weight: 750; }
@media (max-width: 60rem) {
  .flight-fields { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .flight-fields button { grid-column: 1 / -1; }
}
@media (max-width: 44rem) {
  .nav { flex-wrap: wrap; justify-content: flex-start; padding-block: .6rem; }
  .nav nav { gap: .5rem .8rem; }
  .nav-phone { display: none; }
  .flight-fields,.cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split,.routes { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 1.5rem); }
}
@media (max-width: 22rem) { .flight-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
