/* SeraniAI: clean, Apple-inspired. Desktop ≥1024 · Tablet 700–1023 · Phone <700 */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #e5e5ea;
  --teal: #2f7578;
  --teal-hi: #0d8389;
  --mint: #5fd3c9;
  --display: "Inter Tight", "SF Pro Display", system-ui, sans-serif;
  --body: "Inter", "SF Pro Text", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; line-height: 1.06; font-weight: 700; }
p { margin: 0; }
a { color: var(--teal-hi); text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--teal); margin-bottom: 10px; }
.sub { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); margin-top: 14px; letter-spacing: -0.01em; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head h2, .voice h2, .get h2 { font-size: clamp(38px, 5.2vw, 64px); }

/* buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 500; transition: background .2s; white-space: nowrap; }
.btn:hover { background: var(--teal-hi); }
.btn--sm { padding: 6px 14px; font-size: 13px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav__in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink); opacity: .75; font-size: 14px; }
.nav__links a:hover { opacity: 1; }

/* ===== Hero ===== */
.hero { padding: 72px 0 88px; background: radial-gradient(800px 500px at 75% 40%, rgba(95,211,201,.18), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 6.6vw, 88px); }
.lead { font-size: clamp(19px, 1.9vw, 24px); color: var(--muted); margin-top: 22px; max-width: 30ch; letter-spacing: -0.01em; }
.hero__cta { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__stage { display: flex; justify-content: center; }

.phone { width: 300px; aspect-ratio: 9 / 18.5; border-radius: 50px; padding: 11px; background: #1d1d1f; box-shadow: 0 60px 100px -50px rgba(13,60,62,.6), inset 0 0 0 2px #3a3a3c; position: relative; }
.phone__island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 20px; z-index: 2; }
.phone__screen { height: 100%; border-radius: 40px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 60px 16px 26px; color: #fff;
  background: radial-gradient(120% 60% at 50% 100%, rgba(95,211,201,.35), transparent 60%), radial-gradient(90% 50% at 0% 0%, rgba(126,99,255,.25), transparent 60%), #0b1f21; }
.phone__top { width: 100%; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; opacity: .85; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #9ff5ec; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: blink 1.2s infinite; }
.phone__chat { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; margin: 18px 0 22px; overflow: hidden; }
.bub { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.35; }
.bub--you { align-self: flex-end; background: var(--mint); color: #062224; border-bottom-right-radius: 6px; }
.bub--ai { align-self: flex-start; background: rgba(255,255,255,.13); color: #fff; border-bottom-left-radius: 6px; }
.bub.in { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.orb { position: relative; width: 70px; height: 70px; flex: none; }
.orb span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9fffa, #5fd3c9 45%, #2f7578 85%); box-shadow: 0 0 36px rgba(95,211,201,.6); }
.orb span + span { background: none; box-shadow: none; border: 1.5px solid rgba(95,211,201,.55); animation: ripple 2.6s ease-out infinite; }
.orb span:last-child { animation-delay: 1.3s; }
@keyframes ripple { to { transform: scale(1.9); opacity: 0; } }
.phone__hint { margin-top: 12px; font-size: 12px; opacity: .6; }
@keyframes blink { 50% { opacity: .2; } }

.stats { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 26px 8px 0; text-align: center; }
.stats b { display: block; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--teal); }
.stats span { font-size: 14px; color: var(--muted); }

/* ===== Voice ===== */
.voice { padding: 110px 0; background: var(--soft); }
.voice__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.voice__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.voice__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.chatcard { margin-top: 32px; padding: 20px; border-radius: 24px; background: #0b1f21; display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.chatcard .bub { font-size: 15px; }

/* ===== Feature cards ===== */
.features { padding: 120px 0 110px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--soft); border-radius: 28px; padding: 40px 32px 0; display: flex; flex-direction: column; text-align: center; min-height: 380px; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.card > p { color: var(--muted); margin-top: 8px; }
.card__art { flex: 1; display: grid; place-items: center; padding: 28px 0 36px; }
.card--teal { background: linear-gradient(180deg, #e6f5f3, #d7efec); }
.card--sun { background: linear-gradient(180deg, #fff8e8, #fdeccf); }
.card--warm { background: linear-gradient(180deg, #fff4e6, #fde3d3); }

.quote { width: 100%; max-width: 320px; padding: 16px 18px; border-radius: 20px; background: #fff; font-size: 16px; font-weight: 500; text-align: left; min-height: 4.4em; box-shadow: 0 16px 34px -22px rgba(0,0,0,.3); }
#memory::after { content: "▍"; color: var(--teal); animation: blink 1s steps(2) infinite; }
.quote--sun { min-height: 0; }
.toast { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; width: 100%; max-width: 330px; padding: 12px 14px; border-radius: 20px; background: #fff; text-align: left; box-shadow: 0 16px 34px -22px rgba(0,0,0,.35); animation: bob 3.5s ease-in-out infinite; }
.toast img { width: 40px; height: 40px; border-radius: 10px; }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 14px; }
.toast small { color: var(--muted); font-size: 12px; align-self: start; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips span { padding: 9px 16px; border-radius: 999px; background: #fff; font-weight: 500; font-size: 15px; }
.chips .on { background: var(--teal); color: #fff; }
.mission { width: 100%; max-width: 320px; padding: 16px 18px; border-radius: 20px; background: #fff; text-align: left; box-shadow: 0 16px 34px -22px rgba(0,0,0,.3); }
.mission__top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.mission__top b { color: var(--ink); }
.mission__bar { height: 8px; border-radius: 8px; background: #e8eeee; margin-top: 10px; overflow: hidden; }
.mission__bar span { display: block; height: 100%; width: 0; background: var(--teal); border-radius: inherit; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.mission__next { margin-top: 12px; font-size: 14px; font-weight: 500; }
.mission__next em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--teal); padding: 3px 8px; border-radius: 999px; margin-right: 6px; }
.carry { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 999px; background: #fff; font-size: 15px; box-shadow: 0 16px 34px -22px rgba(0,0,0,.3); }
.carry b { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ===== Flights ===== */
.flights { background: #000; color: #f5f5f7; padding: 110px 0; }
.head--dark h2 { color: #fff; }
.head--dark .sub { color: #a1a1a6; }
.head--dark .kicker { color: var(--mint); }
.flight { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: stretch; }
.flight > *, .voice__grid > *, .hero__grid > *, .duo__grid > * { min-width: 0; }
.flight__map { border-radius: 24px; background: #0d1112; padding: 20px; display: grid; place-items: center; }
.flight__map svg { width: 100%; height: auto; display: block; }
#land circle { fill: rgba(255,255,255,.13); }
.city { fill: #ffd27a; opacity: .75; }
.city--open { fill: #9ff5ec; opacity: 1; }
#arc { filter: drop-shadow(0 0 6px rgba(95,211,201,.7)); }
.flight__panel { border-radius: 24px; background: #0d1112; padding: 28px; display: flex; flex-direction: column; }
.flight__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #8e8e93; font-weight: 600; }
.dests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dest { border: 1px solid rgba(255,255,255,.16); background: transparent; color: #f5f5f7; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; white-space: nowrap; }
.dest:hover { border-color: var(--mint); }
.dest[aria-checked="true"] { background: var(--mint); border-color: var(--mint); color: #04201f; }
.dest small { opacity: .65; margin-left: 4px; }
.ticket { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ticket div { background: #1a1f20; border-radius: 16px; padding: 14px; }
.ticket small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8e8e93; font-weight: 600; }
.ticket b { font: 600 18px/1.2 var(--display); color: #fff; }

/* ===== Duo ===== */
.duo { padding: 110px 0 0; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card--tall { min-height: 520px; padding-top: 52px; }
.card--tall h3 { font-size: clamp(30px, 3.2vw, 40px); }
.streak { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.flare { position: relative; font-size: 104px; line-height: 1; filter: drop-shadow(0 18px 26px rgba(255,110,60,.35)); animation: flicker 2.4s ease-in-out infinite; }
.flare b { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); font: 700 34px var(--display); color: #fff; text-shadow: 0 2px 8px rgba(160,50,0,.4); }
@keyframes flicker { 50% { transform: scale(1.04) rotate(-1.5deg); } }
.cal { display: grid; grid-template-columns: repeat(14, 14px); gap: 5px; }
.cal i { width: 14px; height: 14px; border-radius: 4px; background: rgba(0,0,0,.07); }
.cal i.l1 { background: #f9c58c; }
.cal i.l2 { background: #f6a65d; }
.cal i.l3 { background: #ef7f3a; }
.board { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 8px; }
.board li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 16px; background: #fff; font-weight: 500; text-align: left; }
.board li b { margin-left: auto; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.board .me { box-shadow: inset 0 0 0 2px var(--teal); }
.rk { width: 16px; color: var(--muted); font-weight: 600; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 600; background: hsl(var(--h) 45% 48%); }

/* ===== Personas ===== */
.personas { padding: 120px 0; }
.faces { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.face { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; padding: 22px 10px 18px; border-radius: 22px; border: 0; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; }
.face span { font-size: 40px; line-height: 1; }
.face:hover { transform: translateY(-3px); }
.face.is-on { background: #fff; box-shadow: 0 0 0 2px var(--teal), 0 20px 40px -24px rgba(13,60,62,.5); }
.say { text-align: center; margin: 40px auto 0; max-width: 640px; font: 600 clamp(21px, 2.4vw, 28px)/1.3 var(--display); letter-spacing: -0.015em; transition: opacity .2s; }
.say.fade { opacity: 0; }

/* ===== Get ===== */
.get { padding: 0 0 110px; }
.get__box { border-radius: 32px; padding: 80px 24px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 20% 0%, rgba(95,211,201,.4), transparent 60%), linear-gradient(140deg, #1f5a5c, #0b2426); }
.get__icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 20px 40px -14px rgba(0,0,0,.5); }
.get h2 { color: #fff; }
.get .sub { color: #bfdedb; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; min-width: 172px; border-radius: 14px; background: #fff; color: #000; font: 600 19px/1.1 var(--display); text-align: left; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 500 11px var(--body); opacity: .75; }
.more--light { color: #fff; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0; font-size: 13px; color: var(--muted); }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__in img { height: 26px; width: auto; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }


/* ================================================================
   v3 layer: bigger logo, section gradients, motion, polish
   ================================================================ */
html { scroll-padding-top: 84px; }

/* nav */
.nav { transition: box-shadow .35s, background .35s; }
.nav.is-scrolled { background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -18px rgba(13,60,62,.35); }
.nav__in { height: 76px; transition: height .35s; }
.nav.is-scrolled .nav__in { height: 64px; }
.nav__logo img { height: 48px; transition: height .35s; }
.nav.is-scrolled .nav__logo img { height: 40px; }
.nav__links a { font-size: 15px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__web { margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--teal); }
.nav__web:hover { color: var(--teal-hi); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--mint), #ffd27a); }

/* buttons */
.btn { position: relative; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(47,117,120,.75); transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(47,117,120,.8); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.btn:hover::after { transform: translateX(120%); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 120px; background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 55%, var(--soft) 100%); }
.hero > .wrap { position: relative; z-index: 1; }
.mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mesh i { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { background: #b9ece5; top: -160px; right: 6%; }
.mesh i:nth-child(2) { background: #d8e4ff; top: 200px; right: -180px; opacity: .45; animation-duration: 23s; }
.mesh i:nth-child(3) { background: #ffe6c4; top: 320px; left: -220px; opacity: .35; animation-duration: 27s; }
@keyframes drift { to { transform: translate(-70px, 50px) scale(1.15); } }
.hero__title { font-size: clamp(52px, 6.6vw, 88px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.hero__title .grad { background: linear-gradient(100deg, var(--teal) 0%, #3fb3a9 35%, #2f7578 65%, #3fb3a9 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1.1s cubic-bezier(.2,.8,.2,1) .22s forwards, sheen 9s linear 1.4s infinite; }
@keyframes rise { to { transform: none; } }
@keyframes sheen { to { background-position: -220% center; } }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.platforms span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.75); color: var(--muted); font-size: 13px; font-weight: 500; }
.hero__stage.reveal { transform: translateY(40px) scale(.96); }
.hero__stage.reveal.in { transform: none; }
.hero__stage .phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.stats { border-top-color: rgba(0,0,0,.08); }

/* voice: soft grey that fades back to white */
.voice { background: linear-gradient(180deg, var(--soft) 0%, var(--soft) 65%, #ffffff 100%); }
.voice__photo { box-shadow: 0 40px 80px -40px rgba(13,60,62,.45); }
.voice__photo.reveal { opacity: 1; transform: none; filter: none; clip-path: inset(10% 10% 10% 10% round 28px); transition: clip-path 1.3s cubic-bezier(.2,.8,.2,1); }
.voice__photo.reveal.in { clip-path: inset(0 0 0 0 round 28px); }
.voice__photo img { transform: translateY(var(--py, 0px)) scale(1.12); will-change: transform; }
.chatcard .bub { opacity: 0; }
.chatcard.in .bub { opacity: 1; animation: pop .6s cubic-bezier(.2,.8,.2,1) both; }
.chatcard.in .bub:nth-child(1) { animation-delay: .5s; }
.chatcard.in .bub:nth-child(2) { animation-delay: 1.4s; }

/* features: white, leading into the dark flights band */
.features { padding-bottom: 140px; background: #fff; }
.card { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity 1s, filter 1s; border: 1px solid rgba(0,0,0,.04); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(13,60,62,.4); }
.card__art > * { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.card:hover .card__art > * { transform: scale(1.04); }
.chips span { transition: background .35s, color .35s; }
.carry b { position: relative; }
.carry b::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(29,29,31,.35); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(.92); } to { opacity: 0; transform: scale(1.18); } }

/* flights: soft gradient in and out of the dark band */
.flights { padding: 220px 0; background: linear-gradient(180deg, #ffffff 0, #e6f4f2 50px, #9cc9c5 105px, #3d7a7b 155px, #133b3d 205px, #071a1b 50%, #133b3d calc(100% - 205px), #3d7a7b calc(100% - 155px), #9cc9c5 calc(100% - 105px), #e6f4f2 calc(100% - 50px), #ffffff 100%); }
.flight__map, .flight__panel { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.city--open { animation: twinkle 2.8s ease-in-out infinite; }
.city--open:nth-of-type(2n) { animation-delay: 1.1s; }
@keyframes twinkle { 50% { opacity: .45; } }
.ticket div { background: rgba(255,255,255,.05); }

/* streaks + friends */
.duo { padding-top: 40px; }
.cal i { opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.cal.in i { opacity: 1; transform: none; }
.board li { position: relative; overflow: hidden; }
.board li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, rgba(95,211,201,.22), rgba(95,211,201,.04)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.board.in li::before { transform: scaleX(1); }
.board li > * { position: relative; }
.board li:nth-child(2)::before { transition-delay: .12s; }
.board li:nth-child(3)::before { transition-delay: .24s; }
.board li:nth-child(4)::before { transition-delay: .36s; }

/* personas: white fading to soft grey for the close */
.personas { background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%); }
.face span { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.face:hover span, .face.is-on span { transform: scale(1.15) rotate(-4deg); }
.say { min-height: 2.6em; }

/* download */
.get { background: var(--soft); }
.get__box { position: relative; overflow: hidden; }
.get__box > :not(.get__glow) { position: relative; }
.get__glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0deg, rgba(95,211,201,.28) 70deg, transparent 140deg, rgba(255,210,122,.16) 220deg, transparent 300deg); animation: spin 18s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.store { box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }

/* footer */
.foot { padding: 56px 0 0; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand img { height: 46px; width: auto; }
.foot__brand p { margin-top: 12px; color: var(--muted); }
.foot__grid nav { display: grid; gap: 10px; align-content: start; margin: 0; }
.foot__grid nav b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot__grid nav a { color: var(--muted); }
.foot__grid nav a:hover { color: var(--teal); }
.foot__base { margin-top: 40px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; }

/* reveal: softer, with a touch of blur */
.reveal { filter: blur(4px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1), filter 1s; }
.reveal.in, .no-js .reveal { filter: none; }

/* ===== Tablet ===== */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero { padding: 56px 0 72px; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .voice__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .chatcard { margin-inline: auto; text-align: left; }
  .cards { grid-template-columns: 1fr 1fr; }
  .flight { grid-template-columns: 1fr; }
}

/* ===== Phone ===== */
@media (max-width: 699px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 18px; }
  .phone { width: 250px; border-radius: 44px; padding: 10px; }
  .phone__screen { border-radius: 35px; padding-top: 54px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 52px; row-gap: 24px; }
  .stats li { padding-top: 22px; }
  .voice, .flights { padding: 72px 0; }
  .voice__photo { border-radius: 22px; }
  .features { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .head h2, .voice h2, .get h2 { font-size: 36px; }
  /* swipeable feature cards */
  .wrap--bleed { width: 100%; }
  .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .cards .card { flex: 0 0 82%; scroll-snap-align: center; min-height: 340px; padding: 32px 22px 0; }
  .flight__map { padding: 10px; border-radius: 18px; }
  .flight__panel { padding: 20px; border-radius: 18px; }
  .dests { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .dests::-webkit-scrollbar { display: none; }
  .ticket b { font-size: 16px; white-space: nowrap; }
  .ticket div { padding: 12px 10px; }
  .ticket small { font-size: 10px; letter-spacing: .04em; }
  .duo { padding-top: 72px; }
  .duo__grid { grid-template-columns: 1fr; }
  .card--tall { min-height: 0; padding-top: 40px; }
  .cal { grid-template-columns: repeat(14, 12px); gap: 4px; }
  .cal i { width: 12px; height: 12px; }
  .personas { padding: 80px 0; }
  .faces { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .faces::-webkit-scrollbar { display: none; }
  .face { flex: 0 0 116px; width: auto; padding: 18px 8px 14px; font-size: 13px; }
  .face span { font-size: 34px; }
  .get { padding-bottom: 72px; }
  .get__box { padding: 56px 20px; border-radius: 26px; }
  .store { min-width: 0; flex: 1 1 150px; justify-content: center; }
  .foot__in { flex-direction: column; text-align: center; gap: 14px; }
  .foot nav { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== desktop hero fits one screen, phone always fully visible ===== */
@media (min-width: 1024px) {
  .hero { padding: 32px 0 96px; }
  .hero__grid { min-height: calc(100svh - 76px - 32px); }
  .hero__stage { padding: 28px 0; }
  .hero__stage .phone { width: auto; height: clamp(440px, calc(100svh - 76px - 32px - 76px), 620px); }
}


/* ===== voice photo blends into the section instead of sitting in a box ===== */
.voice { position: relative; overflow: hidden; }
.voice__photo, .voice__photo.reveal, .voice__photo.reveal.in { border-radius: 0; box-shadow: none; clip-path: none; }
.voice__photo img { object-fit: cover; }
@media (min-width: 1024px) {
  .voice { display: flex; align-items: center; min-height: 720px; padding: 120px 0; }
  .voice__grid { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
  .voice__photo { position: absolute; top: 0; bottom: 0; left: 0; width: 62%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, #000 45%, rgba(0,0,0,.6) 70%, transparent 96%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 45%, rgba(0,0,0,.6) 70%, transparent 96%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    mask-composite: intersect; }
  .voice__photo img { width: 100%; height: 100%; object-position: 72% 40%; }
  .voice__copy { grid-column: 2; position: relative; z-index: 1; }
  .voice__photo.reveal { transform: scale(1.03); transition: opacity 1.4s cubic-bezier(.2,.8,.2,1), transform 1.6s cubic-bezier(.2,.8,.2,1), filter 1.2s; }
  .voice__photo.reveal.in { transform: none; }
}
@media (max-width: 1023px) {
  .voice { padding-top: 0; }
  .voice__grid { width: 100%; gap: 0; }
  .voice__photo { aspect-ratio: auto; height: clamp(300px, 62vw, 520px); margin-bottom: -56px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 100%); }
  .voice__photo img { width: 100%; height: 100%; object-position: 62% 35%; }
  .voice__copy { position: relative; z-index: 1; padding: 0 var(--gutter); }
}


/* ===== voice example: light frosted card that sits softly on the background ===== */
.chatcard { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 50px -30px rgba(13,60,62,.35), 0 2px 8px -4px rgba(13,60,62,.08); }
.chatcard .bub { font-size: 15px; }
.chatcard .bub--you { background: var(--teal); color: #fff; }
.chatcard .bub--ai { background: #e9f4f2; color: var(--ink); }

/* ===== v3 responsive ===== */
@media (max-width: 1023px) {
  .nav .btn--sm { margin-left: 0; }
  .nav__web { margin-left: auto; }
  .hero { padding: 64px 0 96px; }
  .platforms { justify-content: center; }
  .flights { padding: 170px 0; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .nav__in, .nav.is-scrolled .nav__in { height: 64px; }
  .nav__logo img { height: 40px; }
  .nav.is-scrolled .nav__logo img { height: 36px; }
  .nav__web { display: none; }
  .nav .btn--sm { margin-left: auto; padding: 8px 16px; font-size: 14px; }
  .hero { padding: 44px 0 80px; }
  .hero__title { font-size: 46px; }
  .mesh i { width: 360px; height: 360px; filter: blur(70px); }
  .flights { padding: 150px 0; background: linear-gradient(180deg, #ffffff 0, #e6f4f2 30px, #9cc9c5 65px, #3d7a7b 100px, #133b3d 135px, #071a1b 50%, #133b3d calc(100% - 135px), #3d7a7b calc(100% - 100px), #9cc9c5 calc(100% - 65px), #e6f4f2 calc(100% - 30px), #ffffff 100%); }
  .card:hover { transform: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span, .hero__title .grad { transform: none; animation: none; }
  .reveal, .voice__photo.reveal { filter: none; clip-path: none; }
  .chatcard .bub, .cal i { opacity: 1; transform: none; }
  .board li::before { transform: scaleX(1); }
}

/* ================================================================
   v4: Focus Flights ticket, streak + friends panes, personality card,
   download banner
   ================================================================ */

/* ---------- Focus Flights ---------- */
.ff { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.ff__head h2 { font-size: clamp(44px, 5.6vw, 76px); color: #fff; letter-spacing: -0.035em; }
.ff__accent { color: #8ee6da; }
.ff__head p { margin-top: 12px; font-size: clamp(18px, 1.8vw, 22px); color: #b9d3d0; }
.ff__map { margin-top: 20px; }
.ff__map svg { width: 100%; height: auto; display: block; overflow: visible; }
.ff__map .city { opacity: .3; }
.pin__halo { fill: rgba(158, 240, 228, .18); animation: halo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.pin__ring { fill: #0d2a2c; stroke: #9ff0e4; stroke-width: 3; }
.pin__dot { fill: #9ff0e4; }
.pin__label { fill: #fff; font: 600 21px "Inter", system-ui, sans-serif; paint-order: stroke; stroke: rgba(6, 20, 21, .75); stroke-width: 5px; stroke-linejoin: round; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ff__pick-label { margin: 18px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fbcb9; }
.ff__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #e8f6f4; font: 500 14px var(--body); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.ff__chip small { font-size: 12px; color: #9fbcb9; }
.ff__chip:hover { border-color: #8ee6da; }
.ff__chip[aria-checked="true"] { background: #8ee6da; border-color: #8ee6da; color: #06302c; }
.ff__chip[aria-checked="true"] small { color: #1d5a54; }

.fticket { padding: 24px; border-radius: 28px; color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); overflow: hidden; }
.fticket svg { flex: none; }
.fticket__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #b9d3d0; }
.fticket__top small { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #9fbcb9; }
.fticket__route { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 12px 0 18px; font: 700 clamp(26px, 2.5vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; }
.fticket__route svg { width: 26px; height: 26px; fill: none; stroke: #8ee6da; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fticket__route span { transition: opacity .3s; }
.fticket__art { margin: 0 -24px; aspect-ratio: 400 / 170; overflow: hidden; background: #0d2a2c; }
.fticket__art svg { width: 100%; height: 100%; display: block; }
.fticket__stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.fticket__stats > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fticket__stats > div + div { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .12); }
.fticket__stats svg { width: 26px; height: 26px; fill: none; stroke: #8ee6da; stroke-width: 1.8; stroke-linecap: round; }
.fticket__stats > div:nth-child(2) svg { fill: #8ee6da; stroke: none; }
.fticket__stats small { display: block; font-size: 13px; color: #b9d3d0; }
.fticket__stats b { font: 700 22px/1.2 var(--display); white-space: nowrap; }
.fticket__unlock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: #b9d3d0; }
.fticket__unlock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fticket__cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 14px 20px; border-radius: 999px; background: #9eeadf; color: #06302c; font-weight: 600; transition: background .2s, transform .2s; }
.fticket__cta:hover { background: #b8f2e9; transform: translateY(-1px); }
.fticket__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.fticket__cta:hover svg { transform: translateX(3px); }
.scene-swap { animation: sceneIn .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes sceneIn { from { opacity: .2; transform: scale(1.04); } }

/* ---------- Streak + friends ---------- */
.pane { padding: 32px; border-radius: 28px; background: #fff; border: 1px solid #e9eeee; box-shadow: 0 24px 50px -38px rgba(13, 60, 62, .4); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, opacity 1s, filter 1s; }
.pane:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -36px rgba(13, 60, 62, .45); }
.pane--streak { background: linear-gradient(180deg, #fff8f1, #fff0e4); border-color: #f6e2d2; }
.pane__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pane h3 { margin-top: 10px; font-size: clamp(30px, 3vw, 40px); }
.pane__sub { margin-top: 10px; max-width: 34ch; font-size: 17px; color: var(--muted); }
.pane__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.flame { position: relative; flex: none; display: grid; justify-items: center; text-align: center; padding-top: 4px; }
.flame__glow { position: absolute; top: -18px; left: 50%; width: 130px; height: 130px; margin-left: -65px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 90, .35), transparent 70%); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.12); opacity: .8; } }
.flame__ic { position: relative; font-size: 62px; line-height: 1; animation: flicker 2.4s ease-in-out infinite; }
.flame b { position: relative; margin-top: 6px; font: 700 40px/1 var(--display); letter-spacing: -0.02em; }
.flame small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.heat { display: grid; grid-template-columns: auto repeat(16, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 6px; margin-top: 26px; }
.heat span { font-size: 12px; color: var(--muted); padding-right: 8px; align-self: center; line-height: 1; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: #f7e3d4; opacity: 0; transform: scale(.4); transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.heat.in i { opacity: 1; transform: none; }
.heat i.l1 { background: #f6c6a3; }
.heat i.l2 { background: #f1a172; }
.heat i.l3 { background: #e57b45; }
.heat i.today { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #e57b45; }

.lb { margin-top: 22px; }
.lb li { display: grid; grid-template-columns: 24px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid #eef1f1; border-radius: 14px; }
.lb li:first-child { border-top-color: transparent; }
.lb li.is-me { border: 2px solid var(--teal); background: #eef8f6; padding: 11px 13px; }
.lb li.is-me + li { border-top-color: transparent; }
.lb__rk { color: var(--muted); font-weight: 600; text-align: center; }
.lb__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 6px 14px -6px var(--b); }
.lb__nm { font-weight: 600; }
.lb b { font: 700 18px var(--display); font-variant-numeric: tabular-nums; }
.lb li { opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.lb.in li { opacity: 1; transform: none; }
.lb.in li:nth-child(2) { transition-delay: .1s; }
.lb.in li:nth-child(3) { transition-delay: .2s; }

/* ---------- Personality card ---------- */
.pcard { padding: 44px; border-radius: 32px; background: #fff; border: 1px solid #e9eeee; box-shadow: 0 30px 60px -44px rgba(13, 60, 62, .4); }
.pcard h2 { font-size: clamp(32px, 3.6vw, 48px); }
.pcard__sub { margin-top: 10px; font-size: 18px; color: var(--muted); }
.ptabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.ptabs button { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid #e3e8e8; background: #fff; color: var(--ink); font: 600 16px/1.25 var(--body); text-align: left; cursor: pointer; transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.ptabs button:hover { border-color: var(--teal); transform: translateY(-2px); }
.ptabs svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s, transform .3s; }
.ptabs button[aria-selected="true"] { border: 2px solid var(--teal); padding: 17px; background: #eef8f6; box-shadow: 0 14px 30px -20px rgba(47, 117, 120, .6); }
.ptabs button[aria-selected="true"] svg { stroke: var(--teal); transform: scale(1.08); }
.ptabs__check { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1.4); }
.ptabs__check::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ptabs button[aria-selected="true"] .ptabs__check { opacity: 1; transform: none; }
.psample { display: flex; align-items: center; gap: 24px; margin-top: 16px; padding: 22px 28px; border-radius: 20px; background: linear-gradient(90deg, #dbf0eb, #eef8f5); }
.psample__leaf { width: 64px; height: 64px; flex: none; animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
.psample__leaf path { fill: #3c8a83; stroke: #3c8a83; stroke-width: 1.2; }
.psample__leaf path:first-child { fill: none; stroke-width: 2.5; stroke-linecap: round; }
@keyframes sway { 50% { transform: rotate(-5deg); } }
.psample__rule { width: 1px; align-self: stretch; background: rgba(47, 117, 120, .3); }
.psample__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #4f6362; }
.psample__line { margin-top: 8px; font: 600 clamp(20px, 2vw, 24px)/1.35 var(--display); color: var(--ink); transition: opacity .25s, transform .25s; }
.psample__line.fade { opacity: 0; transform: translateY(4px); }

/* ---------- Download banner ---------- */
.get { padding: 30px 0 110px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; align-items: center; gap: 44px; padding: 44px 52px; border-radius: 32px; overflow: hidden; color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(95, 211, 201, .2), transparent 60%), linear-gradient(120deg, #143a39, #0b2223); box-shadow: 0 40px 80px -40px rgba(11, 34, 35, .6); }
.banner__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #b9d3d0; }
.banner h2 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 46px); color: #fff; }
.banner__copy > h2 + p { margin-top: 10px; font-size: 18px; color: #c9dedb; }
.banner__note { display: block; margin-top: 10px; font-size: 13px; color: #9fbcb9; }
.window { width: 160px; height: 210px; padding: 12px; border-radius: 80px; background: linear-gradient(145deg, #34494a, #15292a); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 30px 50px -20px rgba(0, 0, 0, .6); animation: bob 6s ease-in-out infinite; }
.window__glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 68px; background: linear-gradient(180deg, #f3a77c 0%, #f7cfa1 32%, #cfe6e6 58%, #6fb1bb 61%, #2f7d8c 100%); box-shadow: inset 0 0 22px rgba(0, 0, 0, .35); }
.window__sun { position: absolute; left: 50%; top: 30%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle, #fffbe8, #ffd795 60%, rgba(255, 215, 149, 0) 72%); box-shadow: 0 0 34px 12px rgba(255, 214, 140, .55); }
.window__cloud { position: absolute; left: -70px; height: 9px; border-radius: 10px; background: rgba(255, 255, 255, .8); filter: blur(1px); animation: cloud 16s linear infinite; }
.window__cloud--a { top: 18%; width: 60px; }
.window__cloud--b { top: 42%; width: 42px; animation-delay: -7s; animation-duration: 21s; }
@keyframes cloud { to { left: 180px; } }
.window__city { position: absolute; left: 0; right: 0; top: 47%; width: 100%; height: 15%; fill: #4f6b84; opacity: .85; }
.window__sea { position: absolute; left: 0; right: 0; bottom: 0; height: 39%; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 9px); opacity: .55; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: 0 18px; } }
.banner__actions { display: grid; gap: 10px; min-width: 210px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 15px var(--body); transition: transform .2s, background .2s, border-color .2s; }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill:hover { transform: translateY(-2px); }
.pill--mint { background: #9eeadf; color: #06302c; }
.pill--mint:hover { background: #b8f2e9; }
.pill--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.pill--ghost:hover { border-color: #fff; }
.pill--ghost svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- v4 responsive ---------- */
@media (max-width: 1023px) {
  .ff { grid-template-columns: 1fr; gap: 32px; }
  .ff__head, .ff__pick-label { text-align: center; }
  .ff__chips { justify-content: center; }
  .fticket { width: 100%; max-width: 540px; margin: 0 auto; }
  .ptabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .banner { grid-template-columns: minmax(0, 1fr) auto; padding: 40px; }
  .banner__actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 699px) {
  .ff__head h2 { font-size: 44px; }
  .fticket { padding: 20px; border-radius: 24px; }
  .fticket__art { margin: 0 -20px; }
  .fticket__stats b { font-size: 18px; }
  .fticket__stats > div + div { padding-left: 12px; }
  .pane { padding: 24px; }
  .pane:hover { transform: none; }
  .flame__ic { font-size: 50px; }
  .flame b { font-size: 32px; }
  .heat { gap: 4px; }
  .heat span { font-size: 10px; padding-right: 4px; }
  .lb li { grid-template-columns: 20px 40px minmax(0, 1fr) auto; gap: 10px; }
  .lb__av { width: 40px; height: 40px; }
  .pcard { padding: 28px 20px; border-radius: 26px; }
  .ptabs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ptabs button { padding: 14px; font-size: 15px; }
  .ptabs button[aria-selected="true"] { padding: 13px; }
  .ptabs button:last-child { grid-column: 1 / -1; }
  .psample { padding: 18px; gap: 14px; }
  .psample__leaf { width: 44px; height: 44px; }
  .psample__rule { display: none; }
  .banner { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; }
  .window { display: none; }
  .banner__actions { grid-auto-flow: row; justify-content: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .heat i, .lb li { opacity: 1; transform: none; }
}
.ff > * { min-width: 0; }
@media (max-width: 699px) {
  .pin__label { font-size: 36px; stroke-width: 7px; }
}

/* ===== v4.1: tighter lead-in to Focus Flights ===== */
.features { padding-bottom: 56px; }
.flights { padding: 150px 0 140px; background: linear-gradient(180deg, #ffffff 0, #e6f4f2 24px, #9cc9c5 52px, #3d7a7b 82px, #133b3d 112px, #071a1b 50%, #133b3d calc(100% - 112px), #3d7a7b calc(100% - 82px), #9cc9c5 calc(100% - 52px), #e6f4f2 calc(100% - 24px), #ffffff 100%); }
.duo { padding-top: 24px; }
@media (max-width: 699px) {
  .features { padding-bottom: 40px; }
  .flights { padding: 110px 0 100px; background: linear-gradient(180deg, #ffffff 0, #e6f4f2 18px, #9cc9c5 38px, #3d7a7b 60px, #133b3d 82px, #071a1b 50%, #133b3d calc(100% - 82px), #3d7a7b calc(100% - 60px), #9cc9c5 calc(100% - 38px), #e6f4f2 calc(100% - 18px), #ffffff 100%); }
}

/* ===== v4.2: real photos in the flight card ===== */
.fticket__art { position: relative; }
.fticket__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: 0; transition: opacity .6s ease; }
.fticket__photo.is-on { opacity: 1; }
.fticket__labels { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 26px 14px 10px; font: 600 12px var(--body); color: #fff; background: linear-gradient(180deg, transparent, rgba(6, 20, 21, .55)); pointer-events: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* ===== v4.4: feature cards alternate mint and soft grey ===== */
.cards > .card:nth-child(odd) { background: linear-gradient(180deg, #e8f6f3, #d6eee9); border-color: #cfe9e3; }
.cards > .card:nth-child(even) { background: var(--soft); border-color: rgba(0, 0, 0, .04); }

/* ===== v4.5: long, eased fades in and out of Focus Flights (even lightness steps) ===== */
.flights { padding: 190px 0 180px; background: linear-gradient(180deg, #ffffff 0px, #fbfdfd 20px, #eef7f6 40px, #dbedeb 60px, #c3e0dd 80px, #a6cfcb 100px, #8abab7 120px, #70a5a3 140px, #558e8e 160px, #3c7879 180px, #2d6263 200px, #204f50 220px, #153e40 240px, #0f3133 260px, #0c2829 280px, #0a2223 300px, #092021 320px, #071a1b 50%, #092021 calc(100% - 320px), #0a2223 calc(100% - 300px), #0c2829 calc(100% - 280px), #0f3133 calc(100% - 260px), #153e40 calc(100% - 240px), #204f50 calc(100% - 220px), #2d6263 calc(100% - 200px), #3c7879 calc(100% - 180px), #558e8e calc(100% - 160px), #70a5a3 calc(100% - 140px), #8abab7 calc(100% - 120px), #a6cfcb calc(100% - 100px), #c3e0dd calc(100% - 80px), #dbedeb calc(100% - 60px), #eef7f6 calc(100% - 40px), #fbfdfd calc(100% - 20px), #ffffff calc(100% - 0px)); }
@media (max-width: 699px) {
  .flights { padding: 130px 0 120px; background: linear-gradient(180deg, #ffffff 0px, #fbfdfd 13px, #eef7f6 26px, #dbedeb 39px, #c3e0dd 52px, #a6cfcb 66px, #8abab7 79px, #70a5a3 92px, #558e8e 105px, #3c7879 118px, #2d6263 131px, #204f50 144px, #153e40 158px, #0f3133 171px, #0c2829 184px, #0a2223 197px, #092021 210px, #071a1b 50%, #092021 calc(100% - 210px), #0a2223 calc(100% - 197px), #0c2829 calc(100% - 184px), #0f3133 calc(100% - 171px), #153e40 calc(100% - 158px), #204f50 calc(100% - 144px), #2d6263 calc(100% - 131px), #3c7879 calc(100% - 118px), #558e8e calc(100% - 105px), #70a5a3 calc(100% - 92px), #8abab7 calc(100% - 79px), #a6cfcb calc(100% - 66px), #c3e0dd calc(100% - 52px), #dbedeb calc(100% - 39px), #eef7f6 calc(100% - 26px), #fbfdfd calc(100% - 13px), #ffffff calc(100% - 0px)); }
}

/* ===== v4.6: voice example bubbles sit directly on the section, no box ===== */
.chatcard { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; border-radius: 0; }
.chatcard .bub--you { box-shadow: 0 10px 24px -14px rgba(47, 117, 120, .7); }
.chatcard .bub--ai { background: #fff; box-shadow: 0 10px 24px -16px rgba(13, 60, 62, .35); }

/* ================================================================
   v5: cursor-driven 3D tilt, depth and glare (mouse / trackpad only)
   ================================================================ */
@media (hover: hover) and (pointer: fine) {
  [data-tilt] { position: relative; transform-style: preserve-3d; will-change: transform; }
  [data-tilt].reveal.in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
  [data-tilt].is-tilting { transition: box-shadow .45s, background .3s; }

  /* moving light on the surface */
  [data-tilt]::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
    background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%); mix-blend-mode: soft-light; }
  [data-tilt].is-tilting::before { opacity: 1; }
  .hero__stage[data-tilt]::before, .ff__map[data-tilt]::before { display: none; }

  /* feature cards: lift and pull the preview toward the viewer */
  .card[data-tilt]:hover { --lift: -6px; }
  .card[data-tilt] .card__art { transform-style: preserve-3d; }
  .card[data-tilt] .card__art > * { transform: translateZ(28px); }
  .card[data-tilt]:hover .card__art > * { transform: translateZ(46px) scale(1.03); }
  .card[data-tilt] h3 { transform: translateZ(18px); }
  .card[data-tilt]:hover, .pane[data-tilt]:hover { box-shadow: 0 40px 70px -40px rgba(13, 60, 62, .5); }
  .pane[data-tilt]:hover { --lift: -4px; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }

  /* hero: the phone turns toward the cursor, its contents float at different depths */
  .hero__stage[data-tilt] { perspective: none; }
  .hero__stage .phone__chat { transform: translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -9px)); transition: transform .2s; }
  .hero__stage .orb { transform: translate(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px)); transition: transform .2s; }
  .hero .mesh { translate: calc(var(--hx, 0) * -36px) calc(var(--hy, 0) * -24px); transition: translate .6s cubic-bezier(.2, .8, .2, 1); }
  .hero .phone { box-shadow: calc(var(--mx, 0) * -30px) 60px 100px -50px rgba(13, 60, 62, .6), inset 0 0 0 2px #3a3a3c; }

  /* flights: the map leans, the ticket tilts with a sheen */
  .ff__map[data-tilt] svg { transform: translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -6px)); transition: transform .2s; }
  .fticket[data-tilt] .fticket__art { transform: translateZ(30px); }

  /* download banner: the plane window drifts against the cursor */
  .banner[data-tilt] .window { translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 12px); transition: translate .3s; }
  .banner[data-tilt] { overflow: hidden; }
}

/* ===== v5.1: short "Log in" link on phones ===== */
.nav__web-short { display: none; }
@media (max-width: 699px) {
  .nav__in, .nav.is-scrolled .nav__in { gap: 14px; }
  .nav__web { display: inline-block; margin-left: auto; font-size: 15px; white-space: nowrap; }
  .nav__web-full { display: none; }
  .nav__web-short { display: inline; }
  .nav .btn--sm { margin-left: 0; }
}
@media (max-width: 379px) {
  .ptabs { grid-template-columns: 1fr; }
  .ptabs button:last-child { grid-column: auto; }
  .ptabs__check { right: -4px; }
}
