/* MangoFlight — twilight at cruising altitude: deep indigo sky, contrail cream, the logo's sky blue and a mango horizon. */
:root {
    --night: #0B0A24;
    --night-2: #14123A;
    --dusk: #2B2370;
    --violet: #5B4BC4;
    --sky: #38BDF8;
    --sky-2: #9FDCFF;
    --mango: #FFB627;
    --mango-2: #FF6A3D;
    --cream: #FFF4E2;
    --ink-2: rgba(255, 244, 226, .72);
    --ink-3: rgba(255, 244, 226, .48);
    --line: rgba(255, 244, 226, .12);
    --glass: rgba(26, 22, 72, .55);
    --glass-2: rgba(255, 255, 255, .06);
    --ok: #5BE3A4;
    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Martian Mono', ui-monospace, Menlo, monospace;
    --r: 22px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --gutter: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--cream); -webkit-font-smoothing: antialiased;
    /* The sky warms from night to a mango horizon as the page goes down */
    background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 28%, #1C1650 55%, #2A1B55 74%, #47234F 88%, #6B2E3F 100%);
    background-color: var(--night);
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--mango); color: var(--night); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--mango); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .02em; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mango); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mango); box-shadow: 0 0 0 0 rgba(255, 182, 39, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 182, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 182, 39, 0); } }
.h2 { font: 700 clamp(34px, 5vw, 64px)/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.h3 { font: 700 clamp(26px, 3vw, 38px)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 14px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 0; }
.section-intro { margin-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 800px) { .br-wide { display: none; } }

/* ---------- buttons ---------- */
.btn { --x: 0px; --y: 0px; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 700 15px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transform: translate(var(--x), var(--y)); transition: transform .25s var(--ease), box-shadow .25s, background .25s; isolation: isolate; overflow: hidden; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-mango { background: linear-gradient(120deg, var(--mango), var(--mango-2)); color: #1A0E05; box-shadow: 0 14px 34px -14px rgba(255, 106, 61, .8); }
.btn-mango::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-mango:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--cream); border-color: var(--line); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 244, 226, .35); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover svg { transform: translateY(3px); }

.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; z-index: 50; width: min(1200px, 100% - 28px); transform: translateX(-50%); display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px solid transparent; transition: background .35s, border-color .35s, top .35s; }
.nav.is-stuck { background: rgba(11, 10, 36, .72); border-color: var(--line); backdrop-filter: blur(16px); top: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -.02em; }
.brand b { color: var(--mango); font-weight: 800; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--cream); background: rgba(255, 255, 255, .07); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 74px 14px auto; z-index: 49; display: grid; gap: 4px; padding: 14px; border-radius: 22px; background: rgba(11, 10, 36, .94); border: 1px solid var(--line); backdrop-filter: blur(16px); }
.mobile-menu[hidden] { display: none; }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
.mobile-menu a:not(.btn) { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 12px; }
.mobile-menu .btn { justify-content: center; margin-top: 6px; }
@media (max-width: 900px) {
    .nav-links, .nav > .btn { display: none; }
    .nav-toggle { display: inline-flex; }
}

/* ---------- altimeter ---------- */
.altimeter { position: fixed; right: 18px; top: 50%; z-index: 40; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.altimeter.is-on { opacity: 1; }
.alt-scale { position: relative; width: 26px; height: 46vh; overflow: hidden; mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.alt-scale i { position: absolute; right: 0; height: 1px; background: var(--ink-3); }
.alt-scale i.major { background: var(--cream); }
.alt-window { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(11, 10, 36, .78); border: 1px solid var(--line); backdrop-filter: blur(10px); font-family: var(--mono); text-align: right; min-width: 92px; }
.alt-label { font-size: 9px; letter-spacing: .2em; color: var(--ink-3); }
.alt-value { font-size: 17px; font-weight: 600; color: var(--mango); font-variant-numeric: tabular-nums; }
.alt-fix { font-size: 10px; letter-spacing: .14em; color: var(--sky-2); }
@media (max-width: 1420px) { .altimeter { display: none; } }

.contrail { position: fixed; inset: 0; z-index: 45; pointer-events: none; width: 100%; height: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-sun { position: absolute; z-index: -2; left: 50%; bottom: -55vh; width: 120vw; height: 80vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 182, 39, .38), rgba(255, 106, 61, .16) 45%, transparent 75%); filter: blur(10px); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translateX(-50%) scale(1.06); opacity: .8; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-title { font: 800 clamp(48px, 7.6vw, 112px)/.92 var(--display); letter-spacing: -.05em; margin: 0 0 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.hero-title em { font-style: normal; background: linear-gradient(100deg, var(--mango) 10%, var(--mango-2) 60%, #FF8FB1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(17px, 1.55vw, 21px); color: var(--ink-2); max-width: 52ch; margin: 0 0 34px; opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 34px 0 0; font: 500 12px var(--mono); color: var(--ink-3); opacity: 0; animation: fade .9s .75s var(--ease) forwards; }
.hero-tags li::before { content: '◆'; color: var(--sky); margin-right: 8px; font-size: 9px; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 10px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--mango), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* instruments */
.instruments { position: relative; display: grid; gap: 16px; justify-items: end; perspective: 1200px; }
.inst { width: min(100%, 400px); opacity: 0; animation: fade 1s var(--ease) forwards; }
.inst-flight { padding: 22px 22px 18px; animation-delay: .5s; }
.inst-pass { padding: 18px 20px; width: min(100%, 360px); margin-right: 40px; animation-delay: .8s; background: linear-gradient(135deg, rgba(255, 182, 39, .14), rgba(56, 189, 248, .08)), var(--glass); }
.inst-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.inst-head i { color: var(--mango); font-style: normal; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pill-live { background: rgba(91, 227, 164, .14); color: var(--ok); }
.pill-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.gauge { position: relative; margin: 6px auto 4px; width: 230px; }
.gauge svg { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge-track { stroke: rgba(255, 255, 255, .08); }
.gauge-fill { stroke: url(#gaugeGrad); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset .6s var(--ease); filter: drop-shadow(0 0 10px rgba(255, 182, 39, .5)); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge-read strong { display: block; font: 800 46px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge-read span { font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }
.inst-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.inst-stats div { padding: 10px 12px; border-radius: 14px; background: var(--glass-2); }
.inst-stats dt { font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.inst-stats dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.inst-stats dd.bump { animation: bump .6s var(--ease); color: var(--mango); }
@keyframes bump { 30% { transform: translateY(-4px) scale(1.08); } }
.pass-row { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.pass-row.big { font: 800 34px/1 var(--display); letter-spacing: -.03em; margin: 10px 0; justify-content: space-between; }
.pass-row.big svg { width: 90px; fill: none; stroke: var(--mango); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.pass-status { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px; color: var(--ok); }
.check { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); position: relative; }
.check::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.inst-toasts { position: relative; z-index: 3; justify-self: start; width: 290px; height: 0; animation: none; opacity: 1; }
.instruments { gap: 44px; }
.inst-toasts .toast { top: -50px; left: -36px; }
.toast { position: absolute; left: 0; top: 0; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 244, 226, .96); color: var(--night); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: toast 4.4s var(--ease) forwards; }
.toast b { display: block; font: 700 14px var(--body); }
.toast small { font: 500 10.5px var(--mono); color: #4A4568; }
.toast .t-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mango), var(--mango-2)); color: #1A0E05; font-weight: 800; }
.toast .t-amt { margin-left: auto; font: 700 15px var(--mono); }
@keyframes toast { 0% { opacity: 0; transform: translate(-20px, 20px) scale(.95); } 12%, 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(0, -40px) scale(.96); } }
.inst-note { font-size: 10px; color: var(--ink-3); margin: 2px 40px 0 0; letter-spacing: .1em; }
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .instruments { justify-items: center; }
    .inst-pass { margin-right: 0; }
    .inst-toasts { justify-self: center; }
    .inst-toasts .toast { left: 0; }
    .inst-note { margin-right: 0; }
}

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255, 182, 39, .05); transform: rotate(-1.4deg); margin: 20px -20px 0; }
.ticker-track { display: flex; gap: 28px; width: max-content; align-items: center; font: 700 clamp(20px, 2.6vw, 34px) var(--display); letter-spacing: -.02em; white-space: nowrap; animation: marquee 48s linear infinite; }
.ticker-track i { color: var(--mango); font-style: normal; font-size: .6em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- flight path ---------- */
.flightpath { padding: clamp(100px, 14vw, 180px) 0 60px; }
.path-stage { position: relative; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-svg path { fill: none; stroke-linecap: round; }
.path-ghost { stroke: rgba(255, 244, 226, .14); stroke-width: 2; stroke-dasharray: 2 10; }
.path-line { stroke: url(#none); stroke: var(--mango); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(255, 182, 39, .7)); }
.path-plane { position: absolute; left: 0; top: 0; z-index: 4; width: 46px; height: 46px; margin: -23px 0 0 -23px; pointer-events: none; will-change: transform; }
.path-plane svg { width: 100%; height: 100%; fill: var(--cream); filter: drop-shadow(0 0 14px rgba(255, 182, 39, .9)); }
.waypoint { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(60px, 9vw, 120px) 0; }
.waypoint.flip .wp-copy { order: 2; }
.wp-code { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--sky-2); letter-spacing: .14em; }
.wp-code span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sky); color: var(--sky); font-size: 11px; }
.wp-copy p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border: solid var(--mango); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.path-landing { text-align: center; padding: 30px 0 0; color: var(--mango); letter-spacing: .2em; }
@media (max-width: 860px) {
    .waypoint { grid-template-columns: 1fr; }
    .waypoint.flip .wp-copy { order: 0; }
    .path-svg, .path-plane { display: none; }
}

.wp-demo { padding: 22px; min-height: 300px; }
.demo-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: 14px; }
.demo-foot { display: flex; justify-content: space-between; margin-top: 12px; color: var(--ink-3); font-size: 10px; letter-spacing: .14em; }

/* plan */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.days span { text-align: center; padding: 9px 0; border-radius: 10px; font: 600 12px var(--mono); background: var(--glass-2); color: var(--ink-3); transition: background .4s, color .4s, transform .4s var(--ease); }
.days span.on { background: linear-gradient(135deg, var(--mango), var(--mango-2)); color: #1A0E05; transform: translateY(-3px); }
.season { display: grid; grid-template-columns: repeat(26, 1fr); grid-auto-rows: 14px; gap: 4px; }
.season i { border-radius: 3px; background: rgba(255, 255, 255, .05); transition: background .3s, transform .3s var(--ease); }
.season i.out { background: var(--mango); transform: scale(1.12); box-shadow: 0 0 8px rgba(255, 182, 39, .6); }
.season i.ret { background: var(--sky); transform: scale(1.12); box-shadow: 0 0 8px rgba(56, 189, 248, .6); }

/* price */
/* The cabin seen from above, nose on the left: one column per seat row, the aisle across the middle */
.seatmap { position: relative; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto) 10px repeat(3, auto); grid-template-columns: repeat(32, 1fr); gap: 3px; padding: 18px 16px 18px 34px; border-radius: 60px 22px 22px 60px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.seatmap i { aspect-ratio: 1; border-radius: 3px 5px 5px 3px; background: rgba(255, 255, 255, .07); transition: background .25s, transform .25s; }
.seatmap i.gap { background: none; }
.seatmap i.sold { background: var(--sky); }
.seatmap i.sold.t2 { background: #7FD4C9; }
.seatmap i.sold.t3 { background: var(--mango); }
.seatmap i.sold.t4 { background: var(--mango-2); }
.seatmap i.pop { transform: scale(1.3); }
.tiers { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 10.5px; }
.tiers li { padding: 9px 8px; border-radius: 12px; background: var(--glass-2); color: var(--ink-3); transition: background .3s, color .3s; }
.tiers b { display: block; font-size: 15px; color: var(--cream); margin-top: 3px; }
.tiers li.is-now { background: rgba(255, 182, 39, .16); color: var(--mango); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .5); }

/* sell */
[data-demo="sell"] { position: relative; display: grid; justify-items: center; padding: 0; }
.phone { position: relative; width: 250px; height: 470px; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #2F2A63, #0E0C2A); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), inset 0 0 0 2px rgba(255, 255, 255, .1); transform: rotate(-4deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-2deg) translateY(-10px); } }
.phone-notch { position: absolute; left: 50%; top: 18px; z-index: 2; width: 80px; height: 20px; border-radius: 12px; background: #050414; transform: translateX(-50%); }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: linear-gradient(180deg, #F8F3EA, #FFF); color: #1A1840; padding: 48px 14px 14px; }
.phone-steps { display: flex; gap: 4px; margin-bottom: 14px; font-size: 7.5px; }
.phone-steps span { flex: 1; text-align: center; padding: 5px 0; border-radius: 6px; background: #ECE6F5; color: #8C86A8; transition: background .3s, color .3s; }
.phone-steps span.done { background: #DCEFFD; color: #0369A1; }
.phone-steps span.now { background: linear-gradient(120deg, var(--mango), var(--mango-2)); color: #1A0E05; }
.phone-views { position: relative; height: 330px; }
.pv { position: absolute; inset: 0; display: grid; align-content: start; gap: 9px; opacity: 0; transform: translateX(30px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pv.on { opacity: 1; transform: none; }
.pv > b { font: 800 22px/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 4px; }
.pv-field { padding: 12px; border-radius: 12px; background: #F1ECF7; font-size: 13px; font-weight: 600; }
.pv-field.ghost { background: none; border: 1.5px dashed #CFC7E0; color: #8C86A8; }
.pv-card { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px -10px rgba(26, 24, 64, .4); font-size: 12.5px; font-weight: 600; }
.pv-card strong { font-family: var(--mono); font-size: 13px; }
.pv-card.dim { opacity: .65; }
.pv-card.ok strong { color: #0E7A4F; }
.pv-chip { justify-self: start; padding: 6px 10px; border-radius: 999px; background: #FFF0D3; color: #9A5B00; font-size: 11px; font-weight: 700; }
.pv-cal, .pv-seats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pv-cal i, .pv-seats i { aspect-ratio: 1; border-radius: 6px; background: #EFEAF6; }
.pv-cal i.on { background: var(--mango); }
.pv-seats { grid-template-columns: repeat(6, 1fr); }
.pv-seats i.t { background: #C9C2DA; }
.pv-seats i.me { background: var(--sky); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sky); }
.channels { position: absolute; right: -10px; bottom: 20px; display: grid; gap: 8px; padding: 14px 16px; font-size: 13px; font-weight: 600; transform: rotate(3deg); }
.switch { display: flex; align-items: center; gap: 10px; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .15); position: relative; transition: background .3s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(12px); }
@media (max-width: 560px) { .channels { position: static; transform: none; margin-top: 16px; } }

/* connect */
.graph { width: 100%; height: auto; }
.graph .edges path { fill: none; stroke: rgba(255, 244, 226, .22); stroke-width: 1.5; stroke-dasharray: 3 6; }
.graph .pulses circle { fill: var(--mango); filter: drop-shadow(0 0 6px var(--mango)); }
.graph .nodes circle { fill: #1C1850; stroke: rgba(56, 189, 248, .55); stroke-width: 1.5; }
.graph .nodes text { fill: var(--cream); font: 600 10px var(--body); text-anchor: middle; }
.graph .hub circle { fill: #0B0A24; stroke: var(--mango); stroke-width: 2; animation: hub 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes hub { 50% { stroke-width: 6; stroke-opacity: .5; } }
.keys { display: grid; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--ink-2); }
.keys span { padding: 8px 12px; border-radius: 10px; background: var(--glass-2); }
.keys b { color: var(--sky-2); font-weight: 600; margin-right: 8px; }

/* board */
.pnl { margin: 0; min-height: 168px; padding: 14px; border-radius: 14px; background: rgba(5, 4, 20, .6); color: var(--sky-2); font-size: 10.5px; line-height: 1.75; white-space: pre-wrap; overflow: hidden; }
.pnl .cursor { display: inline-block; width: 7px; height: 13px; background: var(--mango); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.qr-wrap { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.qr { display: grid; grid-template-columns: repeat(17, 1fr); width: 102px; height: 102px; padding: 6px; border-radius: 10px; background: var(--cream); }
.qr i { background: transparent; transition: background .2s; }
.qr i.on { background: #0B0A24; }
.qr-cap { font-size: 11px; color: var(--ink-3); line-height: 1.8; }
.qr-cap b { color: var(--cream); font-size: 14px; }

/* settle */
.invoice { position: relative; padding: 22px; border-radius: 16px; background: var(--cream); color: #1A1840; transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.inv-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: .2em; margin-bottom: 16px; }
.lang { padding: 4px 8px; border-radius: 6px; background: #1A1840; color: var(--mango); font-size: 10px; letter-spacing: .1em; }
.inv-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 11.5px; }
.inv-lines li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed #D6CFE6; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s var(--ease); }
.inv-lines li.on { opacity: 1; transform: none; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-weight: 700; }
.inv-total strong { font-size: 26px; }
.stamp { position: absolute; right: 26px; top: 54px; padding: 6px 14px; border: 3px solid #0E7A4F; border-radius: 10px; color: #0E7A4F; font-size: 20px; font-weight: 600; letter-spacing: .15em; transform: rotate(-14deg) scale(2.2); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.stamp.on { opacity: .9; transform: rotate(-14deg) scale(1); }

/* ---------- cockpit bento ---------- */
.cockpit { padding: clamp(90px, 12vw, 160px) 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; perspective: 1400px; }
.cell { position: relative; padding: 26px; overflow: hidden; transform-style: preserve-3d; transition: transform .25s var(--ease), border-color .3s; }
.cell::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 182, 39, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cell:hover { border-color: rgba(255, 182, 39, .35); }
.cell:hover::before { opacity: 1; }
.c-wide { grid-column: span 2; }
.c-tall { grid-row: span 2; }
.cell h3 { font: 700 21px/1.15 var(--display); letter-spacing: -.02em; margin: 18px 0 8px; }
.cell p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cell-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 182, 39, .12); color: var(--mango); }
.cell-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark { height: 64px; margin-top: 18px; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark path.l { fill: none; stroke: var(--mango); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.spark path.a { fill: url(#sparkFill); opacity: 0; transition: opacity 1s 1s; }
.spark.on path.l { stroke-dashoffset: 0; }
.spark.on path.a { opacity: 1; }
.langs { margin-top: 16px; height: 22px; overflow: hidden; color: var(--sky-2); font-size: 12px; }
.langs span { display: block; animation: lang-in .5s var(--ease); }
@keyframes lang-in { from { transform: translateY(100%); opacity: 0; } }
.search-demo { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: rgba(5, 4, 20, .5); border: 1px solid var(--line); font-size: 12px; color: var(--cream); display: flex; align-items: center; min-height: 44px; }
.search-demo i { width: 7px; height: 14px; margin-left: 2px; background: var(--mango); animation: blink 1s steps(1) infinite; }
.bars { display: flex; align-items: end; gap: 6px; height: 70px; margin-top: 18px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--mango), rgba(255, 106, 61, .3)); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.reveal.in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; } .bars i:nth-child(5) { transition-delay: .2s; }
.bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; } .bars i:nth-child(9) { transition-delay: .4s; } .bars i:nth-child(10) { transition-delay: .45s; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-tall { grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .c-wide { grid-column: auto; } }

/* ---------- timeline ---------- */
.log { padding: clamp(80px, 10vw, 140px) 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sky), var(--mango) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 44px; padding: 18px 0; opacity: .25; transition: opacity .5s; }
.timeline li.on { opacity: 1; }
.timeline li::before { content: ''; position: absolute; left: 144px; top: 25px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid var(--ink-3); transition: background .4s, border-color .4s, box-shadow .4s; }
.timeline li.on::before { background: var(--mango); border-color: var(--mango); box-shadow: 0 0 0 6px rgba(255, 182, 39, .18); }
.timeline .t { text-align: right; color: var(--mango); padding-top: 3px; }
.timeline b { color: var(--cream); }
.timeline div { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
@media (max-width: 640px) {
    .timeline::before { left: 7px; }
    .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
    .timeline li::before { left: 1px; top: 21px; }
    .timeline .t { text-align: left; }
}

/* ---------- who ---------- */
.who { padding: clamp(60px, 8vw, 120px) 0; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who-card { position: relative; padding: 30px 26px 34px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .05), transparent); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.who-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--sky), var(--mango)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.who-card:hover { transform: translateY(-6px); border-color: rgba(255, 244, 226, .25); }
.who-card:hover::after { transform: scaleX(1); }
.who-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(56, 189, 248, .12); color: var(--sky); font-size: 14px; }
.who-card h3 { font: 700 26px/1.1 var(--display); letter-spacing: -.03em; margin: 22px 0 10px; }
.who-card p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- demo ---------- */
.demo { padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.demo .h2 { font-size: clamp(48px, 7vw, 96px); }
.demo-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.demo-points li { display: flex; gap: 12px; color: var(--ink-2); }
.demo-points li::before { content: '✈'; color: var(--mango); }
.demo-form { position: relative; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0; margin-bottom: 8px; }
.field input:not([type="checkbox"]) { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 4, 20, .45); color: var(--cream); font: 500 16px var(--body); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus { border-color: var(--mango); box-shadow: 0 0 0 4px rgba(255, 182, 39, .15); }
.field input.bad { border-color: #FF7A7A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chips input:checked + span { background: var(--mango); border-color: var(--mango); color: #1A0E05; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.demo-form .btn { justify-self: start; }
.form-note { margin: -4px 0 0; font-size: 13px; color: var(--ink-3); }
.form-error { margin: 0; color: #FF9A9A; font-weight: 600; font-size: 14px; }
.form-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 30px; text-align: center; border-radius: var(--r); background: rgba(11, 10, 36, .96); }
.form-done p { margin: 0; color: var(--ink-2); }
.form-done a { color: var(--mango); }
.paper-plane { width: 84px; height: 84px; fill: none; stroke: var(--mango); stroke-width: 2.5; stroke-linejoin: round; animation: fly 1.4s var(--ease); }
@keyframes fly { 0% { transform: translate(-80px, 60px) rotate(-20deg) scale(.6); opacity: 0; } 60% { transform: translate(10px, -8px) rotate(4deg); opacity: 1; } }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { position: relative; padding: 50px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-grid p { margin: 8px 0 0; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.footer nav a:hover { color: var(--mango); }
.footer-word { font: 800 clamp(70px, 16vw, 260px)/.8 var(--display); letter-spacing: -.06em; text-align: center; margin-top: 40px; background: linear-gradient(180deg, rgba(255, 244, 226, .16), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; transform: translateY(14%); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tilt { transition: transform .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-title .line > span { transform: none; }
    .contrail { display: none; }
}
@media (max-width: 700px) { .hero-map { opacity: .5; } }
