/* The Pathfinder landing site — light throughout.
   Warm parchment page, white bento tiles with soft shadows, UI fragments
   drawn in the app's light theme. (The app itself defaults to dark; the
   site reads as daylight on purpose, and the photography still runs
   dark-scrimmed inside its own tiles.) Gold is #7a6030 here — the app's
   light-theme accent, which is the dark-theme gold brought down to pass
   contrast on parchment. Fraunces self-hosted; no trackers. */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces_400Regular_Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* The app's light-theme palette, token for token. */
  --bg: #f6f2e9;
  --tile: #fdfbf5;
  --tile-2: #f1ece1;
  --text: #26282e;
  --text-2: #5c5f66;
  --text-3: #6b6f77;
  --gold: #7a6030;
  --gold-light: #e8cd8a;   /* on-photo only */
  --border: rgba(38, 40, 46, 0.08);
  --shadow-card: 0 14px 40px rgba(38, 40, 46, 0.07), 0 3px 10px rgba(38, 40, 46, 0.04);
  /* aliases kept so photo/tile rules read the same */
  --l-bg: #f6f2e9;
  --l-card: #fdfbf5;
  --l-text: #26282e;
  --l-text-2: #5c5f66;
  --l-text-3: #6b6f77;
  --l-gold: #7a6030;
  --l-border: rgba(38, 40, 46, 0.08);
  --on-accent: #14161b;
  --on-primary: #fdfbf5;   /* the app's light-theme onPrimary: text on a gold button */
  --radius: 30px;
  --gap: 28px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.overline {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.012em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .breath-ring { animation: none !important; }
}

/* ================= PHONE FRAME ================= */
.phone {
  position: relative;
  /* Never wider than the column it sits in — a fixed width here used to
     push the mockup (and its grid track) out past the card on a phone. */
  width: min(320px, 100%);
  aspect-ratio: 375 / 780;
  background: #05060a;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(38, 40, 46, 0.12),
    0 44px 90px rgba(38, 40, 46, 0.26),
    0 14px 34px rgba(38, 40, 46, 0.18);
}
.phone::before {
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 24px;
  background: #05060a;
  border-radius: 999px;
  z-index: 3;
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #f6f2e9;
  font-size: 11.5px;
  line-height: 1.4;
}
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- Slide cycle: the phone plays through three real screens --- */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Driven by demo.js: a fast tour through the real app. The outgoing
     screen stays mounted under the incoming one, so the frame is never
     empty between steps. */
  transition: opacity 0.45s ease;
}
.slide.is-active { opacity: 1; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
/* Light screens paint their background on the slide itself. An earlier
   version used an absolutely-positioned .slide-bg child, which both
   painted over the static screen content AND forced position:relative
   onto .scr-pause (collapsing the full-bleed pause to content height). */
.slide.light { background: #f6f2e9; }

/* Today screen mockup */
.scr-hero {
  position: relative;
  height: 46%;
  background: url('img/dusk-peaks.jpg') center 30% / cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #f4f0e6;
}
.scr-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,6,10,0.4), rgba(4,6,10,0) 35%, rgba(22,24,30,0.62) 70%, #f6f2e9 100%);
}
.scr-hero > * { position: relative; z-index: 1; }
.scr-ov { font-size: 7px; font-weight: 600; letter-spacing: 0.16em; color: rgba(244,240,230,0.8); }
.scr-hero h4 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.12; margin-top: 4px; }
.scr-body { padding: 12px 14px; color: #26282e; }
.scr-card {
  background: #fdfbf5;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(38, 40, 46, 0.08);
}
.ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 5px solid #7a6030;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ring b { font-family: var(--serif); font-size: 15px; color: #26282e; }
.ring span { font-size: 6.5px; color: #6b6f77; }
.scr-card .meta b { display: block; font-size: 11px; color: #26282e; }
.scr-card .meta span { font-size: 9px; color: #5c5f66; }
.scr-btn {
  margin-top: 10px;
  background: #7a6030;
  color: #fdfbf5;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
  border-radius: 999px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(122, 96, 48, 0.35);
}
.scr-btn.ghost {
  background: transparent;
  color: #26282e;
  border: 1px solid rgba(38, 40, 46, 0.18);
  box-shadow: none;
  margin-top: 8px;
}

/* Progress screen mockup */
.scr-top {
  padding: 58px 14px 10px;
  color: #26282e;
}
.scr-top .t { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.scr-top .s { font-size: 8.5px; color: #5c5f66; margin-top: 2px; }
.scr-metrics {
  margin: 0 14px;
  background: #fdfbf5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(38, 40, 46, 0.07);
}
.scr-metrics .r { display: flex; }
.scr-metrics .c { flex: 1; padding: 12px 12px 14px; }
.scr-metrics .c + .c { border-left: 1px solid rgba(38,40,46,0.07); }
.scr-metrics .r + .r { border-top: 1px solid rgba(38,40,46,0.07); }
.scr-metrics b { font-family: var(--serif); font-size: 22px; color: #26282e; display: block; }
.scr-metrics span { font-size: 8px; color: #5c5f66; }
.scr-insight {
  margin: 12px 14px 0;
  background: #fdfbf5;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(38, 40, 46, 0.07);
}
.scr-insight .ov { font-size: 7px; font-weight: 600; letter-spacing: 0.16em; color: #7a6030; }
.scr-insight b { display: block; font-size: 11px; color: #26282e; margin: 4px 0 3px; }
.scr-insight p { font-size: 9px; color: #5c5f66; }
.scr-habits { margin: 12px 14px 0; }
.scr-habits .lbl { font-size: 7px; font-weight: 600; letter-spacing: 0.16em; color: #6b6f77; margin-bottom: 6px; }
.scr-habits .row {
  background: #fdfbf5;
  border-radius: 14px;
  padding: 9px 11px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 3px 10px rgba(38, 40, 46, 0.05);
}
.scr-habits .row + .row { margin-top: 6px; }
.scr-habits .dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(38,40,46,0.25); flex-shrink: 0; }
.scr-habits .dot.on { background: #7a6030; border-color: #7a6030; }
.scr-habits b { font-size: 10px; color: #26282e; display: block; }
.scr-habits span { font-size: 8px; color: #5c5f66; }

/* Check-in screen mockup */
.scr-checkin { padding: 58px 14px 0; color: #26282e; height: 100%; display: flex; flex-direction: column; }
.scr-checkin .h { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.scr-checkin .sub { font-size: 8.5px; color: #5c5f66; margin: 3px 0 12px; }
.ci-card { background: #fdfbf5; border-radius: 16px; padding: 13px; box-shadow: 0 4px 14px rgba(38,40,46,0.07); }
.ci-row + .ci-row { margin-top: 13px; }
.ci-top { display: flex; justify-content: space-between; align-items: baseline; }
.ci-top span { font-size: 10px; font-weight: 600; color: #26282e; }
.ci-top b { font-size: 12px; color: #7a6030; font-family: var(--serif); }
.ci-seg { display: flex; gap: 3px; margin-top: 6px; }
.ci-seg i { flex: 1; height: 7px; border-radius: 999px; background: rgba(38,40,46,0.1); transition: background 0.25s ease; }
.ci-seg i.on { background: #7a6030; }
.ci-hint { display: flex; justify-content: space-between; margin-top: 4px; }
.ci-hint span { font-size: 7px; color: #6b6f77; }

/* Guide chat screen mockup */
.scr-chat { padding: 58px 14px 0; color: #26282e; height: 100%; display: flex; flex-direction: column; }
.scr-chat .h { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.scr-chat .sub { font-size: 8px; color: #5c5f66; margin: 3px 0 14px; }
.ch { border-radius: 14px; padding: 10px 11px; font-size: 9.5px; line-height: 1.45; max-width: 86%; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.ch.show { opacity: 1; transform: none; }
.ch.ai { background: #fdfbf5; color: #5c5f66; box-shadow: 0 3px 10px rgba(38,40,46,0.05); }
.ch.me { background: rgba(122,96,48,0.13); color: #26282e; margin-left: auto; margin-top: 7px; }
.ch.typing { display: inline-flex; gap: 3px; align-items: center; padding: 11px; }
.ch.typing i { width: 4px; height: 4px; border-radius: 50%; background: #a8acb4; animation: typingDot 1.1s ease-in-out infinite; }
.ch.typing i:nth-child(2) { animation-delay: 0.18s; }
.ch.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* Guided path screen mockup */
.scr-path { padding: 58px 14px 0; color: #26282e; height: 100%; display: flex; flex-direction: column; }
.scr-path .h { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.14; }
.scr-path .sub { font-size: 8.5px; color: #5c5f66; margin: 4px 0 12px; }
.pth-bar { height: 5px; border-radius: 999px; background: rgba(38,40,46,0.1); overflow: hidden; margin-bottom: 12px; }
.pth-bar i { display: block; height: 100%; width: 20%; background: #7a6030; border-radius: 999px; transition: width 0.6s ease; }
.pth-row { background: #fdfbf5; border-radius: 13px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; box-shadow: 0 3px 10px rgba(38,40,46,0.05); }
.pth-row + .pth-row { margin-top: 6px; }
.pth-row .tick { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(38,40,46,0.25); flex-shrink: 0; transition: background 0.3s ease, border-color 0.3s ease; }
.pth-row .tick.on { background: #7a6030; border-color: #7a6030; }
.pth-row .d { font-size: 7px; color: #6b6f77; display: block; }
.pth-row b { font-size: 10px; color: #26282e; }

/* Fillers so mock screens don't end in dead space */
.ci-foot { margin-top: auto; padding-bottom: 20px; }
.ci-detail { text-align: center; font-size: 9px; color: #6b6f77; padding: 8px 0; }
.ci-done {
  background: #7a6030; color: #fdfbf5; text-align: center;
  font-weight: 600; font-size: 11px; border-radius: 999px; padding: 11px;
  box-shadow: 0 4px 16px rgba(122, 96, 48, 0.32);
}
.scr-trend { margin: 12px 14px 0; background: #fdfbf5; border-radius: 16px; padding: 12px; box-shadow: 0 4px 14px rgba(38,40,46,0.07); }
.scr-trend .lbl { font-size: 8px; font-weight: 600; letter-spacing: 0.14em; color: #6b6f77; margin-bottom: 8px; }
.scr-trend .bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.scr-trend .bars i { flex: 1; background: #7a6030; opacity: 0.85; border-radius: 4px 4px 2px 2px; }
.scr-trend .days { display: flex; justify-content: space-between; margin-top: 5px; }
.scr-trend .days span { font-size: 7px; color: #6b6f77; }
.chat-input {
  margin-top: auto; margin-bottom: 20px; background: #fdfbf5; border-radius: 999px;
  padding: 9px 14px; font-size: 9px; color: #6b6f77;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 3px 10px rgba(38,40,46,0.05);
}
.chat-input span:last-child { color: #7a6030; font-weight: 600; }
.pth-cta {
  margin-top: auto; margin-bottom: 20px; background: #7a6030; color: #fdfbf5;
  text-align: center; font-weight: 600; font-size: 10.5px;
  border-radius: 999px; padding: 10px;
  box-shadow: 0 4px 14px rgba(122, 96, 48, 0.3);
}

/* Tab bar — only on screens that are actually tabs (Today, Progress) */
.scr-tabs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: #fdfbf5;
  border-top: 1px solid rgba(38, 40, 46, 0.08);
  padding: 8px 4px 10px;
}
.scr-tabs .tb { flex: 1; text-align: center; font-size: 6.5px; color: #6b6f77; letter-spacing: 0.02em; }
.scr-tabs .tb .g { display: block; font-size: 11px; line-height: 1.2; margin-bottom: 1px; opacity: 0.5; }
.scr-tabs .tb.on { color: #7a6030; font-weight: 600; }
.scr-tabs .tb.on .g { opacity: 1; }
.scr-tabs .tb.mid .g {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #7a6030; color: #fdfbf5; font-size: 11px; opacity: 1;
  margin-bottom: 0;
}

/* Pause screen mockup */
.scr-pause {
  position: absolute; inset: 0;
  background: url('img/lake-stillness.jpg') center 75% / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f4f0e6;
  text-align: center;
}
.scr-pause::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,8,12,0.6), rgba(6,8,12,0.18) 45%, rgba(6,8,12,0.6));
}
.scr-pause > * { position: relative; z-index: 1; }
.breath-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 240, 230, 0.55);
  background: rgba(244, 240, 230, 0.06);
  display: flex; align-items: center; justify-content: center;
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); } }
.breath-ring b { font-family: var(--serif); font-weight: 700; font-size: 52px; }
.scr-pause p { margin-top: 14px; font-size: 10.5px; color: rgba(244, 240, 230, 0.85); }
.scr-pause .stop { margin-top: 8px; font-size: 9.5px; color: rgba(244, 240, 230, 0.6); }

/* ================= HERO (light, centered) ================= */
.hero {
  position: relative;
  padding: 124px 0 112px;
  text-align: center;
  background:
    radial-gradient(1100px 560px at 50% -6%, rgba(122, 96, 48, 0.10), transparent 64%),
    var(--bg);
}
.hero .mark { width: 76px; height: 76px; margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 1.02;
  margin: 14px auto 22px;
  max-width: 14ch;
}
.hero p.sub {
  max-width: 58ch;
  margin: 0 auto 8px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-2);
}
.hero p.quiet { color: var(--text-3); font-size: 15px; margin-bottom: 34px; }
.hero .phone-stage { margin-top: 92px; display: flex; justify-content: center; }
.hero .phone-stage .phone { width: 340px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 17px 32px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 26px rgba(122, 96, 48, 0.28);
}
.store-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(122, 96, 48, 0.38); }
.store-btn .apple { font-size: 22px; line-height: 1; }
.store-note { display: block; margin-top: 14px; color: var(--text-3); font-size: 13px; }

/* ================= WAITLIST ================= */
/* Pre-launch, the waitlist stands where the store button will go. The
   form needs JavaScript, so it shows only once the page has it (the
   "js" class set in <head>); without it, the "coming" line still says
   what's happening. */
.waitlist-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.waitlist-soon .apple { font-size: 17px; letter-spacing: 0; line-height: 1; }
.waitlist { display: none; max-width: 540px; margin: 0 auto; }
.js .waitlist { display: block; }
/* The row's display:flex would otherwise beat the hidden attribute. */
.waitlist [hidden] { display: none; }
.waitlist-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--tile);
  border: 1px solid rgba(122, 96, 48, 0.3);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.waitlist-row:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(122, 96, 48, 0.2), var(--shadow-card);
}
.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* 16px or more, or iOS Safari zooms in on focus */
  padding: 12px 20px;
}
.waitlist input[type='email']::placeholder { color: var(--text-3); opacity: 1; }
.waitlist button {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(122, 96, 48, 0.26);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.waitlist button:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(122, 96, 48, 0.36); }
.waitlist button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.waitlist button:disabled { cursor: progress; opacity: 0.75; transform: none; }
.waitlist-note { margin-top: 12px; color: var(--text-3); font-size: 13.5px; outline: none; }
.waitlist-note.is-error { color: var(--text); font-weight: 600; }
.waitlist-note.is-done { margin-top: 0; color: var(--text-2); font-size: 16px; }
.waitlist-note.is-done b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 2px;
}
.waitlist-note.is-done b::before { content: '\2713'; color: var(--gold); margin-right: 10px; }
/* Over photography: the field stays a solid cream plate so it reads on any
   picture; the words around it switch to the on-photo colours. */
.waitlist.on-photo .waitlist-row { border-color: transparent; }
.waitlist.on-photo .waitlist-note { color: rgba(244, 240, 230, 0.78); }
.waitlist.on-photo .waitlist-note.is-error,
.waitlist.on-photo .waitlist-note.is-done,
.waitlist.on-photo .waitlist-note.is-done b { color: #f4f0e6; }
.waitlist.on-photo .waitlist-note.is-done b::before { color: var(--gold-light); }
/* Photo cards style every <p> inside them (size, margins, measure); these
   keep the waitlist's own. */
.card.photo .waitlist-soon { color: var(--gold-light); font-size: 12.5px; max-width: none; margin: 0 0 16px; }
.card.photo .waitlist-note { font-size: 13.5px; max-width: none; margin: 12px auto 0; }
.card.photo .waitlist-note.is-done { font-size: 16px; margin-top: 0; }
/* The honeypot: kept off-screen rather than display:none, which some bots
   know to skip. People never see it or tab to it. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.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;
}

/* ================= LIGHT BAND ================= */
.band-light { background: var(--bg); color: var(--text); padding: 132px 0 56px; }
.band-light .overline { color: var(--l-gold); }
.band-light .section-head { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.band-light .section-head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  margin: 12px 0 14px;
  color: var(--l-text);
}
.band-light .section-head p { color: var(--l-text-2); font-size: 18.5px; }

/* ================= BENTO ================= */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.bento + .bento { margin-top: var(--gap); }
.card { position: relative; border-radius: var(--radius); overflow: hidden; }
.card.full { grid-column: 1 / -1; }

/* Light cards */
.band-light .card {
  background: var(--l-card);
  padding: 66px 58px;
  box-shadow: 0 14px 40px rgba(38, 40, 46, 0.07), 0 3px 10px rgba(38, 40, 46, 0.04);
}
.band-light .card h3 {
  font-weight: 600;
  font-size: clamp(24px, 2.3vw, 29px);
  line-height: 1.14;
  margin: 10px 0 10px;
  color: var(--l-text);
}
.band-light .card > p { color: var(--l-text-2); font-size: 16.5px; line-height: 1.68; max-width: 54ch; }

/* Dark photo cards (usable in either band) */
.card.photo { color: #f4f0e6; background: var(--tile); }
.card.photo .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.card.photo .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.66), rgba(6, 8, 12, 0.3) 45%, rgba(6, 8, 12, 0.74));
}
.card.photo > .content { position: relative; z-index: 1; padding: 76px 62px; }
.card.photo h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; margin: 12px 0 16px; }
.card.photo p { color: rgba(244, 240, 230, 0.85); font-size: 16.5px; max-width: 58ch; }
.card.photo p em { font-family: var(--serif); font-style: italic; color: #f4f0e6; }
.card.photo .overline { color: var(--gold-light); }
.card.center { text-align: center; }
.card.center p { margin-left: auto; margin-right: auto; }

/* Pause showcase (dark tile inside the light band) */
.card.pause-card .content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 68px;
  align-items: center;
  padding: 88px 72px;
}
.card.pause-card ul { margin-top: 20px; list-style: none; }
.card.pause-card li {
  padding: 9px 0 9px 24px;
  position: relative;
  color: rgba(244, 240, 230, 0.82);
  font-size: 15.5px;
}
.card.pause-card li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 12px; height: 2px;
  background: var(--gold-light);
}
.card.pause-card .phone { width: min(290px, 100%); }

/* Guide feature: full-width split on light */
.card.guide-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.card.guide-card .chat { max-width: 420px; width: 100%; justify-self: center; }

/* Tool cards */
.card.tool { display: flex; flex-direction: column; }
.card.tool .frag { margin-top: 40px; }

/* Light UI fragments — the app's actual light theme */
.band-light .frag {
  border-radius: 18px;
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  padding: 18px;
  font-size: 13px;
}
.band-light .frag .ov { font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--l-gold); margin-bottom: 7px; }
.band-light .frag b.t { display: block; font-size: 15px; margin-bottom: 5px; color: var(--l-text); }
.band-light .frag p { color: var(--l-text-2); font-size: 13px; }
.band-light .frag .bar { height: 5px; border-radius: 999px; background: rgba(38, 40, 46, 0.1); margin-top: 12px; overflow: hidden; }
.band-light .frag .bar i { display: block; height: 100%; width: 73%; background: var(--l-gold); border-radius: 999px; }
.band-light .frag .dots { display: flex; gap: 6px; margin-top: 12px; }
.band-light .frag .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--l-gold); }
.band-light .frag .dots i.off { background: rgba(38, 40, 46, 0.14); }
.band-light .frag .row { display: flex; justify-content: space-between; align-items: baseline; }
.band-light .frag .row span { color: var(--l-text-3); font-size: 11.5px; }
.band-light .bubble { border-radius: 16px; padding: 13px 15px; font-size: 13px; max-width: 94%; }
.band-light .bubble.ai { background: var(--l-card); border: 1px solid var(--l-border); color: var(--l-text-2); box-shadow: 0 4px 14px rgba(38, 40, 46, 0.05); }
.band-light .bubble.me { background: rgba(122, 96, 48, 0.12); color: var(--l-text); margin-left: auto; margin-top: 10px; }

/* ---------- Live demo fragments (driven by demo.js) ---------- */
/* Habit dots */
.band-light .frag .dots i { transition: background 0.3s ease, transform 0.3s ease; }
.band-light .frag .dots i.on { background: var(--l-gold); transform: scale(1); }
.band-light .frag .dots i:not(.on) { background: rgba(38, 40, 46, 0.14); }

/* Milestone bar */
.band-light .frag .bar i { width: 0; transition: width 0.28s linear; }

/* Urge measurement */
.urge { margin-top: 14px; }
.urge .lane { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.urge .k { font-size: 10px; color: var(--l-text-3); width: 46px; flex-shrink: 0; }
.urge .track { flex: 1; height: 6px; border-radius: 999px; background: rgba(38, 40, 46, 0.09); overflow: hidden; }
.urge .fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--l-gold); transition: width 0.32s cubic-bezier(0.3, 0.8, 0.3, 1); }
.urge .after .fill { opacity: 0.55; }
.urge .v { font-size: 11.5px; font-weight: 600; color: var(--l-text); width: 12px; text-align: right; font-variant-numeric: tabular-nums; }

/* Guide chat */
.band-light .bubble { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.band-light .bubble.show { opacity: 1; transform: none; }
.band-light .bubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px 16px; }
.band-light .bubble.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--l-text-3); animation: typingDot 1.1s ease-in-out infinite; }
.band-light .bubble.typing i:nth-child(2) { animation-delay: 0.18s; }
.band-light .bubble.typing i:nth-child(3) { animation-delay: 0.36s; }

/* Insight sparkline */
.spark { display: flex; align-items: flex-end; gap: 7px; height: 62px; margin-top: 12px; }
.spark i {
  flex: 1;
  height: 4%;
  border-radius: 5px 5px 2px 2px;
  background: var(--l-gold);
  opacity: 0.85;
  transition: height 0.55s cubic-bezier(0.3, 0.8, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .band-light .frag .dots i,
  .band-light .frag .bar i,
  .urge .fill,
  .band-light .bubble,
  .spark i { transition: none !important; }
  .band-light .bubble.typing { display: none; }
  .band-light .bubble.typing i { animation: none; }
}

/* ---------- Promise cards: artifacts, not claims ---------- */
.promise .art { margin-top: 30px; }

/* A real lock-screen notification, sliding in on a loop */
.notif-stage {
  background: linear-gradient(160deg, #2c3446, #171c26);
  border-radius: 20px;
  padding: 22px 16px 26px;
  overflow: hidden;
}
.notif-time {
  text-align: center;
  color: rgba(244, 240, 230, 0.9);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
}
.notif-date { text-align: center; color: rgba(244, 240, 230, 0.55); font-size: 10.5px; margin-top: 4px; }
.notif {
  margin-top: 18px;
  background: rgba(244, 240, 230, 0.14);
  border: 1px solid rgba(244, 240, 230, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.notif.show { opacity: 1; transform: none; }
.notif img { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; }
.notif .n-top { display: flex; justify-content: space-between; align-items: baseline; }
.notif .n-app { font-size: 10px; font-weight: 600; color: rgba(244, 240, 230, 0.95); letter-spacing: 0.02em; }
.notif .n-when { font-size: 9px; color: rgba(244, 240, 230, 0.5); }
.notif .n-body { font-size: 11.5px; color: rgba(244, 240, 230, 0.85); margin-top: 2px; line-height: 1.35; }

/* The day-after card, as it appears in the app */
.after-card {
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  border-radius: 18px;
  padding: 18px;
}
.after-card .ov { font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--l-text-3); }
.after-card b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--l-text); margin: 8px 0 6px; }
.after-card p { font-size: 12.5px; color: var(--l-text-2); }
.after-card .btn {
  margin-top: 14px;
  border: 1px solid rgba(38, 40, 46, 0.18);
  border-radius: 999px;
  text-align: center;
  padding: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--l-text);
}

/* Export / delete rows */
.own-rows { background: var(--l-bg); border: 1px solid var(--l-border); border-radius: 18px; overflow: hidden; }
.own-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.own-row + .own-row { border-top: 1px solid var(--l-border); }
.own-row .ic { font-size: 15px; width: 18px; text-align: center; opacity: 0.75; }
.own-row b { display: block; font-size: 12.5px; color: var(--l-text); font-weight: 600; }
.own-row span { font-size: 11px; color: var(--l-text-3); }
.own-row .chev { margin-left: auto; color: var(--l-text-3); font-size: 13px; }
.own-row.danger b { color: #a16244; }

@media (prefers-reduced-motion: reduce) {
  .notif { opacity: 1; transform: none; transition: none; }
}

/* ---------- Outcome: what you're actually building ---------- */
.outcome { position: relative; background-size: cover; background-position: center 38%; }
.outcome::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg), rgba(9, 12, 17, 0.86) 22%, rgba(9, 12, 17, 0.9) 78%, var(--bg));
}
.outcome .wrap { position: relative; z-index: 1; padding-top: 148px; padding-bottom: 148px; text-align: center; }
.outcome .overline { color: var(--gold-light); }
.outcome h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  color: #f4f0e6;
  margin: 14px auto 18px;
  max-width: 17ch;
}
.outcome .lede { color: rgba(244, 240, 230, 0.78); font-size: 18.5px; max-width: 54ch; margin: 0 auto; }
.gets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  max-width: 820px;
  margin: 56px auto 0;
  text-align: left;
}
.get {
  padding: 26px 30px;
  border-top: 1px solid rgba(244, 240, 230, 0.16);
}
.get b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  color: #f4f0e6;
  line-height: 1.2;
}
.get span { display: block; font-size: 14.5px; color: rgba(244, 240, 230, 0.62); margin-top: 7px; }
.future {
  max-width: 620px;
  margin: 62px auto 0;
  background: rgba(244, 240, 230, 0.07);
  border: 1px solid rgba(244, 240, 230, 0.14);
  border-radius: 24px;
  padding: 34px 34px 30px;
  text-align: left;
}
.future .ov { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.future p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
  color: #f4f0e6;
  margin-top: 14px;
}
.future .who { font-family: var(--sans); font-style: normal; font-size: 13.5px; color: rgba(244, 240, 230, 0.55); margin-top: 18px; }
@media (max-width: 760px) {
  .gets { grid-template-columns: 1fr; }
  .outcome .wrap { padding-top: 104px; padding-bottom: 104px; }
}

/* ================= BREATHER ================= */
.breather { padding: 130px 0 120px; text-align: center; }
.breather p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.42;
  color: var(--text);
  max-width: 20ch;
  margin: 0 auto;
}
.breather .attr { font-family: var(--sans); font-style: normal; font-size: 13.5px; color: var(--text-3); margin-top: 26px; letter-spacing: 0.02em; }

/* ================= DARK BAND (day / principles / closing) ================= */
.band-dark { background: var(--bg); padding: 56px 0 56px; }
.band-dark .section-head { text-align: center; max-width: 660px; margin: 118px auto 56px; }
.band-dark .section-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; margin: 12px 0 14px; }
.band-dark .section-head p { color: var(--text-2); font-size: 18px; }
.band-dark .section-head h2 { color: var(--text); }

.day-steps { max-width: 640px; margin: 36px auto 0; text-align: left; border-left: 1px solid rgba(201, 169, 97, 0.45); }
.day-step { position: relative; padding: 0 0 40px 34px; }
.day-step:last-child { padding-bottom: 0; }
.day-step::before {
  content: '';
  position: absolute; left: -5px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
}
.day-step .when { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--gold-light); display: block; margin-bottom: 3px; }
.day-step p { color: rgba(244, 240, 230, 0.85); font-size: 16px; max-width: 56ch; }

.bento.thirds { grid-template-columns: repeat(3, 1fr); }
/* Free vs Pathfinder+ — the same light tile as the promises, with a list. */
.card.plan .plan-list { list-style: none; margin: 22px 0 0; }
.card.plan .plan-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.card.plan .plan-list li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 12px;
}
.card.plan .plan-list b { color: var(--text); font-weight: 600; }
.card.plan.accent { box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(122, 96, 48, 0.28); }
.card.plan .plan-price {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-2);
}
.card.plan .plan-price b { color: var(--text); font-family: var(--serif); font-size: 19px; }
/* Pre-launch: the store button is a label, not a link, until the app ships. */
.store-btn.is-soon { cursor: default; opacity: 0.92; }
.band-dark .card.small {
  background: var(--tile);
  padding: 52px 44px;
  box-shadow: var(--shadow-card);
}
.band-dark .card.small h3 { font-size: 20px; margin: 10px 0 8px; font-weight: 600; color: var(--text); }
.band-dark .card.small p { font-size: 14.5px; color: var(--text-2); }

.card.closing-card .content { padding: 132px 56px; }
.card.closing-card h2 { font-size: clamp(38px, 5vw, 64px); }
.card.closing-card p { margin: 0 auto 36px; font-size: 18px; }

/* ================= FOOTER ================= */
footer { background: var(--bg); padding: 56px 0 64px; border-top: 1px solid var(--border); margin-top: 60px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
footer a { color: var(--text-3); text-decoration: none; font-size: 14.5px; }
footer a:hover { color: var(--gold); }
footer .fine { margin-top: 18px; color: var(--text-3); font-size: 13px; max-width: 74ch; }

/* ================= LEGAL / UTILITY PAGES ================= */
.page { max-width: 720px; margin: 0 auto; padding: 96px 24px 80px; }
.page .mark { width: 56px; height: 56px; margin-bottom: 26px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin: 10px 0 8px; }
.page .meta { color: var(--text-3); font-size: 14.5px; margin-bottom: 40px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page p, .page li { color: var(--text-2); margin-bottom: 14px; }
.page .meta, .page h1, .page h2 { color: var(--text); }
.page ul { padding-left: 22px; }
.page strong { color: var(--text); }
.page a { color: var(--gold); }
.page hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0 18px; }
.page footer.fine { background: none; padding: 0; color: var(--text-3); font-size: 13.5px; }
.center { text-align: center; }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  /* minmax(0, 1fr), not 1fr: a 1fr track refuses to shrink below its
     widest item, so one fixed-width child made the whole stack overflow
     the card and sit off-centre. */
  .bento, .bento.thirds { grid-template-columns: minmax(0, 1fr); }
  .card.pause-card .content { grid-template-columns: minmax(0, 1fr); padding: 52px 34px; }
  .card.pause-card .phone { margin: 0 auto; }
  .card.guide-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .band-light .card { padding: 40px 26px; }
  .card.photo > .content { padding: 46px 28px; }
  .phone { width: min(280px, 100%); }
  .hero .phone-stage .phone { width: min(300px, 100%); }
  /* A photo card is inset by its own .content; the band's card padding
     on top of that left only ~215px of usable column on a phone. */
  .band-light .card.photo { padding: 0; }
  .card.pause-card .content { padding: 46px 26px; }
}
@media (max-width: 520px) {
  /* Side by side, the field would be left too narrow for an address. */
  .waitlist-row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .waitlist input[type='email'] { padding: 12px 16px; text-align: center; }
  .waitlist button { width: 100%; }
}
