:root {
  --sky: #2457E6;
  --sky-light: #8DB8FF;
  --ink: #0F1D47;
  --ink-soft: #4A5784;
  --fox: #FF7A1A;
  --fox-dark: #E2600A;
  --brass: #F2B23A;
  --cloud: #EEF4FF;
  --paper: #FFFFFF;
  --line: #D6E1FA;
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
a { color: var(--sky); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 999px; font-size: .95rem; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #1C47CC 0%, var(--sky) 45%, var(--sky-light) 100%); padding: 72px 0 96px; }
.clouds { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.hero-badge { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-weight: 500; font-size: .95rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -.01em; max-width: 9ch; }
.lead { font-size: 1.15rem; max-width: 34em; margin: 22px 0 0; color: rgba(255,255,255,.92); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; padding: 15px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; background: var(--fox); color: #fff; box-shadow: 0 6px 0 var(--fox-dark); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--fox-dark); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--fox-dark); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; transform: none; }
.btn-dark { background: var(--ink); box-shadow: 0 6px 0 #050B22; margin-top: 24px; }
.btn-dark:hover { box-shadow: 0 4px 0 #050B22; }

.flight { position: relative; margin-right: -72px; }
.plane { width: 100%; height: auto; overflow: visible; animation: fly-in 1.8s cubic-bezier(.2,.7,.2,1) both; }
.biplane, .banner { animation: bob 4s ease-in-out 1.8s infinite; }
.banner { animation-delay: 2s; }
.prop { transform-box: fill-box; transform-origin: center; animation: spin .12s linear infinite; }
.scarf { transform-box: fill-box; transform-origin: right center; animation: flutter .5s ease-in-out infinite alternate; }
.banner-text { font-family: var(--display); font-weight: 800; font-size: 15px; fill: var(--fox-dark); }
.tail-f { font-family: var(--display); font-weight: 800; font-size: 15px; fill: #fff; text-anchor: middle; }
@keyframes fly-in { from { transform: translateX(-45%) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes spin { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
@keyframes flutter { from { transform: skewY(-4deg); } to { transform: skewY(4deg); } }

/* facts */
.facts { background: var(--paper); padding: 72px 0 24px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.fact { border-top: 3px solid var(--fox); padding-top: 18px; }
.fact h2 { font-size: 1.1rem; font-weight: 600; }
.fact p { margin: 10px 0 0; color: var(--ink-soft); font-size: .98rem; }

/* sections */
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--ink-soft); max-width: 40em; margin: 14px 0 0; }

/* route */
.route { padding: 72px 0; }
.route-steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.route-steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 16%; border-top: 3px dashed var(--sky-light); }
.route-steps li { position: relative; }
.waypoint { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: #fff; font-family: var(--display); font-weight: 800; box-shadow: 0 0 0 8px var(--paper); position: relative; }
.route-steps h3 { font-size: 1.15rem; font-weight: 600; margin-top: 20px; }
.route-steps p { margin: 8px 0 0; color: var(--ink-soft); }

/* tariffs as boarding passes */
.tariffs { background: var(--cloud); padding: 80px 0; }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 18px; filter: drop-shadow(0 10px 18px rgba(15,29,71,.10)); }
.ticket-main { padding: 22px 22px 26px; flex: 1; }
.ticket-flight { margin: 0; color: var(--ink-soft); font-size: .9rem; font-weight: 500; }
.ticket h3 { font-size: 1.15rem; font-weight: 600; margin-top: 6px; }
.ticket-price { font-family: var(--display); font-weight: 800; font-size: 2.3rem; margin: 18px 0 2px; font-variant-numeric: tabular-nums; }
.ticket-per { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.ticket-stub { position: relative; display: block; text-align: center; padding: 16px; font-weight: 700; text-decoration: none; color: var(--ink); border-top: 2px dashed var(--line); }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cloud); }
.ticket-stub::before { left: -12px; }
.ticket-stub::after { right: -12px; }
.ticket-stub:hover { color: var(--fox-dark); }
.ticket-hit .ticket-main { background: var(--ink); color: #fff; border-radius: 18px 18px 0 0; }
.ticket-hit .ticket-flight, .ticket-hit .ticket-per { color: #B9C6EE; }
.ticket-hit .ticket-stub { background: var(--fox); color: #fff; border-radius: 0 0 18px 18px; border-top-color: rgba(255,255,255,.5); }
.ticket-hit .ticket-stub:hover { background: var(--fox-dark); color: #fff; }
.stamp { position: absolute; top: 14px; right: 14px; z-index: 1; transform: rotate(12deg); border: 2px solid var(--brass); color: var(--brass); font-family: var(--display); font-weight: 800; font-size: .85rem; padding: 3px 10px; border-radius: 8px; }
.fine { color: var(--ink-soft); font-size: .92rem; max-width: 52em; margin: 28px 0 0; }

/* support */
.support { padding: 88px 0; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chat { background: #E4EDFF; border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 12px; max-width: 440px; justify-self: end; width: 100%; }
.msg { margin: 0; padding: 12px 16px; border-radius: 18px; max-width: 85%; font-size: .97rem; }
.msg-bot { background: #fff; border-bottom-left-radius: 6px; }
.msg-user { background: var(--sky); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 85%; }
.chips span { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: .85rem; text-align: center; }

/* faq */
.faq { background: var(--cloud); padding: 80px 0; }
.faq-wrap { max-width: 820px; }
.faq details { background: var(--paper); border-radius: 14px; padding: 18px 22px; margin-top: 12px; }
.faq details:first-of-type { margin-top: 32px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style-position: outside; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* footer */
.foot { background: var(--ink); color: #C9D3F2; padding: 48px 0; font-size: .95rem; }
.foot a { color: #fff; }
.foot p { margin: 6px 0; }
.foot-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.logo-light { color: #fff; }
.copy { color: #8391BE; }

/* legal pages */
.doc { max-width: 820px; padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.doc h2 { font-family: var(--text); font-size: 1.15rem; font-weight: 700; margin: 30px 0 8px; }
.doc p { margin: 8px 0; }
.muted { color: var(--ink-soft); }

/* responsive */
@media (max-width: 900px) {
  .flight { margin-right: 0; }
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .flight { order: -1; margin: 0 -8px 8px; }
  .hero h1 { max-width: none; }
  .facts-grid, .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: 1fr; gap: 36px; }
  .chat { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .facts-grid, .tickets, .route-steps { grid-template-columns: 1fr; }
  .route-steps::before { top: 24px; bottom: 24px; left: 24px; right: auto; border-top: 0; border-left: 3px dashed var(--sky-light); }
  .route-steps li { padding-left: 72px; }
  .waypoint { position: absolute; left: 0; top: 0; }
  .route-steps h3 { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .plane, .biplane, .banner, .prop, .scarf { animation: none; }
  html { scroll-behavior: auto; }
}
