/* ═══════════════════════════════════════════════════════════
   THE WALKS — shared look for The Referral (/r) and The Reach (/c).
   One line per screen, tap to move on, the same Connect and "See it for
   yourself" screens as The Fork. Each walk adds its own styles on top.
   (The Fork keeps its own copy of these rules in fork/experience.css.)
   On a computer, /pitch-shared/desktop.css lays all three walks out wide.
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0a0912;
  --ink-2: #14121d;
  --card: rgba(255, 255, 255, 0.05);
  --card-line: rgba(255, 248, 239, 0.12);
  --cream: #fff8ef;
  --muted: rgba(255, 248, 239, 0.62);
  --faint: rgba(255, 248, 239, 0.42);
  /* The accent. The Referral keeps orange to rose; The Reach overrides these
     with its own purple in checkin/experience.css. */
  --accent: #f97316;
  --accent-rgb: 249, 115, 22;
  --accent2: #fb7185;
  --accent2-rgb: 251, 113, 133;
  --accent-ink: #fed7aa;
  --accent-deep: #c2410c;
  --accent-tint: #fff7ed;
  --accent-tint-line: #fdba74;
  --warm: #fdba74;
  --warm-rgb: 253, 186, 116;
  --rose: #fb7185;
  --orange: var(--accent);
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent2) 100%);
  --cool: #94a3b8;
  --cool-line: #7c8aa0;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Outfit", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 20px;
}

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

html { background: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-video { overflow: hidden; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 10px; }
/* Headings take focus on each screen change for screen readers; no ring. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
[hidden] { display: none !important; }

/* ── Backdrop: neutral, cool for the usual way, warm for the other ── */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bd { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.bd-neutral {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(var(--accent2-rgb), 0.16), transparent 70%),
    radial-gradient(60% 40% at 100% 100%, rgba(var(--accent-rgb), 0.1), transparent 70%);
}
.bd-without {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(100, 116, 139, 0.22), transparent 70%),
    linear-gradient(180deg, #0b0d14, #08080d);
}
.bd-with {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(var(--accent-rgb), 0.2), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(var(--accent2-rgb), 0.14), transparent 70%);
}
body:not([data-mode]) .bd-neutral,
body[data-mode="neutral"] .bd-neutral,
body[data-mode="without"] .bd-without,
body[data-mode="with"] .bd-with { opacity: 1; }

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(var(--safe-top) + 8px) 10px 8px;
  background: linear-gradient(180deg, rgba(10, 9, 18, 0.92) 60%, rgba(10, 9, 18, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.topbar.is-on { opacity: 1; pointer-events: auto; }
/* On the gate the bar is hidden, so it should not take up space either. */
body[data-screen="gate"] .topbar, body:not([data-screen]) .topbar { position: absolute; left: 0; right: 0; }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.icon-btn:active { background: var(--card); color: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }

.progress {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 248, 239, 0.1);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.progress.is-on { opacity: 1; }
.progress span {
  display: block; height: 100%; width: 0;
  background: var(--grad);
  border-radius: 4px;
  transition: width 0.5s var(--ease);
}

/* ── Screens ─────────────────────────────────────────── */
#stage { position: relative; z-index: 1; }

.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 8px var(--pad) calc(var(--safe-bot) + 20px);
  min-height: calc(100svh - 60px - var(--safe-top));
}
.screen.is-active { display: flex; animation: screenIn 0.45s var(--ease) both; }
#scr-gate { min-height: 100svh; padding-top: calc(var(--safe-top) + 24px); justify-content: center; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

#scr-story { cursor: pointer; user-select: none; -webkit-user-select: none; }
#scr-story.is-enter .sc { animation: screenIn 0.45s var(--ease) both; }

.foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Type ────────────────────────────────────────────── */
.eyebrow, .when {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 13vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 9vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 12px 0 22px;
}

.big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 11vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.big-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(29px, 8.2vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.line {
  font-size: 20px;
  line-height: 1.4;
  color: var(--muted);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 32px -12px rgba(var(--accent-rgb), 0.7);
}
.btn-secondary {
  background: var(--cream);
  color: #1c1723;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-line);
  color: var(--muted);
  font-weight: 500;
}
.btn-primary:active, .btn-secondary:active, .btn-ghost:active { transform: scale(0.98); }

/* A slow breath, not a flash: the glow swells and settles every 2.6s once
   the screen has had time to be read. */
.btn-primary.is-pulse { animation: breathe 2.6s ease-in-out infinite; }
#btn-begin.is-pulse { animation-delay: 1.8s; }
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 32px -12px rgba(var(--accent-rgb), 0.7), 0 0 0 0 rgba(var(--accent2-rgb), 0);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 16px 40px -10px rgba(var(--accent-rgb), 0.95), 0 0 0 9px rgba(var(--accent2-rgb), 0.16);
  }
}
.btn-secondary:disabled { opacity: 0.7; }
.btn-icon svg { width: 22px; height: 22px; flex: none; }

.btn-link {
  padding: 10px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 239, 0.25);
  text-underline-offset: 4px;
}

.btn-text {
  display: inline;
  padding: 6px 2px;
  font-size: 15px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(var(--warm-rgb), 0.5);
  text-underline-offset: 4px;
}

#scr-gate .foot { margin-top: 40px; }

/* ── Story screens ───────────────────────────────────── */
.sc { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 2vh 0 4vh; }

.tap-hint {
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}
.tap-hint + .foot { margin-top: 0; padding-top: 12px; }

.rv { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* A path beat */
.path-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.path-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
}
.is-without .path-tag { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.is-with .path-tag { background: rgba(var(--accent-rgb), 0.16); color: var(--accent-ink); border: 1px solid rgba(var(--accent-rgb), 0.45); }
.sc-path .when { color: var(--muted); }
.sc-path.is-without .big-line { color: #e2e8f0; }
.path-tag.is-mine { background: rgba(var(--accent-rgb), 0.16); color: var(--accent-ink); border: 1px solid rgba(var(--accent-rgb), 0.45); }

.src {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--faint);
}
.src span {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 248, 239, 0.18);
}

.feat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.06);
  border: 1px solid rgba(var(--warm-rgb), 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}
.feat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8); }

.voice {
  padding: 22px 20px 20px;
  border-radius: 22px;
  background: #fff8ef;
  color: #1c1723;
  box-shadow: 0 24px 50px -24px rgba(var(--accent-rgb), 0.55);
}
.voice-kind {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.voice .big-line { font-size: clamp(27px, 7.6vw, 34px); }
.voice figcaption { margin-top: 12px; font-size: 14px; color: #57534e; }

/* Rewind */
.rewind-icon {
  width: 64px; height: 64px;
  margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--warm);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}
.rewind-icon svg { width: 30px; height: 30px; animation: spinBack 0.9s var(--ease) both; }
@keyframes spinBack { from { transform: rotate(300deg); } to { transform: rotate(0); } }
.sc-rewind .line { margin-top: 16px; }
.line-warm { color: var(--warm); font-weight: 500; }

/* Payoff */
.sc-payoff .eyebrow { margin-bottom: 10px; }
.lesson {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.stat {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-line);
  display: grid;
  gap: 2px;
}
.stat b { font-family: var(--font-display); font-weight: 700; font-size: 30px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted); }
.stat small { font-size: 12px; color: var(--faint); }

/* ── The product behind the story ─────────────────────
   A light, app-like card on the dark page, so it reads as "the real
   screen" at a glance. Sizes are the product's own: small and dense. */
.title-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 6px 0 16px;
}
.mock {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 30px 60px -28px rgba(var(--accent-rgb), 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.mk-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  color: #64748b;
}
.mk-chrome b { color: #0f172a; font-weight: 600; }
.mk-chrome span:last-child { margin-left: auto; }
.mk-mark { width: 14px; height: 14px; border-radius: 4px; background: var(--grad); }
.mk-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.mk-head b { display: block; font-size: 15px; font-weight: 700; }
.mk-head span { font-size: 12px; color: #64748b; }
.mk-chip {
  flex: none;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  white-space: nowrap;
}
.mk-chip.is-ok { background: #dcfce7; color: #166534; }
.mk-label {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.mk-label.is-accent { color: #4f46e5; }
.mk-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.mk-dark { background: #0f172a; color: #fff; border-radius: 12px; padding: 12px; }
.mk-dark .mk-label { color: #94a3b8; }
.mk-lead { font-size: 14px; font-weight: 500; }
.mk-dark dl { display: grid; gap: 2px; }
.mk-dark dt { font-size: 11px; color: #94a3b8; }
.mk-dark dd { margin: 0 0 4px; font-size: 13px; }
.mk-quote { font-size: 14px; font-weight: 600; color: #1e1b4b; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mk-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}
.mk-action {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  padding: 7px 12px;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.mk-callout {
  display: inline-block;
  margin: 8px 0 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.mk-focus {
  padding: 6px 8px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--accent);
  animation: focusRing 2.4s ease-in-out infinite;
}
@keyframes focusRing { 50% { box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.35); } }

.mk-note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--faint); }

/* ── Forms, care and mock-up extras shared by the walks ── */

/* ── The student's answers ─────────────────────────────── */
.sc-form { justify-content: flex-start; padding-top: 4vh; }
.sc-form .big-line { margin-bottom: 18px; }
.sc-form .big-line label { cursor: text; }
.helper { margin: -8px 0 16px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.feelings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feeling {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 26px 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: var(--card);
  color: var(--cream);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s;
}
.feeling-face { flex: none; font-size: 22px; line-height: 1; }
.feeling-label { flex: 1; min-width: 0; font-size: clamp(14.5px, 4vw, 16px); line-height: 1.15; }
/* The check sits in the corner so a long feeling still fits on one line. */
.feeling-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 248, 239, 0.25);
  font-size: 11px;
  color: transparent;
}
.feeling:active { transform: scale(0.97); }
.feeling.is-on {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 22%, transparent);
  box-shadow: 0 0 0 1px var(--c), 0 10px 24px -12px var(--c);
}
.feeling.is-on .feeling-check { background: var(--c); border-color: var(--c); color: #0a0912; font-weight: 700; }
.picked { margin-top: 14px; min-height: 22px; font-size: 16px; color: var(--muted); }
.picked b { color: var(--cream); font-weight: 600; }

.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest-chip {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px dashed rgba(var(--warm-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-ink);
  font-size: 14.5px;
  line-height: 1.25;
  text-align: left;
  transition: background 0.2s, opacity 0.2s;
}
.suggest-chip::before { content: "+ "; color: var(--warm); font-weight: 700; }
.suggest-chip:active { background: rgba(var(--accent-rgb), 0.2); }
.suggest-chip.is-used { opacity: 0.4; }

.write {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--cream);
  font: inherit;
  font-size: 18px;
  line-height: 1.4;
  resize: none;
}
.write::placeholder { color: var(--faint); }
.write:focus { outline: none; border-color: rgba(var(--warm-rgb), 0.7); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18); }
.write-name { margin-top: 10px; height: 54px; padding: 0 16px; }
.count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.count + .suggest { margin-top: 4px; }

.btn-primary:disabled {
  opacity: 0.45;
  box-shadow: none;
  animation: none;
  cursor: default;
}

/* ── The care message ──────────────────────────────────── */
.care {
  padding: 26px 22px;
  border-radius: 24px;
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.4);
}
.care.is-harm { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.5); }
.care-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: rgba(251, 113, 133, 0.2); color: #fda4af; }
.care.is-harm .care-icon { background: rgba(248, 113, 113, 0.2); color: #fca5a5; }
.care-icon svg { width: 26px; height: 26px; }
.care .eyebrow { color: #fda4af; }
.care-message { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 6.8vw, 30px); line-height: 1.22; }
.care-assure { margin-top: 14px; font-size: 16px; color: var(--muted); }

/* ── While the brief builds ────────────────────────────── */
.building { display: flex; align-items: center; gap: 12px; padding: 22px 4px; font-size: 18px; color: var(--muted); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* ── Mock-up extras ────────────────────────────────────── */
.mock.is-urgent { box-shadow: 0 30px 60px -28px rgba(220, 38, 38, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mk-chip.is-urgent { background: #fee2e2; color: #991b1b; }
.mk-alert { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 12px; }
.mk-alert b { font-size: 13px; }
.mk-say { font-size: 13.5px; color: #1e1b4b; }
.mk-small { font-size: 12px; color: #475569; }
.mk-quote.mk-focus { display: block; }
.mk-banner {
  padding: 8px 10px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.mk-banner.is-urgent { background: #fee2e2; color: #991b1b; }

/* ── The closing loop ──────────────────────────────────── */
.loop { list-style: none; position: relative; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.loop::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent2)); opacity: 0.6; }
.loop li { position: relative; display: flex; align-items: baseline; gap: 12px; padding-left: 32px; font-size: 18px; }
.loop-dot { position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7); }
.loop b { font-weight: 600; min-width: 92px; }
.loop span { color: var(--muted); font-size: 16px; }
.sc-payoff .line { margin-top: 24px; }


/* ── Connect ─────────────────────────────────────────── */
.gerald { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.gerald img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: var(--grad) border-box;
  box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), 0.7);
}
.g-name { font-size: 19px; font-weight: 600; }
.g-role { font-size: 15px; color: var(--muted); }
#scr-connect .title { margin-top: 22px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 14px; }
.step-n {
  flex: none;
  width: 30px; height: 30px;
  margin-top: 1px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  background: rgba(var(--accent-rgb), 0.16);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: var(--accent-ink);
}
.step-body { flex: 1; min-width: 0; }
.step-title { font-size: 19px; font-weight: 600; margin-bottom: 12px; }

/* Or reach him directly: tap to email or call. */
.direct { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.direct li { display: flex; align-items: center; gap: 10px; }
.direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: 16px; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.direct svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.direct span { font-size: 13px; color: var(--faint); }
.hint { margin-top: 8px; font-size: 13px; color: var(--faint); text-align: center; }

.lead-form { display: flex; flex-direction: column; gap: 10px; }
.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--card-line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--cream);
  font: inherit;
  font-size: 17px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { border-color: rgba(var(--warm-rgb), 0.7); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18); }
.field.is-invalid input { border-color: #f87171; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 2px 0 4px; }
.chip {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--card-line);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.chip[aria-pressed="true"] { border-color: rgba(var(--accent-rgb), 0.7); background: rgba(var(--accent-rgb), 0.18); color: #fff; }

.form-error { font-size: 14px; color: #fca5a5; }

.lead-done {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.lead-done svg { width: 26px; height: 26px; flex: none; color: #34d399; }
.lead-done p { font-size: 16px; color: var(--muted); }
.lead-done b { color: var(--cream); }

/* ── What's next ─────────────────────────────────────── */
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--card-line);
  text-align: left;
  text-decoration: none;
  transition: transform 0.15s var(--ease);
}
.tile:active { transform: scale(0.98); }
.tile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tile-text b { font-size: 19px; font-weight: 600; }
.tile-text span { font-size: 15px; color: var(--muted); }
.tile-icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--warm);
}
.tile-icon svg { width: 24px; height: 24px; }
.tile-go { flex: none; color: var(--faint); font-size: 20px; }

.tile-hero {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
}
.tile-hero .tile-text { padding: 14px 16px 16px; }
.tile-hero .tile-text b { font-size: 21px; }
.tile-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #1c1723; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 66px; height: 66px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.play svg { width: 28px; height: 28px; margin-left: 4px; }

.more { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.more-row { font-size: 15px; color: var(--faint); text-align: center; line-height: 2; }
.more-row > span:first-child:not([aria-hidden]) { margin-right: 4px; }

/* ── Video ───────────────────────────────────────────── */
.video-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: calc(var(--safe-top) + 60px) 0 calc(var(--safe-bot) + 20px);
  background: rgba(5, 4, 9, 0.94);
}
.video-sheet[hidden] { display: none; }
.video-sheet video { width: 100%; max-width: 960px; max-height: 100%; background: #000; }
.video-close {
  position: absolute;
  top: calc(var(--safe-top) + 10px);
  right: 10px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.video-close svg { width: 24px; height: 24px; }

.noscript { position: relative; z-index: 2; padding: 40px 20px; text-align: center; }

/* ── Short phones ────────────────────────────────────── */
@media (max-height: 700px) {
  .sc { padding: 1vh 0 2vh; }
  .title-sm { font-size: 26px; margin: 0 0 10px; }
  .mk-note { margin-top: 6px; }
  .sc-form { padding-top: 1vh; }
  .feeling { min-height: 48px; }
  .feeling-face { font-size: 19px; }
  .helper { margin: -10px 0 10px; font-size: 15px; }
  .sc-form .big-line { margin-bottom: 14px; }
  .sc-form textarea.write { height: 92px; font-size: 17px; }
  .suggest { gap: 6px; margin-top: 8px; }
  .suggest-chip { padding: 7px 11px; font-size: 13.5px; }
  .loop { margin-top: 18px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
}
