/* ============================================================
   The Possibility · Landing page
   Serif: Cormorant Garamond Light · Sans: SF Pro (system)
   Accent: teal #33A3A3 · Pillars: rose / indigo / mint
   ============================================================ */

:root {
  --bg: #FAF8F5;
  --bg-2: #F2EEE8;
  --bg-3: #FFFFFF;
  --ink: #1C1E24;
  --ink-2: rgba(28, 30, 36, 0.68);
  --ink-3: rgba(28, 30, 36, 0.45);
  --line: rgba(28, 30, 36, 0.10);
  --teal: #33A3A3;
  --teal-deep: #23807F;
  --teal-soft: rgba(51, 163, 163, 0.12);
  --rose: #C4566E;
  --rose-soft: rgba(196, 86, 110, 0.10);
  --indigo: #5B63B7;
  --indigo-soft: rgba(91, 99, 183, 0.10);
  --mint: #3E8F6C;
  --mint-soft: rgba(62, 143, 108, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.75);
  --card: #FFFFFF;
  --shadow-soft: 0 24px 70px -30px rgba(28, 30, 36, 0.30);
  --shadow-card: 0 10px 40px -18px rgba(28, 30, 36, 0.18);
  --phone-frame: #101218;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  /* 8px rhythm */
  --sec: clamp(60px, 7.5vw, 100px);   /* section block padding (tightened 2026-07-18, Eric: less space between modules) */
  --gap: 24px;                       /* default grid gap */
  --head-gap: 64px;                  /* heading block to content */
}

[data-theme="dark"] {
  --bg: #080A0F;
  --bg-2: #0D1017;
  --bg-3: #11141C;
  --ink: #F4F1EC;
  --ink-2: rgba(244, 241, 236, 0.70);
  --ink-3: rgba(244, 241, 236, 0.45);
  --line: rgba(244, 241, 236, 0.10);
  --teal: #4FBDBD;
  --teal-deep: #33A3A3;
  --teal-soft: rgba(79, 189, 189, 0.14);
  --rose: #E08BA0;
  --rose-soft: rgba(224, 139, 160, 0.10);
  --indigo: #9AA1E8;
  --indigo-soft: rgba(154, 161, 232, 0.10);
  --mint: #7FD1AC;
  --mint-soft: rgba(127, 209, 172, 0.10);
  --glass-bg: rgba(17, 20, 28, 0.60);
  --glass-line: rgba(244, 241, 236, 0.12);
  --card: #11141C;
  --shadow-soft: 0 24px 70px -30px rgba(0, 0, 0, 0.85);
  --shadow-card: 0 10px 40px -18px rgba(0, 0, 0, 0.6);
  --phone-frame: #1B1E27;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--teal); color: #fff; }

/* ---------- continuous ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.amb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.amb-a { width: 58vw; height: 58vw; top: -18vw; right: -16vw; background: var(--teal-soft); animation: ambDrift 44s ease-in-out infinite alternate; }
.amb-b { width: 48vw; height: 48vw; top: 32vh; left: -20vw; background: var(--indigo-soft); animation: ambDrift 58s ease-in-out infinite alternate-reverse; }
.amb-c { width: 42vw; height: 42vw; bottom: -14vw; right: -8vw; background: var(--rose-soft); animation: ambDrift 66s ease-in-out infinite alternate; }
.amb-d { width: 36vw; height: 36vw; bottom: 26vh; left: 30vw; background: var(--mint-soft); opacity: 0.7; animation: ambDrift 52s ease-in-out infinite alternate-reverse; }
@keyframes ambDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9vw, -7vh) scale(1.18); }
}
/* subtle star drift — two parallax layers, dark theme only */
.ambient::before, .ambient::after {
  content: ""; position: absolute; inset: -30%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='18' cy='34' r='0.9' opacity='0.8'/%3E%3Ccircle cx='74' cy='12' r='0.6' opacity='0.5'/%3E%3Ccircle cx='128' cy='58' r='1.1' opacity='0.9'/%3E%3Ccircle cx='201' cy='26' r='0.7' opacity='0.6'/%3E%3Ccircle cx='243' cy='84' r='0.9' opacity='0.7'/%3E%3Ccircle cx='36' cy='112' r='0.6' opacity='0.5'/%3E%3Ccircle cx='96' cy='140' r='0.8' opacity='0.75'/%3E%3Ccircle cx='170' cy='118' r='0.5' opacity='0.45'/%3E%3Ccircle cx='222' cy='160' r='1' opacity='0.85'/%3E%3Ccircle cx='58' cy='196' r='0.9' opacity='0.7'/%3E%3Ccircle cx='140' cy='214' r='0.6' opacity='0.5'/%3E%3Ccircle cx='12' cy='246' r='0.7' opacity='0.6'/%3E%3Ccircle cx='190' cy='242' r='0.8' opacity='0.7'/%3E%3Ccircle cx='250' cy='222' r='0.5' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
  opacity: 0.22;
  animation: starDrift 240s linear infinite;
  pointer-events: none;
}
.ambient::after {
  background-size: 430px 430px;
  opacity: 0.13;
  animation-duration: 380s;
  animation-direction: reverse;
}
@keyframes starDrift {
  to { transform: translate3d(-260px, -260px, 0); }
}
[data-theme="light"] .ambient::before,
[data-theme="light"] .ambient::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .amb { animation: none; }
  .ambient::before, .ambient::after { animation: none; }
}

.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;
}

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container.narrow { width: min(900px, calc(100% - 48px)); }

/* ---------- typography ---------- */
.serif-i { font-family: var(--serif); font-weight: 300; font-style: italic; letter-spacing: 0.005em; }
em.serif-i, .display em, h1 em, h2 em, h3 em { font-family: var(--serif); font-weight: 300; font-style: italic; }

.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.kicker.center { text-align: center; }

.display {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em { font-size: 1em; }
.display.center { text-align: center; }
.display-sm { font-size: clamp(28px, 3.4vw, 40px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.display-xl { font-size: clamp(44px, 7vw, 88px); font-weight: 300; line-height: 1.05; }

.lede {
  text-wrap: pretty;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 58ch;
  margin-top: 20px;
}
.lede.center { margin-inline: auto; text-align: center; }
.lede + p, .jim-copy .reveal.d2 + .reveal.d2 { margin-top: 16px; }
.jim-copy > p:not(.kicker):not(.lede) { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 58ch; margin-top: 16px; }
.book-copy > p.reveal:not(.kicker):not(.lede) { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 52ch; margin-top: 12px; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn-solid {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(51, 163, 163, 0.55);
}
.btn-solid::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(51, 163, 163, 0.65); }
.btn-solid:hover::after { transform: translateX(120%); }
.btn-solid:active { transform: translateY(0) scale(0.98); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); background: var(--teal-soft); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-ghost { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--line); }

/* attention: pulsing primary CTA + glowing outline CTA */
.pulse { animation: ctaPulse 2.8s var(--ease) infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 28px -10px rgba(51, 163, 163, 0.55), 0 0 0 0 rgba(79, 189, 189, 0.45); }
  50% { box-shadow: 0 10px 28px -10px rgba(51, 163, 163, 0.65), 0 0 0 9px rgba(79, 189, 189, 0); }
}
.glow-cta { border-color: var(--teal); color: var(--teal); animation: ctaGlow 3.4s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 189, 189, 0); }
  50% { box-shadow: 0 0 26px -2px rgba(79, 189, 189, 0.45); }
}
/* glowing card (book code) */
.glow-card { border-color: rgba(79, 189, 189, 0.5); animation: cardGlow 3.6s ease-in-out infinite; }
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 10px 40px -18px rgba(0,0,0,0.6), 0 0 0 0 rgba(79,189,189,0.0); }
  50% { box-shadow: 0 10px 40px -18px rgba(0,0,0,0.6), 0 0 34px -4px rgba(79,189,189,0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .glow-cta, .glow-card { animation: none; }
}

/* App Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  padding: 12px 24px 12px 18px; border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-card);
}
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 11px; opacity: 0.75; font-weight: 500; }
.store-badge strong { font-size: 19px; font-weight: 600; letter-spacing: 0.01em; }
.store-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-soft); }
.store-badge-light { background: #fff; color: #0B0D12; }
/* Hero App Store button (Jim call 2026-07-17; Eric 2026-07-18: same height as
   the "Learn more" pill — both lock to 56px so they can never drift apart). */
.store-badge-xl {
  height: 56px; padding: 0 26px 0 20px; border-radius: 17px; gap: 11px;
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.store-badge-xl svg { width: 27px; height: 27px; margin-top: -2px; }
.store-badge-xl small { font-size: 10.5px; letter-spacing: 0.02em; }
.store-badge-xl strong { font-size: 18px; letter-spacing: 0.005em; }
.store-badge-light.store-badge-xl { box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(0,0,0,0.05); }

/* ======================= MORNING & EVENING (daypart) =======================
   Jim's third core proposition (call 2026-07-17): the two theta windows.
   Real in-app Morning/Evening pages, captured 7/18. Used on index.html. */
.daypart { padding: clamp(72px, 12vh, 128px) 0; }
.daypart-grid { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.dp-card { text-align: center; }
.dp-phone-wrap { position: relative; display: grid; place-items: center; }
.dp-glow { position: absolute; width: 82%; height: 58%; border-radius: 50%; filter: blur(64px); opacity: 0.5; z-index: 0; pointer-events: none; }
.dp-card.morning .dp-glow { background: radial-gradient(circle, #F5A65B, transparent 68%); }
.dp-card.evening .dp-glow { background: radial-gradient(circle, #5E7BC7, transparent 68%); }
.dp-card .phone { --pw: min(300px, 62vw); position: relative; z-index: 1; }
.dp-meta { margin-top: clamp(20px, 3vw, 28px); }
.dp-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.dp-card.morning .dp-eyebrow { color: #C8863F; }
.dp-card.evening .dp-eyebrow { color: #7189CC; }
.dp-meta h3 { margin-top: 10px; font-size: clamp(21px, 2.6vw, 27px); font-weight: 300; line-height: 1.18; letter-spacing: -0.01em; }
.dp-meta h3 em { font-family: var(--serif); font-style: italic; font-size: 1em; }
.dp-meta p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; margin-inline: auto; font-weight: 300; }
@media (max-width: 760px) {
  .daypart-grid { grid-template-columns: 1fr; gap: 56px; }
  .dp-card .phone { --pw: min(260px, 66vw); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1240px, calc(100% - 40px)); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.nav-logo { width: 46px; height: auto; display: block; }
.nav-wordmark { font-size: 18px; font-weight: 500; letter-spacing: 0.01em; }
.nav-wordmark em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: var(--line); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta { padding: 10px 20px; font-size: 14.5px; }

/* theme toggle */
.theme-toggle { padding: 4px; border-radius: 999px; }
.tt-track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 62px; height: 32px; padding: 0 7px;
  border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.tt-icon { width: 16px; height: 16px; z-index: 1; display: grid; place-items: center; transition: color 0.4s, opacity 0.4s; }
.tt-icon svg { width: 16px; height: 16px; }
.tt-sun { color: #D99A2B; }
.tt-moon { color: var(--ink-3); }
[data-theme="dark"] .tt-sun { color: var(--ink-3); }
[data-theme="dark"] .tt-moon { color: #9AA1E8; }
.tt-thumb {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--card); box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  transition: transform 0.45s var(--ease);
}
[data-theme="dark"] .tt-thumb { transform: translateX(30px); }
.theme-toggle:hover .tt-track { background: var(--teal-soft); }

/* burger + mobile menu */
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 10px; margin-left: auto; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 6px; padding: 12px 24px 24px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.nav-mobile a, .nav-mobile button { padding: 12px 4px; font-size: 17px; font-weight: 500; text-align: left; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { border: none; text-align: center; margin-top: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo {
  position: absolute; inset: 0;
  background: url("assets/hawaii.jpg") center 30% / cover no-repeat;
  opacity: 0.30;
  transform: scale(1.06);
}
[data-theme="dark"] .hero-photo { background-image: url("assets/milkyway.jpg"); opacity: 0.5; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent) 0%, var(--bg) 88%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb-a { width: 480px; height: 480px; background: var(--teal-soft); top: -120px; right: -80px; animation: drift 16s ease-in-out infinite alternate; }
.orb-b { width: 380px; height: 380px; background: var(--rose-soft); bottom: -100px; left: -120px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb-c { width: 300px; height: 300px; background: var(--indigo-soft); top: 40%; left: 42%; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, -40px) scale(1.12); }
}
.grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.hero-inner {
  width: min(1180px, calc(100% - 48px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.eyebrow strong { color: var(--ink); font-weight: 600; }
.hero-title { font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; }
.hero-title .ht-quiet { display: block; font-size: clamp(24px, 2.5vw, 36px); font-weight: 300; color: var(--ink-2); letter-spacing: -0.01em; white-space: nowrap; }
.hero-title .ht-big { display: block; margin-top: 6px; font-size: clamp(52px, 6.2vw, 92px); font-weight: 400; color: var(--teal); line-height: 1.04; }
.hero-sub { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); font-weight: 300; max-width: 54ch; margin-top: 26px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }
.hero-ctas.center { justify-content: center; }
.hero-note { font-size: 13.5px; color: var(--ink-3); margin-top: 22px; letter-spacing: 0.02em; }

/* phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  /* Bezel, radius, and notch all scale from --pw; the screen pins the exact
     aspect ratio of the real captures (760x1650), so nothing gets cropped. */
  --pw: min(310px, 72vw);
  width: var(--pw);
  border-radius: calc(var(--pw) * 0.172);
  background: var(--phone-frame);
  padding: calc(var(--pw) * 0.036);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.10) inset,
    0 50px 100px -30px rgba(10, 12, 18, 0.55),
    0 22px 44px -20px rgba(10, 12, 18, 0.45);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.phone::before {
  content: ""; position: absolute; top: 3.3%; left: 50%; transform: translateX(-50%);
  width: 28%; height: 3.9%; background: #000; border-radius: 999px; z-index: 3;
}
.phone-screen {
  position: relative; width: 100%; aspect-ratio: 760 / 1650;
  border-radius: calc(var(--pw) * 0.138); overflow: hidden; background: #0B0D12;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-lg { --pw: min(340px, 78vw); }

/* hero screen rotation — slow crossfade between curated captures */
.hs-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hs-shot.is-active { opacity: 1; transform: scale(1); }

/* floating cards */
.float-card { position: absolute; animation: floaty 7s ease-in-out infinite; }
.float-chat {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 270px; padding: 14px 16px;
  left: max(-40px, -4vw); bottom: 16%;
  animation-delay: 0.8s;
}
.float-chat img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.float-chat strong { display: block; font-size: 13px; margin-bottom: 3px; color: var(--teal); }
.float-chat span { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.float-streak {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; right: max(-24px, -2vw); top: 12%;
}
.fs-num { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1; color: var(--teal); }
.fs-label { font-size: 12px; line-height: 1.3; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--ink-3); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--teal); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   PROOF
   ============================================================ */
.press { padding: 44px 0 48px; border-block: 1px solid color-mix(in srgb, var(--line) 55%, transparent); background: color-mix(in srgb, var(--bg-2) 42%, transparent); overflow: hidden; }
.press-kicker {
  text-align: center; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 28px;
}
.press-row { display: flex; width: max-content; }
.press-track {
  display: flex; align-items: center; gap: clamp(48px, 6vw, 88px);
  padding-right: clamp(48px, 6vw, 88px);
  animation: marquee 38s linear infinite; will-change: transform;
}
.press:hover .press-track { animation-play-state: paused; }
.press-track img {
  height: var(--h, 28px); width: auto; flex: none;
  filter: brightness(0); opacity: 0.48;
  transition: opacity 0.35s var(--ease);
}
.press-track img:hover { opacity: 0.8; }
[data-theme="dark"] .press-track img { filter: brightness(0) invert(1); opacity: 0.52; }
@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { padding: var(--sec) 0; }
.whisper { margin-top: 56px; text-align: center; max-width: 62ch; margin-inline: auto; }
.whisper p { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; color: var(--ink); }
.whisper cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   SHOWCASE (pinned scroll)
   ============================================================ */
.showcase { background: color-mix(in srgb, var(--bg-2) 40%, transparent); }
/* Static single-statement variant (Jim call 2026-07-17 — the 6-step pinned
   tour collapsed to "one step, not a thousand choices"). */
.showcase-single { padding: var(--sec) 0; }
.showcase-single .sc-single { margin-top: 8px; }
.showcase-single .sc-single h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; }
.showcase-single .sc-single h3 em { font-size: 1em; }
.showcase-single .sc-single p { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); font-weight: 300; max-width: 46ch; }
.showcase-track { height: 620vh; position: relative; }
.showcase-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.showcase-steps { position: relative; min-height: 340px; }
.sc-step {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.sc-step.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sc-index { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--teal); display: block; margin-bottom: 14px; }
.sc-step h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; }
.sc-step h3 em { font-size: 1em; }
.sc-step p { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); font-weight: 300; max-width: 46ch; }

.sc-progress { position: absolute; bottom: -60px; left: 0; width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sc-bar { display: block; height: 100%; width: 0%; background: var(--teal); border-radius: 2px; transition: width 0.2s linear; }

.showcase-phone { position: relative; display: grid; place-items: center; }
.phone-halo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(130%, 94vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-soft) 0%, transparent 62%);
  z-index: -1;
}
.sc-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.sc-shot.is-active { opacity: 1; transform: scale(1); }

/* mobile showcase carousel (built by JS, shown ≤780px) */
.sc-mobile { display: none; }
.sc-mobile .sc-mobile-head { padding: 0 20px 22px; }
.sc-mobile .sc-mobile-head .hint { font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: 8px; }
.sc-carousel {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px 20px 8px;
}
.sc-carousel::-webkit-scrollbar { display: none; }
.sc-slide { flex: 0 0 74vw; max-width: 300px; scroll-snap-align: center; }
.sc-slide .phone { --pw: min(210px, 56vw); margin-inline: auto; }
.sc-slide .sc-index { display: block; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--teal); }
.sc-slide h3 { margin-top: 4px; font-size: 21px; font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; }
.sc-slide h3 em { font-family: var(--serif); font-style: italic; }
.sc-slide p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.sc-shot:first-child { position: relative; }

/* ============================================================
   METHOD / FOUR INTENT BUCKETS — app-faithful focus tiles
   ============================================================ */
.method { padding: var(--sec) 0; }
.focus-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: var(--head-gap);
}
.ftile {
  position: relative; overflow: hidden;
  aspect-ratio: 0.82; border-radius: 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; padding: 24px;
  border: 1px solid rgba(244, 241, 236, 0.14);
  box-shadow: 0 18px 50px -24px rgba(6, 8, 14, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
  isolation: isolate;
}
.ftile:hover { transform: translateY(-8px); border-color: rgba(244, 241, 236, 0.26); box-shadow: 0 30px 70px -26px rgba(6, 8, 14, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.ftile[data-way="sleep"] { background: linear-gradient(178deg, #232B42 0%, #171D2E 52%, #0E1220 100%); }
.ftile[data-way="anxiety"] { background: linear-gradient(178deg, #333F35 0%, #232B24 52%, #141A15 100%); }
.ftile[data-way="manifestation"] { background: linear-gradient(178deg, #1E3A40 0%, #16292E 52%, #0C1619 100%); }
.ftile[data-way="healing"] { background: linear-gradient(178deg, #2E2842 0%, #201B30 52%, #13101E 100%); }
.ftile-glow {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
  width: 72%; aspect-ratio: 1; border-radius: 50%;
  filter: blur(34px); opacity: 0.5; z-index: -1;
  animation: tileBreath 7s ease-in-out infinite;
}
.ftile:nth-child(2) .ftile-glow { animation-delay: 1.4s; }
.ftile:nth-child(3) .ftile-glow { animation-delay: 2.8s; }
.ftile:nth-child(4) .ftile-glow { animation-delay: 4.2s; }
.ftile[data-way="sleep"] .ftile-glow { background: radial-gradient(circle, rgba(96, 118, 172, 0.55), transparent 70%); }
.ftile[data-way="anxiety"] .ftile-glow { background: radial-gradient(circle, rgba(126, 156, 132, 0.5), transparent 70%); }
.ftile[data-way="manifestation"] .ftile-glow { background: radial-gradient(circle, rgba(84, 156, 170, 0.5), transparent 70%); }
.ftile[data-way="healing"] .ftile-glow { background: radial-gradient(circle, rgba(140, 118, 190, 0.5), transparent 70%); }
@keyframes tileBreath {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 0.62; transform: translate(-50%, -50%) scale(1.06); }
}
.ftile-glyph {
  width: 52px; height: 52px; margin-bottom: 22px;
  color: rgba(244, 241, 236, 0.85);
  transition: transform 0.55s var(--ease);
}
.ftile:hover .ftile-glyph { transform: scale(1.08); }
.ftile-label {
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; text-align: center;
  color: rgba(244, 241, 236, 0.94);
  text-wrap: balance;
}
.ftile-sub {
  margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 241, 236, 0.42);
  text-align: center;
}
.method-note { text-align: center; margin-top: 36px; font-size: 13.5px; color: var(--ink-3); letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) {
  .ftile-glow { animation: none; }
}

/* Release / Align / Become — demoted to a compact Book Companion strip */
.raa-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.raa-step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600;
}
.raa-step em { font-style: normal; font-size: 11px; opacity: 0.6; }
.raa-step[data-step="release"] { color: var(--rose); border-color: var(--rose-soft); background: var(--rose-soft); }
.raa-step[data-step="align"] { color: var(--indigo); border-color: var(--indigo-soft); background: var(--indigo-soft); }
.raa-step[data-step="become"] { color: var(--mint); border-color: var(--mint-soft); background: var(--mint-soft); }
.raa-arrow { color: var(--ink-3); font-size: 13px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { padding: 34px 0; border-block: 1px solid color-mix(in srgb, var(--line) 55%, transparent); background: color-mix(in srgb, var(--bg-2) 42%, transparent); overflow: hidden; }
.marquee-row { display: flex; width: max-content; }
.marquee-track {
  display: flex; align-items: center; gap: 42px; padding-right: 42px;
  animation: marquee 46s linear infinite; will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 24px; white-space: nowrap; color: var(--ink-2); }
.marquee-track i { color: var(--teal); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   FEATURES BENTO
   ============================================================ */
.features { padding: var(--sec) 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: var(--head-gap); }
.bento-card {
  border-radius: 26px; padding: 32px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--teal); }
.bento-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.bento-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); text-wrap: pretty; }
.bento-meta { margin-top: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.bento-jim { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }
/* .bento-journey removed 2026-07-17 (14-Day card deleted from the bento);
   hypno card now fills the right column beside the 2-row Jim AI card. */
/* Hypno-meditations = full-bleed photo tile, riffed off the app's Explore card
   (Eric 2026-07-18): serene ocean-sunset image, dark gradient, title bottom-left. */
.bento-hypno {
  grid-column: span 2; grid-row: span 2; min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; background: #0b0d12;
}
.bento-hypno .bh-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  transition: transform 0.8s var(--ease);
}
.bento-hypno:hover .bh-photo { transform: scale(1.04); }
.bento-hypno .bh-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,8,13,0.34) 0%, rgba(6,8,13,0.04) 34%, rgba(6,8,13,0.55) 66%, rgba(6,8,13,0.86) 100%);
}
.bento-hypno .badge-signature {
  position: relative; z-index: 2; align-self: flex-start; margin-bottom: 0;
  color: #fff; background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bento-hypno .bh-caption { position: relative; z-index: 2; }
.bento-hypno .bh-caption h3 { color: #fff; font-size: 25px; letter-spacing: -0.015em; }
.bento-hypno .bh-caption p { margin-top: 8px; color: rgba(255,255,255,0.82); }
.bento-hypno .bh-caption .bento-meta { margin-top: 12px; color: rgba(255,255,255,0.9); }

/* Jim AI live demo */
.chat-demo {
  display: flex; flex-direction: column;
  height: 320px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-2);
  overflow: hidden;
}
.chat-scroll {
  flex: 1; display: flex; flex-direction: column; gap: 10px;
  padding: 18px; overflow: hidden; justify-content: flex-end;
}
.chat-bubble {
  max-width: 84%; padding: 12px 16px; border-radius: 18px;
  font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.chat-bubble.in { opacity: 1; transform: translateY(0) scale(1); }
.chat-user { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.chat-jim {
  align-self: flex-start; background: var(--card); border: 1px solid var(--line);
  border-bottom-left-radius: 6px; display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink-2);
}
.chat-jim img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 2px; }
.chat-typing { display: inline-flex; gap: 5px; padding: 6px 2px; align-items: center; }
.chat-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
  animation: tdot 1.1s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-session {
  align-self: flex-start; display: flex; align-items: center; gap: 12px;
  max-width: 84%; padding: 12px 16px; border-radius: 16px;
  background: var(--teal-soft); border: 1px solid var(--teal);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.chat-session.in { opacity: 1; transform: translateY(0); }
.chat-session .cs-play {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 12px;
}
.chat-session strong { display: block; font-size: 13.5px; color: var(--ink); }
.chat-session span { font-size: 12px; color: var(--ink-3); }
.chat-inputbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--line);
}
.chat-placeholder { font-size: 14px; color: var(--ink-3); }
.chat-placeholder .caret {
  display: inline-block; width: 1.5px; height: 15px; background: var(--teal);
  vertical-align: -2px; margin-left: 1px; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.chat-send {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--teal); color: #fff; display: grid; place-items: center;
}
.chat-send svg { width: 14px; height: 14px; }

.badge-signature {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* ============================================================
   FIVE TOOLS — tabbed phone, crossfading real screens
   ============================================================ */
.tools { padding: var(--sec) 0; background: color-mix(in srgb, var(--bg-2) 40%, transparent); }
.tools-duo { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tool-rows { margin-top: 44px; border-top: 1px solid var(--line); }
.tool-row {
  display: flex; align-items: baseline; gap: 18px;
  width: 100%; text-align: left; padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  opacity: 0.42; cursor: pointer;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tool-row:hover { opacity: 0.75; }
.tool-row.is-active { opacity: 1; }
.tool-row:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
.tr-num { flex: none; font-size: 16px; color: var(--teal); }
.tr-text strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tr-text span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }
.tr-text .tr-meta { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.tools-visual { position: relative; display: grid; place-items: center; }
.tp-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.tp-shot.is-active { opacity: 1; transform: scale(1); }
.tool-active-desc { display: none; }

/* ============================================================
   14-DAY TRANSFORMATION — Release / Align / Become journey
   ============================================================ */
.transform { padding: var(--sec) 0; }
.transform .lede.center { max-width: 620px; margin-left: auto; margin-right: auto; }
.journey {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: jp;
}
.jphase {
  position: relative; border-radius: 24px; padding: 34px 30px 32px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.jphase:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: var(--shadow-soft); }
.jphase-num { font-size: 15px; color: var(--teal); letter-spacing: 0.06em; }
.jphase h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; margin: 8px 0 14px; }
.jphase-tag { font-size: 20px; line-height: 1.3; color: var(--ink); margin-bottom: 14px; }
.jphase p:not(.jphase-tag) { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
/* connective progression dots between phases (desktop) */
.jphase + .jphase::before {
  content: ""; position: absolute; top: 46px; left: -13px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); opacity: 0.5;
}
.journey-close { margin: 44px auto 0; max-width: 660px; text-align: center; }
.journey-close p { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; color: var(--ink); }
.journey-close figcaption {
  margin-top: 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 820px) {
  .journey { grid-template-columns: 1fr; gap: 14px; }
  .jphase + .jphase::before { display: none; }
}

/* ============================================================
   THE DEPTH — descend from felt stress to subconscious identity
   ============================================================ */
.depth {
  position: relative;
  padding: var(--sec) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 13, 0.5) 30%, rgba(4, 6, 10, 0.82) 100%);
}
/* the deeper you go, the darker the whole section gets (stars dim with it) */
.depth::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(2, 3, 6, 1);
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.depth[data-depth="1"]::after { opacity: 0.3; }
.depth[data-depth="2"]::after { opacity: 0.55; }
.depth > .container, .depth > .depth-cta { position: relative; z-index: 1; }
.depth-wrap {
  display: grid; grid-template-columns: 44px minmax(0, 720px); justify-content: center;
  gap: clamp(16px, 3vw, 34px); margin-top: var(--head-gap);
}
.depth-line { position: relative; }
.dl-plumb {
  position: absolute; left: 50%; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--teal-soft), rgba(79, 189, 189, 0.35));
}
.dl-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; z-index: 1;
  background: var(--bg-2); border: 1.5px solid rgba(79, 189, 189, 0.4);
  transition: all 0.5s var(--ease);
}
.dl-dot[data-d="0"] { top: 8%; }
.dl-dot[data-d="1"] { top: 46%; }
.dl-dot[data-d="2"] { top: 82%; }
.dl-dot.on {
  background: var(--teal); border-color: var(--teal);
  box-shadow: 0 0 0 5px rgba(79, 189, 189, 0.18), 0 0 18px rgba(79, 189, 189, 0.55);
}
.dl-diver {
  position: absolute; left: 50%; top: 8%; transform: translate(-50%, -50%);
  width: 5px; height: 26px; border-radius: 999px; z-index: 2;
  background: linear-gradient(180deg, transparent, var(--teal));
  filter: blur(1px);
  box-shadow: 0 6px 14px rgba(79, 189, 189, 0.5);
  transition: top 1.1s var(--ease);
}
.depth-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stratum {
  text-align: left; width: 100%;
  border-radius: 22px; padding: 26px 30px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stratum:nth-of-type(1) { background: linear-gradient(180deg, rgba(38, 58, 74, 0.55), rgba(22, 34, 46, 0.55)); }
.stratum:nth-of-type(2) { background: linear-gradient(180deg, rgba(22, 28, 52, 0.6), rgba(14, 18, 36, 0.6)); }
.stratum:nth-of-type(3) {
  background:
    radial-gradient(90% 90% at 50% 118%, rgba(79, 189, 189, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(9, 12, 20, 0.75), rgba(5, 7, 12, 0.85));
}
.stratum.is-active {
  border-color: rgba(79, 189, 189, 0.45); transform: translateX(6px);
  animation: stratumBreathe 7s ease-in-out infinite;
}
@keyframes stratumBreathe {
  0%, 100% { box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.7), 0 0 26px -8px rgba(79, 189, 189, 0.22); }
  50% { box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.7), 0 0 44px -6px rgba(79, 189, 189, 0.4); }
}
.stratum:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.s-label {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); transition: color 0.4s var(--ease);
}
.s-label i { font-style: italic; font-family: var(--serif); font-size: 15px; letter-spacing: 0; color: var(--teal); }
.stratum.is-active .s-label { color: var(--teal); }
.s-title { display: block; margin-top: 9px; font-size: clamp(19px, 2vw, 23px); font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.s-copy { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); opacity: 0.72; transition: opacity 0.45s var(--ease); text-wrap: pretty; max-width: 58ch; }
.stratum.is-active .s-copy { opacity: 1; }
.iam { color: var(--ink); }
.iam-word { color: var(--teal); border-bottom: 1px solid rgba(79, 189, 189, 0.4); padding-bottom: 1px; min-width: 3ch; display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .stratum.is-active { animation: none; box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.7), 0 0 30px -8px rgba(79, 189, 189, 0.25); }
  .dl-diver { transition: none; }
  .depth::after { transition: none; }
}
.depth-note {
  text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 15px; color: var(--ink-3); padding: 2px 0;
}
.depth-cta { text-align: center; margin-top: 48px; }
.depth-fine { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   JIM
   ============================================================ */
.jim { padding: var(--sec) 0; }
.jim-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.jim-media { position: relative; }
.jim-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.jim-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.jim-media:hover .jim-photo img { transform: scale(1.03); }
.jim-quote { position: absolute; bottom: -26px; right: -18px; max-width: 300px; padding: 22px 26px; }
.jim-quote p { font-size: 20px; line-height: 1.35; }
.jim-creds { list-style: none; margin-top: 30px; }
.jim-creds li {
  position: relative; padding: 12px 0 12px 30px; font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.jim-creds li:last-child { border-bottom: none; }
.jim-creds li::before { content: "✳"; position: absolute; left: 2px; top: 12px; color: var(--teal); font-size: 13px; }

/* ============================================================
   BOOK
   ============================================================ */
.book { position: relative; padding: var(--sec) 0; overflow: hidden; }
.book-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("assets/evergreens.jpg") center / cover no-repeat;
  opacity: 0.14;
}
[data-theme="dark"] .book-bg { opacity: 0.22; }
.book::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.book-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.book-cover { width: min(340px, 80%); margin-inline: auto; border-radius: 10px; transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.book-cover img { border-radius: 10px; box-shadow: 0 40px 80px -24px rgba(10, 12, 18, 0.55), -14px 14px 40px -18px rgba(10, 12, 18, 0.4); }
.book-bonuses { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 11px; }
.book-bonuses li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); max-width: 52ch; }
.book-bonuses li strong { color: var(--ink); font-weight: 600; }
.book-bonuses svg { width: 17px; height: 17px; flex: none; margin-top: 4px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.book-code { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; margin-top: 26px; max-width: 560px; }
.book-code p { font-size: 14.5px; color: var(--ink-2); }
.book-code strong { color: var(--ink); }
.bc-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.bc-icon svg { width: 24px; height: 24px; }

/* ============================================================
   LEAD MAGNET
   ============================================================ */
.lead { padding: clamp(60px, 8vw, 110px) 0; }
.lead-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 70px);
  align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 32px;
}
.lead-copy p:last-child { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.lead-strong { font-weight: 500; color: var(--ink) !important; font-size: 16.5px !important; text-wrap: pretty; }
.lead-row { display: flex; gap: 12px; }
.lead-row input {
  flex: 1; min-width: 0; padding: 16px 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg-3); color: var(--ink);
  font-size: 15.5px; font-family: var(--sans);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lead-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.lead-row input::placeholder { color: var(--ink-3); }
.lead-fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.lead-success {
  display: none; margin-top: 16px; padding: 14px 20px; border-radius: 14px;
  background: var(--mint-soft); color: var(--mint); font-weight: 600; font-size: 14.5px;
}
.lead-form.done .lead-row, .lead-form.done .lead-fine { display: none; }
.lead-form.done .lead-success { display: block; animation: pop 0.5s var(--ease); }
@keyframes pop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: var(--sec) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--head-gap); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border-radius: 26px; padding: 34px 30px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.plan h3 { font-size: 19px; font-weight: 600; }
.plan-price { margin-top: 16px; }
.plan-price strong { font-family: var(--serif); font-weight: 300; font-size: 46px; line-height: 1; letter-spacing: -0.01em; }
.plan-price span { color: var(--ink-3); font-size: 15px; }
.plan-included { font-size: 40px; color: var(--teal); }
.plan-tag { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.plan ul { list-style: none; margin: 24px 0 28px; flex: 1; }
.plan li { position: relative; padding: 9px 0 9px 26px; font-size: 14.5px; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan-cta { width: 100%; }
.plan-featured {
  border-color: var(--teal);
  background: linear-gradient(170deg, var(--card) 55%, var(--teal-soft));
  transform: scale(1.035);
  box-shadow: 0 0 0 1px rgba(79,189,189,0.35), 0 24px 70px -30px rgba(79,189,189,0.35);
  animation: planAura 4s ease-in-out infinite;
}
@keyframes planAura {
  0%, 100% { box-shadow: 0 0 0 1px rgba(79,189,189,0.35), 0 24px 70px -30px rgba(79,189,189,0.35); }
  50% { box-shadow: 0 0 0 1px rgba(79,189,189,0.55), 0 0 44px -6px rgba(79,189,189,0.38), 0 24px 70px -30px rgba(79,189,189,0.4); }
}
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.pricing-fine { text-align: center; margin-top: 34px; font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--sec) 0; }
.faq-list { margin-top: var(--head-gap); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-plus { position: relative; flex: none; width: 22px; height: 22px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--teal); border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq-plus::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-plus::after { top: 3px; left: 10px; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg) scaleY(0); }
.faq-item p { padding: 0 4px 26px; max-width: 68ch; color: var(--ink-2); font-size: 15.5px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; padding: clamp(120px, 14vw, 184px) 0; overflow: hidden; color: #fff; }
.final-bg {
  position: absolute; inset: 0; z-index: -1;
  /* scrim lives ON the image layer — a separate ::before painted underneath
     it and never darkened anything (found 2026-07-07) */
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(8, 10, 15, 0.72) 22%, rgba(8, 10, 15, 0.88) 100%),
    url("assets/milkyway.jpg") center / cover no-repeat;
}
.final-inner { text-align: center; }
.final-logo { width: 128px; height: auto; margin: 0 auto 24px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45)); }
.final .lede { color: rgba(255, 255, 255, 0.82); margin-inline: auto; text-align: center; }
.final .hero-ctas { margin-top: 44px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: color-mix(in srgb, var(--bg-2) 42%, transparent); border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-line { margin-top: 18px; font-size: 20px; color: var(--ink-2); }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); transition: color 0.25s, transform 0.25s var(--ease); }
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }
.footer-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 15, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade 0.3s ease; }
.modal-card {
  position: relative; width: min(420px, 100%); padding: 40px 36px; border-radius: 28px;
  text-align: center; animation: rise 0.45s var(--ease);
  background: var(--bg-3);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.97); } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-3); transition: background 0.25s, color 0.25s; }
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-mark { width: 84px; height: auto; margin: 0 auto 16px; }
.modal-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.modal-sub { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.modal-form input {
  padding: 14px 20px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 15px; font-family: var(--sans);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.modal-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.modal-note { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.modal-note a { color: var(--teal); font-weight: 600; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .float-chat { left: 0; }
  .float-streak { right: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-jim { grid-column: span 2; min-height: 0; }
  .bento-hypno, .bento-journey { grid-column: span 1; }
  .jim-grid, .book-grid { grid-template-columns: 1fr; }
  .jim-quote { right: 12px; }
  .lead-inner { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }
  .showcase-phone { order: -1; }
  .phone-lg { --pw: min(210px, 46vw); }
  .showcase-steps { min-height: 300px; }
  .sc-step h3 { font-size: clamp(24px, 5vw, 32px); }
  .sc-progress { bottom: -34px; }
  .focus-tiles { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
  .depth-wrap { grid-template-columns: 1fr; }
  .depth-line { display: none; }
  .stratum.is-active { transform: none; }
  /* Tools on small screens: chips above the phone so a tap visibly swaps
     the screen (the old stacked layout changed a phone that was off-screen). */
  .tools-duo { grid-template-columns: 1fr; gap: 0; }
  .tools-copy { display: contents; }
  .tools-copy > .kicker { order: 1; }
  .tools-copy > h2 { order: 2; }
  .tools-copy > .lede { order: 3; }
  .tools-copy > .tool-rows { order: 4; }
  .tools-duo > .tools-visual { order: 5; margin-top: 26px; }
  .tool-rows {
    margin-top: 28px; border-top: none;
    display: flex; gap: 8px; overflow-x: auto;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -20px; padding-inline: 20px; padding-bottom: 4px;
  }
  .tool-rows::-webkit-scrollbar { display: none; }
  .tool-row {
    flex: 0 0 auto; width: auto; scroll-snap-align: start;
    padding: 11px 18px; border: 1px solid var(--line); border-bottom: 1px solid var(--line);
    border-radius: 999px; background: var(--card);
    opacity: 1; gap: 0;
  }
  .tool-row .tr-num, .tool-row .tr-text span { display: none; }
  .tool-row .tr-text strong { font-size: 14px; font-weight: 600; }
  .tool-row.is-active { border-color: var(--teal); background: var(--teal-soft); }
  .tool-row.is-active .tr-text strong { color: var(--teal); }
  .tool-active-desc {
    display: block; text-align: center; margin: 18px auto 0; max-width: 34ch;
    font-size: 14px; color: var(--ink-2); line-height: 1.55;
  }
  .tool-active-desc .tad-meta { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
}


@media (max-width: 780px) {
  :root { --sec: 52px; --head-gap: 36px; }
  /* full-bleed rhythm: app-standard 20px page margins */
  .container, .container.narrow { width: calc(100% - 40px); }
  .nav-links, .nav-actions .btn-ghost, .nav-actions .nav-cta { display: none; }
  .nav-inner { height: 64px; }
  .nav-logo { width: 40px; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
  .hero { padding-top: 104px; }
  .hero-title { font-size: clamp(38px, 11vw, 48px); }
  .hero-sub { font-size: 16.5px; }
  /* full-width, thumb-first CTAs */
  .hero-ctas { gap: 12px; width: 100%; }
  .hero-ctas > * { width: 100%; justify-content: center; }
  .store-badge { justify-content: center; }
  /* float cards crowd a 72vw phone — retire them on phones */
  .float-chat, .float-streak { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-jim, .bento-hypno { grid-column: span 1; }
  .bento-hypno { grid-row: auto; }
  .focus-tiles { gap: 10px; }
  .ftile { border-radius: 22px; padding: 18px; }
  .ftile-glyph { width: 40px; height: 40px; margin-bottom: 14px; }
  .ftile-sub { display: none; }
  .method-note { font-size: 12.5px; margin-top: 28px; }
  .press-track { animation-duration: 26s; }
  .plans { grid-template-columns: 1fr; }
  .plan-featured { order: -1; }
  .plan { padding: 28px 24px; }
  .lead-row { flex-direction: column; }
  .lead-row .btn { width: 100%; }
  .lead-inner { border-radius: 24px; padding: 30px 24px; }
  /* Showcase on phones: native swipe carousel instead of 6000px of pinned scroll */
  .showcase-track { display: none; }
  .sc-mobile { display: block; padding: 56px 0 60px; }
  .phone-lg { --pw: min(190px, 44vw); }
  .display-xl { font-size: clamp(38px, 11vw, 60px); }
  .whisper p { font-size: 24px; }
  .whisper { margin-top: 44px; }
  .jim-quote { position: static; margin-top: 16px; max-width: none; }
  .jim-creds li { font-size: 14px; }
  .bento-card { padding: 26px 22px; border-radius: 22px; }
  .chat-demo { height: 300px; }
  .marquee-track span { font-size: 20px; }
  .final-logo { width: 96px; }
  .book-cover { width: min(260px, 70%); }
  .book-code { padding: 18px 20px; gap: 14px; }
  .tools-duo { gap: 44px; }
  .tool-rows { margin-top: 32px; }
  .tool-row { padding: 16px 2px; gap: 14px; }

  /* footer — single flowing column, comfortable tap targets */
  .footer { padding: 56px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .footer-line { margin-top: 12px; }
  .footer-col { padding: 22px 0 4px; border-bottom: 1px solid var(--line); }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col a { display: inline-block; padding: 8px 14px; font-size: 14.5px; }
  .footer-col a:hover { transform: none; }
  .footer-base { flex-direction: column; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: none; text-align: center; align-items: center; }
}
