/* ============================================================
   Wandrr marketing site · shared styles · September 2026
   Evolved Wandrr: warm cream + sunset palette, Bricolage Grotesque
   display, DM Mono details, Caveat kept for small handwritten asides.
   Evergreen palette used for the dark bands.
   No frameworks. All fonts self-hosted (no third-party requests).
   ============================================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('assets/fonts/DMMono-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('assets/fonts/DMMono-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('assets/fonts/Caveat-Regular.woff2') format('woff2');
  font-weight: 400 500; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('assets/fonts/Caveat-Bold.woff2') format('woff2');
  font-weight: 600 700; font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --cream: #FBF6EF;
  --paper: #FFF8EC;
  --ink: #241B17;
  --muted: #8A7D74;
  --muted-strong: #6E6156;
  --sun: #F2A856;
  --coral: #E47163;
  --ocean: #5B86C7;
  --sage: #9DAE89;
  --rule: rgba(36, 27, 23, 0.1);
  --card: #FFFFFF;
  --sunset: linear-gradient(120deg, var(--sun), var(--coral));

  /* Evergreen (dark bands) */
  --eg-deep: #051F20;
  --eg-base: #0B2B26;
  --eg-raised: #163832;
  --eg-moss: #235347;
  --eg-mint: #8EB69B;
  --eg-light: #DAF1DE;

  --display: 'Bricolage Grotesque', 'SF Pro Rounded', ui-rounded, -apple-system, system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;

  --wrap: 1120px;
  --radius: 24px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-spring: cubic-bezier(0.3, 1.3, 0.4, 1);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* faint paper grain */
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.48 0 0 0 0 0.4 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { color: #c85748; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---- Type helpers ---- */
.eyebrow {
  display: block; margin-bottom: 14px;
  font-family: var(--mono); font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral);
}
.eyebrow.hand { font-family: var(--hand); font-size: 26px; letter-spacing: 0; text-transform: none; transform: rotate(-1.2deg); }
.h-xl { font-size: clamp(42px, 7.2vw, 84px); }
.h-lg { font-size: clamp(32px, 5vw, 54px); }
.h-md { font-size: clamp(24px, 3.4vw, 34px); }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted-strong); max-width: 34em; }
.hand { font-family: var(--hand); }
.mono { font-family: var(--mono); }
.sunset-word {
  background: var(--sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* masked line reveal for headlines */
.h-mask .line { display: block; overflow: hidden; padding: 0.08em 0.1em 0.18em 0; margin: -0.08em 0 -0.18em 0; }
.h-mask .line > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease-out); }
.h-mask.in .line > span { transform: none; }
.h-mask .line:nth-child(2) > span { transition-delay: 0.1s; }
.h-mask .line:nth-child(3) > span { transition-delay: 0.2s; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1;
  border: 0; cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px rgba(36, 27, 23, 0.22); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(36, 27, 23, 0.26); }
.btn-sunset { background: var(--sunset); color: #fff; box-shadow: 0 10px 24px rgba(228, 113, 99, 0.35); }
.btn-sunset:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px rgba(228, 113, 99, 0.42); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(36, 27, 23, 0.22); }
.btn-ghost:hover { background: rgba(36, 27, 23, 0.05); color: var(--ink); }
.btn-mint { background: var(--eg-mint); color: var(--eg-deep); box-shadow: 0 10px 24px rgba(142, 182, 155, 0.3); }
.btn-mint:hover { transform: translateY(-2px); color: var(--eg-deep); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---- Chips / badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(36, 27, 23, 0.06);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-strong);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.pro-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--sunset);
  padding: 3px 8px; border-radius: 999px; line-height: 1.4;
  vertical-align: middle; white-space: nowrap;
}
.free-badge {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #4c6b3f; background: color-mix(in srgb, var(--sage) 26%, #fff);
  padding: 3px 8px; border-radius: 999px; line-height: 1.4;
  vertical-align: middle; white-space: nowrap;
}
h2 .pro-badge, h3 .pro-badge { font-size: 0.32em; transform: translateY(-0.3em); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(36, 27, 23, 0.06);
  transition: box-shadow 0.3s ease;
}
.nav.compact { box-shadow: 0 8px 30px rgba(36, 27, 23, 0.08); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; gap: 26px;
  transition: padding 0.3s var(--ease-out);
}
.nav.compact .nav-inner { padding: 8px 22px; }
.nav-logo { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.nav-logo img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 3px 10px rgba(36,27,23,0.16); transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out); }
.nav.compact .nav-logo img { width: 32px; height: 32px; }
.nav-logo span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav-links a { color: var(--muted-strong); font-weight: 600; font-size: 15px; padding: 9px 13px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: rgba(36, 27, 23, 0.05); }
.nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: 6px; padding: 11px 20px; font-size: 15px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger svg { display: block; }
@media (max-width: 740px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper);
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px rgba(36, 27, 23, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav-burger { display: block; }
}

/* ---- Scrapbook bits (kept small) ---- */
.tape {
  position: absolute; width: 92px; height: 26px;
  background: color-mix(in srgb, var(--sun) 72%, #fff 10%); opacity: 0.75;
  background-image: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,0.32) 5px 6px);
  box-shadow: 0 1px 3px rgba(36, 27, 23, 0.12); pointer-events: none;
}
.stamp {
  display: inline-block; border: 2px solid var(--coral); color: var(--coral);
  padding: 5px 12px; font-family: var(--hand); font-size: 19px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.04em; transform: rotate(-4deg); border-radius: 4px;
}
.annot { font-family: var(--hand); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.15; color: var(--ink); }
.annot.coral { color: var(--coral); }
.annot.ocean { color: var(--ocean); }
.annot.mint { color: var(--eg-mint); }
.arrow-doodle { color: inherit; }

/* ---- Phone frame ---- */
.iphone {
  position: relative;
  border-radius: clamp(34px, 11%, 48px);
  background: #17120e;
  padding: clamp(7px, 2.4%, 11px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.14) inset, 0 24px 50px rgba(36, 27, 23, 0.28), 0 8px 18px rgba(36, 27, 23, 0.16);
}
.iphone > img, .iphone .screens { border-radius: clamp(27px, 8.6%, 38px); width: 100%; height: auto; overflow: hidden; }
.iphone::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, transparent 30%); pointer-events: none;
}
.iphone.dark { background: #04181A; }

/* ---- Sections ---- */
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(44px, 7vw, 84px) 0; }
.section-head { max-width: 40em; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h-lg { margin: 6px 0 16px; }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.story.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.story.flip .story-copy { order: 2; }
.story.flip .story-art { order: 1; }
.story-copy .h-lg { margin: 6px 0 16px; }
.story-copy .lede { font-size: 17.5px; }
.story-art { position: relative; }
@media (max-width: 860px) {
  .story, .story.flip { grid-template-columns: 1fr; }
  .story.flip .story-copy { order: 1; }
  .story.flip .story-art { order: 2; }
  .story-art { max-width: 420px; margin: 0 auto; }
}

.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.feature-list li .t { flex: 1 1 auto; min-width: 0; }
.feature-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--sage) 28%, #fff); color: #4c6b3f;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.feature-list .tick svg { width: 12px; height: 12px; }
.feature-list li.pro .tick { background: rgba(228, 113, 99, 0.16); color: var(--coral); }
.feature-list li .pro-badge { margin-left: 4px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .h-mask .line > span { opacity: 1; transform: none; transition: none; }
}

/* gentle float */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 7s ease-in-out infinite alternate; }
  .float.slow { animation-duration: 9s; animation-delay: 1.2s; }
  @keyframes float {
    from { transform: translateY(0) rotate(var(--tilt, 0deg)); }
    to   { transform: translateY(-14px) rotate(var(--tilt, 0deg)); }
  }
}

/* ---- Feature ribbon (marquee) ---- */
.ribbon {
  overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ribbon-track { display: flex; gap: 10px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: ribbon 60s linear infinite; }
  .ribbon:hover .ribbon-track { animation-play-state: paused; }
  @keyframes ribbon { to { transform: translateX(-50%); } }
}
.chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--card); border-radius: 999px; padding: 11px 18px 11px 13px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  box-shadow: 0 2px 6px rgba(36, 27, 23, 0.06), inset 0 0 0 1px rgba(36,27,23,0.04);
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: 0 0 auto; }
.chip.pro i { background: var(--sunset); }
.chip.ocean i { background: var(--ocean); }
.chip.sage i { background: var(--sage); }
.chip.coral i { background: var(--coral); }
.chip.mint i { background: var(--eg-mint); }
.chip.violet i { background: #a45ad4; }

/* ---- Dark (Evergreen) band ---- */
.band-dark {
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(168deg, var(--eg-base) 0%, var(--eg-deep) 60%, #08251F 100%);
  color: var(--eg-light);
  padding: clamp(36px, 6vw, 72px) clamp(22px, 4.5vw, 64px);
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(5, 31, 32, 0.28);
}
.band-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 0%, rgba(142, 182, 155, 0.2), transparent 70%);
}
.band-dark > * { position: relative; }
.band-dark .eyebrow { color: var(--eg-mint); }
.band-dark .lede { color: rgba(218, 241, 222, 0.74); }
.band-dark h2, .band-dark h3 { color: var(--eg-light); }
.band-dark .feature-list li { color: var(--eg-light); }
.band-dark .feature-list .tick { background: rgba(142, 182, 155, 0.18); color: var(--eg-mint); }
.band-dark .feature-list li.pro .tick { background: rgba(242, 168, 86, 0.18); color: var(--sun); }
.mono-tag {
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eg-mint);
}

/* ---- Footer ---- */
.footer { background: var(--ink); color: rgba(255, 248, 236, 0.72); padding: 56px 0 40px; margin-top: clamp(40px, 8vw, 90px); }
.footer a { color: var(--paper); font-weight: 600; }
.footer a:hover { color: var(--sun); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.footer-brand img { width: 44px; height: 44px; border-radius: 11px; }
.footer-brand b { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; }
.footer-brand .hand { display: block; color: var(--sun); font-size: 19px; margin-top: 1px; }
.footer-links { display: flex; gap: 8px 26px; flex-wrap: wrap; font-size: 15px; }
.footer-legal {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 248, 236, 0.14);
  font-size: 13.5px; color: rgba(255, 248, 236, 0.55);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
}
.footer-social { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 248, 236, 0.09); color: var(--paper);
  transition: background 0.16s ease, color 0.16s ease, transform 0.1s ease;
}
.footer-social a:hover { background: var(--sunset); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; display: block; }

/* ---- Big CTA (boarding pass) ---- */
.boarding {
  position: relative; background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(36, 27, 23, 0.14), 0 4px 12px rgba(36, 27, 23, 0.06);
  overflow: hidden; display: grid; grid-template-columns: 1fr auto;
}
.boarding::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--sunset); }
.boarding-main { padding: clamp(30px, 5vw, 54px); }
.boarding-stub {
  border-left: 2px dashed rgba(36, 27, 23, 0.2);
  padding: clamp(30px, 5vw, 54px) clamp(22px, 3.5vw, 44px);
  display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 220px;
}
.boarding-stub .code {
  height: 44px; opacity: 0.8; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 11px);
}
.boarding-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.boarding-meta div small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-strong); }
.boarding-meta div b { font-size: 17px; }
@media (max-width: 640px) {
  .boarding { grid-template-columns: 1fr; }
  .boarding-stub { border-left: 0; border-top: 2px dashed rgba(36, 27, 23, 0.2); }
}

/* ---- Utility ---- */
.center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; }
.muted { color: var(--muted-strong); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

/* ============================================================
   Shared demo components (index + features)
   ============================================================ */
/* ================= TRAVEL DAY (Evergreen band) ================= */
.travel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.island-phone { width: min(100%, 320px); margin: 0 auto; border-radius: 48px; background: #0a0a0a; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.14); position: relative; }
.island-screen { position: relative; aspect-ratio: 9 / 16.5; border-radius: 40px; overflow: hidden; background: radial-gradient(120% 80% at 30% 20%, #3d2c6e 0%, #1f1a3f 45%, #0b0f22 100%); }
.island-screen .lock-time { position: absolute; top: 30%; left: 0; right: 0; text-align: center; color: #fff; transition: transform .7s var(--ease-spring); }
.island-demo.open .lock-time { transform: translateY(10px); }
.island-screen .lock-time small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; opacity: .8; }
.island-screen .lock-time b { display: block; font-family: var(--display); font-size: 62px; line-height: 1; margin-top: 4px; font-weight: 800; }
.island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 112px; height: 34px; border-radius: 30px; background: #000; color: #fff; overflow: hidden; transition: width 0.7s var(--ease-spring), height 0.7s var(--ease-spring); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.island-demo.open .island { width: calc(100% - 24px); height: 124px; }
.island .compact { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; opacity: 1; transition: opacity .25s ease; }
.island-demo.open .compact { opacity: 0; }
.island .compact .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--eg-mint); }
.island .compact .sec { font-family: var(--mono); font-size: 11px; color: var(--sun); }
.island .expanded { position: absolute; inset: 0; padding: 14px 16px; opacity: 0; transition: opacity .35s ease .35s; display: flex; flex-direction: column; justify-content: space-between; }
.island-demo.open .expanded { opacity: 1; }
.island .ex-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.island .ex-top .now { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--eg-mint); text-transform: uppercase; }
.island .ex-top .title { font-family: var(--display); font-size: 17px; line-height: 1.1; margin-top: 3px; }
.island .ex-top .where { font-family: var(--mono); font-size: 10px; opacity: .75; margin-top: 4px; }
.island .ex-top .big { font-family: var(--display); font-size: 22px; color: var(--sun); }
.island .bar { display: flex; gap: 4px; align-items: center; }
.island .bar i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.island .bar i.done { background: var(--eg-mint); }
.island .bar i.live::after { content: ''; position: absolute; inset: 0; width: 55%; background: var(--sun); }
.island .bar small { font-family: var(--mono); font-size: 9px; opacity: .7; margin-left: 4px; }
.island-demo.open .bar i.live::after { animation: none; }
@media (prefers-reduced-motion: no-preference) { .island-demo.open .bar i.live::after { animation: grow 6s linear 0.8s both; } @keyframes grow { from { width: 20%; } to { width: 85%; } } }
.lock-widget { position: absolute; left: 14px; right: 14px; bottom: 16%; background: rgba(12, 40, 36, .85); border: 1px solid rgba(142,182,155,.25); border-radius: 18px; padding: 12px 14px; color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease-out) .5s, opacity .6s ease .5s; }
.island-demo.open .lock-widget { transform: none; opacity: 1; }
.lock-widget .lw-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--eg-mint); }
.lock-widget .lw-title { font-family: var(--display); font-size: 15px; margin-top: 4px; }
.lock-widget .lw-sub { font-family: var(--mono); font-size: 10px; opacity: .7; margin-top: 3px; }
.lock-widget .lw-next { color: var(--sun); font-family: var(--display); font-size: 14px; }
.travel-points { display: grid; gap: 14px; margin-top: 26px; }
.travel-points > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.travel-points .ico { width: 38px; height: 38px; border-radius: 12px; background: rgba(142,182,155,.14); display: flex; align-items: center; justify-content: center; color: var(--eg-mint); }
.travel-points b { display: block; font-size: 16px; color: var(--eg-light); }
.travel-points p { font-size: 14.5px; color: rgba(218,241,222,.72); }
@media (max-width: 860px) { .travel-grid { grid-template-columns: 1fr; } .island-phone { width: min(100%, 300px); } }

/* ================= FLIGHTS ================= */
.flight-demo { background: var(--card); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(36,27,23,.12), inset 0 0 0 1px rgba(36,27,23,.05); padding: 22px; position: relative; max-width: 460px; margin: 0 auto; }
.fd-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fd-field { display: flex; gap: 10px; align-items: center; }
.fd-input { flex: 1; height: 50px; border-radius: 14px; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(36,27,23,.1); display: flex; align-items: center; padding: 0 16px; font-family: var(--mono); font-size: 18px; letter-spacing: .06em; color: var(--ink); }
.fd-input span:empty::before { content: 'Flight number'; color: var(--muted); font-family: var(--sans); font-size: 15px; letter-spacing: 0; }
.fd-input i { width: 2px; height: 22px; background: var(--coral); margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) { .fd-input i { animation: blink 1s steps(2) infinite; } @keyframes blink { to { opacity: 0; } } }
.flight-demo.done .fd-input i { display: none; }
.fd-btn { height: 50px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 700; display: flex; align-items: center; gap: 8px; transition: transform .2s var(--ease-spring), background .2s; }
.fd-btn.press { transform: scale(0.94); background: var(--coral); }
.fd-status { height: 22px; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); opacity: 0; transition: opacity .3s; }
.flight-demo.searching .fd-status { opacity: 1; }
.fd-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .flight-demo.searching .fd-status i { animation: pulse 1s infinite; } }
.fd-result { margin-top: 6px; display: grid; gap: 8px; }
.fd-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--cream); opacity: 0; transform: translateX(-12px); transition: opacity .45s ease, transform .55s var(--ease-out); }
.fd-row.show { opacity: 1; transform: none; }
.fd-row .ico { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--coral); box-shadow: 0 2px 6px rgba(36,27,23,.08); }
.fd-row small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fd-row b { font-size: 15px; display: block; line-height: 1.25; }
.fd-row .route { display: flex; align-items: center; gap: 8px; }
.fd-row .route em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted-strong); }
.fd-toast { position: absolute; left: 14px; right: 14px; top: -22px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; box-shadow: 0 20px 50px rgba(36,27,23,.3); opacity: 0; transform: translateY(-16px) scale(.96); transition: opacity .5s ease, transform .6s var(--ease-spring); }
.fd-toast.show { opacity: 1; transform: none; }
.fd-toast img { width: 34px; height: 34px; border-radius: 9px; }
.fd-toast b { display: block; font-size: 13.5px; }
.fd-toast span { font-size: 12.5px; opacity: .8; line-height: 1.35; display: block; }
.fd-replay { position: absolute; right: 18px; bottom: 14px; background: none; border: 0; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.fd-replay:hover { color: var(--coral); }
.flight-demo .fd-result { padding-bottom: 18px; }

.recap-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.tile { border-radius: 18px; padding: 16px 16px 14px; color: #fff; min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile b { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; }
.tile small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; opacity: .9; }
.tile::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -24px; top: -30px; background: rgba(255,255,255,.18); }
.tile.sun { background: linear-gradient(160deg, #F6B96E, #EE9A45); }
.tile.coral { background: linear-gradient(160deg, #EC8577, #DF6353); }
.tile.ocean { background: linear-gradient(160deg, #6E97D2, #4E78B9); }
.tile.sage { background: linear-gradient(160deg, #A9B996, #869A72); }
.tile.orange { background: linear-gradient(160deg, #F4A85B, #E88E3C); }
@media (max-width: 860px) { .recap-tiles { grid-template-columns: repeat(3, 1fr); } .tile:nth-child(4), .tile:nth-child(5) { grid-column: span 1; } }
@media (max-width: 520px) { .recap-tiles { grid-template-columns: repeat(2, 1fr); } .tile:last-child { grid-column: span 2; } }


/* ============================================================
   Legacy pages (privacy.html / terms.html / support.html)
   These pages keep their original markup — this block maps their
   old class names onto the design so they stay styled. KEEP IT.
   ============================================================ */
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 3px 10px rgba(36,27,23,0.16); }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.nav-inner .brand + .nav-links { margin-left: auto; }
.nav-links a.cta { background: var(--ink); color: var(--paper); font-weight: 700; padding: 10px 18px; margin-left: 6px; }
.nav-links a.cta:hover { background: #3a2e26; color: #fff; }
@media (max-width: 740px) {
  .nav-inner:not(:has(.nav-burger)) .nav-links {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; padding: 0; border: 0; box-shadow: none;
  }
  .nav-inner:not(:has(.nav-burger)) .nav-links a:not(.cta) { display: none; }
  .nav-inner:not(:has(.nav-burger)) .nav-links a.cta { margin: 0; }
}
.legal { padding: 56px 0 80px; }
.legal .doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; }
.legal .updated { color: var(--muted-strong); font-size: 15px; margin: 0 0 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: #3a2e26; font-size: 16px; margin: 0 0 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ocean); }
.legal a:hover { color: #40679f; }
.legal .lead {
  font-size: 18px; color: var(--ink); background: var(--card); border: 1px solid var(--rule);
  border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 20px rgba(36, 27, 23, 0.08); margin-bottom: 24px;
}
.legal .toc { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 22px; margin: 28px 0; }
.legal .toc strong { display: block; margin-bottom: 8px; }
.legal .back { display: inline-block; margin-top: 8px; font-weight: 600; }
.legal .btn { text-decoration: none; }
.legal a.btn-primary { color: var(--paper); }
.legal a.btn-primary:hover { color: #fff; }
.support-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.support-email { font-weight: 600; }
footer:not(.footer) { background: var(--ink); color: rgba(255, 248, 236, 0.72); padding: 40px 0; margin-top: clamp(40px, 8vw, 90px); font-size: 15px; }
footer:not(.footer) .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer:not(.footer) .foot-brand { font-family: var(--display); font-size: 22px; color: var(--paper); }
footer:not(.footer) .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer:not(.footer) .foot-links a { color: var(--paper); font-weight: 600; font-size: 15px; }
footer:not(.footer) .foot-links a:hover { color: var(--sun); }
footer:not(.footer) .foot-copy { color: rgba(255, 248, 236, 0.55); font-size: 13.5px; width: 100%; margin-top: 8px; }
