/* Thrivr — marketing site. Colours mirror the mobile app (AetherColors). */

:root {
  --bg: #030508;
  --bg-2: #0b1020;
  --surface: #121829;
  --navy: #0a1428;
  --line: rgba(245, 247, 250, 0.08);
  --line-strong: rgba(245, 247, 250, 0.16);
  --text: #f5f7fa;
  --muted: #b8bec8;
  --faint: #8b95a8;
  --accent: #00d4aa;
  --accent-soft: rgba(0, 212, 170, 0.12);
  --accent-2: #6ee7c8;
  --blue: #3b82f6;
  --gold: #d4af37;
  --cream: #e8d5a3;
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
.hero-copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
h1 em, h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 45%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Line breaks: no hyphenation; sentences and phrases move to a new line whole. */
h1, h2, h3, p, li, blockquote { hyphens: none; -webkit-hyphens: none; }
h1, h2, h3, blockquote { text-wrap: balance; }
p, li { text-wrap: pretty; }
.u { display: inline-block; }
.nb { white-space: nowrap; }
.closing-lines span { display: inline-block; }

/* Gradient italics: room for descenders (g, p, y) so they are not clipped. */
h1 em, h2 em, .quote-band blockquote em {
  padding-bottom: 0.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.split-words em .w { padding-bottom: 0.16em; margin-bottom: -0.16em; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cream);
}
.lede { color: var(--muted); font-size: 1.08rem; max-width: 56ch; margin: 22px 0 0; }
.muted { color: var(--faint); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn-primary {
  background: var(--accent); color: #02140f;
  box-shadow: 0 10px 30px -10px rgba(0, 212, 170, 0.6);
}
.btn-primary:hover { background: #19e0b9; box-shadow: 0 14px 36px -10px rgba(0, 212, 170, 0.75); }
.btn-ghost { background: rgba(245, 247, 250, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-static { cursor: default; pointer-events: none; }
.launch-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(0, 212, 170, 0.45); background: var(--accent-soft); color: var(--text);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
}
.launch-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.launch-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: launchPing 1.8s ease-out infinite; }
@keyframes launchPing { to { transform: scale(3); opacity: 0; } }
.btn.is-off { opacity: 0.55; box-shadow: none; }
.hero-copy .lede { max-width: 52ch; }
.hero-sub { margin: 14px 0 0; max-width: 46ch; color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
.plans-more { margin: 30px 0 0; text-align: center; }
.access.is-off input, .access.is-off select { opacity: 0.5; cursor: not-allowed; }
.access.is-off button { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(3, 5, 8, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; }
.brand-word { font-weight: 500; letter-spacing: 0.42em; font-size: 0.92rem; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 0.92rem; }
.nav a:not(.btn) { color: var(--muted); transition: color 0.2s; position: relative; }
.nav a:not(.btn):hover, .nav a.is-current { color: var(--text); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent);
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 40% at 72% 38%, rgba(0, 212, 170, 0.18), transparent 70%),
    radial-gradient(35% 35% at 20% 10%, rgba(37, 99, 235, 0.16), transparent 70%),
    radial-gradient(30% 30% at 90% 80%, rgba(212, 175, 55, 0.08), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

/* Hero photo: a coach at work on the right, fading into the page behind the copy. */
.hero:has(.hero-photo) { display: flex; flex-direction: column; justify-content: center; min-height: min(94vh, 880px); }
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 45%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(3, 5, 8, 0.92) 24%, rgba(3, 5, 8, 0.55) 44%, rgba(3, 5, 8, 0.08) 64%, rgba(3, 5, 8, 0) 78%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.75) 0%, rgba(3, 5, 8, 0) 18%, rgba(3, 5, 8, 0) 62%, var(--bg) 100%);
}
/* Portrait photo on the right half: black and white at rest, colour returns slowly on hover. */
/* Starts where the text column ends, so the words never sit on the faces. */
.hero-photo-side {
  left: calc(max(24px, (100% - var(--max)) / 2) + 500px); right: 3%; top: 72px; width: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
}
.hero-photo-side img {
  object-position: 30% 4%; transform-origin: 40% 30%;
  filter: grayscale(1) contrast(1.06) brightness(0.84);
  transition: filter 1.6s var(--ease);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}
/* A slow band of light passes across the photo now and then. */
.hero-photo-side::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(110, 231, 200, 0.1) 48%, rgba(232, 213, 163, 0.08) 52%, transparent 65%);
  transform: translateX(-80%); animation: heroSweep 11s ease-in-out infinite 2s;
}
@keyframes heroSweep {
  0%, 15% { transform: translateX(-80%); }
  55%, 100% { transform: translateX(80%); }
}
.hero:hover .hero-photo-side img { filter: grayscale(0.15) contrast(1.04) brightness(0.9); }
.hero-photo-side::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.75) 0%, rgba(3, 5, 8, 0.35) 16%, rgba(3, 5, 8, 0) 34%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.45) 0%, rgba(3, 5, 8, 0) 18%, rgba(3, 5, 8, 0) 66%, var(--bg) 100%),
    radial-gradient(110% 90% at 60% 35%, transparent 60%, rgba(3, 5, 8, 0.35) 100%);
}
.hero:has(.hero-photo) .hero-grid { grid-template-columns: minmax(0, 560px); z-index: 1; }
.hero:has(.hero-photo-side) .hero-copy .lede { max-width: 48ch; }
.hero:has(.hero-photo-side) .hero-copy :is(h1, p, .eyebrow) { text-shadow: 0 2px 22px rgba(3, 5, 8, 0.95), 0 0 2px rgba(3, 5, 8, 0.6); }
.hero:has(.hero-photo-side) .hero-copy h1 em, .hero:has(.hero-photo-side) .hero-copy h1 em * { text-shadow: none; }
.hero:has(.hero-photo-side) .hero-copy h1 em { text-shadow: none; }
.hero:has(.hero-photo) .trust { position: relative; z-index: 1; margin-top: 64px; }

/* App section: copy and early access on the left, the app on the right. */
.app-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.app-left { display: grid; gap: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--faint); font-size: 0.9rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(0, 212, 170, 0); } }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.orb {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(110, 231, 200, 0.5), rgba(0, 212, 170, 0.18) 40%, rgba(37, 99, 235, 0.12) 65%, transparent 72%);
  filter: blur(10px); animation: drift 12s ease-in-out infinite;
}
@keyframes drift { 50% { transform: translate(20px, -24px) scale(1.06); } }

.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a3142, #0d111b 40%, #1a2030);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 36px; padding: 58px 16px 16px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #0b2740 0%, #060a14 55%, #030508 100%);
  display: flex; flex-direction: column; gap: 12px;
}
.ps-top { display: flex; align-items: center; gap: 10px; }
.ps-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.35), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(0, 212, 170, 0.45);
}
.ps-greet { margin: 0; font-weight: 700; font-size: 1rem; }
.ps-day { margin: 0; font-size: 0.72rem; color: var(--faint); }
.ps-card { border-radius: 18px; padding: 14px; background: rgba(18, 24, 41, 0.75); border: 1px solid var(--line); }
.ps-score { display: flex; align-items: center; gap: 14px; }
.ring { width: 88px; height: 88px; transform: rotate(-90deg); }
.ring-track, .ring-fill { fill: none; stroke-width: 9; }
.ring-track { stroke: rgba(245, 247, 250, 0.08); }
.ring-fill {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 314.16; stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 2s var(--ease);
}
.ps-score-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.ps-score-of { color: var(--faint); font-size: 0.85rem; margin-left: 2px; }
.ps-score-text p { margin: 4px 0 0; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.ps-domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps-domains span {
  text-align: center; font-size: 0.68rem; padding: 7px 0; border-radius: 10px;
  background: rgba(245, 247, 250, 0.04); color: var(--faint); border: 1px solid var(--line);
}
.ps-domains span.on { color: var(--text); background: var(--accent-soft); border-color: rgba(0, 212, 170, 0.35); }
.ps-label { margin: 0 0 4px; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); font-weight: 700; }
.ps-coach { background: linear-gradient(160deg, rgba(10, 63, 56, 0.8), rgba(5, 28, 34, 0.9)); }
.ps-coach p:last-child, .ps-live p:last-child { margin: 0; font-size: 0.78rem; color: var(--text); line-height: 1.45; }
.ps-live { display: flex; align-items: center; justify-content: space-between; }
.ps-join {
  font-size: 0.75rem; font-weight: 700; color: #02140f; background: var(--accent);
  padding: 7px 14px; border-radius: 999px; animation: glow 2.6s infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 18px rgba(0, 212, 170, 0.6); } }

.trust {
  position: relative; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.trust span::before { content: "◆"; color: var(--accent); font-size: 0.6rem; margin-right: 10px; vertical-align: 2px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 18%, var(--bg-2) 82%, var(--bg)); }
.section-head { margin-bottom: 60px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

/* ---------- How it works: a pulse line through four stages ---------- */
/* The trace is drawn in a 1000-wide viewBox with its baseline at y = 118, so 11.8cqw is the baseline in CSS. */
.pulse { position: relative; container-type: inline-size; }
.pulse-svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.pulse-track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linejoin: round; }
.pulse-run {
  fill: none; stroke: url(#pulseGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.45));
  transition: stroke-dashoffset 1.1s var(--ease);
}
.pulse-return {
  fill: none; stroke: rgba(232, 213, 163, 0.4); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round;
  animation: pulseFlow 1.1s linear infinite;
  transition: stroke 0.6s var(--ease);
}
@keyframes pulseFlow { to { stroke-dashoffset: -9; } }
/* A faint signal that keeps running the whole trace, start to end. */
.pulse-signal {
  fill: none; stroke: #6ee7c8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55;
  stroke-dasharray: 70 var(--pulse-len, 1400); stroke-dashoffset: 70;
  filter: drop-shadow(0 0 5px rgba(110, 231, 200, 0.8));
  animation: pulseSignal 4.2s linear infinite;
}
@keyframes pulseSignal { to { stroke-dashoffset: calc(-1 * var(--pulse-len, 1400px)); } }
.pulse-return-label {
  fill: var(--faint); font: 600 11px var(--sans); letter-spacing: 0.24em; text-transform: uppercase; text-anchor: middle;
  transition: fill 0.6s var(--ease);
}
.pulse.is-looping .pulse-return { stroke: var(--cream); }
.pulse.is-looping .pulse-return-label { fill: var(--cream); }
.pulse-dot { fill: #eafff9; filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.9)); }

.stages {
  position: relative; list-style: none; margin: 0; padding: calc(11.8cqw - 30px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px;
}
.stage { text-align: center; cursor: pointer; outline: none; padding: 0 6px 10px; }
.stage-icon {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-strong);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stage-icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.5s var(--ease);
}
.stage-icon::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0;
}
.stage-cap {
  display: flex; align-items: flex-end; justify-content: center; min-height: 3em;
  margin: 0 0 8px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase;
  text-wrap: balance; color: var(--faint); transition: color 0.5s var(--ease);
}
.stage h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; transition: color 0.5s var(--ease); }
.stage-desc { margin: 10px auto 0; max-width: 30ch; color: var(--muted); font-size: 0.95rem; text-wrap: balance; transition: color 0.5s var(--ease); }
.stage:hover .stage-icon, .stage:focus-visible .stage-icon { border-color: rgba(0, 212, 170, 0.5); }
.stage.is-active .stage-icon {
  background: linear-gradient(140deg, rgba(0, 212, 170, 0.24), rgba(18, 24, 41, 0.9)), var(--bg-2);
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.08), 0 14px 40px -12px rgba(0, 212, 170, 0.6);
}
.stage.is-active .stage-icon svg { stroke: var(--accent-2); }
.stage.is-active .stage-icon::after { animation: stageBeat 1.6s var(--ease) infinite; }
.stage.is-active .stage-cap { color: var(--cream); }
.stage.is-active .stage-desc { color: var(--text); }
@keyframes stageBeat {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* ---------- Intake ---------- */
.checklist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; color: var(--text); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300D4AA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid rgba(0, 212, 170, 0.4);
}

.parq {
  border-radius: 28px; padding: 30px; background: linear-gradient(160deg, rgba(18, 24, 41, 0.9), rgba(6, 10, 20, 0.95));
  border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.parq-head { display: flex; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); }
.parq-bar { height: 3px; border-radius: 3px; background: var(--line); margin: 16px 0 30px; overflow: hidden; }
.parq-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--blue)); transition: width 0.5s var(--ease); }
.parq-q { font-family: var(--serif); font-size: 1.85rem; line-height: 1.2; margin: 0 0 28px; min-height: 4.4em; transition: opacity 0.25s; }
.parq-options { display: grid; gap: 12px; }
.parq-opt {
  text-align: left; padding: 18px 20px; border-radius: var(--radius-sm); cursor: pointer;
  background: rgba(245, 247, 250, 0.03); border: 1px solid var(--line-strong);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.parq-opt:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(4px); }
.parq-done-title { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 10px; line-height: 1.15; }
.parq-done p:not(.parq-done-title) { color: var(--muted); margin: 0 0 22px; }
.parq-foot { margin: 24px 0 0; font-size: 0.78rem; color: var(--faint); }

/* ---------- Your day: six signals around a figure made of light ---------- */
.day-head { text-align: center; }
.day-head h2, .day-head .lede { margin-inline: auto; }
.daymap { display: grid; grid-template-columns: 1fr minmax(220px, 280px) 1fr; gap: 34px; align-items: center; }
.day-col { display: grid; gap: 16px; }
.sig {
  position: relative; display: block; width: 100%; padding: 20px 22px; text-align: left; cursor: pointer;
  font: inherit; color: inherit; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 24, 41, 0.7), rgba(6, 10, 20, 0.6));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.sig:hover, .sig:focus-visible { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-3px); outline: none; }
.sig-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sig-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 14%, transparent); transition: background 0.4s var(--ease);
}
.sig-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sig-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c); opacity: 0.85; }
.sig h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.sig-ask { margin: 4px 0 12px; color: var(--muted); font-size: 0.9rem; }
.sig-val { position: relative; display: grid; min-height: 1.6em; font-size: 0.85rem; }
.sig-hint, .sig-ans { grid-area: 1 / 1; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.sig-hint { color: var(--faint); }
.sig-hint::after { content: " →"; color: var(--c); }
.sig-ans { color: var(--muted); opacity: 0; transform: translateY(6px); }
.sig-ans b { margin-right: 6px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.sig.is-told {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 13%, rgba(18, 24, 41, 0.8)), rgba(6, 10, 20, 0.7));
  box-shadow: 0 20px 50px -28px var(--c);
}
.sig.is-told .sig-icon { background: color-mix(in srgb, var(--c) 26%, transparent); }
.sig.is-told .sig-hint { opacity: 0; transform: translateY(-6px); }
.sig.is-told .sig-ans { opacity: 1; transform: none; }
.sig.hint { animation: sigHint 2.2s ease-in-out 3; }
@keyframes sigHint { 50% { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 10%, transparent); } }

.figure { position: relative; }
.figure-svg { display: block; width: 100%; height: auto; overflow: visible; }
.figure-dots circle { fill: #6ee7c8; opacity: 0.22; transition: fill 0.7s var(--ease), opacity 0.7s var(--ease); }
.figure-dots circle.tw { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.55; } }
.figure-dots .z.is-lit circle { opacity: 0.95; animation: none; }
.figure-dots .z.is-peek circle { opacity: 0.6; animation: none; }
.figure-dots .z { transition: filter 0.7s var(--ease); }
.figure-dots .z.is-lit { filter: drop-shadow(0 0 3px var(--zc)); }
.figure-scan { animation: scan 5.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-20px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(430px); opacity: 0; } }
.figure-floor { fill: none; stroke: rgba(110, 231, 200, 0.25); stroke-width: 1; }

.day-bar {
  margin-top: 40px; padding: 22px 26px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(18, 24, 41, 0.45);
}
.day-bar-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.day-title { margin: 0; font-family: var(--serif); font-size: 1.4rem; color: var(--accent-2); }
.day-num { margin: 0; color: var(--faint); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.day-num b { color: var(--text); font-size: 1.5rem; }
.day-track { height: 6px; margin: 14px 0 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.day-track span {
  display: block; width: 0; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #a78bfa, #60a5fa, var(--accent), #f59e7b);
  transition: width 0.9s var(--ease);
}
.day-status { margin: 0; color: var(--muted); font-size: 0.92rem; }
.day-status strong { color: var(--text); }
.day-note { margin: 12px 0 34px; text-align: center; font-size: 0.78rem; color: var(--faint); }
/* ---------- Balance challenge ---------- */
.balance-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.balance-set { margin-top: 26px; }
.balance-label { margin: 0 0 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.balance-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.balance-chips button {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 0.9rem; color: var(--muted); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.balance-chips button:hover { border-color: var(--accent); color: var(--text); }
.balance-chips button[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.balance-best { margin: 30px 0 0; color: var(--faint); font-size: 0.9rem; }
.balance-best b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--accent-2); line-height: 1.1; }
.balance-fact { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 0.92rem; max-width: 50ch; }
.balance-safety { margin: 14px 0 0; color: var(--faint); font-size: 0.8rem; }
.balance-cta { margin: 48px 0 0; text-align: center; color: var(--muted); }

.balance-pad {
  position: relative; display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto;
  border: 0; border-radius: 50%; padding: 0; cursor: pointer; color: var(--text); touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle at 50% 40%, rgba(0, 212, 170, 0.14), rgba(10, 20, 40, 0.9) 70%);
  box-shadow: 0 40px 90px -50px rgba(0, 212, 170, 0.7), inset 0 0 0 1px var(--line);
  transition: transform 0.15s, background 0.3s;
}
.balance-pad:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.balance-pad:active { transform: scale(0.99); }
.balance-ring { position: absolute; inset: 6%; width: 88%; height: 88%; transform: rotate(-90deg); }
.balance-ring-bg, .balance-ring-fill { fill: none; stroke-width: 6; }
.balance-ring-bg { stroke: var(--line); }
.balance-ring-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 552.9; stroke-dashoffset: 552.9; filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.6)); }
.balance-text { position: relative; display: grid; gap: 6px; text-align: center; padding: 0 18%; }
.balance-big { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; }
.balance-small { color: var(--muted); font-size: 0.9rem; }
.balance-pad[data-state="idle"]::after, .balance-pad[data-state="done"]::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(110, 231, 200, 0.4); animation: balancePulse 2.6s ease-out infinite;
}
@keyframes balancePulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.07); opacity: 0; } }
.balance-pad[data-state="running"] { background: radial-gradient(circle at 50% 40%, rgba(0, 212, 170, 0.28), rgba(10, 20, 40, 0.9) 70%); }

.day-small { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--faint); }
.sig-pick {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: -16px; padding: 14px 16px 16px;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-top: 0; border-radius: 0 0 18px 18px;
  background: rgba(6, 10, 20, 0.6); animation: pickIn 0.35s var(--ease);
}
.sig-pick[hidden] { display: none; }
@keyframes pickIn { from { opacity: 0; transform: translateY(-6px); } }
.sig-pick button {
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 0.85rem; color: var(--muted); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.sig-pick button:hover { border-color: var(--c); color: var(--text); }
.sig-pick button:active { transform: scale(0.96); }
.sig-pick button.is-on { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: var(--c); color: var(--text); }
.sig[aria-expanded="true"] { border-color: color-mix(in srgb, var(--c) 55%, transparent); border-radius: 20px 20px 6px 6px; }

.badge {
  position: absolute; top: -13px; left: 30px; padding: 5px 14px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--cream); color: #1c1610;
}

/* ---------- App + form ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(245, 247, 250, 0.03); transition: border-color 0.2s;
}
.store:hover { border-color: var(--accent); }
.store svg { width: 22px; height: 22px; }
.store span { display: grid; line-height: 1.15; font-weight: 600; font-size: 0.95rem; }
.store small { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tip { margin: 26px 0 0; color: var(--faint); font-size: 0.9rem; max-width: 54ch; }
.tip strong { color: var(--muted); }

.access {
  display: grid; gap: 16px; padding: 36px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(18, 24, 41, 0.9), rgba(6, 10, 20, 0.95));
  border: 1px solid var(--line-strong);
}
.access .eyebrow { margin-bottom: 0; }
.access h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; margin-bottom: 8px; }
.access label { display: grid; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.access input, .access select {
  height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(3, 5, 8, 0.6); color: var(--text); font-size: 0.95rem; transition: border-color 0.2s;
}
.access select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.access input:focus, .access select:focus { outline: none; border-color: var(--accent); }
.access input.invalid { border-color: #f87171; }
.access .btn { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Reservation form */
.reserve { scroll-margin-top: 100px; border-color: rgba(0, 212, 170, 0.35); box-shadow: 0 40px 90px -60px rgba(0, 212, 170, 0.6); }
.reserve-fields { display: grid; gap: 16px; }
.reserve-fields[hidden] { display: none; }
.reserve-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.reserve h3 em { font-style: italic; color: var(--accent-2); }
.reserve-lede { margin: -4px 0 0; color: var(--muted); font-size: 0.95rem; }
.reserve-clock { margin: 0; display: inline-flex; justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(232, 213, 163, 0.1); color: var(--cream); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.reserve-clock[hidden] { display: none; }
.reserve-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reserve-days { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.reserve-days legend { padding: 0; margin-bottom: 8px; font-size: 0.82rem; color: var(--muted); }
.reserve-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reserve-chips label { display: block; cursor: pointer; }
.reserve-chips input { position: absolute; opacity: 0; pointer-events: none; }
.reserve-chips span {
  display: block; min-width: 50px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-strong);
  text-align: center; font-size: 0.85rem; color: var(--muted); transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.reserve-chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.reserve-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.reserve-consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-size: 0.82rem; line-height: 1.5; }
.reserve-consent input { flex: none; width: 18px; height: 18px !important; margin: 2px 0 0; padding: 0 !important; accent-color: var(--accent); }
.reserve-consent a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.reserve-fine { margin: 0; font-size: 0.75rem; line-height: 1.5; color: var(--faint); }
.reserve-done { display: grid; justify-items: start; gap: 10px; padding: 20px 0; }
.reserve-done[hidden] { display: none; }
.reserve-done p { margin: 0; color: var(--muted); }
.reserve-tick { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); }
.reserve-tick svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
a.launch-pill { transition: background 0.2s, transform 0.2s; }
a.launch-pill:hover { background: rgba(0, 212, 170, 0.2); transform: translateY(-2px); }

.eb-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 24px 0 0; padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(0, 212, 170, 0.35); background: var(--accent-soft); color: var(--muted); font-size: 0.92rem; max-width: 760px; }
.eb-note b { color: var(--text); }
.eb-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(0, 212, 170, 0.5); background: rgba(6, 12, 20, 0.92);
  backdrop-filter: blur(10px); color: var(--muted); font-size: 0.88rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.eb-float b { color: var(--text); }
.eb-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.9rem; color: var(--accent); }
.form-status.error { color: #f87171; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(18, 24, 41, 0.35); transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(0, 212, 170, 0.35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 300; color: var(--accent); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq a { color: var(--accent); }

/* ---------- Monstrum ---------- */
.text-link { display: inline-block; margin-top: 22px; color: var(--accent); font-weight: 600; transition: transform 0.2s var(--ease); }
.text-link:hover { transform: translateX(4px); }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.areas li {
  padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(18, 24, 41, 0.45); font-size: 0.95rem; transition: border-color 0.3s, color 0.3s;
}
.areas li:hover { border-color: rgba(232, 213, 163, 0.4); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--faint); max-width: 34ch; margin: 20px 0; }
.footer-mail { color: var(--accent); }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 10px; align-content: start; color: var(--muted); font-size: 0.93rem; }
.footer-grid > div a:hover { color: var(--text); }
.footer-h { margin: 0 0 6px; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; }
.footer-base p { margin: 0; }
.disclaimer { max-width: 60ch; }
.not-found .container { padding: 40px 0 80px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.footer-base .legal-ids { flex-basis: 100%; order: 3; letter-spacing: 0.01em; }

.small { font-size: 0.9rem; margin-top: 26px; }
.hero-copy .lede strong { color: var(--text); font-weight: 600; }

/* ---------- Honest score strip ---------- */
.honest {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px;
  border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line);
}
.honest-item { padding: 26px 28px; background: var(--bg); }
.honest-num { margin: 0 0 8px; font-family: var(--serif); font-size: 1.6rem; color: var(--cream); }
.honest-item p:last-child { margin: 0; color: var(--muted); font-size: 0.94rem; }
.honest strong { color: var(--text); font-weight: 600; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 40px 36px; border-radius: 28px;
  border: 1px solid var(--line); background: rgba(18, 24, 41, 0.45);
}
.plan-featured {
  background: linear-gradient(170deg, rgba(0, 212, 170, 0.12), rgba(18, 24, 41, 0.7) 45%);
  border-color: rgba(0, 212, 170, 0.45); box-shadow: 0 40px 80px -40px rgba(0, 212, 170, 0.35);
}
.plan-kicker { margin: 0 0 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1.1; }
.plan h3 em { color: var(--cream); }
.plan-for { color: var(--muted); margin: 14px 0 26px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 28px; color: var(--text); font-size: 0.95rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300D4AA' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plans-head { text-align: center; }
.plans-head h2, .plans-head .lede { margin-inline: auto; }
.plan-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(0, 212, 170, 0.28);
}
.plan-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-pill {
  position: absolute; top: 40px; right: 36px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(0, 212, 170, 0.12); border: 1px solid rgba(0, 212, 170, 0.35);
}
.plan .plan-for { padding-bottom: 24px; border-bottom: 1px solid var(--line); }

/* Plan previews: a workout in progress, and the next live session. */
.preview {
  margin: 0 0 24px; padding: 18px 20px 16px; border-radius: 18px;
  background: rgba(3, 5, 8, 0.6); border: 1px solid var(--line);
}
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-label {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream);
}
.preview-label svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.preview-title { margin: 12px 0 10px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.preview-rest { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.preview-rest .rest-ring { width: 28px; height: 28px; }
.preview-rest .w-label { font-size: 0.6rem; }
.preview-rest .w-value { margin: 0; font-size: 0.85rem; }
.plan .preview-sets { margin: 0; gap: 0; flex: none; }
.plan .preview-sets li {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 8px 26px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
.plan .preview-sets li::before {
  top: 50%; width: 14px; height: 14px; margin-top: -7px; background: none; border: 1px solid var(--line-strong);
}
.plan .preview-sets li.is-done { color: var(--faint); }
.plan .preview-sets li.is-done::before {
  border-color: transparent;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300D4AA' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.plan .preview-sets li.is-now { color: var(--text); }
.plan .preview-sets li.is-now::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.12); }
.plan .preview-sets li span { color: var(--faint); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.plan .preview-sets li.is-now span { color: var(--accent-2); }
.preview-join {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(245, 247, 250, 0.03); border: 1px solid var(--line);
}
.preview-note { margin: 12px 0 0; font-size: 0.75rem; color: var(--faint); }
.btn-light { background: #f5f7fa; color: #06121a; border-color: #f5f7fa; }
.btn-light:hover { background: #ffffff; box-shadow: 0 14px 40px -16px rgba(245, 247, 250, 0.45); }

.plan-from { margin: 0 0 18px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); }
.plan-from span { font-family: var(--serif); font-size: 2rem; color: var(--text); }
.plan .btn { width: 100%; }

/* ---------- Pricing calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-strong); background: rgba(18, 24, 41, 0.45);
}
.calc-controls { padding: 36px; display: grid; gap: 24px; align-content: start; }
.calc-row[hidden] { display: none; }
.calc-label { margin: 0 0 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px;
  border-radius: 14px; background: rgba(3, 5, 8, 0.6); border: 1px solid var(--line);
}
.seg-sm { max-width: 260px; }
.seg button {
  height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.seg button:hover { color: var(--text); }
.seg button.is-on { background: var(--accent); color: #02140f; font-weight: 700; }
.calc-result {
  position: relative; padding: 40px 36px; display: flex; flex-direction: column;
  background: linear-gradient(170deg, rgba(0, 212, 170, 0.14), rgba(6, 10, 20, 0.95) 55%);
  border-left: 1px solid var(--line);
}
.calc-plan { margin: 0; color: var(--cream); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; min-height: 2.6em; }
.calc-total { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; }
.calc-term { margin: 6px 0 0; color: var(--faint); }
.calc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.calc-meta p { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(3, 5, 8, 0.5); border: 1px solid var(--line); }
.calc-meta span { display: block; font-weight: 700; font-size: 1.1rem; }
.calc-meta small { color: var(--faint); font-size: 0.78rem; }
.calc-note { margin: 18px 0 0; min-height: 3em; color: var(--muted); font-size: 0.9rem; }
.calc-result .btn { margin-top: auto; }
.calc-fine { margin: auto 0 0; padding-top: 16px; color: var(--faint); font-size: 0.78rem; }

.teams {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px;
  padding: 32px 36px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18, 24, 41, 0.35);
}
.teams .eyebrow { margin-bottom: 8px; }
.teams h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.teams p.muted { margin: 8px 0 0; max-width: 70ch; }

/* ---------- Founder ---------- */
/* Portrait: black and white at rest, colour on hover (or tap on touch screens). */
.portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(232, 213, 163, 0.22); background: var(--surface);
  outline: none; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease);
}
.portrait-bw { opacity: 1; filter: contrast(1.04) brightness(0.96); }
/* Already black and white: hover lifts the light instead of adding colour. */
.portrait-mono .portrait-color { filter: contrast(1.06) brightness(0.9); transition: filter 1.1s var(--ease), transform 1.6s var(--ease); }
.cine:hover .portrait-mono .portrait-color, .portrait-mono:focus-visible .portrait-color, .portrait-mono.is-color .portrait-color { filter: contrast(1.1) brightness(1.04); }
.portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 20, 0.45));
  transition: opacity 1.1s var(--ease);
}
.cine:hover .portrait-bw,
.portrait:focus-visible .portrait-bw,
.portrait.is-color .portrait-bw { opacity: 0; }
.cine:hover .portrait::after,
.portrait.is-color::after { opacity: 0.6; }
.cine:hover .portrait,
.portrait:focus-visible {
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.18), 0 30px 90px -30px rgba(0, 212, 170, 0.45);
}

/* Cinematic reveal: the frame opens upward, the photo settles from 1.08 to 1. */
.cine { position: relative; }
.cine-par { will-change: transform; }
.js .cine .portrait { clip-path: inset(100% 0 0 0 round 22px); opacity: 0; transition: clip-path 0.7s var(--ease), opacity 0.6s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.js .cine .portrait img { transform: scale(1.08); transition: opacity 1.1s var(--ease), transform 0.9s var(--ease); }
.js .cine.is-in .portrait { clip-path: inset(0 0 0 0 round 22px); opacity: 1; }
.js .cine.is-in .portrait img { transform: scale(1); }
.js .cine.is-in:hover .portrait img,
.js .cine.is-in .portrait.is-color img { transform: scale(1.03); }
.cine-caption { margin-top: 20px; }
.js .cine .cine-caption { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease) 0.45s, transform 0.6s var(--ease) 0.45s; }
.js .cine.is-in .cine-caption { opacity: 1; transform: none; }
.cine-name { margin: 0 0 6px; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.role { margin: 0; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream); }

/* Home: short founder intro. */
/* Home: founder card, copy left and a full-height photo right. */
.fcard {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(80% 70% at 0% 100%, rgba(0, 212, 170, 0.07), transparent 60%), rgba(10, 16, 32, 0.85);
}
.fcard-copy { align-self: center; padding: 60px 56px; }
.fcard-copy h2 { max-width: 13ch; text-wrap: balance; }
.fcard-copy h2 em { white-space: nowrap; }
.fcard-copy .lede { max-width: 44ch; }
.fcard-stats { display: flex; gap: 36px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.fcard-stat {
  margin: 0; font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 50%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fcard-stat-label { margin: 8px 0 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fcard-name { margin: 30px 0 6px; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.fcard-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 10px 18px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--accent-2);
  background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.32);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.fcard-link:hover { background: rgba(0, 212, 170, 0.18); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(0, 212, 170, 0.7); }
.fcard-link span { transition: transform 0.25s var(--ease); }
.fcard-link:hover span { transform: translateX(3px); }
.fcard-photo { min-height: 540px; padding: 10px 10px 10px 0; }
.fcard-photo .portrait { aspect-ratio: auto; height: 100%; border-radius: 22px; }
.fcard-photo .portrait img { object-position: 50% 32%; }

.fs-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.fs-copy h2 { max-width: 14ch; }
.fs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Founder page hero. */
.founder-hero { padding-bottom: 90px; }
.fh-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.fh-copy h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); }
.fh-copy h1, .fs-copy h2, .closing h2, #identities h2, #journey h2 { text-wrap: balance; }
.fh-copy h1 em, .fs-copy h2 em, .closing h2 em { white-space: nowrap; }
.fh-copy .lede { max-width: 52ch; }
.founder-hero .cine { max-width: 440px; justify-self: end; width: 100%; }

/* Three identities: one connected row. */
.idents { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.idents:not(.compact)::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.5), rgba(232, 213, 163, 0.5), rgba(0, 212, 170, 0.5), transparent);
}
.ident { position: relative; z-index: 1; }
.ident-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid rgba(0, 212, 170, 0.35); color: var(--accent);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ident-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ident-kicker { margin: 14px 0 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream); }
.idents.compact { margin-top: 30px; gap: 12px; }
.idents.compact .ident { padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(18, 24, 41, 0.45); }
.idents.compact .ident-icon { width: 42px; height: 42px; }
.idents.compact .ident-icon svg { width: 20px; height: 20px; }
.idents.compact .ident p:last-child { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.idents-join {
  display: flex; justify-content: center; align-items: center; gap: 18px; margin: 34px 0 0;
  font-family: var(--serif); font-size: 1.4rem; color: var(--muted);
}
.idents-join i { font-style: normal; color: var(--accent); }

/* Expandable cards (identities and principles): hover on desktop, tap anywhere. */
.xcard {
  padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 24, 41, 0.7), rgba(6, 10, 20, 0.7));
  cursor: pointer; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.x-title { margin: 16px 0 8px; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.x-toggle {
  position: relative; display: block; width: 100%; padding: 0 30px 0 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.x-toggle::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.3rem; font-weight: 300; color: var(--accent); transition: transform 0.3s var(--ease);
}
.x-lead { margin: 0; color: var(--text); font-size: 0.98rem; }
.x-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.x-more > div { overflow: hidden; }
.x-more p { margin: 12px 0 0; color: var(--muted); font-size: 0.93rem; opacity: 0; transition: opacity 0.3s var(--ease); }
.xcard.is-open .x-more { grid-template-rows: 1fr; }
.xcard.is-open .x-more p { opacity: 1; }
.xcard.is-open .x-toggle::after { transform: translateY(-50%) rotate(45deg); }
.xcard.is-open, .xcard:focus-within { border-color: rgba(0, 212, 170, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .xcard:hover { transform: translateY(-5px); border-color: rgba(0, 212, 170, 0.5); box-shadow: 0 24px 60px -30px rgba(0, 212, 170, 0.35); }
  .xcard:hover .x-more { grid-template-rows: 1fr; }
  .xcard:hover .x-more p { opacity: 1; }
  .xcard:hover .x-toggle::after { transform: translateY(-50%) rotate(45deg); }
  .ident.xcard:hover .ident-icon { transform: translateY(-3px) scale(1.06); background: var(--accent); color: #02140f; box-shadow: 0 0 24px rgba(0, 212, 170, 0.45); }
}

/* Principles. */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(18, 24, 41, 0.45); }
.pillars-x .pillar { padding: 26px; border-radius: var(--radius); }
.pillar-num { display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); transform-origin: left center; transition: transform 0.3s var(--ease); }
.pillars-x .x-title { margin-top: 8px; font-size: 1.5rem; }
@media (hover: hover) and (pointer: fine) {
  .pillar.xcard:hover .pillar-num { transform: scale(1.18); }
}

/* Credentials. */
.creds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cred {
  padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(18, 24, 41, 0.45); transition: border-color 0.3s var(--ease);
}
.cred:hover { border-color: rgba(232, 213, 163, 0.35); }
.creds-grid .cred:nth-child(3n + 2) { transition-delay: 0.08s; }
.creds-grid .cred:nth-child(3n) { transition-delay: 0.16s; }
.cred-big { margin: 0; font-family: var(--serif); font-size: 2.2rem; line-height: 1.05; color: var(--text); font-variant-numeric: lining-nums; }
.cred-label { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.cred-wide { grid-column: 1 / -1; }
.cred-lead { display: flex; align-items: center; gap: 28px; background: radial-gradient(70% 120% at 0% 50%, rgba(0, 212, 170, 0.1), transparent 70%), rgba(18, 24, 41, 0.5); }
.cred-lead .cred-big {
  font-size: clamp(3rem, 6vw, 4.4rem); flex: none;
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 50%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cred-lead .cred-label { max-width: 46ch; font-size: 1rem; }
.boxing-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.boxing-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 0.92rem; }
.boxing-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 3px rgba(232, 213, 163, 0.15); }
.placeholder-note {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(232, 213, 163, 0.5);
  color: var(--cream); font-size: 0.82rem; background: rgba(232, 213, 163, 0.05);
}

/* Journey timeline: horizontal on desktop, vertical on phones; line fills on scroll. */
.tl { position: relative; --fill: 0; }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.tl-line { position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: var(--line-strong); border-radius: 2px; }
.tl-line span {
  display: block; height: 100%; width: calc(var(--fill) * 100%); border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
}
.tl-step { position: relative; padding: 0 14px; text-align: center; }
.tl-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--faint);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.tl-dot svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tl-step.is-active .tl-dot { background: var(--accent); color: #02140f; border-color: var(--accent); box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.12); }
.tl-num { margin: 0; font-size: 0.7rem; letter-spacing: 0.24em; color: var(--cream); }
.tl-step h3 { margin: 6px 0 8px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.tl-step p:not(.tl-num) { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tl-step .boxing-list { text-align: left; }

/* Discover your starting point. */
.start {
  padding: 44px; border-radius: 28px; border: 1px solid var(--line-strong);
  background: radial-gradient(90% 80% at 100% 0%, rgba(0, 212, 170, 0.1), transparent 60%), rgba(18, 24, 41, 0.55);
}
.start .lede { margin-top: 12px; }
.start-group { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(3, 5, 8, 0.5);
  color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(0, 212, 170, 0.5); transform: translateY(-2px); }
.chip.is-on { background: var(--accent); color: #02140f; border-color: var(--accent); font-weight: 600; }
.start-result {
  min-height: 92px; margin: 30px 0 26px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(3, 5, 8, 0.5); display: flex; align-items: center;
}
.start-hint { margin: 0; color: var(--faint); }
.start-msg { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--text); }
.start-msg.is-new { animation: msgIn 0.5s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }

/* The little things: "now" stays plain and grey; "with Thrivr" arrives in a glowing panel with a highlighter sweep. */
.little-head { text-align: center; }
.little-head h2, .little-head .lede { margin-inline: auto; }
.little-head .lede { max-width: 46ch; }
.rw-head, .rewrite { display: grid; grid-template-columns: 44px 1fr 1fr; column-gap: 28px; }
.rw-head { padding: 0 4px 14px; }
.rw-head span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.rw-head span:not(:empty)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.rw-head-now { color: var(--faint); }
.rw-head-now::before { background: var(--faint); }
.rw-head-soon { color: var(--accent); }
.rw-head-soon::before { background: var(--accent); box-shadow: 0 0 10px rgba(0, 212, 170, 0.8); }
.rewrites { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rewrite { row-gap: 10px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.rw-num { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--faint); transition: color 0.6s var(--ease); }
.rw-then {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; color: var(--muted);
  opacity: 0; transform: translateY(10px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.rw-soon {
  position: relative; padding: 14px 18px; border-radius: 16px;
  font-size: 1.05rem; line-height: 1.5; color: var(--cream);
  background: linear-gradient(120deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.03));
  border: 1px solid rgba(0, 212, 170, 0.3);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s var(--ease) 1.6s, transform 0.9s var(--ease) 1.6s, box-shadow 0.9s var(--ease) 2.2s;
}
.rw-soon span {
  padding: 0 3px; margin: 0 -3px; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(100deg, rgba(0, 212, 170, 0.34), rgba(0, 212, 170, 0.18)) no-repeat 0 88% / 0% 52%;
  transition: background-size 1s var(--ease) 2.3s, color 0.6s var(--ease) 2.3s;
}

/* Hand-drawn marks: a red cross after "now", a green tick after "with Thrivr". */
.rw-mark {
  display: inline-block; width: 1.05em; height: 1.05em; margin-left: 0.35em; vertical-align: -0.16em;
  fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.rw-x { stroke: #f87171; filter: drop-shadow(0 0 6px rgba(248, 113, 113, 0.55)); }
.rw-x path { stroke-dasharray: 15; stroke-dashoffset: 15; transition: stroke-dashoffset 0.35s var(--ease); }
.rw-x path:first-child { transition-delay: 1s; }
.rw-x path:last-child { transition-delay: 1.3s; }
.rw-tick { width: 1.15em; height: 1.15em; stroke: #34d399; stroke-width: 3; filter: drop-shadow(0 0 7px rgba(52, 211, 153, 0.7)); }
.rw-tick path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 0.6s var(--ease) 2.9s; }

.rewrite.is-turned .rw-num { color: var(--accent); }
.rewrite.is-turned .rw-then { opacity: 1; transform: none; }
.rewrite.is-turned .rw-soon { opacity: 1; transform: none; box-shadow: 0 18px 44px -26px rgba(0, 212, 170, 0.75); }
.rewrite.is-turned .rw-soon span { background-size: 100% 52%; color: var(--text); }
.rewrite.is-turned .rw-mark path { stroke-dashoffset: 0; }
.no-js .rewrite .rw-then, .no-js .rewrite .rw-soon { opacity: 1; transform: none; }
.no-js .rewrite .rw-soon span { background-size: 100% 52%; color: var(--text); }
.no-js .rewrite .rw-mark path { stroke-dashoffset: 0; }

.little-turn { margin-top: 64px; text-align: center; }
.little-hope { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; }
.little-hope em {
  white-space: nowrap; font-style: italic; padding-bottom: 0.14em;
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 45%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.little-turn .lede { margin-inline: auto; max-width: 50ch; }
.little-sign {
  margin: 34px 0 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream);
}

/* Sayings. */
.quote-band { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.quote-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 220px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 212, 170, 0.08), transparent); pointer-events: none;
}
.quote-band blockquote {
  position: relative; margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; text-wrap: balance;
}
.quote-band blockquote em {
  font-style: italic;
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 45%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-mark {
  display: block; height: 0.5em; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--cream);
  opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.quote-tag {
  margin: 26px 0 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--faint);
  opacity: 0; transition: opacity 0.7s var(--ease) 0.9s;
}
.quote-band.is-in .quote-mark { opacity: 0.6; transform: none; }
.quote-band.is-in .quote-tag { opacity: 1; }
.words-wait .w { opacity: 0; }

.motto { display: grid; margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--cream); }
.motto span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.motto span.is-on { opacity: 1; transform: none; }

.tl-motto {
  margin: 12px 0 0 !important; font-family: var(--serif); font-style: italic; font-size: 1.05rem !important; color: var(--cream) !important;
  opacity: 0; transform: translateY(6px); transition: opacity 0.6s var(--ease) 0.2s, transform 0.6s var(--ease) 0.2s;
}
.tl-step.is-active .tl-motto { opacity: 1; transform: none; }

.start-result { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.start-motto { margin: 0; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--cream); }

/* Pricing page. */
.pricing-page { padding-top: 150px; }
.pricing-more { padding: 0 0 110px; }
.pricing-more-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.pricing-more-inner .muted { margin: 0; }

/* Contact page. */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 10px; }
.contact-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18, 24, 41, 0.45); }
.contact-card .calc-label { margin-bottom: 8px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); font-size: 1rem; white-space: pre-line; }
.contact-card a { color: var(--accent); }

/* Closing statement. */
.closing { padding: 130px 0; }
.closing h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); max-width: 16ch; }
.closing-lines { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--muted); }
.closing-lines span:nth-child(2) { color: var(--text); }
.closing-lines span:nth-child(3) { color: var(--accent-2); font-style: italic; }
.closing-sub { margin: -6px 0 6px; color: var(--cream); letter-spacing: 0.04em; }

/* ---------- Final CTA ---------- */
.cta-band { padding: 110px 0; background: radial-gradient(60% 120% at 50% 100%, rgba(0, 212, 170, 0.16), transparent 70%); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.cta-inner h2 { max-width: 18ch; }

/* ---------- Micro-interactions ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--cream));
}

/* Cursor spotlight on cards. */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 170, 0.1), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spot:hover::before { opacity: 1; }

/* Shine across primary buttons. */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg); transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* Hero headline: words rise in one after another. */
.split-words em { background: none; color: inherit; }
.split-words em .w {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 55%, var(--cream));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em;
}
.split-words .w { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Phone tilts gently toward the cursor. */
.hero-visual { perspective: 1200px; }
.phone-tilt { transition: transform 0.6s var(--ease); transform-style: preserve-3d; }

/* Trust strip scrolls slowly; pauses on hover. */
.trust { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track { display: flex; gap: 48px; width: max-content; white-space: nowrap; }
.trust-track.is-moving { animation: marquee 38s linear infinite; }
.trust:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Plan preview pieces: rest ring, live dot and join button. */
.w-label { margin: 0; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); }
.w-value { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.rest-ring { width: 44px; height: 44px; flex: none; transform: rotate(-90deg); }
.rr-track, .rr-fill { fill: none; stroke-width: 4; }
.rr-track { stroke: var(--line-strong); }
.rr-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.live-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #f87171; box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); animation: live 1.8s infinite; margin-left: 6px; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); } }
.w-join {
  margin-left: auto; padding: 8px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: rgba(245, 247, 250, 0.06); color: var(--faint); border: 1px solid var(--line-strong);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}
.w-join.is-open { background: var(--accent); color: #02140f; border-color: var(--accent); box-shadow: 0 0 22px rgba(0, 212, 170, 0.5); }

/* Price rolls when it changes. */
.calc-total.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--accent-2); } }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 100px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--faint); margin: 0 0 50px; }
.legal h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin: 40px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .app-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero:has(.hero-photo) { justify-content: flex-end; min-height: 92svh; }
  .hero-photo img { object-position: 72% 40%; }
  .hero-photo-side { left: 0; width: 100%; right: 0; top: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-photo-side img, .hero:hover .hero-photo-side img { object-position: 60% 20%; filter: grayscale(1) contrast(1.05) brightness(0.4); }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(3, 5, 8, 0.55) 0%, rgba(3, 5, 8, 0.25) 30%, rgba(3, 5, 8, 0.7) 62%, var(--bg) 92%);
  }
  .hero-visual { min-height: 560px; }
  .plans { grid-template-columns: 1fr; }
  .fs-grid, .fh-grid { grid-template-columns: 1fr; gap: 44px; }
  .fcard { grid-template-columns: 1fr; }
  .fcard-copy { padding: 44px 36px 30px; }
  .fcard-photo { order: -1; min-height: 0; height: min(520px, 110vw); padding: 10px 10px 0; }
  .fs-grid .cine, .founder-hero .cine { max-width: 380px; width: 100%; justify-self: start; }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .plans { max-width: 620px; margin-inline: auto; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }
  .daymap { grid-template-columns: 1fr 1fr; grid-template-areas: 'fig fig' 'left right'; gap: 22px; }
  .day-left { grid-area: left; }
  .day-right { grid-area: right; }
  .figure { grid-area: fig; width: min(240px, 60%); margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .balance-grid { grid-template-columns: 1fr; gap: 40px; }
  .balance-pad { width: min(100%, 380px); }
}

@media (max-width: 860px) {
  .idents { grid-template-columns: 1fr; }
  .idents:not(.compact)::before { top: 12%; bottom: 12%; left: 54px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.5), rgba(232, 213, 163, 0.5), transparent); }
  .tl-steps { grid-template-columns: 1fr; gap: 34px; }
  .tl-line { top: 26px; bottom: 26px; left: 25px; right: auto; width: 2px; height: auto; }
  .tl-line span { width: 100%; height: calc(var(--fill) * 100%); background: linear-gradient(180deg, var(--accent), var(--blue)); }
  .tl-step { padding: 0 0 0 76px; text-align: left; min-height: 52px; }
  .tl-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(3, 5, 8, 0.97); font-size: 1.3rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav-cta { margin-top: 10px; }
}

@media (max-width: 760px) {
  .pulse-svg { display: none; }
  .stages { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .stages::before {
    content: ""; position: absolute; left: 29px; top: 30px; bottom: 30px; width: 1px;
    background: linear-gradient(180deg, var(--accent), var(--blue), var(--cream));
    opacity: 0.45;
  }
  .stage { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .stage-icon { grid-row: 1 / span 3; margin: 0; }
  .stage-cap { margin-top: 4px; min-height: 0; justify-content: flex-start; }
  .stage-desc { margin-left: 0; }
  .stage.is-active .stage-icon { transform: none; }
}

@media (max-width: 600px) {
  .container, .container.narrow { width: calc(100% - 36px); }
  .hero { padding-top: 120px; }
  .section { padding: 90px 0; }
  .daymap { gap: 12px; }
  .day-col { gap: 12px; }
  .figure { width: min(190px, 52%); }
  .sig { padding: 14px; border-radius: 16px; }
  .sig-top { margin-bottom: 8px; }
  .sig-icon { width: 32px; height: 32px; border-radius: 10px; }
  .sig-tag { display: none; }
  .sig h3 { font-size: 1.15rem; }
  .sig-ask { font-size: 0.8rem; margin-bottom: 8px; }
  .sig-val { font-size: 0.75rem; }
  .sig-ans b { display: block; font-size: 0.95rem; }
  .day-bar { padding: 18px; }
  .areas, .honest, .pillars, .creds-grid, .idents.compact, .contact-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 70px 0; }
  .plan, .calc-controls, .calc-result, .start { padding: 28px 22px; }
  .plan-pill { top: 30px; right: 22px; }
  .fs-actions .btn, .start .btn { width: 100%; }
  .idents-join { font-size: 1.1rem; gap: 10px; }
  .seg-4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .seg button { font-size: 0.84rem; }
  .teams { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .parq, .access { padding: 24px; }
  .reserve-row { grid-template-columns: 1fr; }
  .eb-float { left: 16px; right: 16px; bottom: 14px; justify-content: center; }
  .parq-q { font-size: 1.55rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .rw-head { display: none; }
  .rewrite { grid-template-columns: 30px 1fr; column-gap: 12px; padding: 20px 0; }
  .rw-num { align-self: start; padding-top: 1.7em; }
  .rw-soon { grid-column: 2; }
  .rw-then { font-size: 1.2rem; }
  .rw-then::before {
    content: "Now"; display: block; margin-bottom: 4px;
    font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint);
  }
  .rw-soon::after {
    content: "With Thrivr"; position: absolute; top: -9px; left: 14px; padding: 2px 8px; border-radius: 999px;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); background: var(--bg-2); border: 1px solid rgba(0, 212, 170, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .split-words .w { opacity: 1; transform: none; }
  .js .cine .portrait { clip-path: none; opacity: 1; }
  .js .cine .portrait img { transform: none; }
  .js .cine .cine-caption { opacity: 1; transform: none; }
  .words-wait .w, .quote-mark, .quote-tag, .tl-motto { opacity: 1; transform: none; }
  .rewrite .rw-then, .rewrite .rw-soon { opacity: 1; transform: none; }
  .rewrite .rw-soon span { background-size: 100% 52%; color: var(--text); }
  .rewrite .rw-mark path { stroke-dashoffset: 0; }
}
