/* Home page (operator 2026-10-30): the animated hero stays (arc, plane, drifting glow) and the search sits on it as a glossy, transparent
   glass tile; under it, light cards that change with who is looking. Scoped to body.home so flights/deals keep app.css. */

.home, .home button, .home input, .home select, .home .sh, .home .sf { font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
.home h1, .home h2, .home h3, .home .btn, .home .go, .home .sh-brand, .home .hc-big, .home .sc-title { font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
.home { background: var(--bg); font-feature-settings: "tnum" 1, "cv11" 1; }
.home .wrap { max-width: 1240px; }

/* hero */
.home-hero { padding: 34px 0 46px; }
.home-hero .hh-top { grid-template-columns: 1.1fr .9fr; margin-bottom: 26px; }
.home-hero h1 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.home-hero p.sub { margin-top: 14px; font-size: 16px; line-height: 1.55; max-width: 520px; }
.home-hero .hero-art { min-height: 0; height: 200px; }
.home-hero .hero-art svg { height: 100%; }
.home-hero .float-card { left: 34%; bottom: -2%; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.orb.o1 { width: 340px; height: 340px; right: 6%; top: -120px; background: rgba(198, 244, 50, .55); animation: orb1 16s ease-in-out infinite alternate; }
.orb.o2 { width: 420px; height: 420px; left: -90px; bottom: -190px; background: rgba(76, 110, 255, .6); animation: orb2 19s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(-90px, 60px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(120px, -50px) scale(1.1); } }
.hh-wrap { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* the glass search tile */
.home-search { position: relative; padding: 0; color: #fff; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .34);
  background: linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 60%, rgba(198, 244, 50, .08));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 34px 70px -28px rgba(0, 0, 0, .7), 0 0 0 1px rgba(11, 21, 48, .25); }
.sc-gloss { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.sc-gloss::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0)); }
.sc-gloss::after { content: ""; position: absolute; top: -10%; bottom: -10%; width: 34%; left: -50%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .20), transparent); animation: shine 8s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -50%; } 100% { left: 135%; } }
.sc-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; min-height: 84px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.home-hero .sc-title, .sc-title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.sc-sub { margin-top: 3px; font-size: 14px; color: #C9D6FF; }
.sc-body { position: relative; padding: 22px 28px 24px; }
.home .pills { margin-bottom: 16px; }
.home .pill { padding: 7px 18px; font-weight: 700; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.home .pill.active { background: var(--lime); border-color: var(--lime); color: var(--navy); box-shadow: 0 6px 18px -6px rgba(198, 244, 50, .7); }
.home .pill:disabled { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .16); }
.home .search-form { gap: 12px; grid-template-columns: 1.1fr auto 1.1fr 1.2fr 1.25fr auto; }
.home .field { min-height: 78px; padding: 12px 16px; border-radius: 14px; color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 20px -14px rgba(0, 0, 0, .6); transition: transform .18s, border-color .18s, box-shadow .18s; }
.home .field:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .5); }
.home .field label { text-transform: none; letter-spacing: .01em; font-size: 12px; font-weight: 700; color: #C9D6FF; }
.home .field input, .home .field select { color: #fff; font-weight: 700; letter-spacing: -.01em; color-scheme: dark; }
.home .field input { font-size: 18px; }
.home .field select { font-size: 16px; }
.home .field select option { color: #0B1530; background: #fff; }
.home .field input::placeholder { color: rgba(255, 255, 255, .5); }
.home .field:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
.home .suggest, .home .cal { color: #0B1530; }
.home .swap { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); }
.home .swap:hover { background: var(--lime); color: var(--navy); }
.home .go { position: relative; overflow: hidden; border: 0; border-radius: 14px; min-height: 78px; padding: 0 34px; font-size: 17px; font-weight: 700; color: var(--navy);
  background: linear-gradient(180deg, #DCFF5C, #B4E81C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 30px -10px rgba(198, 244, 50, .65); transition: transform .18s, box-shadow .18s; }
.home .go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg); background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 5.5s ease-in-out infinite; }
.home .go:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 20px 38px -10px rgba(198, 244, 50, .8); }
.home .try-chat { margin-top: 14px; font-size: 14px; color: #C9D6FF; }
.home .try-chat .chip-b, .home .recent-chip { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.home .recent, .home .recent-k { color: #C9D6FF; }
.home .recent a, .home .recent-chip a { color: #fff; }

/* Samaira's announcement sits in the tile header */
.home .sc-head .host { top: 10px; right: 20px; }
.home .sc-head .host-face { width: 56px; height: 56px; }

.home-cards-wrap { padding-top: 26px; }

/* cards under the search */
.home-cards { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 20px; margin-top: 22px; align-items: stretch; }
.hc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(11, 21, 48, .03); display: flex; flex-direction: column; gap: 10px; }
.hc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 17px; font-weight: 800; color: var(--navy); }
.hc-h small { font-size: 12px; font-weight: 700; color: var(--muted); }
.hc-p { font-size: 14px; color: var(--muted); }
.hc-big { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.hc-btn { align-self: flex-start; margin-top: 6px; }
.hc-link { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--lime-dark); text-underline-offset: 3px; }
.hc-list, .hc-rows, .hc-deals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hc-list li { display: flex; flex-direction: column; gap: 1px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hc-list li:first-child { border-top: 0; padding-top: 2px; }
.hc-list b { color: var(--navy); font-size: 15px; }
.hc-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hc-rows li:first-child { border-top: 0; }
.hc-rows span { color: var(--muted); }
.hc-join { background: #F4FBE3; border-color: #DCEFA6; }

/* dark card: hot deals */
.hc-hot { background: var(--navy); border-color: var(--navy); color: #fff; }
.hc-hot .hc-h { color: #fff; }
.hc-all { font-size: 13px; font-weight: 700; color: var(--lime); text-decoration: none; }
.hc-deals li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.hc-deals a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: #fff; text-decoration: none; }
.hc-deals a:hover b { text-decoration: underline; }
.hc-deals b { display: block; font-size: 15px; }
.hc-deals small { display: block; font-size: 12px; color: #A9B6DA; }
.hc-deals i { font-style: normal; font-weight: 800; font-size: 15px; color: var(--lime); white-space: nowrap; }
.hc-deals i em { font-style: normal; font-size: 11px; opacity: .8; }
.hc-dim { color: #A9B6DA; }
.hc-hot .hc-btn { background: var(--lime); }

@media (max-width: 960px) { .home-hero .hh-top { grid-template-columns: 1fr; } .home-hero .hero-art { display: none; } .home .search-form { grid-template-columns: 1fr 1fr; } .home .search-form .go { grid-column: 1 / -1; } }
@media (max-width: 1000px) { .home-cards { grid-template-columns: 1fr 1fr; } .hc-hot { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .home .search-form { grid-template-columns: 1fr; }
  .home-hero { padding: 22px 0 30px; }
  .home-hero .hero-art { display: none; }
  .hh-wrap { padding: 0 14px; }
  .sc-head { padding: 16px 18px; flex-wrap: wrap; }
  .home .sc-head .host { position: static; margin-left: auto; }
  .sc-body { padding: 16px 16px 18px; }
  .home .field, .home .go { min-height: 66px; }
  .home .field input { font-size: 17px; }
  .home-cards { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .sc-gloss::after, .home .go::after { animation: none; }
  .home .field, .home .go { transition: none; }
}

/* popular routes: one row of tiles right under the search (filled by loadHighlights(), hidden until there is data) */
.home-routes { margin: 0 0 22px; }
.home-routes[hidden] { display: none; }
.hr-head h2 { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); margin-bottom: 12px; }
.hr-head h2::before { display: none; }
.hr-head small { font-size: 13px; font-weight: 600; color: var(--muted); }
.home-routes .drops { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.home-routes .drop { flex: 0 0 218px; scroll-snap-align: start; position: relative; padding: 14px 16px 14px; border: 1px solid #E1E7F3; border-top: 1px solid #E1E7F3; border-radius: 16px;
  background: linear-gradient(180deg, #fff, #F8FAFE); box-shadow: 0 1px 2px rgba(11, 21, 48, .04); text-decoration: none; color: var(--navy); transition: transform .18s, box-shadow .18s, border-color .18s; }
.home-routes .drop::before { content: ""; position: absolute; left: 16px; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lime); }
.home-routes .drop:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 16px 30px -18px rgba(11, 21, 48, .45); }
.home-routes .drop .route { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.home-routes .drop .from { margin-top: 6px; font-size: 12px; }
.home-routes .drop .amt { font-family: "Plus Jakarta Sans", system-ui, sans-serif; margin-top: 2px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.home-routes .drop .locked { margin-top: 6px; font-size: 12px; }
.home-routes .drop .go-arrow { margin-top: 8px; font-size: 12px; }

/* ================= 2026-10-30 ENTERPRISE DENSITY: home (smaller hero, slimmer search tile, tighter cards) ================= */
.home-hero { padding: 16px 0 22px; }
.home-hero h1 { margin-top: 8px; font-size: clamp(22px, 2.6vw, 30px); }
.home-hero p.sub { margin-top: 8px; font-size: 13.5px; max-width: 480px; }
.home-hero .hero-art { height: 130px; }
.home-search { border-radius: 12px; }
.sc-head { padding: 10px 18px; min-height: 52px; }
.home-hero .sc-title, .sc-title { font-size: 16px; }
.sc-sub { font-size: 12px; margin-top: 1px; }
.sc-body { padding: 12px 18px 14px; }
.home .pill { padding: 4px 13px; font-size: 12.5px; }
.home .field { min-height: 52px; padding: 7px 12px; border-radius: 9px; }
.home .field label { font-size: 10.5px; }
.home .field input { font-size: 15px; }
.home .field select, .home .pax-btn { font-size: 14px; }
.home .go { min-height: 52px; padding: 0 24px; font-size: 14.5px; border-radius: 9px; }
.home .try-chat { margin-top: 8px; font-size: 12px; }
.hc { padding: 14px 16px; border-radius: 10px; box-shadow: none; }
.hc-h { font-size: 14px; }
.hc-big { font-size: 28px; }
.hc-p, .hc-link, .hc-list li, .hc-rows li { font-size: 12.5px; }
.hc-list b, .hc-deals b { font-size: 13px; }
.hc-deals i { font-size: 13px; }
.hr-head h2 { font-size: 14.5px; margin-bottom: 8px; }
.hr-head small { font-size: 12px; }
.home-routes .drops { gap: 8px; padding-bottom: 8px; }
.home-routes .drop { flex: 0 0 172px; padding: 9px 12px; border-radius: 9px; }
.home-routes .drop .route { font-size: 13px; }
.home-routes .drop .from, .home-routes .drop .locked, .home-routes .drop .go-arrow { font-size: 11px; margin-top: 4px; }
.home-routes .drop .amt { font-size: 17px; }
.promo-bar { padding: 8px 14px; font-size: 12.5px; }
@media (max-width: 700px) {
  .home .field, .home .go { min-height: 50px; }
  .home-hero h1 { font-size: 22px; }
}
.hc .btn, .hc .btn-lime { padding: 8px 16px; font-size: 13px; border-radius: 8px; box-shadow: none; align-self: flex-start; }

/* ================= 2026-10-30 transparent search tab: the planes and routes show THROUGH the glass ================= */
.home-search { background: linear-gradient(140deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015) 60%, rgba(198, 244, 50, .03));
  -webkit-backdrop-filter: blur(2px) saturate(140%); backdrop-filter: blur(2px) saturate(140%);
  border-color: rgba(255, 255, 255, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 60px -34px rgba(0, 0, 0, .6); }
.home-search .sc-head { background: rgba(255, 255, 255, .03); border-bottom-color: rgba(255, 255, 255, .16); }
.sc-gloss::before { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
.sc-gloss::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent); }
.home .field { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.home .field:hover { background: rgba(255, 255, 255, .08); }
.home .pill { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .24); }
.home .recent-chip { background: rgba(255, 255, 255, .06); }

/* the calendar / city list pop OUT of the hero (2026-10-31): the hero no longer clips; only the decorative layer does */
.home-hero { overflow: visible; z-index: 6; }
.home-hero .hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.home-hero .hero-bg .sky { position: absolute; inset: 0; }
body.home { overflow-x: clip; }
.home-cards-wrap, .home-routes { position: relative; z-index: 1; }

/* ================= 2026-11-18 HOME VIEW REDESIGN (operator screenshot: big left headline, tool tiles, one dark search bar + a row of small
   controls, stats band). Same navy / lime theme. The form markup and ids are unchanged: .sc-body becomes the grid, the form is display:contents. ================= */
.home-hero { padding: 34px 0 26px; }
.home-hero .hh-top { grid-template-columns: 1.4fr .6fr; margin-bottom: 18px; }
.home-hero h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin-top: 14px; }
.home-hero p.sub { font-size: 16px; margin-top: 14px; max-width: 560px; }
.home-hero .hero-art { height: 150px; align-self: end; }

/* tool tiles */
.modes { display: flex; gap: 14px; margin-top: 26px; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 64px; text-decoration: none; color: #C9D6FF; font-size: 12px; font-weight: 600; }
.mode .mi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); transition: background .15s, border-color .15s, transform .15s; }
.mode .mi svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mode:hover .mi { border-color: var(--lime); transform: translateY(-2px); }
.mode.on { color: #fff; }
.mode.on .mi { background: var(--lime); border-color: var(--lime); }
.mode.on .mi svg { stroke: var(--navy); }

/* announcement avatar now floats above the search bar, right */
.hh-wrap .host { position: absolute; right: 20px; top: -96px; z-index: 5; }
.hh-wrap .host-face { width: 60px; height: 60px; }

/* the search: flat dark bar, no tile header */
.home-search { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
.home-search .sc-gloss { display: none; }
.home .sc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, .95fr) auto; column-gap: 0; row-gap: 12px; padding: 0; align-items: stretch; }
.home .search-form { display: contents; }
.home .field { background: rgba(6, 12, 30, .78); border: 0; border-radius: 0; min-height: 60px; padding: 9px 18px; box-shadow: none; transition: background .15s; }
.home .field:hover { transform: none; background: rgba(6, 12, 30, .9); }
.home .field:focus-within { box-shadow: inset 0 0 0 2px var(--lime); }
.home .field label { font-size: 11px; color: #9FB0E0; }
.home .field input { font-size: 17px; }
.home .sc-body .field:nth-of-type(1) { grid-row: 1; grid-column: 1; border-radius: 12px 0 0 12px; }
.home .swap { grid-row: 1; grid-column: 2; align-self: stretch; width: 44px; height: auto; border-radius: 0; border: 0; background: rgba(6, 12, 30, .78); border-left: 1px solid rgba(255, 255, 255, .12); border-right: 1px solid rgba(255, 255, 255, .12); backdrop-filter: none; }
.home .swap:hover { transform: none; }
.home .sc-body .field:nth-of-type(2) { grid-row: 1; grid-column: 3; }
.home .sc-body .field:nth-of-type(3) { grid-row: 1; grid-column: 4; margin-left: 10px; border-radius: 12px; }
.home .sc-body .field:nth-of-type(2) { border-radius: 0 12px 12px 0; }
.home .go { grid-row: 1; grid-column: 5; margin-left: 10px; min-height: 60px; padding: 0 38px; border-radius: 12px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.home .go::after { display: none; }

/* second row: trip type, travellers & class as small controls */
.home .pills { grid-row: 2; grid-column: 1 / 3; margin: 0; align-self: center; }
.home .pill { border-radius: 8px; padding: 0 14px; height: 40px; font-size: 13.5px; background: rgba(6, 12, 30, .6); border: 1px solid rgba(255, 255, 255, .22); }
.home .pill.active { box-shadow: none; }
.home .sc-body .field:nth-of-type(4) { grid-row: 2; grid-column: 3; justify-self: start; min-height: 40px; padding: 0 14px; border-radius: 8px; background: rgba(6, 12, 30, .6); border: 1px solid rgba(255, 255, 255, .22); }
.home .sc-body .field:nth-of-type(4) label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.home .sc-body .field:nth-of-type(4) .pax-btn { font-size: 13.5px; font-weight: 700; }
.home .recent { grid-column: 1 / -1; grid-row: 3; }
.home .form-msg { grid-column: 1 / -1; grid-row: 4; }
.home .try-chat { grid-column: 1 / -1; grid-row: 5; margin: 0; }

.hh-fine { position: relative; z-index: 2; margin-top: 18px; font-size: 12.5px; color: #9FB0E0; max-width: 1240px; padding: 0 20px; }

/* stats band */
.home-stats { background: #0A1228; padding: 22px 0; position: relative; z-index: 1; }
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hs { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 22px; min-height: 112px; justify-content: space-between; }
.hs-i { font-size: 22px; line-height: 1; }
.hs p { margin: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; color: #E7ECFA; letter-spacing: -.01em; }
.hs b { color: var(--lime); }

@media (max-width: 960px) {
  .home-hero .hh-top { grid-template-columns: 1fr; }
  .home .sc-body { grid-template-columns: 1fr 1fr; }
  .home .sc-body .field:nth-of-type(1) { grid-row: 1; grid-column: 1 / -1; border-radius: 12px 12px 0 0; }
  .home .swap { display: none; }
  .home .sc-body .field:nth-of-type(2) { grid-row: 2; grid-column: 1 / -1; border-radius: 0 0 12px 12px; margin-top: -12px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .home .sc-body .field:nth-of-type(3) { grid-row: 3; grid-column: 1 / -1; margin-left: 0; }
  .home .go { grid-row: 4; grid-column: 1 / -1; margin-left: 0; }
  .home .pills { grid-row: 5; grid-column: 1; }
  .home .sc-body .field:nth-of-type(4) { grid-row: 5; grid-column: 2; justify-self: end; }
  .home .recent { grid-row: 6; } .home .form-msg { grid-row: 7; } .home .try-chat { grid-row: 8; }
  .hh-wrap .host { top: -64px; }
  .hs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .home-hero h1 { font-size: 34px; }
  .modes { gap: 10px; margin-top: 18px; }
  .home .field, .home .go { min-height: 58px; }
  .hs { min-height: 96px; gap: 14px; }
  .hs p { font-size: 13.5px; }
}

/* 2026-11-18 wide screens: use the width (sides were empty) and let the route arc fill the right of the headline */
.home .wrap, .hh-wrap, .hh-fine { max-width: 1480px; }
.home-hero .hh-top { grid-template-columns: 1.05fr .95fr; align-items: center; margin-bottom: 22px; }
.home-hero .hero-art { height: 290px; align-self: center; opacity: 1; }
.home-hero .hero-art svg { width: 100%; height: 100%; }
.home-hero .float-card { left: 38%; bottom: 6%; }
@media (min-width: 1200px) { .home-hero h1 { font-size: clamp(52px, 5vw, 76px); } .home-hero p.sub { font-size: 18px; } .hs p { font-size: 17px; } .hs { min-height: 124px; } }
@media (max-width: 960px) { .home-hero .hero-art { display: none; } }
.home .sh-in { max-width: 1480px; }

/* ===== 2026-11-18 enterprise pass: restrained type, data panel instead of the arc, one unified search bar ===== */
.home-hero { padding: 30px 0 30px; }
.home-hero .hh-top { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; margin-bottom: 26px; }
.home-hero h1 { font-size: clamp(32px, 3.4vw, 48px) !important; line-height: 1.1; letter-spacing: -.03em; margin-top: 14px; }
.home-hero h1::after, .home-hero h1 + .hl::after { display: none; }
.home-hero p.sub { font-size: 16px !important; color: #B9C6EC; max-width: 520px; }
.home-hero p.sub b { color: #fff; font-weight: 700; }
.home-hero .hero-art { display: none; }
.home-hero .hero-bg .sky { opacity: .38; }
.modes { margin-top: 22px; gap: 10px; }
.mode { flex-direction: row; min-width: 0; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); font-size: 13px; }
.mode .mi { width: 28px; height: 28px; border-radius: 7px; border: 0; background: rgba(255, 255, 255, .1); }
.mode .mi svg { width: 16px; height: 16px; }
.mode:hover { border-color: rgba(255, 255, 255, .4); }
.mode:hover .mi { transform: none; }
.mode.on { background: rgba(198, 244, 50, .12); border-color: rgba(198, 244, 50, .55); }
.mode.on .mi { background: var(--lime); }

/* data panel */
.net-panel { border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(6, 12, 30, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 16px 18px 14px; position: relative; z-index: 2; }
.np-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.np-head em { margin-left: auto; font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8FA0D2; }
.np-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.np-grid > div { padding: 14px 0 12px; }
.np-grid > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .1); }
.np-grid > div:nth-child(even) { padding-left: 18px; }
.np-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
.np-grid dt { font-size: 11.5px; font-weight: 600; color: #8FA0D2; }
.np-grid dd { margin: 3px 0 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--lime); }
.np-grid small { font-size: 11.5px; color: #8FA0D2; }
.np-link { display: block; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.np-link:hover { color: var(--lime); }

/* unified search bar: one container, thin dividers */
.home .sc-body { background: rgba(6, 12, 30, .82); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px; row-gap: 10px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.home .field { background: transparent !important; min-height: 56px; padding: 8px 16px; }
.home .field:hover { background: rgba(255, 255, 255, .05) !important; }
.home .sc-body .field:nth-of-type(1), .home .sc-body .field:nth-of-type(2) { border-radius: 8px; }
.home .sc-body .field:nth-of-type(3) { margin-left: 0; border-radius: 8px; border-left: 1px solid rgba(255, 255, 255, .12); }
.home .swap { background: transparent; border-color: rgba(255, 255, 255, .12); }
.home .go { margin-left: 10px; border-radius: 8px; min-height: 56px; font-size: 14px; box-shadow: none; background: var(--lime); }
.home .go:hover { transform: none; background: #D6FB4F; box-shadow: none; }
.home .field label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.home .field input { font-size: 16px; }
.home .pill, .home .sc-body .field:nth-of-type(4) { height: 36px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.home .sc-body .field:nth-of-type(4) { min-height: 36px; padding: 0 12px; }
.home .try-chat { display: none; }
.hh-fine { margin-top: 14px; font-size: 12px; color: #8FA0D2; }
@media (max-width: 960px) {
  .home-hero .hh-top { grid-template-columns: 1fr; gap: 20px; }
  .net-panel { display: none; }
  .home .sc-body { padding: 8px; }
  .home .sc-body .field:nth-of-type(3) { border-left: 0; }
  .home .go { margin-left: 0; }
}
.home-hero .hl::after { display: none; }
.home .sc-body { row-gap: 12px; padding: 12px; }
.home .pills { margin-left: 4px; }
.home .sc-body .field:nth-of-type(4) { margin-left: 0; }
.np-head .live-dot { flex: none; width: 8px; height: 8px; }
.home-hero .hero-bg .sky { opacity: .26; }
.home-hero .eyebrow { position: relative; z-index: 2; }
@media (max-width: 960px) {
  .home .sc-body { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
  .home .pill { white-space: nowrap; padding: 0 12px; }
  .home .sc-body .field:nth-of-type(4) { justify-self: stretch; }
}

/* visa + trips cards in the hero (replace the small tool pills) */
.hero-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: 560px; position: relative; z-index: 2; }
.ht { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 118px; padding: 12px 14px; border-radius: 10px; overflow: hidden; text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, rgba(8, 14, 36, .35), rgba(8, 14, 36, .9) 78%), var(--ph) center / cover no-repeat; transition: border-color .15s; }
.ht:hover { border-color: var(--lime); }
.ht-tag { align-self: flex-start; margin-bottom: auto; padding: 2px 8px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; background: var(--lime); color: var(--navy); }
.ht b { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; line-height: 1.25; letter-spacing: -.01em; }
.ht small { font-size: 12px; color: #B9C6EC; }
.ht i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--lime); margin-top: 3px; }
@media (max-width: 520px) { .hero-tools { grid-template-columns: 1fr; } .ht { min-height: 96px; } }

/* ===== 2026-11-18 final type pass: ONE family (Plus Jakarta Sans, same as the header and the other pages), calmer scale ===== */
.home, .home button, .home input, .home select, .home .sh, .home .sf,
.home h1, .home h2, .home h3, .home .btn, .home .go, .home .sh-brand, .home .hc-big, .home .sc-title,
.home .np-grid dd, .home .ht b, .home .hs p, .home-routes .drop .route, .home-routes .drop .amt { font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
.home { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.home-hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.home-hero p.sub { font-weight: 500; line-height: 1.6; letter-spacing: -.005em; }
.home-hero .eyebrow { font-weight: 700; letter-spacing: .1em; }
.home .field label { font-weight: 700; letter-spacing: .1em; }
.home .field input, .home .pax-btn { font-weight: 600; letter-spacing: -.01em; }
.home .go { font-weight: 800; letter-spacing: .06em; }
.home .pill { font-weight: 600; }
.np-head { letter-spacing: .1em; }
.np-grid dd { font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ht b { font-weight: 700; font-size: 14.5px; }
.ht small, .np-grid dt, .np-grid small { font-weight: 500; }
.hh-fine { font-size: 12.5px; font-weight: 500; }
.hc-h { font-weight: 800; letter-spacing: -.015em; }
.hc-p, .hc-list li, .hc-rows li { line-height: 1.55; }
.home .block h2 { font-weight: 800; letter-spacing: -.025em; }
.home .vs h2 .hl-d { margin-left: .28em; }
.home .lede { line-height: 1.6; }
.home { font-feature-settings: normal; }
.home .np-grid dd, .home .hc-big, .home .plan .amt, .home-routes .drop .amt, .home .field input { font-variant-numeric: tabular-nums; }
/* the calendar / city list (inside .hh-wrap) must paint over the disclaimer line under the bar */
.home-hero > .hh-wrap { z-index: 3; }

/* ===== 3D home (operator 2026-11-21). The search bar is a thick glass slab, the Live network panel floats at an angle,
   photo tools and cards lean towards the pointer (ui.js). ===== */
body.home .search-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .25),
    0 1px 0 rgba(255, 255, 255, .08), 0 7px 0 -2px rgba(4, 9, 24, .55), 0 26px 50px -12px rgba(0, 0, 0, .55);
}
body.home .ht { box-shadow: 0 2px 0 rgba(4, 9, 24, .35), 0 18px 36px -14px rgba(0, 0, 0, .6); }
body.home .ht.tilting { box-shadow: 0 2px 0 rgba(4, 9, 24, .35), 0 30px 54px -16px rgba(0, 0, 0, .7); }
@media (min-width: 960px) {
  body.home .net-panel { --ry0: -9deg; --rx0: 3deg; transform-origin: 100% 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), -2px 2px 0 rgba(4, 9, 24, .4), -24px 30px 60px -18px rgba(0, 0, 0, .6); }
  body.home .net-panel .np-grid > div { transform: translateZ(18px); }
  body.home .net-panel .np-head { transform: translateZ(28px); }
}
body.home .hc { box-shadow: var(--d-s1), var(--d-bevel); }
body.home .hc.tilting, body.home .plan.tilting { box-shadow: var(--d-s3), var(--d-bevel); }
body.home .plan { box-shadow: var(--d-s1), var(--d-bevel); }
