/* Goomee — discovery identity. See DESIGN.md.
   Palette sampled directly from the approved concept mockup. */

:root {
  --navy:        #0A1F3D;   /* headings, primary text */
  --navy-soft:   #35485F;   /* sub-headings */
  --muted:       #6B7A88;   /* body + nav */
  --orange:      #FD5F06;   /* primary action, accent word */
  --orange-ink:  #E04E00;   /* hover */
  --orange-wash: #FEF3EB;   /* highlighted table column */
  --blue:        #175492;   /* logo "Goo" */
  --white:       #FFFFFF;
  --cream:       #FAF9F6;   /* warm section ground */
  --mist:        #F2F7FD;   /* cool section ground (planner) */
  --line:        #E7E3DD;   /* hairlines on cream */
  --line-cool:   #DFE7F1;   /* hairlines on mist */
  --slot:        #E9EDF2;   /* empty media slot */
  --slot-ink:    #93A2B2;   /* empty media slot label */

  /* Roles. Light values reproduce the original palette exactly; the dark
     theme below only redefines these, never the rules that use them. */
  --ink:         #0A1F3D;   /* text that is navy in light mode */
  --bg:          #FFFFFF;   /* page and plain sections */
  --surface:     #FFFFFF;   /* cards, table, rail buttons, menu panel */
  --glass:       rgba(255, 255, 255, .94);   /* solid header, chips on photos */
  --tint:        rgba(10, 31, 61, .07);      /* quiet selected state */
  --text-body:   #35485F;   /* long-form text on legal pages */
  --note-ink:    #7A3505;   /* text on orange-wash notes */
  --legal-head:  #FBFAF7;

  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --section-pad: clamp(56px, 7vw, 108px);
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 18px 50px -24px rgba(10, 31, 61, .35);
  color-scheme: light;
}

/* ---- Dark theme ----
   Follows the system setting unless the visitor picked a theme with the
   header toggle (html[data-theme]). Brand orange, the hero film and all
   photography are left as they are. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E9EEF5; --navy-soft: #B7C3D1; --muted: #9AA7B6; --blue: #6AA6E8;
    --bg: #0B1624; --surface: #13233A; --cream: #0E1A2B; --mist: #0F1D31;
    --line: rgba(255, 255, 255, .11); --line-cool: rgba(255, 255, 255, .11);
    --orange-wash: rgba(253, 95, 6, .15); --orange-ink: #FF7A33;
    --slot: #1A2B42; --slot-ink: #6F8196;
    --glass: rgba(15, 29, 49, .92); --tint: rgba(255, 255, 255, .1);
    --text-body: #C3CDD8; --note-ink: #FFB48A; --legal-head: #13233A;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E9EEF5; --navy-soft: #B7C3D1; --muted: #9AA7B6; --blue: #6AA6E8;
  --bg: #0B1624; --surface: #13233A; --cream: #0E1A2B; --mist: #0F1D31;
  --line: rgba(255, 255, 255, .11); --line-cool: rgba(255, 255, 255, .11);
  --orange-wash: rgba(253, 95, 6, .15); --orange-ink: #FF7A33;
  --slot: #1A2B42; --slot-ink: #6F8196;
  --glass: rgba(15, 29, 49, .92); --tint: rgba(255, 255, 255, .1);
  --text-body: #C3CDD8; --note-ink: #FFB48A; --legal-head: #13233A;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1240px; margin-inline: auto;
  padding-inline: var(--gutter);
  /* keep content clear of notches and rounded corners in landscape */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Empty media slots ----------
   Every image and video the concept calls for is an empty, correctly
   proportioned slot. Drop in an <img>/<source> and delete data-media. */
.media {
  position: relative;
  background: var(--slot);
  border-radius: var(--r);
  overflow: hidden;
}
.media::after {
  content: attr(data-media);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 10px; text-align: center;
  font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .01em;
  color: var(--slot-ink);
}
.media:empty::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(147, 162, 178, .55); border-radius: inherit;
}
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media:has(> img)::after, .media:has(> video)::after,
.media:has(> img)::before, .media:has(> video)::before { content: none; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.wordmark {
  position: relative;
  font-size: 27px; font-weight: 800; letter-spacing: -.035em;
}
.wm-a { color: var(--blue); }
.wm-b { color: var(--orange); }
.wm-spark {
  position: absolute; top: -9px; right: -13px;
  width: 15px; height: 15px; color: var(--orange); stroke-width: 2.4;
}
.brand-tag {
  font-size: 11.5px; font-weight: 500; color: var(--navy-soft); letter-spacing: .005em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  padding: 11px 22px; transition: background-color .18s ease, transform .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; stroke-width: 2; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-ink); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); }
}

/* ---------- Store badges ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  padding: 9px 18px 9px 15px; border-radius: 12px;
  transition: opacity .18s ease;
}
.badge:hover { opacity: .85; }
.badge-glyph { width: 24px; height: 24px; stroke: none; flex: none; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-text small { font-size: 9.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.badge-text strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.badge-dark { background: rgba(9, 18, 30, .82); backdrop-filter: blur(6px); }

/* Not shipped yet: the badges stay as a visual promise but are inert, so a
   tap cannot look like a broken download. Swap the <span> back to an <a>
   with the real store URL on launch and delete .soon-note. */
.badge.is-soon { cursor: default; opacity: .68; }
.badge.is-soon:hover { opacity: .68; }
.soon-note {
  margin-top: 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  color: rgba(255, 255, 255, .78);
}

/* ---------- Handwriting ---------- */
.hand {
  position: relative;
  font-family: var(--hand); font-size: clamp(20px, 2.1vw, 27px); font-weight: 600;
  line-height: 1.12; color: var(--ink); letter-spacing: .005em;
}
.hand .swoosh {
  width: 92px; height: 10px; margin-top: 3px;
  color: var(--orange); stroke-width: 2.6;
}

/* ---------- Headings ---------- */
.h2 {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.1; color: var(--ink);
}
.h2.center { text-align: center; }
.accent { color: var(--orange); }
.lede { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }
.section-head { max-width: 880px; margin-inline: auto; text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lede { margin-top: 12px; }

.chip {
  display: inline-block; margin-bottom: 14px;
  background: var(--orange-wash); color: var(--orange-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(12px);
}
/* over the film: white brand and navigation */
.site-header:not(.is-stuck) .wm-a,
.site-header:not(.is-stuck) .brand-tag { color: #fff; }
.site-header:not(.is-stuck) .nav > a:not(.btn) { color: rgba(255, 255, 255, .88); }
.site-header:not(.is-stuck) .nav > a:not(.btn):hover { color: #fff; }
.site-header:not(.is-stuck) .menu-toggle { border-color: rgba(255,255,255,.4); }
.site-header:not(.is-stuck) .menu-toggle .bars,
.site-header:not(.is-stuck) .menu-toggle .bars::before,
.site-header:not(.is-stuck) .menu-toggle .bars::after { background: #fff; }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav > a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .16s ease;
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav-cta { display: none; }
.header-cta { margin-left: 4px; }

/* ---- Theme toggle: moon in light mode, sun in dark ---- */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line); transition: background-color .16s ease;
}
.theme-toggle:hover { background: var(--tint); }
.theme-toggle svg { width: 18px; height: 18px; stroke-width: 1.9; }
.theme-toggle .sun { display: none; }
.site-header:not(.is-stuck) .theme-toggle { color: #fff; border-color: rgba(255, 255, 255, .4); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ---- Language switcher: EN · NL · FR ---- */
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a {
  padding: 5px 7px; border-radius: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  transition: color .16s ease, background-color .16s ease;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); background: var(--tint); }
.site-header:not(.is-stuck) .lang-switch a { color: rgba(255, 255, 255, .72); }
.site-header:not(.is-stuck) .lang-switch a:hover,
.site-header:not(.is-stuck) .lang-switch a[aria-current] { color: #fff; }
.site-header:not(.is-stuck) .lang-switch a[aria-current] { background: rgba(255, 255, 255, .16); }
.menu-toggle { display: none; }

/* ================= HERO =================
   Full-bleed film hero. The header sits on top of it, so the hero pulls
   up under the sticky header and pads itself back down. */
.hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(24px, 3vw, 40px);
  /* the film fills the whole first screen, whatever its height */
  min-height: max(560px, 100vh);
  min-height: max(560px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  background: #0A1622;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
}
/* hide the empty <video> (and its slot label) until a <source> exists */
.hero-video:not([src]):not(:has(source)) { display: none; }

.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 14, 24, .66) 0%, rgba(6, 14, 24, .34) 38%, rgba(6, 14, 24, 0) 60%),
    linear-gradient(to top, rgba(6, 14, 24, .55) 0%, rgba(6, 14, 24, 0) 32%),
    linear-gradient(to bottom, rgba(6, 14, 24, .38) 0%, rgba(6, 14, 24, 0) 18%);
}

.hero-inner {
  position: relative; width: 100%; flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto minmax(0, .92fr);
  grid-template-areas:
    "copy play side"
    "cats cats cats";
  gap: clamp(20px, 3vw, 48px); align-items: center;
}
.hero-copy { grid-area: copy; }
.hero-play { grid-area: play; }
.hero-side { grid-area: side; }
.hero-cats { grid-area: cats; }
.hero-title {
  font-size: clamp(42px, 5.6vw, 76px); font-weight: 800;
  letter-spacing: -.042em; line-height: 1.0; color: #fff;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--orange); }
.hero-sub {
  margin-top: 18px; max-width: 30ch;
  color: rgba(255, 255, 255, .88); font-size: clamp(16px, 1.3vw, 19px);
}
.hero .store-badges { margin-top: 30px; }
.hero .badge { background: rgba(8, 16, 26, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); }

/* ---- Play button ---- */
.hero-play { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.play-btn {
  position: relative;
  width: clamp(64px, 6vw, 82px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); color: #fff;
  display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
}
.play-btn svg { width: 34%; height: 34%; margin-left: 8%; }
.play-btn:hover { background: rgba(255, 255, 255, .16); transform: scale(1.05); }
.play-btn::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
}
@media (prefers-reduced-motion: no-preference) {
  .play-btn::after { animation: pulse 2.8s ease-out infinite; }
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.play-label { color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }

/* ---- Right column: annotation + phone ---- */
.hero-side { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.hand-hero {
  position: relative; color: #fff; text-align: center;
  font-size: clamp(19px, 1.9vw, 26px); align-self: center; margin-bottom: 4px;
  transform: rotate(-6deg);
}
.hand-hero .arc {
  position: absolute; left: 4%; top: 86%; width: clamp(110px, 11vw, 150px); height: auto;
  color: rgba(255, 255, 255, .85); stroke-width: 1.6;
}
.hero-phone { width: min(266px, 100%); margin-top: clamp(16px, 2vw, 30px); }
.hero-phone .phone {
  width: 100%; margin-inline: 0;
  transform: rotate(3deg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
/* ---- Real app screenshots inside the phone frames ----
   Screens are captured from the simulator at 1206×2622, so the frame keeps
   that exact ratio; nothing is cropped or redrawn. */
.phone-screen.phone-shot {
  padding: 0; min-height: 0; border-radius: 34px; overflow: hidden;
  aspect-ratio: 1206 / 2622; background: #F9FAFE;
}
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---- Category rail on the film ---- */
.hero-cats { position: relative; width: 100%; margin-top: clamp(4px, 1vw, 12px); }
.hero-cats ul {
  display: flex; gap: clamp(18px, 4vw, 64px);
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28);
  overflow-x: auto; scrollbar-width: none;
}
.hero-cats ul::-webkit-scrollbar { display: none; }
@media (max-width: 1080px) {
  /* hint that there is more to the right */
  .hero-cats ul, .dest-row {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
}
.hero-cats li {
  display: flex; flex-direction: column; gap: 9px; flex: none;
  color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25;
}
.hero-cats svg { width: 23px; height: 23px; color: #fff; stroke-width: 1.6; }

@media (min-width: 1081px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) auto minmax(0, .8fr);
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "copy play side"
      "cats cats side";
  }
  .hero-side {
    align-self: end;
    margin-bottom: calc(-1 * clamp(24px, 3vw, 40px) - 56px);
    /* out of the content column toward the edge of the film, as in the
       concept: phone's right edge lands ~3.5vw from the viewport edge */
    transform: translateX(calc(max(0px, (100vw - 1240px) / 2) + var(--gutter) - max(3.5vw, 32px)));
  }
  .hero-phone { width: clamp(250px, 16vw, 290px); margin-top: 64px; }
  /* annotation over the sky, clear of the traveller, arrow dropping to the phone */
  .hand-hero { align-self: flex-end; margin-right: -2%; }
  .hand-hero .arc {
    left: auto; right: 40%; top: 122%; width: 58px;
    transform: rotate(64deg);
  }
  .hero-cats ul { width: fit-content; max-width: 100%; }
}

/* ---- Entry choreography ----
   CSS-only and self-starting: if main.js never loads, the hero still
   renders. Nothing here is required for the content to be visible. */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter .85s cubic-bezier(.2,.7,.3,1) both; }
  [data-enter="1"] { animation-delay: .10s; }
  [data-enter="2"] { animation-delay: .22s; }
  [data-enter="3"] { animation-delay: .36s; }
  [data-enter="4"] { animation-delay: .48s; }
  [data-enter="5"] { animation-delay: .62s; }
  [data-enter="6"] { animation-delay: .74s; }
  [data-enter="7"] { animation-delay: .84s; }
  [data-enter="8"] { animation-delay: .96s; }
}
@keyframes enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ================= STORY PLAYER ================= */
.story {
  width: min(1100px, 92vw); padding: 0; border: 0; background: transparent;
  color: #fff; overflow: visible;
}
.story::backdrop { background: rgba(4, 10, 18, .88); backdrop-filter: blur(6px); }
.story-frame {
  position: relative;
  aspect-ratio: 16 / 9; background: #0A1622;
  border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
}
.story-video { width: 100%; height: 100%; object-fit: cover; }
.story-video:not([src]):not(:has(source)) {
  display: grid; place-items: center;
}
.story-close {
  position: absolute; top: -46px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center;
}
.story-close svg { width: 18px; height: 18px; stroke-width: 2; }
/* label the empty story slot so it is obvious what belongs there */
.story-frame::after {
  content: attr(data-media); position: absolute; inset: 0;
  display: grid; place-items: center; pointer-events: none;
  font-size: 12px; color: rgba(255,255,255,.5);
}

/* ================= COMPARISON ================= */
.compare { background: var(--cream); padding-block: var(--section-pad); }
.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.compare-visual { position: relative; grid-row: 1 / span 2; }
.compare-photo { aspect-ratio: 5 / 6; border-radius: var(--r-lg); }
/* the source is portrait and the mobile box is landscape, so bias the crop
   upward or the subject's face gets cut in half */
.compare-photo img { object-position: 50% 16%; }
/* keep the slot label clear of the query chips and the handwriting */
.compare-photo::after { align-items: flex-start; justify-content: flex-end; padding: 16px; }
.queries {
  /* inset within the photo: hanging off the rounded left edge reads as a
     misalignment, not as a deliberate floating layer */
  position: absolute; left: clamp(14px, 1.8vw, 24px); top: 5%;
  display: flex; flex-direction: column; gap: 10px;
}
.queries li {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  /* translucent so the photo reads through; the blur keeps the label crisp */
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  padding: 7px 15px 7px 11px; font-size: 13.5px; font-weight: 600; color: var(--navy);
  box-shadow: 0 8px 22px -16px rgba(10, 31, 61, .45);
}
.queries svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.hand-search { position: absolute; left: 4%; bottom: 7%; }
.compare-copy { grid-column: 2; align-self: end; }
.compare-copy .lede { margin-top: 18px; max-width: 46ch; }
.compare-table-wrap { grid-column: 2; align-self: start; }

.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-top: clamp(20px, 2.4vw, 30px);
}
.compare-table th, .compare-table td {
  padding: 11px 16px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th {
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--surface);
}
.compare-table tbody th { font-weight: 500; color: var(--ink); }
.compare-table tbody th small { display: block; color: var(--muted); font-size: 12.5px; }
.compare-table .row-strong th { font-weight: 700; }
.compare-table td { text-align: center; width: 116px; }
.compare-table thead th:not(:first-child) { text-align: center; }
.col-goomee { background: var(--orange-wash); }
.th-brand { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }

.yes, .no { display: inline-block; width: 20px; height: 20px; position: relative; }
.yes { border-radius: 50%; background: var(--orange); }
.yes::after {
  content: ""; position: absolute; left: 6px; top: 5px;
  width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.no::before, .no::after {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 14px; height: 1.8px; background: var(--muted); border-radius: 2px;
}
.no::before { transform: rotate(45deg); }
.no::after  { transform: rotate(-45deg); }

/* ================= JOURNEYS ================= */
.journeys { background: var(--bg); padding-block: var(--section-pad); }
.journey-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.journey {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .journey:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}
.journey-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.journey-body { padding: 18px 20px 22px; }
.journey-icon { width: 24px; height: 24px; color: var(--ink); margin-bottom: 10px; }
.journey h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.journey p { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ================= PLANNER ================= */
.planner { background: var(--mist); padding-block: var(--section-pad); }
.planner-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.planner-copy .lede { margin-top: 12px; }
.ticks { margin-top: 26px; display: grid; gap: 13px; }
.ticks li {
  position: relative; padding-left: 34px;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--orange);
}
.ticks li::after {
  content: ""; position: absolute; left: 6.5px; top: 6px;
  width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.planner .btn { margin-top: 30px; }
.hand-planner { align-self: start; padding-top: 18px; }

/* Phone */
.phone {
  width: min(330px, 100%); margin-inline: auto;
  background: #0B1320; border-radius: 42px; padding: 9px;
  box-shadow: 0 34px 70px -34px rgba(10, 31, 61, .65);
}
.phone-screen {
  background: var(--surface); border-radius: 34px; overflow: hidden;
  padding: 16px 14px 18px;
}

/* Tablet frame for the planner's real screenshot (iPad, 2064×2752). */
.tablet {
  width: min(460px, 100%); margin-inline: auto;
  background: #0B1320; border-radius: 30px; padding: 11px;
  box-shadow: 0 34px 70px -34px rgba(10, 31, 61, .65);
}
.tablet-screen { border-radius: 20px; overflow: hidden; aspect-ratio: 2064 / 2752; background: #F2F2F7; }
.tablet-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ================= MOMENTS =================
   Illustrative scenes rather than testimonials: the app has not launched, so
   no named people and no quotes. See the comment in index.html. */
.moments { background: var(--cream); padding-block: var(--section-pad); }
.section-sub {
  margin: 12px auto 0; max-width: 46ch; text-align: center;
  color: var(--muted); font-size: clamp(16px, 1.3vw, 18px);
}
.moment-grid {
  margin-top: clamp(30px, 3.6vw, 48px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
}
.moment {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
}
.moment-visual { position: relative; }
.moment-photo { aspect-ratio: 3 / 4; border-radius: 0; }
/* the in-app suggestion, floating over the scene it led to */
.moment-chip {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--glass); color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(10, 31, 61, .45);
  backdrop-filter: blur(8px);
}
.moment-chip svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.moment-chip span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.moment-chip strong { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.moment-chip small { font-size: 12px; color: var(--muted); }
.moment-body { padding: 20px 22px 24px; }
.moment-when {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange);
}
.moment h3 { margin-top: 6px; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.moment-body > p:last-child { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ================= DESTINATIONS ================= */
.dests { background: var(--bg); padding-block: var(--section-pad); }
.dests-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; color: var(--blue);
}
.link-more svg { width: 16px; height: 16px; stroke-width: 2; }

.dest-rail { position: relative; }
.dest-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 15vw, 186px);
  gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.dest-row::-webkit-scrollbar { display: none; }
/* honour reduced motion: the JS passes behavior:'auto', which a blanket
   CSS scroll-behavior:smooth would otherwise override */
@media (prefers-reduced-motion: no-preference) {
  .dest-row { scroll-behavior: smooth; }
}
.dest { position: relative; scroll-snap-align: start; }
.dest .media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.dest .media::after { padding-bottom: 46px; }
.dest > span {
  position: absolute; left: 14px; bottom: 13px; z-index: 1;
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(10, 31, 61, .75);
}
.dest::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  border-radius: 0 0 var(--r) var(--r);
  background: linear-gradient(to top, rgba(10, 31, 61, .62), rgba(10, 31, 61, 0));
}
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: opacity .18s ease, visibility .18s ease;
}
.rail-btn svg { width: 19px; height: 19px; stroke-width: 2.2; }
.rail-prev { left: -14px; }
.rail-next { right: -14px; }
.rail-btn[hidden] { display: none; }

/* ================= CLOSING CTA ================= */
.close {
  position: relative; isolation: isolate;
  padding-block: clamp(56px, 7vw, 96px);
  background: linear-gradient(150deg, #123152 0%, #0A1F3D 58%, #06121F 100%);
  overflow: hidden;
}
.close-bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; background: transparent; }
.close-bg::after {
  align-items: flex-end; justify-content: flex-start;
  padding: 16px 22px; font-size: 10.5px; color: rgba(255, 255, 255, .32);
}
.close-bg::before { border-color: rgba(255, 255, 255, .22); }
.close-scrim {
  position: absolute; inset: 0; z-index: -1;
  /* the photo behind this is a bright daytime sky, so the band needs a real
     darkening pass, not just an edge gradient, to hold white type */
  background:
    linear-gradient(90deg, rgba(6,18,31,.90) 0%, rgba(6,18,31,.66) 52%, rgba(6,18,31,.44) 100%),
    linear-gradient(to top, rgba(6,18,31,.55) 0%, rgba(6,18,31,.12) 55%);
}
.close-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.close .h2 { color: #fff; }
.close .lede { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.close .store-badges { margin-top: 28px; }
.close-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.close-phone .phone { width: min(240px, 100%); }
.hand-close { color: rgba(255, 255, 255, .9); font-size: 21px; }

/* ================= FOOTER ================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(28px, 3vw, 40px); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 40px);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); }
.footer-nav a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .16s ease; }
.footer-nav a:hover { color: var(--ink); }
.socials { display: flex; gap: 14px; margin-left: auto; }
.socials svg { width: 19px; height: 19px; color: var(--ink); }
.copyright { font-size: 12.5px; line-height: 1.45; color: var(--muted); text-align: right; }

/* Stock licence credit. Vecteezy's free tier requires a visible, linked
   credit on any page using their assets. */
.footer-fine {
  margin-top: clamp(18px, 2vw, 26px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer-fine p { font-size: 12px; color: var(--muted); }
.footer-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-fine a:hover { color: var(--ink); }
.footer-fine .legal-id { margin-bottom: 6px; }

/* ================= CONTACT FORM ================= */
.contact-form { display: grid; gap: 20px; max-width: 640px; margin-top: 8px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form label { font-size: 15px; font-weight: 700; color: var(--ink); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  /* 16px keeps iOS Safari from zooming into the field on focus */
  font: inherit; font-size: 16px; line-height: 1.45;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-wash);
}
.contact-form .field small { font-size: 13px; color: var(--muted); }
.contact-form .form-note { font-size: 14px; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
/* spam trap: off screen for people, still in the form for bots */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { padding: 13px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.form-status.is-ok { background: rgba(28, 133, 74, .12); color: #17683C; }
.form-status.is-err { background: rgba(196, 38, 38, .1); color: #A42020; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status.is-ok { color: #7EDC9F; }
  :root:not([data-theme="light"]) .form-status.is-err { color: #FF9B9B; }
}
:root[data-theme="dark"] .form-status.is-ok { color: #7EDC9F; }
:root[data-theme="dark"] .form-status.is-err { color: #FF9B9B; }

/* ================= APP SCREENSHOTS: LIGHT / DARK =================
   Each device carries both captures; the theme decides which shows. Both are
   loading="lazy", so the hidden one is never downloaded. */
.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none; }
  :root:not([data-theme="light"]) .shot-dark { display: block; }
}
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }
/* in dark mode the near-black device frames melt into the navy sections;
   a faint edge keeps their shape */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tablet,
  :root:not([data-theme="light"]) .phone { outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; }
}
:root[data-theme="dark"] .tablet,
:root[data-theme="dark"] .phone { outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; }

/* ================= BACK TO TOP ================= */
.to-top {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 28px -10px rgba(10, 31, 61, .55);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background-color .16s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange-ink); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.4; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ================= REVEAL ================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ================= RESPONSIVE =================
   Four states:
     > 1080   desktop      three-column hero
     761-1080 tablet       two-column hero, planner and moments stay side by side
     621-760  large phone  single column
     <= 620   phone        single column, tightened type and spacing          */

@media (max-width: 1080px) {
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hand-planner { grid-column: 1 / -1; justify-self: end; padding-top: 0; }
}

/* ---- Tablet: keep two columns, the width is there to use ---- */
@media (min-width: 761px) and (max-width: 1080px) {
  .hero {
    min-height: 0;
    padding-bottom: clamp(24px, 3vw, 36px);
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    grid-template-areas:
      "copy side"
      "play side"
      "cats cats";
    /* the phone spans both rows and is taller than the copy, so the slack
       has to land somewhere: pin the left column to the top and let it fall
       below the play button rather than between the badges and the button */
    grid-template-rows: max-content 1fr auto;
    align-items: start;
    row-gap: 0;
  }
  .hero-play { margin-top: 28px; }
  .hero-side { align-self: center; }
  .hero-play {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 15px;
  }
  .hero-side { align-items: center; }
  .hand-hero .arc { display: none; }
  .hero-phone { width: min(248px, 100%); margin-top: 16px; }

  /* three moments in two columns would orphan one; keep three, tighter */
  .moment-grid { gap: 14px; }
  .moment-body { padding: 16px 16px 20px; }
  .moment-chip { left: 10px; right: 10px; bottom: 10px; }
}

/* ---- Header: the hamburger takes over below 900 ---- */
@media (max-width: 900px) {
  .header-cta { display: none; }
  /* the toggle leads the right-hand group once the nav collapses */
  .theme-toggle { margin-left: auto; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: 10px;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  }
  .menu-toggle .bars { position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; }
  .menu-toggle .bars::after  { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav:not(.is-open) { display: none; }
  /* The dropdown panel is white, so the white-over-hero link colour would
     make the labels invisible until the header solidifies. Same selector
     specificity as the rule it overrides, declared later. */
  .site-header:not(.is-stuck) .nav > a:not(.btn) { color: var(--ink); }
  .site-header:not(.is-stuck) .nav > a:not(.btn):hover { color: var(--orange-ink); }
  /* the white-over-hero bar colour outranks the open-state rule, so the
     middle bar stayed visible and the close icon rendered as an asterisk */
  .site-header:not(.is-stuck) .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { display: inline-flex; margin-top: 16px; padding-block: 14px; }
  .lang-switch { padding: 12px 0 2px; gap: 6px; }
  .lang-switch a { font-size: 15px; padding: 8px 12px; }
  /* the open menu is a white panel, so the over-the-film colours don't apply */
  .site-header:not(.is-stuck) .lang-switch a { color: var(--muted); }
  .site-header:not(.is-stuck) .lang-switch a[aria-current] { color: var(--ink); background: var(--tint); }

  .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .compare-visual { grid-row: auto; }
  .compare-copy { grid-column: 1; align-self: auto; order: -1; }
  .compare-table-wrap { grid-column: 1; }
  .compare-photo { aspect-ratio: 4 / 3; }
  .queries { top: 5%; }

  .close-inner { grid-template-columns: minmax(0, 1fr); }
  .close-phone { order: -1; }

  .rail-prev { left: 4px; }
  .rail-next { right: 4px; }
}

/* ---- Large phone and below: one column ---- */
@media (max-width: 760px) {
  .hero { min-height: 0; padding-bottom: clamp(20px, 4vw, 32px); }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "play" "side" "cats";
    gap: 28px;
  }
  .hero-play { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .hero-side { align-items: stretch; }
  .hand-hero { align-self: flex-start; text-align: left; margin-bottom: 24px; }
  .hand-hero .arc { display: none; }
  .hero-phone { margin-top: 0; margin-inline: auto; }
  .hero-cats ul { gap: 26px; }

  .planner-grid { grid-template-columns: minmax(0, 1fr); }
  .planner-visual { order: 2; }
  .hand-planner { justify-self: start; order: 3; }

}

/* ---- Phone ---- */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .queries li:nth-child(n+4) { display: none; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13.5px; }
  .compare-table td { width: 78px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .socials { margin-left: 0; }
  .copyright { text-align: left; }
  .brand-tag { display: none; }

  /* the hero runs to nearly three screens otherwise */
  .hero-phone { width: min(250px, 78%); }
  .store-badges .badge { flex: 1 1 150px; justify-content: center; }
  .hero-title { font-size: clamp(38px, 11vw, 50px); }
  .store-badges { gap: 10px; }
  .badge { padding: 8px 15px 8px 13px; }
  .badge-text strong { font-size: 15px; }
}

/* ---- Touch devices: no hover states, bigger targets ---- */
@media (hover: none) {
  .journey:hover { transform: none; box-shadow: none; }
  .play-btn:hover { background: none; transform: none; }
  .rail-btn { width: 44px; height: 44px; }
}

/* ================= LEGAL PAGES ================= */
.legal-page { background: var(--cream); }
.legal-page .site-header { background: var(--glass); border-bottom: 1px solid var(--line); }
.legal-page .site-header .wm-a { color: var(--blue); }
.legal-page .site-header .brand-tag { color: var(--navy-soft); }
.legal-page .site-header .nav > a:not(.btn) { color: var(--muted); }
/* the header here is solid from the start, so the over-the-film colours
   for the switcher and toggle never apply */
.legal-page .site-header .lang-switch a { color: var(--muted); }
.legal-page .site-header .lang-switch a:hover,
.legal-page .site-header .lang-switch a[aria-current] { color: var(--ink); }
.legal-page .site-header .lang-switch a[aria-current] { background: var(--tint); }
.legal-page .site-header .theme-toggle { color: var(--ink); border-color: var(--line); }
.legal-page .site-header .menu-toggle { border-color: var(--line); }
.legal-page .site-header .menu-toggle .bars,
.legal-page .site-header .menu-toggle .bars::before,
.legal-page .site-header .menu-toggle .bars::after { background: var(--ink); }
.legal-page .site-header .menu-toggle[aria-expanded="true"] .bars { background: transparent; }

.legal {
  max-width: 760px;
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px);
}
.legal-head { margin-bottom: clamp(28px, 4vw, 44px); }
.legal-head h1 {
  font-size: clamp(32px, 4.4vw, 48px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.08; color: var(--ink);
}
.legal-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }

.legal h2 {
  margin-top: clamp(32px, 4vw, 48px); margin-bottom: 12px;
  font-size: clamp(20px, 2.2vw, 25px); font-weight: 800;
  letter-spacing: -.025em; color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal h3 {
  margin-top: 26px; margin-bottom: 8px;
  font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.legal p, .legal li { color: var(--text-body); font-size: 16px; line-height: 1.68; }
.legal p + p { margin-top: 14px; }
.legal ul { margin-top: 12px; display: grid; gap: 9px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before {
  content: ""; position: absolute; left: 3px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
/* a button inside legal copy keeps its own look */
.legal a.btn { color: #fff; text-decoration: none; }
.legal a:hover { color: var(--orange-ink); }
.legal strong { color: var(--ink); font-weight: 700; }

.legal table {
  width: 100%; margin-top: 16px;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.legal th, .legal td {
  padding: 11px 14px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal thead th { font-weight: 700; color: var(--ink); background: var(--legal-head); }
.legal tbody tr:last-child th, .legal tbody tr:last-child td { border-bottom: 0; }
.legal td { color: var(--text-body); }

.legal-toc {
  margin-top: 22px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.legal-toc p { font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { display: grid; gap: 7px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: 15px; }
.legal-toc li::before { content: counter(toc) ". "; color: var(--muted); }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--orange-ink); text-decoration: underline; }

.legal-note {
  margin-top: 26px; padding: 16px 18px;
  background: var(--orange-wash); border-radius: var(--r);
  font-size: 14.5px; color: var(--note-ink);
}
.legal-note strong { color: var(--note-ink); }

@media (max-width: 620px) {
  .legal th, .legal td { padding: 10px 11px; font-size: 13.5px; }
}

/* ================= MOBILE CAROUSEL =================
   Below 760px the journey cards and testimonials become swipeable rails
   instead of a tall stack. Without JavaScript they are still usable — just
   a scrollable row with no dots. */
.dots {
  display: none;
  justify-content: center; gap: 8px;
  margin-top: 18px;
}
.dots button {
  position: relative;
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  background: var(--line);
  transition: background-color .2s ease, transform .2s ease;
}
.dots button.is-on { background: var(--orange); transform: scale(1.35); }
/* honest tap target around a deliberately small dot */
.dots button::before { content: ""; position: absolute; inset: -12px; }

@media (max-width: 760px) {
  .journey-grid, .moment-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* bleed to the screen edges so the next card peeks in */
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 4px;
  }
  .journey-grid::-webkit-scrollbar, .moment-grid::-webkit-scrollbar { display: none; }
  .journey, .moment { scroll-snap-align: center; }
  /* the reveal animation transforms these cards; inside a mandatory-snap
     rail that re-triggers snapping and lands the user mid-carousel */
  .journey.reveal, .moment.reveal { opacity: 1; transform: none; animation: none; }
  .moment { height: 100%; }
  .dots { display: flex; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .journey-grid, .moment-grid { scroll-behavior: smooth; }
}
