/* VOYA landing page
   Theme: auto (follows prefers-color-scheme). One accent (persimmon), cool neutrals.
   Radius rule: interactive = full pill, surfaces = 20px, phones = 44px. */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #F5F6F4;
  --surface: #FCFCFB;
  --surface-2: #ECEEEB;
  --ink: #121514;
  --muted: #545B58;
  --line: #DCE0DD;
  --accent: #C94419;
  --accent-soft: #F8E2D8;
  --accent-ink: #8E2C0C;
  --phone-frame: #1B1F1E;
  --shadow: 0 30px 60px -30px rgb(30 40 36 / .35);

  --r-surface: 20px;
  --r-phone: 44px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1110;
    --surface: #151918;
    --surface-2: #1C2120;
    --ink: #ECEFEE;
    --muted: #A0A8A5;
    --line: #272D2B;
    --accent: #FF7A4D;
    --accent-soft: #2B1A13;
    --accent-ink: #FFB597;
    --phone-frame: #2A302E;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

/* ---------- Type ---------- */
.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-name {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
}
.feature-name .ph { font-size: 20px; }
.h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 650;
  max-width: 20ch;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(28px, 3vw, 36px); }
.lede { color: var(--muted); max-width: 58ch; margin-top: 18px; }
.fine { color: var(--muted); font-size: 15px; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font: 600 16px/1 inherit;
  font-family: inherit;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn .ph { font-size: 20px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible, .lens__tabs button:focus-visible, .nav__links a:focus-visible, .wordmark:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: color-mix(in oklab, var(--ink) 85%, var(--accent)); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost:hover .ph { transform: translateY(2px); }
.btn--ghost .ph { transition: transform .25s var(--ease); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav__inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.wordmark { font-weight: 750; font-size: 21px; letter-spacing: .14em; text-decoration: none; }
.wordmark--sm { font-size: 16px; }
@media (max-width: 560px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Phone frame + missing-screenshot slot ---------- */
.phone {
  position: relative;
  aspect-ratio: 1179 / 2556;
  width: 100%;
  max-width: 320px;
  --bezel: 10px;
  border-radius: var(--r-phone);
  background: var(--phone-frame);
  box-shadow: var(--shadow);
  /* Screen content can never spill past the bezel, whatever its intrinsic size. */
  overflow: hidden;
}
/* The screen is pinned inside the bezel on all four sides, so it always fills the frame exactly. */
.phone > img, .phone > .slot-missing {
  position: absolute;
  inset: var(--bezel);
  width: calc(100% - 2 * var(--bezel));
  height: calc(100% - 2 * var(--bezel));
  border-radius: calc(var(--r-phone) - var(--bezel));
}
.phone img { object-fit: cover; object-position: top; }
.phone--cycle img { opacity: 0; transition: opacity .7s var(--ease); }
.phone--cycle img.is-active { opacity: 1; }

/* Shown only when a screenshot file isn't there yet. A labeled slot, not fake UI. */
.slot-missing {
  overflow-wrap: break-word;
  display: grid; place-content: center; gap: 8px;
  text-align: center; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px);
  color: var(--muted);
  font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace;
}
.slot-missing strong { color: var(--ink); font-size: 13px; }
.phone--cycle .slot-missing { opacity: 0; transition: opacity .7s var(--ease); }
.phone--cycle .slot-missing.is-active { opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  min-height: min(calc(100dvh - 64px - 168px), 720px);
}
.hero__title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 680;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__sub { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__visual .phone { max-width: 300px; transform: rotate(2.5deg); }
.cycle-legend { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cycle-legend li {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 4px 12px; border-radius: 999px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.cycle-legend li.is-active { background: var(--accent-soft); color: var(--accent-ink); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .hero__visual .phone { max-width: 250px; transform: none; }
}

/* ---------- Why ---------- */
.why { padding: 96px 0; border-top: 1px solid var(--line); }
.why__inner { max-width: 980px; }
.why__lead {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2; letter-spacing: -.025em; font-weight: 550;
  text-wrap: pretty;
}
.why__body { margin-top: 28px; margin-left: auto; max-width: 52ch; color: var(--muted); font-size: 19px; }
@media (max-width: 760px) { .why { padding: 72px 0; } .why__body { margin-left: 0; } }

/* ---------- Curio ---------- */
.curio { padding: 104px 0; }
.curio__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.curio__visual { display: flex; justify-content: center; }
.asks { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.asks li {
  font-size: 15px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.cap .ph { font-size: 24px; color: var(--accent); }
.cap h3 { font-size: 17px; font-weight: 620; margin-top: 10px; letter-spacing: -.01em; }
.cap p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 860px) {
  .curio { padding: 72px 0; }
  .curio__grid { grid-template-columns: 1fr; gap: 48px; }
  .curio__visual { order: 2; }
  .curio__visual .phone { max-width: 260px; }
}
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Pair (Itinerary + Expenses) ---------- */
.pair { padding: 32px 0 104px; }
.pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: 44px 44px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.ticks li::before {
  content: "\e182"; /* Phosphor: check */
  font-family: "Phosphor"; position: absolute; left: 0; top: 1px;
  color: var(--accent); font-size: 18px;
}
/* Phone rises from the bottom edge of the card; only the top half shows. */
.phone--crop {
  margin: 44px auto 0;
  max-width: 280px;
  aspect-ratio: auto;
  height: 340px;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
/* Full-height screen anchored to the top; the frame's fixed height crops the bottom. */
.phone--crop > img, .phone--crop > .slot-missing {
  bottom: auto;
  height: auto;
  aspect-ratio: 1179 / 2556;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
@media (max-width: 860px) {
  .pair { padding: 0 0 72px; }
  .pair__grid { grid-template-columns: 1fr; }
  .pair__col { padding: 32px 24px 0; }
}

/* ---------- Travel Map band ---------- */
.band { background: var(--accent-soft); padding: 96px 0; }
.band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.band__visual { display: flex; justify-content: center; }
.band__visual .phone { transform: rotate(-2deg); }
.stat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.stat-pills li {
  font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
}
@media (max-width: 860px) {
  .band { padding: 72px 0; }
  .band__grid { grid-template-columns: 1fr; gap: 48px; }
  .band__visual .phone { max-width: 250px; transform: none; }
}

/* ---------- AI Lens ---------- */
.lens { padding: 112px 0; }
.lens__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; margin-top: 48px; }
.lens__tabs { display: grid; gap: 8px; }
.lens__tabs button {
  display: flex; gap: 16px; align-items: flex-start;
  text-align: left; width: 100%;
  padding: 20px 22px;
  border-radius: var(--r-surface);
  border: 1px solid transparent;
  background: none; color: var(--muted);
  font: inherit; font-size: 15.5px; line-height: 1.5;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.lens__tabs button .ph { font-size: 24px; margin-top: 1px; color: var(--muted); transition: color .3s var(--ease); }
.lens__tabs button strong { display: block; color: var(--ink); font-size: 17px; font-weight: 620; margin-bottom: 2px; }
.lens__tabs button:hover { background: var(--surface); }
.lens__tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); }
.lens__tabs button[aria-selected="true"] .ph { color: var(--accent); }
.lens__visual { display: flex; justify-content: center; }
.lens__desc { display: none; }
.lens__visual .phone img, .lens__visual .phone .slot-missing { transition: opacity .3s var(--ease); }
.lens__visual .phone.is-swapping img, .lens__visual .phone.is-swapping .slot-missing { opacity: 0; }
@media (max-width: 860px) {
  .lens { padding: 72px 0; }
  .lens__grid { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  /* Compact 2x2 mode picker; the selected mode's description sits right above the phone,
     so tapping a mode changes something the user can actually see. */
  .lens__tabs { grid-template-columns: 1fr 1fr; }
  .lens__tabs button {
    flex-direction: column; gap: 6px;
    padding: 14px 16px;
    border-color: var(--line);
  }
  .lens__tabs button strong { font-size: 15.5px; margin: 0; }
  .lens__tabs .tab-desc { display: none; }
  .lens__tabs button[aria-selected="true"] { border-color: var(--ink); }
  .lens__desc { display: block; color: var(--muted); font-size: 15.5px; margin: 20px 0 32px; min-height: 3em; }
}

/* ---------- Bento ---------- */
.more { padding: 32px 0 112px; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tile {
  border-radius: var(--r-surface);
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tile__icon { font-size: 30px; color: var(--accent); margin-bottom: auto; padding-bottom: 40px; }
.tile h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 640; max-width: 22ch; }
.tile p { color: var(--muted); font-size: 15.5px; margin-top: 10px; max-width: 52ch; }
.tile--journal { grid-column: span 2; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tile--journal p { color: color-mix(in oklab, var(--bg) 72%, var(--ink)); }
.tile--journal .tile__icon { color: var(--accent); }
.tile--booking { background: var(--accent-soft); border-color: transparent; }
.tile--booking p { color: color-mix(in oklab, var(--ink) 72%, var(--accent-soft)); }
.tile--lang { grid-column: span 2; }
.langs { display: flex; gap: 10px; margin-top: 24px; }
.langs li {
  font-size: 20px; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface-2);
}
@media (max-width: 860px) {
  .more { padding: 0 0 72px; }
  .bento { grid-template-columns: 1fr; }
  .tile--journal, .tile--lang { grid-column: auto; }
  .tile { padding: 28px 24px; }
}

/* ---------- Pricing ---------- */
.pricing { padding: 104px 0; border-top: 1px solid var(--line); }
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.plan {
  border-radius: var(--r-surface);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 36px;
}
.plan--annual { border: 2px solid var(--ink); }
.plan h3 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.plan__for { color: var(--muted); margin-top: 4px; font-size: 15.5px; }
.plan__price { margin-top: 32px; display: flex; align-items: baseline; gap: 8px; }
.plan__per { color: var(--muted); font-size: 15px; }
.price-todo {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 15px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  border: 1.5px dashed var(--accent); color: var(--accent-ink);
}
.plan-includes {
  grid-column: 1 / -1;
  padding: 36px;
  border-radius: var(--r-surface);
  background: var(--surface-2);
}
.plan-includes h3 { font-size: 17px; font-weight: 620; }
.ticks--cols { grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 760px) {
  .pricing { padding: 72px 0; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan-includes { padding: 28px 24px; }
  .ticks--cols { grid-template-columns: 1fr; }
}

/* ---------- Closing ---------- */
.closing { padding: 120px 0 128px; }
.closing__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.closing__title {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 700;
  max-width: 14ch;
}
@media (max-width: 760px) { .closing { padding: 80px 0 96px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .wordmark { color: var(--ink); }

/* ---------- Phone sizing on small screens ----------
   Seven phones at full width made the mobile page very long; keep them compact. */
@media (max-width: 860px) {
  .phone, .hero__visual .phone, .curio__visual .phone,
  .band__visual .phone, .lens__visual .phone { max-width: 230px; }
  .phone { --r-phone: 36px; --bezel: 8px; }
  .phone--crop { max-width: 240px; height: 250px; margin-top: 32px; }
  .slot-missing { padding: 16px; font-size: 11px; }
}
@media (max-width: 380px) {
  .phone, .hero__visual .phone, .curio__visual .phone,
  .band__visual .phone, .lens__visual .phone { max-width: 200px; }
}

/* ---------- Reveal on scroll (IntersectionObserver adds .is-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
