/* ============================================================================
   TRAVELYFE — premium marketing one-pager
   Brand system lifted from the app's Theme.swift: British Racing Green #185542,
   warm Gold #FFBF00 highlight, photo-forward white surfaces, ink #12150F, and
   LIVVIC throughout (Black for display, Medium/SemiBold for body) — exactly the
   app's fonts and colours, with a floating glass navbar (AHMEDMEDIAGROUP house
   pattern) and a travel-route layout.
   ============================================================================ */

:root {
  /* ── Brand greens ── */
  --forest:        #185542;   /* primary — CTAs, selected states */
  --forest-700:    #0E4A38;
  --forest-bright: #145C44;   /* deep racing-green for small text / icons on light */
  --forest-deep:   #06281E;   /* photo scrim, dark sections */

  /* ── Gold accent ── */
  --gold:      #FFBF00;       /* highlight marker, badges, CTA accent */
  --gold-soft: rgba(255, 191, 0, 0.22);

  /* ── Forest tints (soft fills / borders on light surfaces) ── */
  --forest-tint:        rgba(24, 85, 66, 0.10);
  --forest-tint-border: rgba(24, 85, 66, 0.16);

  /* ── Ink / neutrals (Theme.swift exact values) ── */
  --ink:    #12150F;          /* app ink (light) */
  --ink-2:  rgba(18, 21, 15, 0.66);   /* app inkSecondary */
  --ink-3:  rgba(18, 21, 15, 0.42);
  --paper:  #ffffff;          /* app surface / bone */
  --sand:   #FAF8F1;          /* warm off-white sections */
  --mist:   #F1F3F0;          /* app mist — chips / insets */
  --hairline:        rgba(20, 36, 24, 0.10);
  --hairline-strong: rgba(20, 36, 24, 0.16);
  --on-photo:        rgba(255, 255, 255, 0.92);

  /* ── Shadows (green-tinted, soft, premium) ── */
  --shadow-sm:   0 1px 2px rgba(11, 40, 30, 0.06);
  --shadow-card: 0 2px 6px rgba(11, 40, 30, 0.05), 0 26px 50px -30px rgba(11, 40, 30, 0.30);
  --shadow-lift: 0 6px 14px rgba(11, 40, 30, 0.08), 0 44px 78px -34px rgba(11, 40, 30, 0.40);
  --shadow-nav:  0 16px 44px -22px rgba(6, 40, 30, 0.42);
  --edge-top:    inset 0 1px 0 rgba(255, 255, 255, 0.75);

  /* ── Radii ── */
  --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;

  /* ── Motion ── */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      240ms;

  /* ── Layout ── */
  --container: 1200px;
  --gutter:    clamp(1.15rem, 4vw, 2.25rem);
  --nav-h:     60px;
  --nav-offset: 18px;

  /* ── Fonts ── Livvic throughout, exactly like the app (Theme.swift) ── */
  --sans:    "Livvic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Livvic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden;
  scroll-padding-top: calc(var(--nav-offset) + var(--nav-h) + 1.5rem); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 500;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); }
:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--forest); border-radius: 6px; }

/* skip link — keyboard users jump straight to the content */
.skip-link { position: fixed; top: -60px; left: 50%; transform: translateX(-50%); z-index: 200;
  background: var(--forest); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-nav);
  transition: top var(--dur) var(--ease); }
.skip-link:focus-visible { top: 12px; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ── type ── headlines use Livvic Black, like the app's display font ── */
h1, h2 { font-family: var(--display); font-weight: 900; line-height: 1.04;
  letter-spacing: -0.022em; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 700; line-height: 1.14;
  letter-spacing: -0.015em; text-wrap: balance; }
.serif-i { font-style: normal; font-weight: 900; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest-bright);
  padding: 7px 14px 7px 12px; border-radius: var(--r-pill);
  background: var(--forest-tint); border: 1px solid var(--forest-tint-border);
}
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow.on-dark  { color: var(--gold); background: rgba(243,201,60,0.12); border-color: rgba(243,201,60,0.26); }
.eyebrow.on-photo { color: #fff; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); backdrop-filter: blur(8px); }

/* gold highlight marker behind hero words */
.mark { position: relative; white-space: nowrap; z-index: 0; color: var(--ink); }
.mark::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .07em;
  height: .36em; background: var(--gold); z-index: -1; border-radius: 4px; transform: rotate(-1.4deg); }
.mark.on-dark { color: #fff; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: var(--r-pill); cursor: pointer; border: none;
  font-family: var(--sans); font-weight: 700; font-size: 15.5px; white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), background var(--dur), color var(--dur); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--forest); color: #fff; box-shadow: 0 8px 22px -8px rgba(11,40,30,0.5), var(--edge-top); }
.btn--primary:hover { background: var(--forest-700); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(11,40,30,0.55), var(--edge-top); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(226,181,32,0.7); }
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 14px 30px -10px rgba(226,181,32,0.8); }
.btn--ghost { background: rgba(255,255,255,0.10); color: #fff; border: 1.4px solid rgba(255,255,255,0.34); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn--outline { background: var(--paper); color: var(--ink); border: 1.4px solid var(--hairline-strong); }
.btn--outline:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* App Store badge */
.appstore { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 20px;
  border-radius: 15px; background: var(--ink); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(20,24,15,0.6), var(--edge-top);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(20,24,15,0.7); }
.appstore svg { width: 27px; height: 27px; flex: none; }
.appstore .as-t { display: flex; flex-direction: column; line-height: 1.05; align-items: flex-start; }
.appstore .as-t small { font-size: 11px; font-weight: 500; opacity: .82; letter-spacing: .02em; }
.appstore .as-t b { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }

/* ============================================================================
   NAV — floating glass pill (AMG house pattern)
   ============================================================================ */
.nav { position: fixed; top: var(--nav-offset); left: 50%; transform: translateX(-50%); z-index: 100;
  width: max-content; max-width: calc(100% - var(--gutter)); height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 0.5rem 0 1.3rem;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--r-pill);
  box-shadow: var(--shadow-nav), var(--edge-top);
  transition: top var(--dur) var(--ease), background var(--dur), border-color var(--dur), box-shadow var(--dur); }
.nav.is-scrolled { top: 10px; background: rgba(255, 255, 255, 0.9); border-color: var(--hairline);
  box-shadow: 0 20px 50px -24px rgba(6,40,30,0.5), var(--edge-top); }
.nav .brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.025em; }
.nav .brand .glyph { width: 28px; height: 28px; flex: none; }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  position: relative; transition: color var(--dur); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--forest); border-radius: 2px; transition: right var(--dur) var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
@media (min-width: 900px) { .nav-links { display: inline-flex; } }
@media (max-width: 899px) { .nav-actions .appstore-mini { display: none; } }

.appstore-mini { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  transition: transform var(--dur) var(--ease-out), filter var(--dur); }
.appstore-mini:hover { transform: translateY(-1px); filter: brightness(1.04); }
.appstore-mini svg { width: 15px; height: 15px; }

.nav-toggle { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); border: 1px solid var(--hairline-strong); background: rgba(255,255,255,0.5);
  position: relative; z-index: 110; cursor: pointer; }
.nav-toggle span { position: relative; display: block; width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: background var(--dur); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform var(--dur), top var(--dur); }
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top:  5.5px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.drawer { position: fixed; top: calc(var(--nav-offset) + var(--nav-h) + 10px); left: 50%;
  width: calc(100% - var(--gutter)); max-width: 460px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 0.7rem 1rem 1rem;
  display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -8px);
  transition: opacity var(--dur), transform var(--dur), visibility 0s var(--dur); z-index: 99; box-shadow: var(--shadow-lift); }
.drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.drawer a { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 0.85rem 0.35rem; border-bottom: 1px solid var(--hairline); }
.drawer a:last-of-type { border-bottom: 0; }
.drawer .btn { margin-top: 0.8rem; }
@media (min-width: 900px) { .drawer { display: none; } }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: clamp(120px, 17vh, 170px) 0 clamp(70px, 9vh, 96px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(98deg, rgba(4,29,21,0.90) 0%, rgba(4,29,21,0.62) 34%, rgba(4,29,21,0.14) 62%, rgba(4,29,21,0) 80%),
  linear-gradient(to top, rgba(4,29,21,0.6) 2%, rgba(4,29,21,0) 42%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 48px; align-items: center; }

.hero-copy { max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.3vw, 78px); margin: 22px 0 0; line-height: 1.02;
  letter-spacing: -0.022em; text-shadow: 0 2px 40px rgba(4,29,21,0.4); }
.hero h1 .serif-i { color: #fff; }
.hero .lead { color: var(--on-photo); font-size: clamp(17px, 1.55vw, 20px); font-weight: 500;
  margin-top: 24px; max-width: 540px; text-shadow: 0 1px 18px rgba(4,29,21,0.45); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px; color: rgba(255,255,255,0.7);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.6px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; background: var(--gold); border-radius: 2px; animation: wheel 1.6s var(--ease-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 9px); } }
@media (max-width: 980px) { .scroll-cue { display: none; } }

/* ── phone mockup ── */
.hero-device { display: flex; justify-content: center; }
.phone { position: relative; width: 300px; aspect-ratio: 300 / 624; border-radius: 48px; background: #0a0d09;
  padding: 10px; box-shadow: var(--shadow-lift), 0 60px 100px -30px rgba(4,29,21,0.55);
  animation: floaty 7s var(--ease-out) infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #0a0d09; border-radius: 999px; z-index: 4; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.app-top { padding: 50px 18px 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.app-top .app-h { font-family: var(--display); font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.app-top .app-sub { font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: 2px; }
.app-top .app-av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--forest-bright), var(--forest)); }
.app-chips { display: flex; gap: 7px; padding: 8px 18px 12px; flex-wrap: wrap; }
.app-chip { font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: var(--mist); color: var(--ink-2); }
.app-chip.on { background: var(--forest); color: #fff; }
.app-card { position: relative; margin: 0 16px 14px; border-radius: 20px; overflow: hidden; flex: 1; min-height: 0; box-shadow: var(--shadow-card); }
.app-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.app-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,29,21,0.97) 2%, rgba(4,29,21,0.5) 36%, rgba(4,29,21,0) 64%); }
.app-card .heart { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(8px); display: grid; place-items: center; }
.app-card .heart svg { width: 16px; height: 16px; color: #fff; }
.app-card .badge { position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 700; background: var(--gold); color: var(--ink); padding: 5px 10px; border-radius: var(--r-pill); }
.app-card .meta { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.app-card .meta .tname { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.app-card .meta p { font-size: 11.5px; opacity: .9; font-weight: 600; margin-top: 3px; }
.app-card .meta .row { display: flex; gap: 8px; margin-top: 10px; font-size: 11px; font-weight: 700; }
.app-card .meta .row span { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); padding: 4px 9px; border-radius: var(--r-pill); }
.app-card .meta .row svg { width: 12px; height: 12px; }
.app-nav { display: flex; justify-content: space-around; padding: 11px 16px 22px; border-top: 1px solid var(--hairline); }
.app-nav .item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: var(--ink-3); }
.app-nav .item.on { color: var(--forest); }
.app-nav .item svg { width: 21px; height: 21px; }
.app-fab { position: absolute; right: 16px; bottom: 70px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(4,29,21,0.3); z-index: 3; }
.app-fab svg { width: 24px; height: 24px; }

/* ============================================================================
   TRUST STRIP
   ============================================================================ */
.trust { background: var(--forest); color: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; padding: 22px var(--gutter); }
.trust .item { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,0.94); }
.trust .item svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.trust .sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.28); }
@media (max-width: 620px) { .trust .sep { display: none; } }

/* ============================================================================
   SECTION SHELL
   ============================================================================ */
.section { padding: clamp(78px, 10vw, 140px) 0; position: relative; }
.section--sand { background: var(--sand); }
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { margin-inline: auto; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 18px; line-height: 1.04; }
.sec-head p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; font-weight: 500; max-width: 620px; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================================
   FEATURES — consistent grid
   ============================================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 58px; }
.fcard { background: var(--paper); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--hairline-strong); }
.fcard .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--forest-tint); color: var(--forest-bright); margin-bottom: 22px; transition: background var(--dur), color var(--dur); }
.fcard:hover .ic { background: var(--forest); color: #fff; }
.fcard .ic svg { width: 25px; height: 25px; }
.fcard.is-accent { background: var(--forest); border-color: transparent; color: #fff; }
.fcard.is-accent .ic { background: rgba(243,201,60,0.18); color: var(--gold); }
.fcard.is-accent:hover .ic { background: var(--gold); color: var(--ink); }
.fcard h3 { font-size: 21px; letter-spacing: -.01em; line-height: 1.12; }
.fcard.is-accent h3 { color: #fff; }
.fcard p { color: var(--ink-2); font-size: 15px; margin-top: 10px; font-weight: 500; line-height: 1.6; }
.fcard.is-accent p { color: rgba(255,255,255,0.82); }

/* ============================================================================
   HOW IT WORKS — travel route
   ============================================================================ */
.how { background: var(--sand); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; position: relative; }
/* dotted route line behind the pins */
.steps::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 2px;
  background-image: linear-gradient(to right, var(--forest-bright) 38%, transparent 0%);
  background-size: 14px 2px; background-repeat: repeat-x; opacity: 0.4; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .pin { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: #fff; font-family: var(--display); font-size: 22px; font-weight: 900;
  box-shadow: 0 12px 26px -10px rgba(11,40,30,0.5), var(--edge-top); position: relative; z-index: 1;
  border: 3px solid var(--sand); }
.step.is-gold .pin { background: var(--gold); color: var(--ink); }
.step h3 { font-size: 22px; letter-spacing: -.01em; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 10px; font-weight: 500; max-width: 300px; margin-inline: auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before { display: none; } }

/* ============================================================================
   EXPLORE — curated trips rail
   ============================================================================ */
.explore { background: var(--paper); overflow-x: clip; }
.explore .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; max-width: none; }
.explore .sec-head .left { max-width: 640px; }
.explore-lead { margin: 0 0 6px; }
.rail { display: flex; gap: 22px; width: 100%; max-width: 100%; overflow-x: auto;
  /* full-bleed rail: first card lines up with the .wrap container's content edge */
  --rail-inset: calc((100% - min(100%, var(--container))) / 2 + var(--gutter));
  padding: 54px var(--rail-inset) 30px; scroll-padding-inline: var(--rail-inset);
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.trip { position: relative; flex: 0 0 318px; height: 430px; border-radius: var(--r-xl); overflow: hidden;
  scroll-snap-align: start; box-shadow: var(--shadow-card); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.trip:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.trip:hover img { transform: scale(1.07); }
.trip .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,29,21,0.97) 4%, rgba(4,29,21,0.4) 42%, rgba(4,29,21,0) 68%); }
.trip .tcontinent { position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 6px 12px; border-radius: var(--r-pill); }
.trip .tbody { position: absolute; left: 20px; right: 20px; bottom: 22px; color: #fff; }
.trip .tbody h3 { font-size: 24px; letter-spacing: -.01em; }
.trip .tbody .tloc { font-size: 13px; font-weight: 600; opacity: .92; margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.trip .tbody .tloc svg { width: 13px; height: 13px; color: var(--gold); }
.trip .tbody .trow { display: flex; gap: 8px; margin-top: 15px; }
.trip .tbody .trow span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(8px); padding: 6px 11px; border-radius: var(--r-pill); }
.trip .tbody .trow svg { width: 13px; height: 13px; }
.trip .tbody .trow .star { color: var(--gold); }
.rail-hint { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 600; }

/* ============================================================================
   PLATFORMS — dark green band
   ============================================================================ */
.platforms { background: var(--forest-deep); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.platforms::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 540px at 82% -8%, rgba(243,201,60,0.16), transparent 60%),
              radial-gradient(700px 500px at 8% 110%, rgba(24,85,66,0.4), transparent 62%); }
.platforms .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.platforms h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); }
.platforms .lead { color: rgba(255,255,255,0.82); font-size: 18px; margin-top: 20px; max-width: 480px; }
.plat-list { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.plat-chip { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); padding: 13px 20px; border-radius: 14px; }
.plat-chip svg { width: 20px; height: 20px; color: var(--gold); }
.plat-visual { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.plat-visual .pv { border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lift); border: 1px solid rgba(255,255,255,0.1); }
.plat-visual .pv img { width: 100%; height: 100%; object-fit: cover; }
.plat-visual .tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.plat-visual .pv.sm { aspect-ratio: 1 / 1; }

/* ============================================================================
   FREE / PRIVACY
   ============================================================================ */
.free { background: var(--paper); }
.free .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.free h2 { font-size: clamp(30px, 3.8vw, 48px); }
.free p { font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; font-weight: 500; color: var(--ink-2); }
.free .price-tag { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.free .price-tag b { font-family: var(--display); font-size: 48px; font-weight: 900; color: var(--forest); letter-spacing: -.03em; }
.free .price-tag span { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.free-points { display: grid; gap: 14px; }
.free-points .fp { display: flex; gap: 16px; align-items: flex-start; background: var(--sand);
  border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 20px 22px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.free-points .fp:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.free-points .fp .fpic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--forest-tint); color: var(--forest-bright); }
.free-points .fp .fpic svg { width: 21px; height: 21px; }
.free-points .fp b { font-weight: 700; font-size: 16px; font-family: var(--sans); }
.free-points .fp span { display: block; font-size: 14px; color: var(--ink-2); font-weight: 500; margin-top: 3px; line-height: 1.55; }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate;
  padding: clamp(96px, 13vw, 168px) 0; }
.cta .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.cta .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(4,29,21,0.78), rgba(4,29,21,0.92)); }
.cta h2 { font-size: clamp(36px, 5.6vw, 72px); color: #fff; }
.cta p { color: var(--on-photo); font-size: clamp(17px, 1.5vw, 20px); margin: 20px auto 0; max-width: 560px; font-weight: 500; }
.cta .cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.cta .cta-sub { margin-top: 22px; color: rgba(255,255,255,0.74); font-size: 14px; font-weight: 600; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: 72px 0 40px; }
.footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display);
  font-weight: 700; font-size: 22px; letter-spacing: -.025em; margin-bottom: 16px; }
.footer .brand .glyph { width: 30px; height: 30px; }
.footer .fblurb { font-size: 14.5px; max-width: 300px; line-height: 1.65; }
.footer-h { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; font-family: var(--sans); }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { font-size: 14.5px; transition: color var(--dur); }
.footer ul a:hover { color: var(--gold); }
.footer-base { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 52px; padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ============================================================================
   COOKIE CONSENT — shown only when analytics is configured (see main.js)
   ============================================================================ */
.consent { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 150;
  width: calc(100% - var(--gutter)); max-width: 560px;
  display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; justify-content: space-between;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px 18px;
  box-shadow: var(--shadow-lift), var(--edge-top); }
.consent[hidden] { display: none; }
.consent__text { font-size: 13.5px; font-weight: 500; color: var(--ink-2); flex: 1 1 240px; line-height: 1.5; }
.consent__text a { color: var(--forest-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 480px) { .consent__actions { flex: 1 1 100%; } .consent__actions .btn { flex: 1; } }

/* ============================================================================
   SUBPAGES — legal + error
   ============================================================================ */
.subpage { padding-top: calc(var(--nav-offset) + var(--nav-h) + 48px); padding-bottom: clamp(64px, 9vw, 120px); background: var(--paper); min-height: 70vh; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700;
  color: var(--forest-bright); margin-bottom: 26px; }
.back-link svg { width: 15px; height: 15px; }
.back-link:hover { color: var(--forest); }

.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); }
.legal-updated { color: var(--ink-3); font-size: 14px; font-weight: 600; margin-top: 10px; }
.legal h2 { font-size: clamp(20px, 2.4vw, 26px); margin-top: 44px; }
.legal h3 { font-size: 18px; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; font-weight: 500; margin-top: 14px; line-height: 1.7; }
.legal ul { margin-top: 14px; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--forest-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--forest); }

.error { display: grid; place-items: center; text-align: center; }
.error .wrap { max-width: 620px; }
.error h1 { font-size: clamp(34px, 6vw, 64px); margin-top: 18px; }
.error p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin: 18px auto 34px; max-width: 460px; font-weight: 500; }

/* ============================================================================
   REVEAL
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-device { display: none; }
  .hero { min-height: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms .wrap, .free .wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
  .trip { flex: 0 0 80vw; height: 400px; }
}
@media (max-width: 420px) {
  .nav { gap: 0.5rem; padding: 0 0.4rem 0 1rem; }
  .footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
