/* Pipreel landing page. Deep navy, sunshine for the main action, coral for Pip. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #060e15;
  --navy: #0a1721;
  --navy-2: #0e2433;
  --navy-3: #13232f;
  --navy-4: #163a52;
  --land: #1f4a63;
  --lagoon: #5ec2cf;
  --lagoon-deep: #1c7c8c;
  --sun: #ffc94d;
  --sun-deep: #f2a541;
  --coral: #ff8a5b;
  --coral-deep: #e8613a;
  --pink: #ff5e7a;
  --cream: #fff6df;
  --salt: #f4f6f7;
  --ink: #0e2433;
  --ink-2: #5c6b75;
  --mist: #9aa8b1;
  --white: #ffffff;

  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #eef3f5;
  background: var(--navy);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

.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: 12px;
  top: -60px;
  z-index: 100;
  background: var(--sun);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--sun);
}

.section-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--mist);
  max-width: 36em;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--sun);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 0 rgba(0, 0, 0, 0.22), 0 14px 30px -10px rgba(255, 201, 77, 0.55);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  transform: translateY(-3px) rotate(-1.5deg);
}
.btn:active {
  transform: translateY(3px) scale(0.97);
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.22);
}
.btn--ghost {
  --bg: rgba(255, 255, 255, 0.08);
  --fg: #eef3f5;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover {
  --bg: rgba(255, 255, 255, 0.14);
}
.btn--ink {
  --bg: var(--ink);
  --fg: var(--white);
  box-shadow: 0 6px 0 0 rgba(0, 0, 0, 0.25);
}
.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.22);
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  line-height: 1.1;
}
.store-pill small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.8;
}
.store-pill strong {
  font-size: 1.12rem;
  font-weight: 600;
}

/* ---------- Pip ---------- */

.pip {
  overflow: visible;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}
.pip .pip-body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.pip .eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite;
}
.pip .pupil {
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.15s linear;
}
.pip .foot {
  transform-box: fill-box;
  transform-origin: center;
}
.pip.is-idle .pip-body {
  animation: bob 2.4s var(--ease) infinite;
}
.pip.is-walking .foot.l {
  animation: step 0.36s ease-in-out infinite;
}
.pip.is-walking .foot.r {
  animation: step 0.36s ease-in-out infinite reverse;
}

@keyframes blink {
  0%, 46%, 50%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(0.12); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  45% { transform: translateY(-1.6px) scale(0.98, 1.03); }
  70% { transform: translateY(0) scale(1.03, 0.97); }
}
@keyframes step {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.4px); }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 23, 33, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  color: #fff;
}
.brand .pip {
  width: 34px;
  height: 36px;
  transition: transform 0.4s var(--bounce);
}
.brand:hover .pip {
  transform: rotate(-10deg) translateY(-3px);
}
.brand b {
  color: var(--sun);
  font-weight: 700;
}
.nav__links {
  display: none;
  gap: 28px;
  font-weight: 600;
}
.nav__links a {
  text-decoration: none;
  color: #cfd9de;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
  transform: scaleX(0);
  transition: transform 0.3s var(--bounce);
}
.nav__links a:hover {
  color: #fff;
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 108px 0 72px;
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(94, 194, 207, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(255, 138, 91, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--navy) 100%);
  overflow: hidden;
  isolation: isolate;
}
.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 0.9; transform: scale(1.15); }
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 5rem);
  margin: 16px 0 20px;
}
.hero h1 .squiggle {
  position: relative;
  display: inline-block;
  color: var(--sun);
  white-space: nowrap;
}
.hero h1 .squiggle svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}
.hero h1 .squiggle path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.2s 0.6s var(--ease) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.hero__sub {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #c9d5db;
  max-width: 32em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6be3a2;
  box-shadow: 0 0 0 0 rgba(107, 227, 162, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(107, 227, 162, 0.6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(107, 227, 162, 0); }
}

/* Words pop in one by one. */
.pop-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotate(4deg);
  animation: word 0.6s var(--bounce) forwards;
  animation-delay: calc(var(--i) * 70ms + 100ms);
}
@keyframes word {
  to { opacity: 1; transform: none; }
}

/* Phone with a reel playing. */
.stage-hero {
  position: relative;
  justify-self: center;
  width: min(320px, 78vw);
  aspect-ratio: 9 / 18.5;
}
.phone {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: #05090d;
  padding: 11px;
  box-shadow:
    inset 0 0 0 2px #2a3a46,
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(4deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-12px); }
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
.island {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 26px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}
.reel-bars {
  position: absolute;
  z-index: 4;
  top: 46px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}
.reel-bars span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.reel-bars span::after {
  content: "";
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  animation: bar 16s linear infinite;
  animation-delay: calc(var(--i) * 4s);
}
@keyframes bar {
  0% { transform: scaleX(0); }
  25% { transform: scaleX(1); }
  25.01%, 100% { transform: scaleX(0); }
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: scene 16s infinite;
  animation-delay: calc(var(--i) * 4s);
}
.scene svg {
  width: 100%;
  height: 100%;
  animation: kenburns 16s linear infinite;
  animation-delay: calc(var(--i) * 4s);
}
@keyframes scene {
  0% { opacity: 0; }
  3%, 25% { opacity: 1; }
  28%, 100% { opacity: 0; }
}
@keyframes kenburns {
  0% { transform: scale(1.12) translate(2%, 1%); }
  28% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1) translate(0, 0); }
}
.scene .cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.scene .cap small {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.75rem;
  margin-bottom: 6px;
  text-shadow: none;
}
.scene .cap span {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
}
.watermark {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}
.watermark svg {
  width: 14px;
  height: 15px;
}

.hero-pip {
  position: absolute;
  z-index: 3;
  left: -24%;
  bottom: -5%;
  width: 32%;
  animation: hop 3.4s var(--ease) infinite;
}
.hero-pip .pip {
  width: 100%;
  height: auto;
}
@keyframes hop {
  0%, 60%, 100% { transform: translateY(0) rotate(0); }
  70% { transform: translateY(-28px) rotate(-8deg); }
  80% { transform: translateY(0) rotate(0) scale(1.06, 0.94); }
  86% { transform: translateY(-8px) rotate(4deg); }
}
.speech {
  position: absolute;
  z-index: 4;
  left: -30%;
  bottom: 22%;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  transform-origin: 0% 100%;
  animation: speech 6s var(--bounce) infinite;
}
@keyframes speech {
  0%, 8% { transform: scale(0); opacity: 0; }
  14%, 70% { transform: scale(1); opacity: 1; }
  78%, 100% { transform: scale(0); opacity: 0; }
}

.polaroid {
  position: absolute;
  z-index: 1;
  width: 110px;
  padding: 7px 7px 22px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.polaroid .ph {
  aspect-ratio: 1;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}
.polaroid span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--ink);
}
.polaroid.p1 { right: -30%; top: 6%; transform: rotate(9deg); }
.polaroid.p2 { right: -24%; bottom: 14%; transform: rotate(-7deg); }
.polaroid.p3 { left: -30%; top: 12%; transform: rotate(-10deg); }
@media (max-width: 520px) {
  .polaroid { width: 84px; }
  .polaroid .ph { font-size: 1.8rem; }
  .polaroid.p1 { right: -14%; }
  .polaroid.p2 { right: -12%; }
  .polaroid.p3 { left: -16%; }
  .hero-pip { left: -8%; width: 30%; }
  .speech { left: -6%; bottom: 31%; font-size: 0.85rem; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--mist);
}
.scroll-hint i {
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  border-radius: 2px;
  background: var(--sun);
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* ---------- Journey ---------- */

.journey {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0, #071520 400px);
}
.journey__intro {
  padding: 96px 0 32px;
  text-align: center;
}
.journey__intro .lede {
  margin: 16px auto 0;
}
.journey__track {
  position: relative;
  /* JS sets the height from the number of stops. */
  height: 900vh;
}
.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 40%, #0f3147 0%, #0a1f2e 55%, #071520 100%);
}
.map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map .land {
  fill: none;
  stroke: var(--land);
  stroke-width: 5.6;
  stroke-linecap: round;
}
.map .grat {
  fill: none;
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}
.map .route {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.map .trail {
  fill: none;
  stroke: var(--sun);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 201, 77, 0.6));
}
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}
.pin__dot {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--g, #fff);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.6);
  transform: scale(0.35);
  filter: grayscale(1) brightness(0.6);
  transition: transform 0.5s var(--bounce), filter 0.4s;
}
.pin__dot::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid var(--sun);
  opacity: 0;
}
.pin.is-visited .pin__dot {
  transform: scale(1);
  filter: none;
}
.pin.is-current .pin__dot {
  transform: scale(1.18);
}
.pin.is-current .pin__dot::before {
  animation: ring 1.6s var(--ease) infinite;
}
@keyframes ring {
  0% { opacity: 0.9; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.6); }
}
.pin__label {
  position: absolute;
  top: 28px;
  left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(6, 14, 21, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
}
.pin.is-visited .pin__label {
  opacity: 1;
}
.journey.is-overview .pin__label {
  opacity: 0;
}
@media (min-width: 900px) {
  .journey.is-overview .pin.is-visited .pin__label { opacity: 1; }
}
.map-pip {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 68px;
  margin: -86px 0 0 -32px;
  will-change: transform;
  z-index: 3;
}
.map-pip .pip {
  width: 100%;
  height: 100%;
}
.map-pip .shadow {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 40px;
  height: 10px;
  margin-left: -20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(2px);
}
.cloud {
  position: absolute;
  height: 34px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.07);
  animation: drift linear infinite;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.cloud::before { width: 46%; height: 150%; left: 14%; bottom: 30%; }
.cloud::after { width: 34%; height: 120%; right: 16%; bottom: 40%; }
@keyframes drift {
  from { transform: translateX(-30vw); }
  to { transform: translateX(130vw); }
}

.hud {
  position: absolute;
  z-index: 5;
  top: 84px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}
.hud__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.hud__title small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--mist);
}
.stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 50%;
}
.stamp {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: transform 0.45s var(--bounce), background 0.3s, border-color 0.3s;
}
.stamp span {
  opacity: 0;
  transform: scale(2) rotate(-30deg);
  transition: opacity 0.2s, transform 0.45s var(--bounce);
}
.stamp.is-on {
  background: var(--sun);
  border: 2px solid var(--sun);
}
.stamp.is-on span {
  opacity: 1;
  transform: none;
}

.postcard {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(20px, env(safe-area-inset-bottom));
  margin: 0 auto;
  max-width: 420px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7);
  z-index: 5;
  transform: rotate(-1.5deg);
  transition: transform 0.5s var(--bounce), opacity 0.3s;
}
.postcard.is-flip {
  animation: flip 0.6s var(--bounce);
}
@keyframes flip {
  0% { transform: rotate(-1.5deg) rotateX(0); }
  40% { transform: rotate(3deg) rotateX(75deg) scale(0.92); }
  100% { transform: rotate(-1.5deg) rotateX(0); }
}
.postcard__photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--a), var(--b));
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  overflow: hidden;
}
.postcard__photo::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.postcard__where {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
}
.postcard__where small {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lagoon-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.postcard__cap {
  margin-top: 6px;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.35;
}
.postcard__day {
  position: absolute;
  top: -12px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  transform: rotate(4deg);
}
@media (min-width: 900px) {
  .postcard {
    left: auto;
    right: max(var(--gutter), calc((100vw - var(--max)) / 2 + 24px));
    bottom: 50%;
    transform: translateY(50%) rotate(-2deg);
    width: 360px;
    grid-template-columns: 1fr;
    padding: 14px 14px 20px;
  }
  .postcard.is-flip {
    animation: flipWide 0.6s var(--bounce);
  }
  @keyframes flipWide {
    0% { transform: translateY(50%) rotate(-2deg) rotateY(0); }
    40% { transform: translateY(50%) rotate(3deg) rotateY(80deg) scale(0.92); }
    100% { transform: translateY(50%) rotate(-2deg) rotateY(0); }
  }
  .postcard__photo {
    aspect-ratio: 4 / 3;
    font-size: 5rem;
  }
  .postcard__text {
    padding: 4px 6px 0;
  }
}
@media (min-width: 900px) {
  /* The finale shows the whole map, so the postcard moves to the bottom and lies flat. */
  .postcard.is-final {
    right: 50%;
    bottom: 36px;
    width: 560px;
    grid-template-columns: 150px 1fr;
    transform: translateX(50%) rotate(-1deg);
  }
  .postcard.is-final.is-flip {
    animation: none;
  }
  .postcard.is-final .postcard__photo {
    aspect-ratio: 1;
    font-size: 3.6rem;
  }
}
.postcard.is-final .postcard__photo {
  background: linear-gradient(160deg, var(--sun), var(--coral));
}

/* Without JS, or with reduced motion: no scroll-driven stage, just the map and postcards. */
.journey__static {
  display: none;
}
html:not(.js) .journey__track,
.reduce .journey__track {
  display: none;
}
html:not(.js) .journey__static,
.reduce .journey__static {
  display: block;
  padding-bottom: 80px;
}
.static-map {
  border-radius: var(--radius);
  background: #0c2536;
  padding: 12px;
  margin-bottom: 28px;
}
.static-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.static-grid li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--ink);
}
.static-grid .ph {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.static-grid b {
  font-family: var(--display);
  display: block;
}
.static-grid span {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- Light sections ---------- */

.light {
  background: var(--salt);
  color: var(--ink);
}
.light .lede {
  color: var(--ink-2);
}
.light .eyebrow {
  color: var(--lagoon-deep);
}
.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.section__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section__head .lede {
  margin: 16px auto 0;
}
.wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}

/* How it works */
.steps {
  display: grid;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 28px;
  box-shadow: 0 1px 0 rgba(14, 36, 51, 0.06), 0 20px 40px -24px rgba(14, 36, 51, 0.35);
  transition: transform 0.4s var(--bounce);
}
.step:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.step:nth-child(2):hover {
  transform: translateY(-6px) rotate(0.6deg);
}
.step__art {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
}
.step__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}
.step h3 {
  font-size: 1.6rem;
  margin: 0 6px 8px;
}
.step p {
  margin: 0 6px;
  color: var(--ink-2);
}

/* Step 1: photos gather into a trip. */
.art-find {
  background: linear-gradient(160deg, #dff4f6, #bfe6ea);
}
.tiles {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  margin: -84px 0 0 -84px;
}
.tiles i {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--c);
  left: calc(var(--x) * 58px);
  top: calc(var(--y) * 58px);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3);
}
.in .tiles i {
  animation: gather 5s var(--ease) infinite;
  animation-delay: calc(var(--d) * 60ms);
}
@keyframes gather {
  0%, 18% { transform: translate(0, 0) rotate(0); opacity: 1; }
  45%, 70% {
    transform: translate(calc((1 - var(--x)) * 58px), calc((1 - var(--y)) * 58px)) rotate(calc(var(--r) * 1deg)) scale(0.9);
    opacity: 1;
  }
  80% { opacity: 0; transform: translate(calc((1 - var(--x)) * 58px), calc((1 - var(--y)) * 58px)) scale(0.4); }
  92% { opacity: 0; transform: none; }
  100% { opacity: 1; transform: none; }
}
.trip-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  transform: translate(-50%, -50%) scale(0);
  font-family: var(--display);
  font-weight: 600;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}
.trip-card small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--mist);
}
.in .trip-card {
  animation: card 5s var(--bounce) infinite;
}
@keyframes card {
  0%, 68% { transform: translate(-50%, -50%) scale(0); }
  76%, 92% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(0); }
}
.art-find .peek {
  position: absolute;
  right: 12px;
  bottom: -6px;
  width: 60px;
  transform: rotate(-12deg);
}

/* Step 2: pick a feel. */
.art-feel {
  background: linear-gradient(160deg, #fff1cf, #ffd98a);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 52px 16px 16px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 290px;
}
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: background 0.3s, transform 0.35s var(--bounce), color 0.3s;
}
.chip.is-on {
  background: var(--ink);
  color: var(--sun);
  transform: scale(1.12) rotate(-3deg);
}
.film {
  width: 100%;
  max-width: 290px;
  height: 58px;
  border-radius: 10px;
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.film__strip {
  position: absolute;
  top: 9px;
  left: 0;
  display: flex;
  gap: 6px;
  animation: strip 6s linear infinite;
}
.film__strip i {
  width: 58px;
  height: 40px;
  border-radius: 5px;
  background: var(--c);
  flex: none;
}
.film::before,
.film::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, 0.4) 6px 10px);
  z-index: 1;
}
.film::before { top: 2px; }
.film::after { bottom: 2px; }
@keyframes strip {
  to { transform: translateX(-384px); }
}
.note {
  position: absolute;
  font-size: 1.3rem;
  animation: note 3s ease-in infinite;
  opacity: 0;
}
@keyframes note {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(30px, -70px) rotate(25deg); }
}

/* Step 3: share with Grandma. */
.art-share {
  background: linear-gradient(160deg, #ffe0e6, #ffb8c6);
  display: grid;
  place-items: center;
}
.bubble {
  position: relative;
  max-width: 230px;
  padding: 12px 14px;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.35);
}
.bubble .vid {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 8px;
}
.bubble .vid i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-style: normal;
  font-size: 0.9rem;
}
.bubble .reply {
  position: absolute;
  right: -34px;
  bottom: -32px;
  padding: 8px 12px;
  border-radius: 18px 18px 6px 18px;
  background: #34c759;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  transform: scale(0);
  transform-origin: 100% 100%;
}
.in .bubble .reply {
  animation: reply 5s var(--bounce) infinite;
}
@keyframes reply {
  0%, 30% { transform: scale(0); }
  40%, 90% { transform: scale(1); }
  100% { transform: scale(0); }
}
.heart {
  position: absolute;
  bottom: 10px;
  font-size: 1.3rem;
  opacity: 0;
}
.in .heart {
  animation: float-up 3.6s ease-out infinite;
  animation-delay: calc(var(--d) * 0.6s);
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-180px) translateX(var(--sway)) scale(1.2); }
}

/* Feels marquee */
.feels {
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.feels__row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.feels:hover .feels__row {
  animation-play-state: paused;
}
.feel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -12px rgba(14, 36, 51, 0.4);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Privacy ---------- */

.privacy {
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(94, 194, 207, 0.14), transparent 60%),
    var(--navy-2);
}
.privacy__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .privacy__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.privacy h2 {
  margin: 14px 0 18px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.checks li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.checks li::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(94, 194, 207, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC2CF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks b {
  display: block;
  color: #fff;
}
.checks span {
  color: var(--mist);
  font-size: 0.98rem;
}

.blur-demo {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #8fd3f4 0%, #c6ecff 55%, #ffe6a8 55%, #ffd27a 100%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.blur-demo .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.person {
  position: absolute;
  width: var(--w);
  left: var(--x);
  bottom: var(--y);
  transform: translateX(-50%);
}
.person svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.person .face {
  transition: filter 0.5s var(--ease);
}
.person .fog {
  position: absolute;
  z-index: 1;
  left: 12%;
  top: 0;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  background: rgba(246, 199, 161, 0.35);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--bounce);
}
.person.kid.is-blurred .fog {
  opacity: 1;
  transform: scale(1);
}
.person .tag {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%) scale(0);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: transform 0.4s var(--bounce);
}
.person.family .tag {
  background: var(--sun);
  color: var(--ink);
}
.person.kid .tag {
  background: var(--ink);
  color: #fff;
}
.person.is-tagged .tag {
  transform: translateX(-50%) scale(1);
}
.scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 70px;
  background: linear-gradient(90deg, transparent, rgba(94, 194, 207, 0.5), transparent);
  border-right: 2px solid var(--lagoon);
  transform: translateX(-80px);
  opacity: 0;
}
.blur-demo.is-scanning .scanline {
  opacity: 1;
  transition: transform 2.4s linear;
  transform: translateX(calc(var(--demo-w, 500px) + 10px));
}
.on-phone {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 36, 51, 0.85);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  transform: translateY(-60px);
  transition: transform 0.5s var(--bounce);
}
.blur-demo.is-done .on-phone {
  transform: none;
}

/* ---------- Pricing ---------- */

.toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px -12px rgba(14, 36, 51, 0.4);
  margin-top: 26px;
  position: relative;
}
.toggle button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: none;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s;
}
.toggle button[aria-pressed="true"] {
  color: var(--ink);
}
.toggle .knob {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 999px;
  background: var(--sun);
  transition: transform 0.45s var(--bounce), width 0.45s var(--bounce);
}
.toggle .save {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.75rem;
}
.plans {
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  padding: 32px 28px;
  background: #fff;
  box-shadow: 0 20px 40px -26px rgba(14, 36, 51, 0.45);
}
.plan--plus {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 30px 60px -24px rgba(14, 36, 51, 0.7);
}
.plan__badge {
  position: absolute;
  top: -16px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  transform: rotate(3deg);
  animation: wiggle 4s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 90%, 100% { transform: rotate(3deg); }
  93% { transform: rotate(-4deg) scale(1.05); }
  96% { transform: rotate(6deg) scale(1.05); }
}
.plan h3 {
  font-size: 1.7rem;
}
.plan h3 b {
  color: var(--sun);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 4px;
  font-family: var(--display);
}
.price strong {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}
.price span {
  color: var(--ink-2);
  font-weight: 600;
}
.plan--plus .price span {
  color: var(--mist);
}
.price-note {
  min-height: 1.5em;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.plan--plus .price-note {
  color: var(--lagoon);
}
.flip-num {
  display: inline-block;
}
.flip-num.is-flip {
  animation: numflip 0.45s var(--bounce);
}
@keyframes numflip {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-14px); opacity: 0; }
  41% { transform: translateY(14px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.feats {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.feats li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}
.feats li::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(28, 124, 140, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C7C8C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan--plus .feats li::before {
  background: rgba(255, 201, 77, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC94D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.feats small {
  display: block;
  color: var(--ink-2);
  font-size: 0.88rem;
}
.plan--plus .feats small {
  color: var(--mist);
}
.plan .btn {
  width: 100%;
}
.plan--free .btn {
  --bg: var(--salt);
  box-shadow: inset 0 0 0 2px rgba(14, 36, 51, 0.12);
}
.fineprint {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px -20px rgba(14, 36, 51, 0.5);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--salt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2433' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.4s var(--bounce), background-color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--sun);
}
.faq .ans {
  padding: 0 22px 22px;
  color: var(--ink-2);
}
.faq details[open] .ans {
  animation: open 0.4s var(--ease);
}
@keyframes open {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Final CTA ---------- */

.final {
  position: relative;
  background: var(--sun);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}
.final h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 14em;
  margin: 0 auto 18px;
}
.final p {
  max-width: 32em;
  margin: 0 auto;
  font-size: 1.15rem;
}
.final .hero__cta {
  justify-content: center;
}
.final .final-pip {
  width: 120px;
  margin: 0 auto 18px;
}
.final .final-pip .pip {
  width: 100%;
  height: auto;
}
.final .final-pip.waving .pip-body {
  animation: wave 1.2s var(--ease) infinite;
}
@keyframes wave {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.final .ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(14, 36, 51, 0.15);
  pointer-events: none;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--night);
  padding: 48px 0 40px;
  color: var(--mist);
  font-size: 0.95rem;
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer a {
  color: #cfd9de;
  text-decoration: none;
}
.footer a:hover {
  color: var(--sun);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Confetti ---------- */

.confetti {
  position: fixed;
  z-index: 200;
  width: 10px;
  height: 14px;
  border-radius: 3px;
  pointer-events: none;
  animation: confetti 1.4s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* ---------- Simple pages ---------- */

.page {
  padding: 120px 0 80px;
  background: var(--salt);
  color: var(--ink);
  min-height: 80vh;
}
.page .wrap {
  max-width: 760px;
}
.page h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 12px;
}
.page h2 {
  font-size: 1.5rem;
  margin: 36px 0 10px;
}
.page p,
.page li {
  color: #34444f;
}
.page p + p {
  margin-top: 12px;
}
.page .draft {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid #f2d48a;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.page a {
  color: var(--lagoon-deep);
  font-weight: 600;
}
.page .nav-simple {
  background: var(--navy);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .pop-words .w,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  /* The reel shows its title card, still. */
  .scene { opacity: 0; }
  .scene:first-of-type { opacity: 1; }
  .feels__row { flex-wrap: wrap; width: auto; justify-content: center; }
  .feels { -webkit-mask-image: none; mask-image: none; }
  .feels__row [aria-hidden="true"] { display: none; }
  .hero h1 .squiggle path { stroke-dashoffset: 0; }
  .speech { transform: none; opacity: 1; }
  .in .trip-card { transform: translate(-50%, -50%) scale(1); }
  .person.kid .fog { opacity: 1; transform: none; }
  .person .tag { transform: translateX(-50%) scale(1); }
  .on-phone { transform: none; }
}

/* ---------- Waitlist form ---------- */

.wl {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.wl input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.2s, background 0.2s;
}
.wl input[type="email"]::placeholder {
  color: #8696a0;
}
.wl input[type="email"]:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(255, 255, 255, 0.12);
}
.wl .btn {
  flex: 0 0 auto;
}
.wl .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.wl .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.wl__msg {
  flex-basis: 100%;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--mist);
}
.wl.is-error .wl__msg {
  color: #ffb4a3;
}
.wl.is-error input[type="email"] {
  border-color: #ff7a63;
  animation: shake 0.4s;
}
@keyframes shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}
.wl__done {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 22px;
  background: rgba(255, 201, 77, 0.14);
  border: 2px solid rgba(255, 201, 77, 0.5);
  color: #fff;
  animation: word 0.6s var(--bounce);
}
.wl__done strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--sun);
}
.wl__done span {
  font-size: 0.95rem;
  color: #c9d5db;
}
.wl__done .big {
  font-size: 2rem;
}
.wl--ink {
  margin: 0 auto;
  justify-content: center;
}
.wl--ink input[type="email"] {
  background: #fff;
  color: var(--ink);
  border-color: rgba(14, 36, 51, 0.15);
}
.wl--ink input[type="email"]:focus {
  border-color: var(--ink);
  background: #fff;
}
.wl--ink .wl__msg,
.wl--ink.is-error .wl__msg {
  color: var(--ink);
  text-align: center;
}
.wl--ink .wl__done {
  background: rgba(14, 36, 51, 0.08);
  border-color: rgba(14, 36, 51, 0.25);
  color: var(--ink);
  text-align: left;
}
.wl--ink .wl__done strong {
  color: var(--ink);
}
.wl--ink .wl__done span {
  color: var(--ink-2);
}

/* ---------- Legal pages ---------- */

.page ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 8px 0;
}
.page li + li {
  margin-top: 6px;
}
.page .updated {
  font-size: 0.95rem;
  color: #5b6b75;
  margin-bottom: 20px;
}
