/* LYVR homepage (index.html only). Every rule is scoped to <main class="hv">
   so the shared style.css (footer, other pages) is untouched; the topbar lives in style.css.
   Layout: one trip told in order. Light hero, then Departure / Layover / Arrival as
   alternating day (light) and night (dark) bands; phones pin while the story scrolls. */
.hv section { padding: 0; }
.hv {
  --day: #f3f6fb;          
  --day-2: #ffffff;
  --ink: #0d1726;
  --ink-2: #4c5b70;
  --night: #070d18;        
  --night-2: #0f1828;
  --night-line: #1d2a3f;
  --paper: #eef3fb;        
  --paper-2: #93a3bb;
  --brand: #2b6ff0;
  --brand-hi: #5b93ff;
  --teal: #0fae9c;
  --amber: #ffb547;
  --go: #3ddc84;
  --grad: linear-gradient(135deg, #4e8cfb 0%, #1e97c4 55%, #0fae9c 100%);
  --f-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --f-body: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  
}
.hv {
  margin: 0; background: var(--day); color: var(--ink);
  font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.hv img { max-width: 100%; display: block; }
.hv a { color: inherit; }
.hv h1, .hv h2, .hv h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.025em; }
.hv p { margin: 0; }
.hv .wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.hv .mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; }
.hv .phone { width: 100%; max-width: 300px; aspect-ratio: 560 / 1136; position: relative; }
.hv .phone img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(5, 15, 35, .28)); }
.hv .on-night .phone img { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.hv .btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap;
  transition: transform .15s ease;
}
.hv .btn:hover { transform: translateY(-1px); }
.hv .btn:focus-visible, .hv a:focus-visible { outline: 3px solid var(--brand-hi); outline-offset: 3px; }
.hv .btn-lg { font-size: 17px; padding: 15px 26px; }
.hv .btn-brand { background: var(--brand); }
.hv .btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.hv .hero { position: relative; padding-top: clamp(48px, 8vw, 96px); text-align: center; overflow: hidden; }
.hv .hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: 0;
  background: radial-gradient(50% 50% at 50% 60%, rgba(43, 111, 240, .16), transparent 70%),
              radial-gradient(30% 30% at 75% 40%, rgba(15, 174, 156, .14), transparent 70%);
}
.hv .hero > * { position: relative; z-index: 1; }
.hv .board {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--day-2); box-shadow: 0 1px 0 rgba(13, 23, 38, .06), 0 6px 20px rgba(13, 23, 38, .06);
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.hv .board b { font: 700 12px var(--f-mono); color: #fff; background: var(--brand); padding: 4px 9px; border-radius: 999px; letter-spacing: .04em; }
.hv .hero h1 { font-size: clamp(44px, 8.4vw, 104px); line-height: .96; font-weight: 800; margin: 26px auto 22px; max-width: 12ch; }
.hv .hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv .hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 600px; margin: 0 auto; }
.hv .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hv .hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.hv .stage { position: relative; height: clamp(520px, 62vw, 700px); margin-top: 56px; max-width: 1180px; margin-inline: auto; }
.hv .stage .phone { position: absolute; left: 50%; bottom: -170px; transform: translateX(-50%); max-width: 330px; width: 34vw; min-width: 250px; }
.hv .stage .side { width: 26vw; max-width: 260px; min-width: 0; bottom: -200px; opacity: .96; }
.hv .stage .side.l { transform: translateX(calc(-50% - 118%)) rotate(-7deg); }
.hv .stage .side.r { transform: translateX(calc(-50% + 118%)) rotate(7deg); }
.hv .chip {
  position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; text-align: left;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: 0 10px 30px rgba(13, 23, 38, .12);
  font-size: 14px; line-height: 1.35; max-width: 290px; animation: hv-float 6s ease-in-out infinite;
}
.hv .chip i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-style: normal; color: #fff; }
.hv .chip i svg { width: 20px; height: 20px; }
.hv .chip strong { display: block; font-weight: 700; color: var(--ink); }
.hv .chip span { color: var(--ink-2); }
.hv .chip.a { left: 2%; top: 18%; }
.hv .chip.b { right: 1%; top: 8%; animation-delay: -2s; }
.hv .chip.c { left: 6%; top: 52%; animation-delay: -4s; }
.hv .chip.d { right: 4%; top: 46%; animation-delay: -1s; }
@keyframes hv-float { 50% { transform: translateY(-8px); } }
.hv .rail {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(10, 16, 28, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.hv .rail a {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  color: rgba(238, 243, 251, .7); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s;
}
.hv .rail a .mono { font-size: 11px; opacity: .6; }
.hv .rail a.on { background: var(--paper); color: var(--ink); }
.hv .rail a.on .mono { opacity: 1; color: var(--brand); }
.hv .rail a.get { background: var(--brand); color: #fff; }
.hv .band { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.hv .on-day { background: var(--day); color: var(--ink); }
.hv .on-day-2 { background: var(--day-2); color: var(--ink); }
.hv .on-night { background: var(--night); color: var(--paper); }
.hv .on-night .sub, .hv .on-night .chapter .lede2 { color: var(--paper-2); }
@media (max-width: 420px) {
.hv .rail a { padding: 8px 10px; }
}
.hv .leg {
  display: flex; align-items: center; gap: 14px; font: 700 13px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.hv .on-night .leg { color: var(--brand-hi); }
.hv .leg .dash { flex: 0 0 48px; height: 0; border-top: 2px dashed currentColor; opacity: .5; }
.hv .chapter h2 { font-size: clamp(48px, 9vw, 120px); line-height: .9; font-weight: 800; margin-top: 18px; }
.hv .chapter .lede2 { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-2); max-width: 640px; margin-top: 22px; }
.hv .h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; font-weight: 800; }
.hv .sub { color: var(--ink-2); font-size: 18px; max-width: 560px; margin-top: 16px; }
.hv .kicker { font: 700 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.hv .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 64px; }
.hv .tile {
  position: relative; overflow: hidden; border-radius: 30px; background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line); padding: 34px 34px 0; display: flex; flex-direction: column; min-width: 0;
}
.hv .tile h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; font-weight: 700; }
.hv .tile p { color: var(--paper-2); margin-top: 12px; max-width: 46ch; }
.hv .tile .phone { margin: 34px auto -90px; max-width: 280px; }
.hv .t-wide { grid-column: span 7; }
.hv .t-narrow { grid-column: span 5; }
.hv .t-half { grid-column: span 6; }
.hv .t-sky { background: radial-gradient(120% 90% at 50% 120%, rgba(43, 111, 240, .38), transparent 60%), var(--night-2); }
.hv .t-amber { background: radial-gradient(120% 90% at 50% 120%, rgba(255, 181, 71, .22), transparent 60%), var(--night-2); }
.hv .duo { display: flex; justify-content: center; gap: 18px; }
.hv .duo .phone { margin-inline: 0; max-width: 240px; }
.hv .duo .phone:last-child { margin-top: 70px; }
.hv .waits { display: grid; gap: 10px; margin-top: 26px; }
.hv .wait { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--night-line); }
.hv .wait .where { font-weight: 600; }
.hv .wait .where small { display: block; color: var(--paper-2); font-weight: 400; font-size: 13px; }
.hv .wait .min { font: 700 22px var(--f-mono); }
.hv .min.ok { color: var(--go); }
.hv .min.mid { color: var(--amber); }
.hv .min.hi { color: #ff7a6b; }
.hv .tile .foot { margin: 22px 0 30px; font-size: 13px; color: var(--paper-2); }
.hv .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 90px); margin-top: 40px; }
.hv .story-pin { position: sticky; top: 90px; height: calc(100vh - 120px); display: grid; place-items: center; }
.hv .story-pin .screens { position: relative; width: min(330px, 100%); aspect-ratio: 560 / 1136; max-height: 100%; }
.hv .story-pin .screens .phone { position: absolute; inset: 0; max-width: none; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.hv .story-pin .screens .phone.on { opacity: 1; transform: none; }
.hv .story-pin .screens .phone:first-child { opacity: 1; transform: none; }
.hv .story-pin .screens.js .phone:first-child:not(.on) { opacity: 0; transform: translateY(24px) scale(.97); }
.hv .steps { display: flex; flex-direction: column; }
.hv .step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .3; transition: opacity .4s; }
.hv .step.on { opacity: 1; }
.hv .steps:not(.js) .step { opacity: 1; }
.hv .step .n { font: 700 13px var(--f-mono); color: var(--brand); letter-spacing: .1em; }
.hv .on-night .step .n { color: var(--brand-hi); }
.hv .step h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; font-weight: 800; margin-top: 12px; }
.hv .step p { font-size: 19px; color: var(--ink-2); margin-top: 16px; max-width: 30em; }
.hv .on-night .step p { color: var(--paper-2); }
.hv .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hv .tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(43, 111, 240, .1); color: var(--brand); }
.hv .on-night .tag { background: rgba(91, 147, 255, .14); color: #a9c6ff; }
.hv .tag.g { background: rgba(15, 174, 156, .12); color: #0b8a7c; }
.hv .on-night .tag.g { background: rgba(61, 220, 132, .14); color: var(--go); }
.hv .route-line { position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--night-line) 0 8px, transparent 8px 14px); }
.hv .tbt .steps { position: relative; padding-left: 28px; }
.hv .tbt .step::before { content: ""; position: absolute; left: -28px; width: 16px; height: 16px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 3px var(--night-line); transition: box-shadow .3s, background .3s; }
.hv .tbt .step { position: relative; }
.hv .tbt .step.on::before { background: var(--brand-hi); box-shadow: 0 0 0 6px rgba(91, 147, 255, .2); }
.hv .eta { display: inline-flex; gap: 22px; margin-top: 22px; padding: 14px 20px; border-radius: 16px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.hv .eta div { display: flex; flex-direction: column; }
.hv .eta b { font: 700 24px var(--f-mono); color: var(--go); }
.hv .eta span { font-size: 12px; color: var(--paper-2); text-transform: uppercase; letter-spacing: .1em; }
.hv .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: 64px; align-items: start; }
.hv .trio figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hv .trio figure:nth-child(2) { margin-top: 80px; }
.hv .trio figcaption { text-align: center; max-width: 30ch; }
.hv .trio figcaption b { display: block; font: 700 20px var(--f-display); letter-spacing: -.01em; }
.hv .trio figcaption span { color: var(--ink-2); font-size: 16px; }
.hv .verdict { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hv .verdict div { padding: 10px 16px; border-radius: 14px; background: var(--day); font-size: 14px; }
.hv .verdict b { font-family: var(--f-mono); }
.hv .v-good b { color: #0b8a7c; }
.hv .v-tight b { color: #c07a00; }
.hv .v-no b { color: #c43d2e; }
.hv .arrival-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hv .share-card { margin-top: 30px; border-radius: 24px; padding: 22px 24px; background: var(--grad); color: #fff; max-width: 420px; box-shadow: 0 20px 50px rgba(15, 174, 156, .25); }
.hv .share-card small { font-size: 13px; opacity: .85; }
.hv .share-card b { display: block; font: 800 40px/1.05 var(--f-display); margin: 4px 0; letter-spacing: -.02em; }
.hv .share-card .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin-top: 14px; overflow: hidden; }
.hv .share-card .bar i { display: block; height: 100%; width: 72%; background: #fff; border-radius: 3px; }
.hv .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(13, 23, 38, .08); border-radius: 24px; overflow: hidden; margin-top: 60px; }
.hv .stats div { background: var(--day-2); padding: 26px 24px; }
.hv .stats b { display: block; font: 800 clamp(30px, 4vw, 44px)/1 var(--f-display); letter-spacing: -.02em; }
.hv .stats span { color: var(--ink-2); font-size: 15px; }
.hv .faq { max-width: 820px; margin: 48px auto 0; }
.hv .faq details { border-top: 1px solid rgba(13, 23, 38, .1); padding: 22px 0; }
.hv .faq details:last-child { border-bottom: 1px solid rgba(13, 23, 38, .1); }
.hv .faq summary { cursor: pointer; font: 700 21px var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.hv .faq summary::after { content: "+"; font-weight: 400; color: var(--brand); }
.hv .faq details[open] summary::after { content: "–"; }
.hv .faq p { color: var(--ink-2); margin-top: 12px; }
.hv .cta { text-align: center; border-radius: 40px; padding: clamp(56px, 8vw, 100px) var(--gutter); background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.hv .cta h2 { font-size: clamp(40px, 7vw, 88px); font-weight: 800; line-height: .95; }
.hv .cta p { font-size: 19px; opacity: .9; margin-top: 18px; }
.hv .cta .btn { background: #fff; color: var(--ink); margin-top: 32px; }
.hv .cta .codes { position: absolute; inset: 0; font: 700 clamp(60px, 12vw, 160px)/1 var(--f-mono); color: rgba(255, 255, 255, .07); display: flex; flex-wrap: wrap; gap: 0 .4em; align-content: center; justify-content: center; pointer-events: none; overflow: hidden; }
.hv .cta > *:not(.codes) { position: relative; }
.hv .rv { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js-rv .hv .rv:not(.in) { opacity: 0; transform: translateY(30px); }
/* the per-step screenshots only show where the phone doesn't pin (below) */
.hv .step-shot { display: none; }
@media (max-width: 960px) {
.hv .t-wide, .hv .t-narrow, .hv .t-half { grid-column: span 12; }
/* Phones and tablets: no pinned phone. Each step stacks its text over its own
   screenshot, so nothing overlaps and every step reads in full. */
.hv .story { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.hv .story-pin { display: none; }
.hv .steps .step { min-height: 0; opacity: 1; padding-block: 44px; }
.hv .steps .step + .step { border-top: 1px solid rgba(13, 23, 38, .08); }
.hv .on-night .steps .step + .step { border-top-color: var(--night-line); }
.hv .step p { font-size: 17px; }
.hv .step-shot { display: block; max-width: 250px; margin: 32px auto 0; }
.hv .tbt .steps { padding-left: 0; }
.hv .route-line, .hv .tbt .step::before { display: none; }
.hv .arrival-hero { grid-template-columns: minmax(0, 1fr); }
.hv .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
.hv .chip { display: none; }
.hv .stage { height: 520px; }
.hv .stage .side { display: none; }
.hv .stage .phone { width: 72vw; bottom: -150px; }
.hv .trio { grid-template-columns: minmax(0, 1fr); }
.hv .trio figure:nth-child(2) { margin-top: 0; }
.hv .trio .phone { max-width: 260px; }
.hv .rail a { padding: 9px 11px; font-size: 13px; }
.hv .rail a .mono, .hv .rail .get { display: none; }
.hv .duo .phone { max-width: 46%; }
.hv .tile { padding: 26px 22px 0; }
}
.hv .home-faq-more { max-width: 820px; margin: 24px auto 0; color: var(--ink-2); font-size: 15px; }
.hv .home-faq-more a { color: var(--brand); }
/* the trip rail slides away once the footer is on screen */
.hv .rail { transition: opacity .3s ease, transform .3s ease; }
.hv .rail.is-gone { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }

