:root {
  /* Marketing site aligned with phone simulator (cream / teal / serif) */
  --cream: #fdfbf7;
  --cream-2: #f5efe6;
  --ink: #1a2b3c;
  --ink-soft: #5a6a7a;
  --teal: #1b4d4d;
  --teal-deep: #143c3c;
  --navy: #102840;
  --navy-soft: #1a3550;
  --gold: #c89840;
  --gold-soft: #d4b06a;
  --mist: var(--cream);
  --mist-2: var(--cream-2);
  --white: #ffffff;
  --muted: var(--ink-soft);
  --line: rgba(26, 43, 60, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --phone-w: 320px;
  --phone-h: 650px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--cream);
  line-height: 1.5;
  min-height: 100vh;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(200, 152, 64, 0.12), transparent 55%),
    radial-gradient(700px 480px at 88% 18%, rgba(27, 77, 77, 0.08), transparent 50%),
    linear-gradient(180deg, #fdfbf7 0%, #f8f3eb 45%, #f5efe6 100%);
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(14px);
  background: rgba(253, 251, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.brand span {
  font-feature-settings: "ss01";
}

.topnav nav {
  display: flex;
  gap: 22px;
}

.topnav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
}

.topnav nav a:hover { color: var(--teal); }

.btn {
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 12px 20px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn.primary {
  background: var(--teal);
  color: var(--white);
}

.btn.primary:hover { background: var(--teal-deep); }

.btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  background: var(--cream-2);
}

.btn.soft {
  background: linear-gradient(180deg, #f3e8d6, #e8d4b8);
  color: var(--ink);
}

.btn.gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

.btn.block {
  width: 100%;
  display: block;
  text-align: center;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.tiny {
  padding: 8px 14px;
  font-size: 0.78rem;
}

.text-link {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 77, 0.28);
  font-size: 0.95rem;
  font-weight: 500;
}

.text-link:hover {
  color: var(--teal-deep);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 26rem) auto;
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
  justify-content: center;
  justify-items: start;
  max-width: none;
  margin: 0;
  width: 100%;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px) 48px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background:
    url("assets/hero-mountains.jpg") center / cover no-repeat;
  opacity: 0.28;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(253, 251, 247, 0.94) 0%, rgba(253, 251, 247, 0.82) 38%, rgba(245, 239, 230, 0.55) 68%, rgba(245, 239, 230, 0.72) 100%);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 26rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-mark {
  width: min(120px, 32vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(26, 43, 60, 0.12));
}

.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--navy);
  padding-left: 0.08em;
}

.hero-lockup {
  display: none;
}

.slogan {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}

.positioning {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.descriptor {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero .text-link {
  color: var(--teal);
  border-bottom-color: rgba(27, 77, 77, 0.35);
}

.hero .btn.primary {
  background: var(--teal);
  color: var(--white);
}

.hero .btn.primary:hover {
  background: var(--teal-deep);
}

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: rise 1.05s var(--ease) 0.1s both;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
}

.device-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(26, 43, 60, 0.06);
  border: 1px solid var(--line);
}

.device-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.device-toggle-btn:hover {
  color: var(--ink);
}

.device-toggle-btn.on {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(26, 43, 60, 0.1);
  font-weight: 600;
}

.devices-stage .device-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone.pad {
  width: 740px;
  height: 555px;
  border-radius: 32px;
  padding: 14px;
  flex: 0 0 auto;
}

@media (max-width: 1280px) {
  .phone.pad {
    width: min(92vw, 640px);
    height: calc(min(92vw, 640px) * 0.75);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-copy {
    max-width: 32rem;
  }
  .hero-brand {
    align-items: center;
  }
  .cta-row {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .phone.pad {
    width: min(94vw, 520px);
    height: calc(min(94vw, 520px) * 0.75);
  }
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-toolbar-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.demo-exit-fs {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 10050;
  display: none;
  box-shadow: 0 8px 28px rgba(16, 40, 64, 0.18);
}

body.demo-fullscreen {
  overflow: hidden;
}

body.demo-fullscreen .ambient,
body.demo-fullscreen .topnav,
body.demo-fullscreen .hero-copy,
body.demo-fullscreen .band,
body.demo-fullscreen .site-footer,
body.demo-fullscreen .demo-toolbar-hint,
body.demo-fullscreen .overview,
body.demo-fullscreen .journey-band,
body.demo-fullscreen .structure-band,
body.demo-fullscreen .knowledge-band,
body.demo-fullscreen .return-band,
body.demo-fullscreen .money-band,
body.demo-fullscreen .flow-band,
body.demo-fullscreen .market-band,
body.demo-fullscreen .impact-band {
  display: none !important;
}

/* Keep journey map available via in-phone Map button only */
body.demo-fullscreen .flow-rail {
  display: none !important;
}

body.demo-fullscreen .hero {
  display: block !important;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  margin: 0 !important;
}

body.demo-fullscreen .phone-stage {
  position: fixed;
  inset: 0;
  z-index: 10000;
  margin: 0;
  padding: 0;
  gap: 0;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(200, 152, 64, 0.12), transparent 55%),
    linear-gradient(180deg, #fdfbf7 0%, #f5efe6 100%);
  animation: none;
}

body.demo-fullscreen .phone {
  width: min(100vw, 480px) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: #0a1520 !important;
}

body.demo-fullscreen .phone-screen {
  border-radius: 0 !important;
  height: 100% !important;
  background: #0a1520 !important;
}

body.demo-fullscreen .phone-home {
  display: none !important;
}

body.demo-fullscreen .ios-status {
  display: none !important;
}

body.demo-fullscreen .ios-island {
  display: block !important;
}

body.demo-fullscreen .phone-app,
body.demo-fullscreen #screen {
  top: 0 !important;
  bottom: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
}

body.demo-fullscreen .demo-toolbar {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 10050;
  margin: 0;
}

body.demo-fullscreen .demo-exit-fs {
  display: inline-flex !important;
}

body.demo-fullscreen #screen .screen {
  padding: 12px 18px 18px !important;
}

body.demo-fullscreen #screen .screen h1 {
  font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
  line-height: 1.2 !important;
}

body.demo-fullscreen #screen .screen p {
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

body.demo-fullscreen #screen .btn {
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
}

body.demo-fullscreen #screen .option {
  padding: 12px 14px !important;
  font-size: 0.9rem !important;
}

body.demo-fullscreen #screen .chip {
  padding: 8px 12px !important;
  font-size: 0.82rem !important;
}

@media (max-width: 520px) {
  body.demo-fullscreen .phone {
    width: 100vw !important;
  }
}

.phone {
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 42px;
  background: #0a1520;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(13, 26, 40, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.15) inset;
  position: relative;
  flex: 0 0 auto;
}

.phone-notch {
  display: none;
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #f7f8fa;
  position: relative;
  display: block;
}

#phoneShell[data-screen="arrive"] .phone-screen {
  background: #0a1520;
}

.ios-status,
.ios-time,
.ios-right,
.phone-home,
.ios-home-bar {
  display: none !important;
}

.ios-island {
  display: block;
  position: absolute;
  left: 50%;
  top: 11px;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0a0a0c;
  border-radius: 20px;
  z-index: 30;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ios-right {
  display: none;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  min-width: 52px;
  justify-content: flex-end;
}

.ios-signal,
.ios-wifi {
  display: block;
  flex: 0 0 auto;
}

.ios-battery {
  display: flex;
  align-items: center;
  gap: 1px;
}

.ios-battery-body {
  width: 22px;
  height: 11px;
  border: 1.4px solid currentColor;
  border-radius: 3px;
  padding: 1.5px;
  opacity: 0.92;
}

.ios-battery-body span {
  display: block;
  height: 100%;
  background: currentColor;
  border-radius: 1.5px;
}

.ios-battery-cap {
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  opacity: 0.55;
}

.phone-app {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  color: var(--navy);
}

.screen {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 48px 12px 10px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: #f7f8fa;
  color: var(--navy);
  opacity: 1;
  transform: none;
  position: relative;
}

.status-slim {
  margin-bottom: 2px;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: calc(50% - 54px);
}

.status-slim .status-right {
  display: none;
}

.screen-chrome {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0 0 4px;
}

.screen-arrive > .screen-chrome {
  z-index: 3;
}

.screen-arrive .status-slim {
  max-width: none;
}

.screen-first-practice > .screen-chrome {
  background: #fff;
  margin: 0;
  padding: 0 2px 2px;
}

.screen-first-practice .status-slim {
  max-width: none;
}

/* Journey navigation arrows — vector chevrons (scrollable) */
.journey-arrows {
  margin: 0 0 6px;
  width: 100%;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
}

.journey-arrows-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding: 4px 4px 8px 8px;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 18px), transparent 100%);
}

.journey-arrows-track::-webkit-scrollbar {
  display: none;
}

.journey-arrows-track.column {
  flex-direction: column;
  overflow: auto;
  gap: 8px;
  max-height: 100%;
  scroll-snap-type: none;
  padding: 4px;
  mask-image: none;
  -webkit-mask-image: none;
}

.nav-arrow {
  --arrow-notch: 12px;
  --arrow-fill: #d7ebf6;
  --arrow-title: #102840;
  --arrow-sub: #3d6f8f;
  flex: 0 0 auto;
  width: 118px;
  min-height: 44px;
  margin: 0 0 0 calc(var(--arrow-notch) * -1);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: none;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-arrow:first-child {
  margin-left: 0;
}

.nav-arrow-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 6px calc(var(--arrow-notch) + 6px) 6px calc(var(--arrow-notch) + 4px);
  background: var(--arrow-fill);
  color: var(--arrow-title);
  clip-path: polygon(
    0 0,
    calc(100% - var(--arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--arrow-notch)) 100%,
    0 100%,
    var(--arrow-notch) 50%
  );
  -webkit-clip-path: polygon(
    0 0,
    calc(100% - var(--arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--arrow-notch)) 100%,
    0 100%,
    var(--arrow-notch) 50%
  );
}

.nav-arrow:first-child .nav-arrow-inner {
  clip-path: polygon(
    0 0,
    calc(100% - var(--arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--arrow-notch)) 100%,
    0 100%
  );
  -webkit-clip-path: polygon(
    0 0,
    calc(100% - var(--arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--arrow-notch)) 100%,
    0 100%
  );
  padding-left: 10px;
}

.nav-arrow-title {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-arrow-sub {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--arrow-sub);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-arrow.done {
  z-index: 2;
  --arrow-fill: #c5dff0;
  --arrow-title: #102840;
  --arrow-sub: #3a6a88;
}

.nav-arrow.current {
  z-index: 4;
  --arrow-fill: #9ec9e4;
  --arrow-title: #0a1f33;
  --arrow-sub: #1f5470;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 6px rgba(16, 40, 64, 0.18));
}

.nav-arrow.ahead,
.nav-arrow:disabled {
  z-index: 1;
  --arrow-fill: #e8f2f7;
  --arrow-title: rgba(16, 40, 64, 0.45);
  --arrow-sub: rgba(61, 111, 143, 0.5);
  cursor: default;
}

.nav-arrow:not(:disabled):hover .nav-arrow-inner,
.nav-arrow:not(:disabled):focus-visible .nav-arrow-inner {
  filter: brightness(1.04);
}

.journey-arrows-sheet .nav-arrow {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.journey-arrows-sheet .nav-arrow-inner,
.journey-arrows-sheet .nav-arrow:first-child .nav-arrow-inner {
  min-height: 52px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.screen-arrive {
  padding-top: 48px !important;
}

.screen-arrive .journey-arrows {
  margin-bottom: 6px;
}

.screen-arrive .status-slim .status-brand {
  color: #fff;
}

.screen-arrive .nav-arrow {
  --arrow-fill: rgba(255, 255, 255, 0.88);
  --arrow-title: #102840;
  --arrow-sub: #3d6f8f;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

.screen-arrive .nav-arrow.done {
  --arrow-fill: rgba(197, 223, 240, 0.92);
}

.screen-arrive .nav-arrow.current {
  --arrow-fill: #fff;
  --arrow-title: #102840;
  --arrow-sub: #1f5470;
}

.screen-arrive .nav-arrow.ahead,
.screen-arrive .nav-arrow:disabled {
  --arrow-fill: rgba(255, 255, 255, 0.42);
  --arrow-title: rgba(16, 40, 64, 0.55);
  --arrow-sub: rgba(16, 40, 64, 0.45);
}

.fp-top {
  position: relative;
  z-index: 3;
  padding: 8px 10px 0;
  background: #fff;
}

.fp-top .fp-back {
  position: static;
  margin-bottom: 4px;
}

.fp-hero {
  padding-top: 28px;
}

.status-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.screen.active {
  display: flex;
}

.screen-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.screen-footer {
  flex: 0 0 auto;
  padding-top: 6px;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.status .back {
  background: none;
  border: 0;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.status-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.status-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-mark {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}

.welcome-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

/* Keep primary CTA visible near bottom */
.screen-footer {
  flex: 0 0 auto;
  padding-top: 10px;
  padding-bottom: 22px;
  background: #f7f8fa;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* ——— Arrive / begin: mountain dawn hero (product map Discover) ——— */
.screen-arrive {
  background: transparent !important;
  color: #fff;
  position: relative;
  isolation: isolate;
  padding: 48px 12px 8px !important;
}

.arrive-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/hero-mountains.jpg") center / cover no-repeat;
}

.arrive-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.45) 0%, rgba(8, 16, 28, 0.18) 32%, rgba(6, 12, 20, 0.45) 62%, rgba(4, 8, 14, 0.82) 100%);
}

.screen-arrive > .status,
.screen-arrive > .screen-chrome,
.screen-arrive > .you-are-here,
.screen-arrive > .screen-body,
.screen-arrive > .screen-footer {
  position: relative;
  z-index: 2;
}

.screen-arrive .status {
  color: rgba(255, 255, 255, 0.88);
}

.screen-arrive .status-brand {
  color: #fff;
}

.screen-arrive .status-map-btn {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.screen-arrive .you-are-here {
  display: inline-block;
  align-self: flex-start;
  color: #102840;
  background: rgba(255, 255, 255, 0.88);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  text-shadow: none;
  font-weight: 600;
}

.arrive-body {
  justify-content: flex-start;
  padding-top: 6vh;
}

.screen-arrive .welcome-logo {
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
}

.screen-arrive .welcome-wordmark {
  color: #fff;
  letter-spacing: 0.28em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.screen-arrive .eyebrow {
  color: var(--gold-soft) !important;
  margin-top: 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.screen-arrive h1 {
  color: #fff !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem !important;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-top: 6px !important;
}

.screen-arrive .lede-soft {
  color: #fff !important;
  max-width: 16rem;
  font-weight: 400;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65), 0 0 1px rgba(0, 0, 0, 0.4);
}

.arrive-footer {
  background: transparent !important;
  padding-bottom: 18px !important;
}

.arrive-footer .safety {
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.btn.arrive-cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-weight: 600;
}

.btn.arrive-cta:hover,
.btn.arrive-cta:focus-visible {
  background: #fff;
}

body.demo-fullscreen .screen-arrive h1 {
  font-size: 1.75rem !important;
}

/* ——— First practice (third screen) ——— */
.screen-first-practice {
  padding: 0 !important;
  background: #fff !important;
  display: flex;
  flex-direction: column;
}

.fp-hero {
  position: relative;
  flex: 1.15 1 0;
  min-height: 0;
  background:
    url("assets/first-practice.jpg") center 35% / cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 16px 24px;
}

.fp-back {
  position: absolute;
  left: 12px;
  top: 48px;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1;
}

.fp-hero-title {
  margin: 8px 0 0;
  color: #1a2b48;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.fp-sheet {
  flex: 0.9 1 0;
  min-height: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 20px 28px;
  text-align: center;
}

.fp-practice-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fp-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem !important;
}

.fp-play {
  margin-top: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 40, 64, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.fp-play:hover,
.fp-play:focus-visible {
  background: var(--navy-soft);
  transform: scale(1.04);
}

.fp-play svg {
  margin-left: 3px;
}

#phoneShell[data-screen="firstPractice"] .phone-screen {
  background: #fff;
}

#phoneShell[data-screen="firstPractice"] .ios-status {
  color: #1a2b48;
}

#phoneShell[data-screen="firstPractice"] .phone-home {
  background: rgba(16, 40, 64, 0.25);
}

/* Full screen control — simulator ghost style on cream hero */
.hero .demo-toolbar {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero .demo-toolbar .btn.ghost,
.hero .demo-toolbar .btn.tiny {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.08);
  font-weight: 500;
}

.hero .demo-toolbar .btn.ghost:hover,
.hero .demo-toolbar .btn.tiny:hover {
  background: var(--cream-2);
}

.flow-rail {
  display: none !important;
}

.demo-path-note,
.demo-toolbar-hint {
  display: none !important;
}

.welcome-logo {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto 4px;
}

.status-brand img,
.status-mark {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  object-fit: contain !important;
}

.welcome-wordmark {
  margin: 0 0 4px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
}

.welcome-body .eyebrow,
.welcome-body h1,
.welcome-body p {
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.56rem;
  font-weight: 600;
  margin: 0 0 3px;
}

.screen h1, .screen h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.screen h1 { font-size: 1.2rem; }
.screen h2 { font-size: 1rem; }

.screen p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}

.grow { flex: 1; }

.option-list {
  display: grid;
  gap: 5px;
  margin: 4px 0 6px;
}

.option {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.76rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.option:hover { border-color: rgba(200, 152, 64, 0.55); }
.option.selected {
  border-color: var(--gold);
  background: rgba(200, 152, 64, 0.1);
}
.option small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.8rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
}

.chip.selected {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.practice-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 18px auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(200,152,64,0.25), transparent 55%),
    conic-gradient(from -90deg, var(--gold) var(--p, 0%), rgba(16,40,64,0.12) 0);
  position: relative;
}

.practice-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #f7f8fa;
}

.practice-ring span {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
}

.layer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.86rem;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 8px;
}

.provenance {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.textarea {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 12px;
  font: inherit;
  resize: none;
  background: var(--white);
  color: var(--navy);
  margin-bottom: 14px;
}

.mirror-card {
  border-left: 3px solid var(--gold);
  padding: 10px 0 10px 12px;
  margin-bottom: 12px;
}

.mirror-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

/* v15 felt-experience + product map: nested traditions, poles, mirror, journey */
.tradition-tree { display: grid; gap: 6px; }
.trad-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 4px 2px;
  padding-left: 4px;
  border-left: 2px solid rgba(200, 152, 64, 0.35);
}

.toggle-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--navy);
  margin: 12px 0 4px;
  cursor: pointer;
  line-height: 1.35;
}
.toggle-row em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
  margin-top: 2px;
}
.toggle-row input { accent-color: var(--gold); margin-top: 3px; }

.pole-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 12px;
}
.pole-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 8px;
  font: inherit;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.pole-card.selected {
  border-color: var(--gold);
  background: rgba(200, 152, 64, 0.1);
}
.pole-sep { color: var(--muted); margin: 0 3px; font-size: 0.75rem; }

.synth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 12px 14px;
  margin: 8px 0 12px;
}
.synth-card p {
  color: var(--navy) !important;
  margin: 0 0 8px;
}
.synth-card p:last-child { margin-bottom: 0; }

.arc-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 8px;
}
.arc-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
  font-size: 0.9rem;
}
.arc-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.terrain-rail { display: flex; flex-direction: column; margin: 10px 0; }
.terrain-step {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 10px;
  padding: 6px 0;
  opacity: 0.4;
}
.terrain-step.lit { opacity: 1; }
.terrain-step.current strong { color: var(--gold); }
.terrain-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(16, 40, 64, 0.2);
  margin-top: 4px;
}
.terrain-step.lit .terrain-dot { background: var(--navy); }
.terrain-step.current .terrain-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 152, 64, 0.22);
}
.terrain-line {
  width: 2px;
  height: 10px;
  margin-left: 4px;
  background: var(--line);
}
.terrain-line.lit { background: rgba(200, 152, 64, 0.55); }

.deep-card {
  border: 1px dashed rgba(16, 40, 64, 0.22);
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0;
  background: rgba(16, 40, 64, 0.03);
}
.deep-card.available {
  border-style: solid;
  border-color: rgba(200, 152, 64, 0.5);
  background: rgba(200, 152, 64, 0.08);
}
.deep-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}
.deep-card span { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

.screen-footer.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tab.subtle { opacity: 0.55; }

.safety {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.safety a { color: var(--navy); }

.flow-rail {
  width: min(360px, 92vw);
}

.flow-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.flow-rail button {
  border: 0;
  background: rgba(16, 40, 64, 0.06);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.flow-rail button.done {
  background: rgba(200, 152, 64, 0.2);
  color: var(--navy);
}

.flow-rail button.current {
  background: var(--navy);
  color: var(--white);
}

.flow-rail-label {
  display: block;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.demo-path-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* —— Today simplified (v18) —— */
.today-simple .magnet-soft {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 6px;
  margin: 0 0 4px;
  cursor: default;
}

.soft-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 0.68rem;
  color: var(--muted);
}

.soft-links button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.tabbar-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tabbar-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tabbar,
.tabbar-glass {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  flex: 0 0 auto;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 12;
  margin: 0;
  padding: 7px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow:
    0 10px 28px rgba(16, 40, 64, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tabbar .tab {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.58rem;
  color: rgba(16, 40, 64, 0.48);
  padding: 4px 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 14px;
  min-height: 44px;
}

.tabbar .tab .tab-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.tabbar .tab .tab-label {
  display: block;
  line-height: 1.1;
}

.tabbar .tab.active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 8px rgba(16, 40, 64, 0.08);
}

.has-tabs {
  padding-bottom: 0 !important;
}

.has-tabs .above-tabs,
.has-tabs .today-fixed {
  padding-bottom: 76px !important;
}

.has-tabs > .screen-footer {
  position: relative;
  z-index: 11;
  padding-bottom: 78px !important;
  background: transparent;
}

.has-tabs > .screen-footer.need-pause-footer {
  padding-bottom: 92px !important;
  padding-top: 4px !important;
}

.need-pause-footer .btn.ghost {
  margin-top: 6px;
}

.need-pause-body {
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
}

.need-pause-body .eyebrow,
.need-pause-body h2,
.need-pause-body .lede-soft {
  align-self: stretch;
  text-align: left;
}

.need-pause-body .practice-ring {
  margin: 12px auto 8px !important;
}

/* —— After pause: Your Journey noticing —— */
.need-journey {
  background: #ffffff !important;
  padding: 48px 0 0 !important;
}

.need-journey-body {
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  flex: 1 1 auto;
}

.journey-notice-screen {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.journey-notice-top {
  flex: 0 0 auto;
  padding: 8px 0 0;
  background: #fff;
}

.journey-notice-title {
  margin: 10px 20px 28px !important;
  text-align: center;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.28rem !important;
  font-weight: 600 !important;
  color: #102840 !important;
  letter-spacing: -0.02em;
}

.journey-progress-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px 36px;
}

.journey-ring-svg {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
  display: block;
}

.journey-ring-track,
.journey-ring-value {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.journey-ring-track {
  stroke: #e8edf2;
}

.journey-ring-value {
  stroke: #4f82b8;
}

.journey-progress-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.journey-progress-copy strong {
  font-size: 1.12rem;
  font-weight: 650;
  color: #102840;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.journey-progress-copy span {
  font-size: 0.9rem;
  color: #8b97a4;
  line-height: 1.2;
}

.journey-notice-panel {
  margin-top: auto;
  background: #d7e3ee;
  border-radius: 32px 32px 0 0;
  padding: 28px 24px calc(92px + env(safe-area-inset-bottom, 0px));
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.journey-notice-panel h2 {
  margin: 0 0 20px !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 650 !important;
  color: #102840 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
}

.journey-notice-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 32px !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  color: #2f455a !important;
}

.journey-info {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.6px solid #5d758c;
  color: #5d758c;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.journey-explore {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  color: #102840;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.journey-explore:hover,
.journey-explore:focus-visible {
  color: #1a3550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— After journey: Your Growth —— */
.need-growth {
  background: #ffffff !important;
  padding: 48px 0 0 !important;
}

.need-growth-body {
  overflow: auto !important;
  padding: 0 24px 4px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  flex: 1 1 auto;
}

.growth-screen {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 8px;
}

.growth-title {
  margin: 10px 0 28px !important;
  text-align: center;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 650 !important;
  color: #2c3340 !important;
  letter-spacing: -0.02em;
}

.growth-chart {
  width: 100%;
  height: 148px;
  margin: 0 0 36px;
}

.growth-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.growth-grid {
  stroke: #e6eaef;
  stroke-width: 1;
}

.growth-line {
  stroke: #3f8f66;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.growth-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #3a4450;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.growth-check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3f8f66;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.has-tabs > .screen-footer.need-growth-footer {
  padding: 8px 24px 86px !important;
  background: #fff;
  flex: 0 0 auto;
  position: relative;
  z-index: 13;
}

.need-growth-footer .btn {
  min-height: 48px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* —— Before home: A Lifelong Companion —— */
.need-lifelong {
  background: linear-gradient(180deg, #eef2f6 0%, #f7f5f1 55%, #fbfaf8 100%) !important;
  padding: 48px 0 0 !important;
}

.need-lifelong-body {
  overflow: hidden !important;
  padding: 0 28px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  flex: 1 1 auto;
}

.lifelong-screen {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 12px;
}

.lifelong-title {
  margin: 0 0 36px !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 650 !important;
  color: #102840 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

.lifelong-mark {
  margin: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifelong-infinity {
  display: block;
  width: min(200px, 72vw);
  height: auto;
}

.lifelong-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 16rem;
}

.lifelong-lines p {
  margin: 0 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: #102840 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em;
}

.above-tabs {
  padding-bottom: 8px;
}

/* —— Website app menu dashboard (standalone page) —— */
body.page-menu {
  background: #e8edf2;
  min-height: 100vh;
}

body.page-menu .ambient {
  display: none;
}

.menu-topnav .btn.ghost {
  text-decoration: none;
}

.menu-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}

.menu-page-intro {
  margin-bottom: 22px;
}

.menu-page-intro .eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6b7a;
}

.menu-page-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #102840;
  letter-spacing: -0.03em;
}

.menu-page-lede {
  margin: 0;
  max-width: 40rem;
  color: #5c6b7a;
  font-size: 1.02rem;
  line-height: 1.45;
}

.site-menu-band {
  background: #e8edf2;
}

.page-menu .site-menu {
  min-height: calc(100vh - 220px);
}

.menu-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-workspace {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(16, 40, 64, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
}

.menu-workspace-head h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: #102840;
  letter-spacing: -0.02em;
}

.menu-workspace-note {
  margin: 0;
  color: #5c6b7a;
  font-size: 0.9rem;
  line-height: 1.4;
}

.menu-workspace-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  align-items: start;
}

.menu-dashboard-stage {
  position: relative;
  min-height: 640px;
  background: #fff;
  border: 1px solid rgba(16, 40, 64, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 40, 64, 0.06);
  overflow: hidden;
}

.page-menu #phoneShell {
  position: absolute;
  inset: 0;
}

.page-menu .menu-dashboard-app,
.page-menu #screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #f7f8fa;
}

.page-menu #screen .screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 18px;
  background: #f7f8fa;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-menu #screen .screen.screen-arrive,
.page-menu #screen .screen.screen-first-practice {
  padding: 20px;
}

.page-menu #screen .ios-island,
.page-menu #screen .phone-home,
.page-menu #screen .ios-status {
  display: none !important;
}

.page-menu #screen .screen-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.page-menu #screen .has-tabs {
  padding-bottom: 0;
}

.page-menu #screen .tabbar,
.page-menu #screen .tabbar-glass {
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.page-menu #screen .has-tabs > .screen-footer {
  padding-bottom: 84px !important;
}

.page-menu #screen .journey-arrows {
  margin: 0 0 10px;
}

.page-menu #screen h1 {
  font-size: 1.45rem !important;
}

.page-menu #screen h2 {
  font-size: 1.2rem !important;
}

.page-menu #screen p,
.page-menu #screen .lede-soft {
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

.page-menu #screen .btn {
  font-size: 0.95rem !important;
  padding: 12px 16px !important;
}

.menu-feature-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 40, 64, 0.1);
  background: #f8fafc;
  font: inherit;
  color: #102840;
}

.menu-toggle strong {
  display: block;
  font-size: 0.92rem;
}

.menu-toggle span {
  display: block;
  font-size: 0.78rem;
  color: #5c6b7a;
  margin-top: 2px;
}

.menu-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #c89840;
}

.menu-context h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #102840;
}

.menu-context-list {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: #445260;
  font-size: 0.9rem;
  line-height: 1.45;
}

.menu-context-list li {
  margin-bottom: 6px;
}

.menu-static-panel {
  min-height: 280px;
}

.menu-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  color: #102840;
  font-size: 0.9rem;
  font-weight: 600;
}

.menu-field input,
.menu-field select {
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 40, 64, 0.16);
  background: #fff;
  color: #102840;
}

.menu-profile-meta {
  color: #5c6b7a;
  font-size: 0.88rem;
  margin: 0 0 16px;
}

.menu-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .menu-workspace-body {
    grid-template-columns: 1fr;
  }
  .menu-context {
    width: 100%;
  }
  .menu-dashboard-stage {
    min-height: 560px;
  }
}

body.menu-large-type .menu-page {
  font-size: 1.06rem;
}

body.menu-reduce-motion * {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

body.menu-high-contrast {
  background: #d7dde4;
}

body.menu-high-contrast .site-menu-panel,
body.menu-high-contrast .menu-dashboard-stage,
body.menu-high-contrast .menu-workspace-head {
  border-color: #102840;
}

.site-menu {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 8px;
}

.site-menu-side {
  border-radius: 18px;
  padding: 18px 14px 16px;
  color: #f4f7fa;
  background: linear-gradient(165deg, #4a5560 0%, #343e48 55%, #2c353e 100%);
  box-shadow: 0 16px 40px rgba(16, 40, 64, 0.12);
}

.site-menu-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 6px;
}

.site-menu-word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.app-menu-avatar,
.site-menu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.site-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-menu-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
}

.site-menu-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-menu-nav-item.active {
  background: rgba(255, 255, 255, 0.94);
  color: #2f3a44;
}

.site-menu-nav-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.site-menu-nav-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.site-menu-nav-copy strong {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.15;
}

.site-menu-nav-copy small {
  font-size: 0.72rem;
  opacity: 0.72;
  line-height: 1.25;
}

.site-menu-nav-item.active small {
  color: #66727d;
  opacity: 1;
}

.site-menu-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.site-menu-flash {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(200, 152, 64, 0.18);
  color: #102840;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-menu-panel {
  background: #fff;
  border: 1px solid rgba(16, 40, 64, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(16, 40, 64, 0.06);
}

.site-menu-panel h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: #102840;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-menu-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-menu-module {
  border: 1px solid rgba(16, 40, 64, 0.08);
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: inherit;
  color: #102840;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-menu-module:hover {
  border-color: rgba(200, 152, 64, 0.55);
  transform: translateY(-1px);
}

.site-menu-module-icon {
  color: #3d6f9c;
}

.site-menu-module strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.site-menu-module span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #5c6b7a;
}

.site-menu-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
}

.site-menu-feature {
  border: 0;
  background: transparent;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: #102840;
}

.site-menu-feature:hover .site-menu-feature-icon {
  background: rgba(200, 152, 64, 0.18);
}

.site-menu-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 111, 156, 0.1);
  color: #3d6f9c;
  display: grid;
  place-items: center;
}

.site-menu-feature span {
  font-size: 0.72rem;
  line-height: 1.25;
  color: #445260;
  max-width: 11rem;
}

@media (max-width: 960px) {
  .site-menu {
    grid-template-columns: 1fr;
  }
  .site-menu-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-menu-modules,
  .site-menu-features {
    grid-template-columns: 1fr;
  }
  .site-menu-feature {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
  }
  .site-menu-feature span {
    max-width: none;
  }
}

/* In-phone map sheet */
.inphone-map {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.97);
  display: flex;
  flex-direction: column;
  padding: 10px 12px 14px;
}

.inphone-map h2 {
  font-size: 1.05rem !important;
  margin: 4px 0 4px !important;
}

.inphone-map .map-lede {
  font-size: 0.7rem !important;
  color: var(--muted);
  margin: 0 0 10px !important;
}

.inphone-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: auto;
}

.inphone-map-list button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inphone-map-list button.done {
  border-color: rgba(200, 152, 64, 0.45);
  background: rgba(200, 152, 64, 0.08);
}

.inphone-map-list button.current {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.inphone-map-list button:disabled {
  opacity: 0.45;
  cursor: default;
}

.inphone-map-list .map-step {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.inphone-map-list .map-here {
  font-size: 0.62rem;
  color: var(--gold-soft);
}

.inphone-map-list button.current .map-here {
  color: var(--gold-soft);
}

.status-map-btn {
  border: 0;
  background: rgba(16, 40, 64, 0.08);
  color: var(--navy);
  border-radius: 999px;
  padding: 3px 8px;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.you-are-here {
  display: block;
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.band {
  padding: 64px clamp(16px, 4vw, 40px);
  max-width: 1080px;
  margin: 0 auto;
}

.band h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  font-weight: 600;
}

.band-lede {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  max-width: 36rem;
}

.path-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.path-row .chip.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.integrity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 40rem;
}

.integrity-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy-soft);
}

/* ——— Product map sections (v15) ——— */

.dim-label,
.support-label {
  margin: 28px 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.map-figure {
  margin: 0;
  max-width: 720px;
}

.map-figure a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 40, 64, 0.08);
  transition: transform 0.3s var(--ease);
}

.map-figure a:hover { transform: translateY(-2px); }

.map-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.map-figure figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-figure figcaption a {
  color: var(--navy);
  border: 0;
  box-shadow: none;
  display: inline;
  background: none;
}

.journey-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.journey-card {
  flex: 0 0 min(240px, 78vw);
  scroll-snap-align: start;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  padding: 18px 16px;
  cursor: pointer;
  font: inherit;
  color: var(--navy);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.journey-card:hover {
  border-color: rgba(200, 152, 64, 0.55);
  box-shadow: 0 10px 28px rgba(16, 40, 64, 0.08);
}

.journey-stage {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.journey-quote {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.journey-desc {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}

.module {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.module h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
}

.module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.module-later {
  opacity: 0.55;
}

.module-later h3::after {
  content: " · Phase 2";
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
}

.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: var(--navy);
}

.support-chip.later {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
}

.support-chip.later em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.support-chip.selected,
button.support-chip.selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  cursor: pointer;
}

button.support-chip {
  font: inherit;
  cursor: pointer;
}

.knowledge-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 40rem;
  margin-bottom: 8px;
}

.k-layer {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.k-layer strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.k-layer span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.k-practices { border-left: 3px solid var(--gold); }
.k-teachings { border-left: 3px solid rgba(200, 152, 64, 0.75); margin-left: 8px; }
.k-interpret { border-left: 3px solid rgba(16, 40, 64, 0.35); margin-left: 16px; }
.k-meta { border-left: 3px solid rgba(16, 40, 64, 0.5); margin-left: 24px; }
.k-dev {
  border-left: 3px solid var(--navy);
  margin-left: 32px;
  background: rgba(16, 40, 64, 0.03);
}

.return-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 20px;
}

.return-grid article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.return-grid h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 600;
}

.return-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.money-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.money-steps article {
  padding: 4px 0 0;
}

.money-step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.money-steps h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  color: var(--gold);
  font-weight: 600;
}

.money-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ai-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px 8px;
  margin-bottom: 14px;
}

.ai-step {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ai-step strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.ai-step span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ai-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 1.1rem;
  padding: 0 2px;
}

.privacy-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-strip strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1.1;
}

.market-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.market-note { margin-bottom: 0; }

.impact-arc {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy);
  line-height: 1.35;
  max-width: 36rem;
}

.mission-line {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px 48px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: left;
}

.footer-copy p { margin: 0 0 4px; }
.footer-sub { font-size: 0.78rem; opacity: 0.85; }
.footer-mission {
  margin-top: 8px !important;
  color: var(--teal);
  font-family: var(--serif);
  font-weight: 500;
}

@media (max-width: 900px) {
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .return-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .money-steps { grid-template-columns: 1fr; }
  .market-strip { grid-template-columns: 1fr; gap: 18px; }
  .ai-arrow { display: none; }
}

@media (max-width: 720px) {
  .module-grid { grid-template-columns: 1fr; }
  .k-teachings, .k-interpret, .k-meta, .k-dev { margin-left: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Today calm home (post first practice) —— */
.today-home-calm {
  background: #fbfbfc !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.today-calm-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden !important;
  min-height: 0;
  flex: 1 1 auto;
  padding-bottom: 76px !important;
  gap: 18px;
}

.today-mid-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.today-hello {
  margin: 0 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #102840 !important;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  column-gap: 0.28em;
  row-gap: 0.06em;
  width: 100%;
}

.today-hello-greet,
.today-hello-name {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #102840;
}

.today-intention-block {
  text-align: center;
  margin: 0;
}

.today-intention-label {
  margin: 0 0 6px !important;
  font-size: 0.78rem !important;
  color: #8a96a3 !important;
}

.today-intention-word {
  margin: 0 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: #102840 !important;
}

.today-quote-stage {
  position: relative;
  flex: 0 0 auto;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}

.today-hills {
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background:
    radial-gradient(120% 90% at 18% 100%, rgba(180, 198, 214, 0.35), transparent 58%),
    radial-gradient(100% 80% at 78% 100%, rgba(196, 208, 220, 0.42), transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(210, 220, 230, 0.25) 45%, rgba(190, 204, 218, 0.35) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
  pointer-events: none;
}

.today-hills::before,
.today-hills::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 78%;
  background: rgba(176, 194, 210, 0.28);
  clip-path: polygon(0 68%, 12% 52%, 28% 62%, 44% 40%, 62% 58%, 78% 36%, 100% 54%, 100% 100%, 0 100%);
}

.today-hills::after {
  height: 62%;
  background: rgba(162, 182, 200, 0.22);
  clip-path: polygon(0 55%, 18% 38%, 36% 50%, 54% 28%, 72% 46%, 88% 30%, 100% 42%, 100% 100%, 0 100%);
}

.today-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 10px;
  text-align: center;
  max-width: 17rem;
}

.today-quote p {
  margin: 0 0 10px !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.2rem !important;
  font-style: italic;
  line-height: 1.35 !important;
  color: #102840 !important;
}

.today-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #7a8794;
}

.today-practice-cta {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  background: #102840 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 18px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  box-shadow: 0 10px 24px rgba(16, 40, 64, 0.22);
}

.today-practice-cta:hover,
.today-practice-cta:focus-visible {
  background: #1a3550 !important;
}

.field-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 6px;
}

.text-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(16, 40, 64, 0.16);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
}

.text-input:focus {
  border-color: rgba(200, 152, 64, 0.75);
  box-shadow: 0 0 0 3px rgba(200, 152, 64, 0.18);
}

/* —— Today: Daily Inner State Loop (v17 magnets) —— */
.today-body {
  position: relative;
}

.today-noscroll .today-fixed,
.today-fixed {
  overflow: hidden !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
}

.today-fixed .today-head {
  flex: 0 0 auto;
}

.today-fixed .eyebrow {
  margin: 0 0 1px !important;
}

.today-fixed .today-greet {
  font-size: 1.08rem !important;
  margin: 0 !important;
  line-height: 1.15 !important;
}

.today-fixed .today-path {
  margin: 1px 0 0 !important;
  font-size: 0.62rem !important;
}

.today-fixed .magnet-notice,
.today-fixed .magnet-invite,
.today-fixed .magnet-experiment,
.today-fixed .magnet-pulse {
  margin: 0 !important;
  flex: 0 0 auto;
}

.today-fixed .magnet-soft {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.today-fixed .magnet-soft p,
.today-fixed .magnet-experiment p {
  font-size: 0.64rem !important;
  line-height: 1.28 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.today-fixed .magnet-label,
.today-fixed .dim-label {
  margin: 0 0 2px !important;
  font-size: 0.52rem !important;
}

.today-fixed .magnet-invite {
  padding: 8px 10px 8px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(16, 40, 64, 0.18) !important;
}

.today-fixed .magnet-invite .invite-title {
  font-size: 0.88rem !important;
  margin: 1px 0 2px !important;
  line-height: 1.2 !important;
  display: block;
}

.today-fixed .magnet-invite .magnet-meta {
  font-size: 0.58rem !important;
  margin: 0 0 6px !important;
  display: block;
}

.today-fixed .magnet-invite .btn,
.today-fixed .magnet-experiment .btn {
  margin-top: 0 !important;
  padding: 7px 10px !important;
  font-size: 0.72rem !important;
}

.today-fixed .magnet-experiment {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.today-fixed .chip-row.tight {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 0 !important;
}

.today-fixed .chip {
  padding: 6px 4px !important;
  font-size: 0.6rem !important;
  text-align: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.today-fixed .magnet-pulse {
  margin-top: auto !important;
  padding: 0 !important;
  padding-bottom: 2px !important;
}

.today-atmosphere {
  pointer-events: none;
  position: absolute;
  inset: -8px -12px auto;
  height: 140px;
  z-index: 0;
  overflow: hidden;
}

.today-glow {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 152, 64, 0.28), transparent 68%);
  animation: todayPulse 5.5s ease-in-out infinite;
}

.today-atmosphere[data-part="evening"] .today-glow {
  background: radial-gradient(circle, rgba(16, 40, 64, 0.18), transparent 68%);
}

@keyframes todayPulse {
  0%, 100% { transform: translateX(-50%) scale(0.92); opacity: 0.75; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}

.today-kicker,
.today-greet,
.today-path,
.inner-weather,
.magnet-notice,
.magnet-invite,
.magnet-question,
.magnet-experiment,
.magnet-journey-live,
.magnet-breakthrough,
.today-pulse,
.evening-entry {
  position: relative;
  z-index: 1;
}

.today-kicker {
  margin: 2px 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.today-greet {
  margin: 2px 0 2px !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem !important;
}

.today-path {
  margin: 0 0 4px !important;
  font-size: 0.68rem !important;
  color: var(--muted);
}

.inner-weather {
  margin: 0 0 10px !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: var(--navy-soft);
  font-style: italic;
}

.magnet-label {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.magnet-meta {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  margin: 4px 0;
  line-height: 1.3;
}

.magnet-meta.dim {
  opacity: 0.85;
}

.magnet-progress {
  display: block;
  font-size: 0.66rem;
  color: var(--navy-soft);
  margin: 2px 0 6px;
  line-height: 1.3;
}

.magnet-link {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--gold);
}

.magnet-notice,
.magnet-breakthrough {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 10px 11px;
  margin: 0 0 8px;
  cursor: pointer;
  color: inherit;
}

.magnet-notice strong,
.magnet-invite .invite-title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 2px 0 4px;
}

.magnet-breakthrough p,
.magnet-notice p {
  margin: 0 0 6px !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: var(--navy-soft);
}

.magnet-invite {
  margin: 0 0 8px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(145deg, #1a3550 0%, #102840 55%, #0a1520 100%);
  box-shadow: 0 12px 28px rgba(16, 40, 64, 0.28);
}

.magnet-invite .magnet-label {
  color: var(--gold-soft);
}

.magnet-invite .invite-hyp {
  margin: 0 0 6px !important;
  font-size: 0.7rem !important;
  opacity: 0.88;
  line-height: 1.35 !important;
}

.magnet-invite .invite-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.magnet-invite .magnet-meta {
  color: rgba(255, 255, 255, 0.72);
}

.magnet-invite .layer-tag {
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 8px;
}

.magnet-invite .btn {
  margin-top: 4px;
}

.magnet-question,
.magnet-experiment,
.magnet-journey-live {
  margin: 0 0 8px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.magnet-question .question-text {
  margin: 0 0 6px !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem !important;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3 !important;
}

.magnet-experiment p,
.magnet-journey-live p {
  margin: 0 0 6px !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: var(--navy-soft);
}

.magnet-journey-live strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.experiment-status {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2px 0 4px;
}

.magnet-pulse .dim-label {
  margin-bottom: 4px;
}

.today-need-nudge {
  margin-top: 6px;
}

.evening-entry {
  margin: 4px 0 12px;
}

/* Evening return */
.evening-card {
  margin: 0 0 10px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.evening-card p {
  margin: 0 0 6px !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
}

.evening-remind {
  border-left: 3px solid var(--gold);
}

.evening-tomorrow {
  background: linear-gradient(145deg, rgba(16, 40, 64, 0.06), rgba(200, 152, 64, 0.08));
  border-color: rgba(200, 152, 64, 0.35);
}

.tomorrow-line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px !important;
}

/* Mirror · Becoming */
.becoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.becoming-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.becoming-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.becoming-name {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
}

.becoming-edge {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: start;
}

.becoming-note {
  grid-column: 1 / -1;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.3;
}

.pattern-unlock .pattern-counts {
  display: flex;
  gap: 10px;
  margin: 6px 0;
  font-size: 0.66rem;
  color: var(--navy-soft);
}

body.demo-fullscreen .today-greet {
  font-size: clamp(1.5rem, 4.5vw, 1.9rem) !important;
}

body.demo-fullscreen .magnet-invite .invite-title {
  font-size: 1.2rem;
}

body.demo-fullscreen .magnet-question .question-text {
  font-size: 1.1rem !important;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero-brand { align-items: center; }
  .hero-mark { margin: 0 auto; }
  .topnav nav { display: none; }
}

@media (max-width: 420px) {
  :root {
    --phone-w: 300px;
    --phone-h: 610px;
  }
}
