/* ==========================================================================
   Marlow — design tokens
   ========================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f4f7fc;
  --paper-3: #eaf0f9;
  --ink: #08172a;
  --ink-soft: #2a4262;
  --ink-mute: #6a7c93;
  --rule: #dce4ee;
  --rule-soft: #ecf0f6;
  --accent: #1f5fd0;
  --accent-deep: #0f3fa3;
  --accent-soft: #d6e2f5;
  --accent-glow: #e9f0fb;
  --warn: #c2410c;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(8,23,42,0.022) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: 0;
}
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #fff; }
.wrap { position: relative; z-index: 1; }

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

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow { max-width: 760px; }
.container--wide { max-width: 1320px; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ==========================================================================
   Type/atom components
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--accent::before { opacity: 1; }
.eyebrow--muted-dark { color: #7d92ad; }

.mark {
  display: block;
  flex-shrink: 0;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--accent-glow);
}
.stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.stamp--live::before {
  width: 8px;
  height: 8px;
  background: #1aa364;
  box-shadow: 0 0 0 0 rgba(26,163,100, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 13px 20px;
  font-size: 14px;
  transition: transform 140ms ease, box-shadow 200ms ease,
              background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(8,23,42,0.45);
}
.btn--primary:hover {
  border-color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(8,23,42,0.55);
}
.btn--ghost { border-color: transparent; color: var(--ink-soft); }
.btn--ghost:hover { border-color: transparent; }
.btn--inverse {
  background: #fff; color: var(--ink); border-color: #fff;
}
.btn--inverse:hover { border-color: #fff; }
.btn--on-dark {
  background: transparent; color: #dbe5f2; border-color: #2a3f5e;
}
.btn--on-dark:hover { border-color: #dbe5f2; }
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* Card shadow -------------------------------------------------------------- */
.card-shadow {
  box-shadow:
    0 1px 0 rgba(8,23,42,0.02),
    0 1px 2px rgba(8,23,42,0.04),
    0 24px 48px -28px rgba(8,23,42,0.18);
}

/* Reveal-on-scroll --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1),
              transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Live pulse / typing dots ------------------------------------------------- */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 999px;
  background: #1aa364;
  box-shadow: 0 0 0 0 rgba(26,163,100, 0.45);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26,163,100, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(26,163,100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26,163,100, 0); }
}
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--ink-mute);
  animation: blink 1.4s infinite ease-in-out both;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40%           { opacity: 1;    transform: translateY(-2px); }
}

/* Marquee ------------------------------------------------------------------ */
.marquee {
  display: flex;
  gap: 56px;
  animation: marq 60s linear infinite;
  white-space: nowrap;
}
@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--rule-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 14px;
}
.nav__link {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}
.nav__link:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.nav__divider {
  width: 1px;
  height: 18px;
  background: var(--rule);
  margin: 0 12px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(31,95,208,0.10), transparent 60%),
    radial-gradient(700px 420px at 8% 20%, rgba(31,95,208,0.05), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.hero__stamp-row { margin-bottom: 28px; }
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  color: var(--accent);
}
.hero__sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trust-strip {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
}
.trust-strip__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-strip__k {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.trust-strip__v {
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Phone mockup (hero + app section) --------------------------------------- */
.phone-stage {
  position: relative;
  max-width: 380px;
  margin-left: auto;
}
.phone-tag {
  position: absolute;
  top: -8px; right: -8px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  width: 64px; height: 64px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 12px 28px -10px rgba(31,95,208,0.6);
  transform: rotate(8deg);
}
.phone-tag--ink {
  background: var(--ink);
  box-shadow: 0 12px 28px -10px rgba(8,23,42,0.6);
  transform: rotate(-7deg);
}
.phone-frame {
  background: #0c1a2b;
  border-radius: 44px;
  padding: 10px;
  border: 1px solid #15243a;
}
.phone-screen {
  background: var(--paper-2);
  border-radius: 36px;
  overflow: hidden;
  height: 720px;
  display: flex;
  flex-direction: column;
}
.phone-statusbar {
  background: #fff;
  border-bottom: 1px solid var(--rule-soft);
  padding: 14px 22px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-statusbar__time {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}
.phone-statusbar__app {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.phone-contact {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rule-soft);
  background: #fff;
}
.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f5fd0, #6a9beb);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}
.phone-contact__meta { flex: 1; }
.phone-contact__name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}
.phone-contact__status {
  font-family: var(--sans);
  font-size: 11.5px;
  color: #1aa364;
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-contact__status .live-dot { width: 6px; height: 6px; }
.phone-messages {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.phone-day-stamp {
  align-self: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 4px 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
}

/* Bubble */
.bubble-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bubble-row--coach { align-items: flex-start; }
.bubble-row--me { align-items: flex-end; }
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
}
.bubble-row--coach .bubble {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 1px rgba(8,23,42,0.04);
  border-bottom-left-radius: 4px;
}
.bubble-row--me .bubble {
  background: var(--accent);
  color: #f0f5fc;
  box-shadow: 0 4px 14px -4px rgba(31,95,208,0.35);
  border-bottom-right-radius: 4px;
}
.bubble-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  padding: 0 4px;
}

/* ==========================================================================
   Marquee divider
   ========================================================================== */
.marquee-row {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 22px 0;
  overflow: hidden;
  background: var(--paper);
}
.marquee-row .marquee {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.section { padding: 120px 0; }
.section--bordered-top { border-top: 1px solid var(--rule-soft); }

.how-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.section-h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 20px 0 0;
  text-wrap: balance;
}
.section-h2 em {
  color: var(--accent);
  font-style: italic;
}
.section-lead {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.step {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.step:last-child { border-right: none; }
.step__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.step__num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.step__time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.step__title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.step__body {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   Behind the texts
   ========================================================================== */
.behind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.behind-item {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.behind-item:last-child { border-right: none; }
.behind-item__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.behind-item__label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.behind-item__body {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.behind-coda {
  margin-top: 56px;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (max-width: 900px) {
  .behind-grid { grid-template-columns: 1fr 1fr; }
  .behind-item { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .behind-item:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
  .behind-item:nth-last-child(-n+2) { border-bottom: none; }
  .behind-coda { margin-top: 40px; }
}
@media (max-width: 600px) {
  .behind-grid { grid-template-columns: 1fr; }
  .behind-item,
  .behind-item:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid var(--rule-soft);
  }
  .behind-item:last-child { border-bottom: none; }
}

/* ==========================================================================
   Quote
   ========================================================================== */
.pull {
  margin: 0;
}
.pull__text {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.pull__quote {
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.2em;
}
.pull__quote--lead { margin-right: 4px; }
.pull__cap {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
}
.pull__avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.pull__cap-name { color: var(--ink); font-weight: 500; }
.pull__cap-role { margin-left: 8px; color: var(--ink-mute); }

/* ==========================================================================
   What it isn't (dark)
   ========================================================================== */
.what-isnt {
  padding: 120px 0;
  background: var(--ink);
  color: #dbe5f2;
  position: relative;
  overflow: hidden;
}
.what-isnt__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 90% 10%, rgba(31,95,208,0.18), transparent 60%);
}
.what-isnt .section-h2 { color: #f3f7fc; }
.what-isnt .section-h2 em { color: #7aa8ef; }
.what-isnt .section-lead { color: #a8b8cc; }
.what-isnt-rows {
  border-top: 1px solid #1f3050;
}
.isnt-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 40px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #1f3050;
  align-items: baseline;
}
.isnt-row__num {
  font-family: var(--display);
  font-size: 28px;
  color: #7aa8ef;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.isnt-row__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.isnt-row__label--is { color: #7aa8ef; }
.isnt-row__label--isnt { color: #6a7c93; }
.isnt-row__label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}
.isnt-row__is {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #f3f7fc;
}
.isnt-row__isnt {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 300;
  font-style: italic;
  color: #8597ad;
  letter-spacing: -0.01em;
}
.isnt-row__dash {
  text-align: right;
  font-family: var(--mono);
  font-size: 14px;
  color: #3a4d6a;
}

/* ==========================================================================
   Join (pricing + form)
   ========================================================================== */
.join {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.join__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.price__amount {
  font-family: var(--display);
  font-size: 96px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variation-settings: "opsz" 144;
}
.price__per {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price__per-1 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.price__per-2 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-sub {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 480px;
}
.price-list {
  border-top: 1px solid var(--rule);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 14.5px;
}
.price-list__k {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.price-list__check {
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
}
.price-list__v {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

/* Referral card */
.referral-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 40px 40px 36px;
  position: sticky;
  top: 96px;
}
.referral-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.referral-card__spots {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.referral-card h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.referral-card__sub {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  line-height: 1.5;
}
.referral-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.referral-form__submit {
  margin-top: 12px;
  justify-content: center;
  width: 100%;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input {
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.field input.is-mono {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.field input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.field--invalid input {
  border-color: var(--warn);
}
.field__error {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warn);
  display: none;
}
.field--invalid .field__error { display: block; }

.referral-form__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.referral-form__meta-dot {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--rule);
}
.referral-card__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.referral-card__footer a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.referral-card__success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}
.referral-card__success[hidden] { display: none; }
.referral-card__success h3 { margin: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 160ms ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q__label {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.faq-q__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  font-weight: 400;
}
.faq-q__icon {
  font-family: var(--display);
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 240ms ease;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 280ms ease, padding 280ms ease, opacity 240ms ease;
}
.faq-item.is-open .faq-a {
  max-height: 320px;
  opacity: 1;
  padding-bottom: 26px;
}
.faq-a p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 660px;
  padding-left: 42px;
}
.faq-side-lead {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 320px;
}
.faq-side-lead a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 120px 0 40px;
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: #a8b8cc;
}
.footer__close {
  margin-bottom: 80px;
  max-width: 880px;
}
.footer__close-h {
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.035em;
  margin: 0;
  color: #f3f7fc;
  text-wrap: balance;
}
.footer__close-h em {
  color: #7aa8ef;
  font-style: italic;
}
.footer__close-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid #1f3050;
}
.footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f3f7fc;
}
.footer__brand-blurb {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: #8597ad;
  margin: 0;
  max-width: 360px;
}
.footer__col-h {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7aa8ef;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
}
.footer__col-list a {
  color: #a8b8cc;
  text-decoration: none;
  transition: color 160ms ease;
}
.footer__col-list a:hover { color: #f3f7fc; }
.footer__legal {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #1f3050;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a7c93;
}

/* ==========================================================================
   Stub pages (terms, privacy, etc.)
   ========================================================================== */
.nav__back {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}
.nav__back:hover { color: var(--ink); background: var(--paper-2); }

.stub-main {
  padding: 80px 0 160px;
}
.stub-main h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.stub-main p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 20px;
}
.stub-main p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.stub-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

/* Legal-page typography (privacy, terms, etc.) ---------------------------- */
.legal h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 56px 0 16px;
  color: var(--ink);
}
.legal h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 28px 0 8px;
  color: var(--ink);
}
.legal p { margin: 0 0 14px; max-width: 720px; }
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
  max-width: 720px;
}
.legal ul li {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.legal strong { color: var(--ink); font-weight: 600; }
.legal a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.legal hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 56px 0;
}
.legal__caps {
  text-transform: uppercase;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  padding: 16px 20px;
  margin: 0 0 16px;
  max-width: 720px;
}
.legal__toc {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 40px;
  max-width: 720px;
  font-family: var(--sans);
  font-size: 14px;
}
.legal__toc-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.legal__toc ol {
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
  color: var(--ink-soft);
  columns: 2;
  column-gap: 32px;
}
.legal__toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}
.legal__toc a { color: var(--ink-soft); text-decoration: none; }
.legal__toc a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
}
.legal__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.legal__notice {
  background: var(--accent-glow);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0 40px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--accent-deep);
  max-width: 720px;
}
.legal__notice strong { color: var(--accent-deep); }
.legal__placeholder {
  background: #fff7ed;
  color: #9a3412;
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #fed7aa;
}

/* ==========================================================================
   Welcome page (post-payment)
   ========================================================================== */
.welcome {
  background: var(--paper);
}

.welcome-nav {
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
}
.welcome-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
}

.welcome-hero {
  position: relative;
  padding: 88px 0 56px;
  overflow: hidden;
}
.welcome-halo {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 460px at 80% -10%, rgba(31,95,208,0.10), transparent 60%),
    radial-gradient(620px 380px at 8% 30%, rgba(31,95,208,0.05), transparent 70%);
}
.welcome-hero__inner {
  position: relative;
  max-width: 760px;
}
.welcome-h1 {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 24px 0 28px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  text-wrap: balance;
}
.welcome-lead {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 620px;
  text-wrap: pretty;
}
.welcome-lead em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.welcome-lead--small {
  font-size: 17px;
  color: var(--ink-mute);
  margin-bottom: 40px;
}

.coach-intro {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(8,23,42,0.04),
    0 12px 24px -16px rgba(8,23,42,0.12);
}
.coach-intro__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f5fd0, #6a9beb);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  color: #fff;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.coach-intro__meta { display: flex; flex-direction: column; gap: 2px; }
.coach-intro__name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.coach-intro__role {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-mute);
}

.welcome-section {
  padding: 96px 0;
  border-top: 1px solid var(--rule-soft);
}
.welcome-section--shaded { background: var(--paper-2); }
.welcome-section--narrow { padding: 96px 0 48px; }
.welcome-section__head {
  max-width: 720px;
  margin: 0 0 48px;
}
.welcome-section__head .section-h2 { margin-top: 16px; }
.welcome-section__head .section-lead { margin-top: 20px; }

.scheduler-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.scheduler-embed {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--paper-2);
}
.scheduler-fallback {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
}
.scheduler-fallback p { margin: 0 0 8px; }
.scheduler-fallback p:last-child { margin: 0; }
.scheduler-fallback a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.scheduler-fallback__sub {
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* Vertical timeline ------------------------------------------------------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  max-width: 880px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.timeline__head { display: flex; flex-direction: column; gap: 6px; }
.timeline__day {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.timeline__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.timeline__body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}
.timeline__body em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 14px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink-soft);
}

/* In-depth flow list ------------------------------------------------------ */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.flow-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.flow-item__num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.flow-item__title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
  text-wrap: balance;
}
.flow-item__title em {
  font-style: italic;
  color: var(--accent);
}
.flow-item p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 720px;
}
.flow-item p em {
  font-style: italic;
  color: var(--ink);
}
.flow-item p strong { color: var(--ink); }

/* Sign-off ---------------------------------------------------------------- */
.signoff__h {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--ink);
}
.signoff p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 660px;
}
.signoff p em { font-style: italic; color: var(--ink); }
.signoff__sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px !important;
  color: var(--ink) !important;
  margin-top: 28px !important;
}
.signoff__contact {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 8px;
}
.signoff__contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.welcome-footer {
  border-top: 1px solid var(--rule-soft);
  padding: 28px 0;
  background: var(--paper);
}
.welcome-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 900px) {
  .welcome-hero { padding: 56px 0 40px; }
  .welcome-section { padding: 64px 0; }
  .welcome-section--narrow { padding: 64px 0 32px; }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .flow-item__num { font-size: 26px; }
  .flow-item__title { font-size: 20px; }

  .scheduler-embed { height: 620px; }
}
@media (max-width: 600px) {
  .welcome-h1 { margin-top: 16px; }
  .scheduler-embed { height: 560px; }
  .signoff__contact { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  body { font-size: 17px; }

  .container { padding: 0 24px; }

  .nav__inner { height: 64px; }
  .nav__links { gap: 0; font-size: 13px; }
  .nav__link { padding: 6px 10px; }
  .nav__divider { margin: 0 6px; }

  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .phone-stage { margin: 0 auto; }

  .section,
  .what-isnt,
  .join,
  .footer { padding-top: 72px; padding-bottom: 72px; }
  .footer { padding-bottom: 32px; }

  .how-header,
  .join__grid,
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-header { margin-bottom: 40px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .step:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
  .step:nth-last-child(-n+2) { border-bottom: none; }

  .isnt-row {
    grid-template-columns: 40px 1fr;
    gap: 16px 20px;
  }
  .isnt-row__dash { display: none; }
  .isnt-row__num { grid-row: span 2; }

  .marquee-row .marquee { font-size: 22px; }
  .marquee { gap: 36px; }
  .marquee-item { gap: 36px; }

  .price__amount { font-size: 80px; }

  .referral-card { padding: 28px 24px; position: static; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }

  .steps { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(odd) { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .step:last-child { border-bottom: none; }

  .price__amount { font-size: 64px; }
  .footer__cols { grid-template-columns: 1fr; }
}

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