/* ============================================================================
   site.css — Pinovio site components (all pages).
   Tokens come from base-system.css (Mono + Blue Punch brand layer).
   Every value uses the token scales: --step-*, --space-*, --radius-*, the
   accent ramp, and the d-/l- surface ladders. No raw hex, no eyeballed gaps.

   Order: shared chrome (nav, footer, page-hero, melts) → home sections →
   interior components (services, forms, booking, faq, legal, success).
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Brand-layer consequence: electric #30bdfd is a LIGHT accent, so primary
   buttons need dark text (white on it is ~2.1:1 — fails AA; dark is ~8.9:1).
   One override, system anatomy untouched.
   ------------------------------------------------------------------------- */
.btn--primary,
.btn--primary:hover,
.section--dark .btn--primary,
.section--dark .btn--primary:hover { color: var(--d-bg); }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

/* Skip link — visible on keyboard focus only */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--accent-500);
  color: var(--d-bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-300%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; text-decoration: none; }

/* ---------------------------------------------------------------------------
   Nav — fixed glass bar; logo mark + wordmark; pill links; mobile menu
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--d-bg) 72%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--d-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-3);
  /* Full-bleed bar: brand hugs the left edge, CTA hugs the right,
     instead of sitting inside the centered 1120px container. */
  max-width: none;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--d-text);
  letter-spacing: var(--tracking-tight);
}
.nav__brand:hover { text-decoration: none; }
.nav__logo { height: 1.35rem; width: auto; display: block; }

/* Nav pattern: links contained in a pill + separate CTA (designed, not default) */
.nav__links {
  display: flex;
  gap: var(--space-5);
  margin-inline-start: auto;
  padding: var(--space-2) var(--space-5);
  background: color-mix(in srgb, #ffffff 5%, transparent);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-pill);
}
.nav__links a {
  color: var(--d-muted);
  font-size: var(--step--1);
  font-weight: 500;
  transition: color var(--dur) var(--ease-out);
}
.nav__links a:hover { color: var(--d-text); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--d-text); }

/* Hamburger — two lines that form an X when open */
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-inline-start: var(--space-2);
  background: transparent;
  border: 1px solid var(--d-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--d-text);
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu — full-screen dark panel under the bar.
   NOTE: .nav's backdrop-filter makes it the containing block for fixed
   descendants, so the panel needs explicit width/height — inset alone
   collapses to the bar's box. Bar height with the toggle visible = 69px. */
.nav__menu {
  position: fixed;
  top: 69px;
  left: 0;
  right: 0;
  width: 100vw;
  height: calc(100vh - 69px);
  height: calc(100dvh - 69px);
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-7) var(--gutter);
  background: var(--d-bg);
  overflow-y: auto;
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  letter-spacing: var(--tracking-tight);
  color: var(--d-text);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--d-line);
}
.nav__menu a:hover { text-decoration: none; color: var(--accent-300); }
.nav__menu .nav__menu-cta {
  margin-top: var(--space-5);
  border-bottom: none;
}
.nav__menu-label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-muted);
  margin: 0 0 var(--space-2);
}
body.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-inline-start: auto; }
  .nav__toggle { display: block; }
}

/* ---------------------------------------------------------------------------
   Page hero — interior pages: compact dark band, corner glow, grain.
   The homepage keeps the living shader hero (.hero below); interior pages
   take this cheaper static treatment on purpose — speed over spectacle.
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--d-bg);
  color: var(--d-text);
  padding-block: calc(var(--space-9) + 3.8rem) var(--space-9);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 84% 8%,
    color-mix(in srgb, var(--accent-500) 13%, transparent),
    transparent 58%
  );
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero.grain::after { z-index: 3; }
.page-hero .eyebrow { color: var(--accent-300); }
.page-hero h1 { max-width: 22ch; }
.page-hero__sub {
  font-size: var(--step-1);
  color: var(--d-muted);
  max-width: 52ch;
  margin-bottom: 0;
}
.page-hero--compact { padding-block: calc(var(--space-8) + 3.8rem) var(--space-8); }
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

/* Chip row — trust signals / step indicators (mono pills) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: var(--d-muted);
  background: color-mix(in srgb, #ffffff 5%, transparent);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
}
.chip strong { color: var(--d-text); font-weight: 600; }
.chip--on { color: var(--accent-300); border-color: color-mix(in srgb, var(--accent-500) 35%, transparent); }

/* Alternate light surface for section striping */
.section--alt { background: var(--l-surface); }

/* Melts — dark and light bleed into each other instead of hard cuts */
.melt-from-dark { background: linear-gradient(180deg, var(--d-bg) 0, var(--l-bg) 7rem); }
.melt-to-dark   { background: linear-gradient(180deg, var(--l-bg) 0, var(--d-bg) 7rem); }

/* ---------------------------------------------------------------------------
   Footer — structured: brand + tagline + email, link columns, bottom row
   ------------------------------------------------------------------------- */
.footer {
  background: var(--d-bg);
  color: var(--d-muted);
  border-top: 1px solid var(--d-line);
  padding-block: var(--space-8) var(--space-6);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-8);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--d-line);
}
.footer__brand { display: grid; gap: var(--space-4); justify-items: start; align-content: start; }
.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--d-text);
  letter-spacing: var(--tracking-tight);
}
.footer__mark:hover { text-decoration: none; }
.footer__mark img { height: 1.25rem; width: auto; }
.footer__brand p { font-size: var(--step--1); max-width: 34ch; margin: 0; }
.footer__email {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-300);
}
.footer__updates { display: grid; gap: var(--space-2); width: 100%; max-width: 24rem; margin-top: var(--space-2); }
.footer__updates-label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-muted);
  margin: 0;
}
.footer__updates-row { display: flex; gap: var(--space-2); }
.footer__updates .input {
  flex: 1;
  min-width: 0;
  background: var(--d-surface);
  border-color: var(--d-line);
  color: var(--d-text);
}
.footer__updates .input::placeholder { color: var(--d-muted); }
.footer__updates .input:focus { border-color: var(--accent-500); }
.footer__updates-note {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--accent-300);
  min-height: 1.2em;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-muted);
  margin-bottom: var(--space-4);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer__col a { color: var(--d-text); font-size: var(--step--1); font-weight: 500; }
.footer__col a:hover { color: var(--accent-300); text-decoration: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
}
.footer__bottom p { font-size: var(--step--1); margin: 0; }
/* Slim variant for funnel pages (book / onboard / success) */
.footer--slim { padding-block: var(--space-6); }
.footer--slim .footer__bottom { padding-top: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__links a { color: var(--d-muted); font-size: var(--step--1); }
.footer__links a:hover { color: var(--d-text); }
.footer__hud {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 540px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================================
   HOME — hero, explorer, signal, proof, process, pricing, cta
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-10);
  overflow: hidden;
  background: var(--d-bg);
}
/* Flowing-ink shader canvas — behind the copy, under the grain */
.hero__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero.grain::after { z-index: 3; }  /* film grain unifies shader + type */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  max-width: 60rem;
}
.hero__copy { display: grid; justify-items: start; }
.hero__title {
  font-size: var(--step-6);
  line-height: var(--leading-solid);
  letter-spacing: var(--tracking-display);
  margin-bottom: var(--space-5);
}
.hero__title .punch {
  font-style: normal;
  color: var(--accent-500);
}
.hero__sub {
  font-size: var(--step-1);
  color: var(--d-muted);
  max-width: 44ch;
  margin-bottom: var(--space-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.hero__trust {
  font-size: var(--step--1);
  color: var(--d-muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Real iPhone chrome — titanium bezel, Dynamic Island, status bar, buttons.
   Used by the explorer's missed-call demo and the onboard live preview.
   ------------------------------------------------------------------------- */
.iphone {
  position: relative;
  width: min(21rem, 100%);
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(145deg, #3a3b40 0%, #17181b 30%, #0e0f11 70%, #2c2d32 100%);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 90px color-mix(in srgb, var(--accent-500) 22%, transparent);
}
.iphone__screen {
  position: relative;
  border-radius: 44px;
  background: #000;
  padding: var(--space-3) var(--space-4) var(--space-4);
  overflow: hidden;
}
.iphone__statusbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  margin-bottom: var(--space-2);
}
.iphone__time {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--d-text);
  padding-left: var(--space-3);
}
.iphone__island {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: var(--radius-pill);
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.iphone__glyphs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: var(--space-3);
}
/* signal bars + battery drawn with gradients — no icon font needed */
.iphone__signal {
  width: 17px;
  height: 10px;
  background: linear-gradient(to right,
    var(--d-text) 0 3px, transparent 3px 4.5px,
    var(--d-text) 4.5px 7.5px, transparent 7.5px 9px,
    var(--d-text) 9px 12px, transparent 12px 13.5px,
    var(--d-text) 13.5px 16.5px, transparent 16.5px);
  -webkit-mask: linear-gradient(to top, black 0, black 100%) ;
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.iphone__battery {
  width: 22px;
  height: 11px;
  border: 1.5px solid color-mix(in srgb, var(--d-text) 55%, transparent);
  border-radius: 3px;
  position: relative;
}
.iphone__battery::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  right: 30%;
  background: var(--d-text);
  border-radius: 1px;
}
.iphone__battery::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: color-mix(in srgb, var(--d-text) 55%, transparent);
}
/* side buttons */
.iphone__btn {
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(90deg, #2b2c31, #101114);
}
.iphone__btn--action  { left: -2px; top: 96px;  width: 3px; height: 26px; }
.iphone__btn--volup   { left: -2px; top: 138px; width: 3px; height: 42px; }
.iphone__btn--voldown { left: -2px; top: 188px; width: 3px; height: 42px; }
.iphone__btn--power   { right: -2px; top: 150px; width: 3px; height: 64px; }

/* iPhone screen content sizing + the complete bottom (input bar + home bar) */
.iphone .phone__thread { height: 28rem; }
.iphone__inputbar {
  display: flex;
  align-items: center;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, #ffffff 4%, transparent);
}
.iphone__inputbar span {
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--d-muted) 65%, transparent);
}
.iphone__homebar {
  width: 38%;
  height: 4px;
  margin: var(--space-3) auto 0;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, #ffffff 28%, transparent);
}

/* ---------------------------------------------------------------------------
   Capability Explorer — light section; tiles left, live demo stage right.
   ------------------------------------------------------------------------- */
.explorer {
  background: linear-gradient(180deg, var(--d-bg) 0, var(--l-bg) 7rem);
}
.explorer__sub {
  font-size: var(--step-1);
  color: var(--l-muted);
  margin-bottom: var(--space-7);
}
.explorer__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-7);
  align-items: start;
}
.explorer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.explorer-tile {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  text-align: left;
  padding: var(--space-5);
  background: var(--l-surface);
  border: 1px solid var(--l-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.explorer-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.explorer-tile.is-active {
  border-color: var(--accent-500);
  background: var(--l-bg);
  box-shadow: 0 0 0 1px var(--accent-500), var(--shadow-sm);
}
.explorer-tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.explorer-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.explorer-tile__chip {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}
.explorer-tile__chip--soon {
  color: var(--l-muted);
  background: var(--l-surface-2);
}
.explorer-tile__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: var(--tracking-tight);
  color: var(--l-text);
}
.explorer-tile__blurb {
  font-size: var(--step--1);
  line-height: var(--leading-normal);
  color: var(--l-muted);
}
.explorer-tile__price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--l-text);
}

/* Annotation rules sit above section headings; the ruler draws in on entry
   (motion.js animates --draw 0% → 100%; default 100% keeps no-JS intact) */
main .annot-line { margin-bottom: var(--space-5); }
.annot-line::after {
  clip-path: inset(0 calc(100% - var(--draw, 100%)) 0 0);
}

/* Stage — the demo panel */
.explorer__stage { position: relative; min-height: 30rem; align-self: center; }
.stage-panel {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
}
.stage-panel[hidden] { display: none; }
.stage-panel__demo { width: 100%; display: grid; justify-items: center; }
.stage-panel__cta {
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--accent-700);
}

@media (max-width: 900px) {
  .explorer__layout { grid-template-columns: 1fr; }
  /* Demo stage above the tile grid on small screens */
  .explorer__stage { order: -1; min-height: 0; }
}
@media (max-width: 540px) {
  .explorer__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Phone demo — missed-call text-back thread inside a device frame
   ------------------------------------------------------------------------- */
.phone {
  width: min(21rem, 100%);
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: 28px;
  padding: var(--space-4);
  box-shadow: var(--shadow-md), var(--shadow-sm);
}
.phone__header {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-muted);
  text-align: center;
  padding-block: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--d-line);
  margin-bottom: var(--space-3);
}
.phone__thread {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-2);
  height: 21rem;
  overflow: hidden;
  transition: opacity 0.6s var(--ease-out);
}
.phone__thread.is-fading { opacity: 0; }

.msg {
  font-size: var(--step--1);
  line-height: var(--leading-snug);
  padding: var(--space-2) var(--space-3);
  max-width: 85%;
  border-radius: var(--radius-md);
}
.msg-missed {
  align-self: center;
  background: #2a1414;
  color: #ff9a9a;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  border-radius: var(--radius-xs);
}
.msg-out {
  align-self: flex-end;
  background: var(--accent-500);
  color: var(--d-bg);
  border-end-end-radius: var(--radius-xs);
}
.msg-in {
  align-self: flex-start;
  background: var(--d-surface-2);
  color: var(--d-text);
  border-end-start-radius: var(--radius-xs);
}

/* typing dots */
.msg--typing { display: inline-flex; gap: 4px; padding-block: var(--space-3); }
.msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--d-bg) 55%, transparent);
  animation: typing-bounce 1s infinite var(--ease-out);
}
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.demo-caption {
  font-size: var(--step--1);
  color: var(--l-muted);
  text-align: center;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Chat widget demo — reads as an embedded site chat, not a phone
   ------------------------------------------------------------------------- */
.chat-widget {
  width: min(23rem, 100%);
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}
.chat-widget__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--d-text);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--d-line);
  margin-bottom: var(--space-3);
}
.chat-widget__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-500);
  box-shadow: 0 0 6px var(--accent-500);
}
.chat-widget__thread { height: 16rem; }

/* ---------------------------------------------------------------------------
   Automation flow demo — nodes light in sequence, links draw between them
   ------------------------------------------------------------------------- */
.flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(22rem, 100%);
  padding: var(--space-5);
  background: var(--l-surface);
  border: 1px solid var(--l-line);
  border-radius: var(--radius-lg);
}
.flow-node {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.flow-node__dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--l-line);
  background: var(--l-surface-2);
  transition: background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.flow-node__label {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--l-muted);
  transition: color var(--dur) var(--ease-out);
}
.flow-node.is-lit .flow-node__dot {
  background: var(--accent-500);
  border-color: var(--accent-500);
  box-shadow: 0 0 8px var(--accent-ring);
}
.flow-node.is-lit .flow-node__label { color: var(--l-text); }

.flow__link {
  width: 2px;
  height: var(--space-6);
  margin-inline-start: 6px; /* center under the 14px dot */
  background: var(--l-line);
  overflow: hidden;
}
.flow__link-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease-out);
}
.flow__link.is-lit .flow__link-fill { transform: scaleY(1); }

/* ---------------------------------------------------------------------------
   Web design before/after demo — abstract layout blocks, tap to compare
   ------------------------------------------------------------------------- */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  width: min(30rem, 100%);
}
.ba__frame {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  padding: var(--space-4);
  background: var(--l-surface);
  border: 1px solid var(--l-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.ba__frame.is-dim { opacity: 0.55; }
.ba__frame:not(.is-dim) {
  border-color: var(--accent-500);
  transform: translateY(-2px);
}
.ba__frame:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.ba__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--l-muted);
}
.ba__mock {
  display: grid;
  gap: var(--space-2);
  width: 100%;
  min-height: 11rem;
  align-content: start;
}
.ba__bar {
  display: block;
  height: 8px;
  width: 100%;
  border-radius: 2px;
  background: var(--l-surface-2);
}
.ba__bar--short { width: 62%; }

/* Before: cramped, flat, everything the same weight */
.ba__mock--before { gap: var(--space-1); }
.ba__mock--before .ba__bar { background: #d8d8d6; border-radius: 0; }
.ba__mock--before .ba__bar--nav { height: 12px; margin-bottom: var(--space-1); }
.ba__mock--before .ba__bar--title { height: 14px; width: 88%; }

/* After: the same tokens this page uses — hierarchy, breathing room, one punch */
.ba__mock--after { gap: var(--space-3); }
.ba__row { display: flex; align-items: center; gap: var(--space-2); width: 100%; }
.ba__dot {
  width: 10px; height: 10px; flex: none;
  border-radius: var(--radius-pill);
  background: var(--l-text);
}
.ba__bar--navline { height: 6px; width: 40%; border-radius: var(--radius-pill); }
.ba__pill {
  width: 3rem; height: 12px; flex: none;
  border-radius: var(--radius-pill);
  background: var(--l-surface-2);
  border: 1px solid var(--l-line);
}
.ba__pill--accent { background: var(--accent-500); border-color: var(--accent-500); }
.ba__bar--display { height: 18px; width: 78%; border-radius: 4px; background: var(--l-text); }
.ba__bar--lead { height: 8px; width: 92%; border-radius: var(--radius-pill); }
.ba__row--cards { gap: var(--space-3); }
.ba__cardlet {
  flex: 1; height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--l-surface-2);
  border: 1px solid var(--l-line);
}

@media (max-width: 540px) {
  .ba { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Signal section — contained real-time 3D scene, dark beat after the explorer
   ------------------------------------------------------------------------- */
.signal {
  background: linear-gradient(
    180deg,
    var(--l-bg) 0,
    var(--d-bg) 7rem,
    var(--d-bg) calc(100% - 7rem),
    var(--l-bg) 100%
  );
}
.signal__sub {
  font-size: var(--step-1);
  color: var(--d-muted);
  max-width: 52ch;
  margin-bottom: var(--space-7);
}
.signal-canvas {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 34rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--d-line);
  background: radial-gradient(
    circle at 50% 50%,
    color-mix(in srgb, var(--accent-700) 10%, transparent),
    transparent 70%
  );
  overflow: hidden;
}
.signal-canvas canvas { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------------------
   Proof — two light cards, judged-on-the-work framing
   ------------------------------------------------------------------------- */
.proof { background: var(--l-bg); }
.proof__sub, .process__sub, .pricing__sub {
  font-size: var(--step-1);
  color: var(--l-muted);
  margin-bottom: var(--space-7);
}
.proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.proof__detail {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-700);
  margin: 0;
}
@media (max-width: 720px) {
  .proof__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Process — numbered steps, connector line draws on scroll (motion.js)
   ------------------------------------------------------------------------- */
.process { background: var(--l-surface); }
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: var(--space-7);
  max-width: 40rem;
}
/* connector track + animated fill */
.process__steps::before {
  content: '';
  position: absolute;
  top: var(--space-4);
  bottom: var(--space-4);
  left: 17px;
  width: 2px;
  background: var(--l-line);
}
.process__line {
  position: absolute;
  top: var(--space-4);
  bottom: var(--space-4);
  left: 17px;
  width: 2px;
  background: var(--accent-500);
  transform: scaleY(0);
  transform-origin: top;
}
.process-step {
  position: relative;
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.process-step__dot {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-500);
  color: var(--d-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--l-surface);
}
.process-step__title {
  font-size: var(--step-2);
  margin-bottom: var(--space-2);
}
.process-step p { margin: 0; color: var(--l-muted); }

/* ---------------------------------------------------------------------------
   Pricing summary — four compact cards from EXPLORER_TILES
   ------------------------------------------------------------------------- */
.pricing { background: var(--l-bg); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.pricing-card { display: grid; gap: var(--space-2); align-content: start; }
.pricing-card__title {
  font-size: var(--step-1);
  margin: 0;
}
.pricing-card__price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--l-text);
  margin: 0;
}
.pricing-card__link {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--accent-700);
}
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pricing__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Final CTA — dark bookend, echoes the hero glow from the opposite corner
   ------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: linear-gradient(180deg, var(--l-bg) 0, var(--d-bg) 7rem);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 18% 88%,
    color-mix(in srgb, var(--accent-500) 16%, transparent),
    transparent 55%
  );
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; justify-items: start; max-width: 46rem; }
.cta__sub {
  font-size: var(--step-1);
  color: var(--d-muted);
  margin-bottom: var(--space-6);
}
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ============================================================================
   SERVICES — sticky in-page nav, alternating detail sections w/ live demos
   ========================================================================== */

.svc-nav {
  position: sticky;
  top: 61px;
  z-index: 40;
  background: color-mix(in srgb, var(--l-bg) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--l-line);
}
.svc-nav__inner {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  padding-block: var(--space-3);
  scrollbar-width: none;
}
.svc-nav__inner::-webkit-scrollbar { display: none; }
@media (max-width: 720px) {
  /* fade hint that the row scrolls */
  .svc-nav__inner {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  }
}
.svc-nav__inner a {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--l-muted);
}
.svc-nav__inner a:hover { color: var(--l-text); text-decoration: none; }
.svc-nav__inner a .index { font-size: var(--step--2); }

.svc { padding-block: var(--space-9); }
.svc--alt { background: var(--l-surface); }
.svc__layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: center;
}
.svc--flip .svc__layout > .svc__copy { order: 2; }
.svc__copy { display: grid; justify-items: start; align-content: start; }
.svc__who {
  font-size: var(--step-1);
  color: var(--l-muted);
  margin-bottom: var(--space-5);
}
.svc__demo { display: grid; justify-items: center; gap: var(--space-4); }

/* Feature list — mono arrow markers, not generic bullets */
.feat-list {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.feat-list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--l-text);
  font-size: var(--step-0);
  line-height: var(--leading-normal);
}
.feat-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--accent-600);
}

/* Price lockup — display-size number + mono note */
.price-lockup {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.price-lockup__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--l-text);
}
.price-lockup__amount span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.45em;
  color: var(--l-muted);
}
.price-lockup--soon .price-lockup__amount { font-size: var(--step-3); }
.price-lockup__note {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--l-muted);
}
.svc__stat {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-700);
  margin: 0 0 var(--space-5);
}
.svc__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Care-plan / add-on strip inside a service section */
.addon-strip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  width: 100%;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent-500) 22%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}
.addon-strip__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-700);
}
.addon-strip__price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--l-text);
}
.addon-strip__desc {
  flex-basis: 100%;
  font-size: var(--step--1);
  color: var(--l-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .svc__layout { grid-template-columns: 1fr; gap: var(--space-7); }
  .svc--flip .svc__layout > .svc__copy { order: 0; }
  .svc__demo { order: -1; }
}

/* ---------------------------------------------------------------------------
   Bundle — dark best-value band between the service sections
   ------------------------------------------------------------------------- */
.bundle {
  position: relative;
  overflow: hidden;
  background: var(--d-bg);
  color: var(--d-text);
}
.bundle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 82% 20%,
    color-mix(in srgb, var(--accent-500) 14%, transparent),
    transparent 55%
  );
  pointer-events: none;
}
.bundle .container { position: relative; z-index: 2; }
.bundle.grain::after { z-index: 3; }
.bundle__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--space-8);
  align-items: center;
}
.bundle__copy { display: grid; justify-items: start; }
.bundle__copy .feat-list li { color: var(--d-text); }
.bundle__who {
  font-size: var(--step-1);
  color: var(--d-muted);
  margin-bottom: var(--space-5);
}
.bundle__pricebox {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.bundle__pricebox .price-lockup { margin-bottom: 0; }
.bundle__pricebox .price-lockup__amount { color: var(--d-text); }
.bundle__pricebox .price-lockup__note { color: var(--d-muted); }
.bundle__save {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-300);
  margin: 0;
}
.bundle__pricebox p { margin: 0; }
.bundle__pricebox .btn { margin-top: var(--space-3); }
@media (max-width: 900px) {
  .bundle__layout { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------------------------------------------------------------------------
   FAQ — native accordion, plus marker rotates
   ------------------------------------------------------------------------- */
.faq { max-width: 46rem; }
.faq details {
  border-bottom: 1px solid var(--l-line);
}
.faq details:first-of-type { border-top: 1px solid var(--l-line); }
.faq summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: var(--tracking-tight);
  color: var(--l-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  margin-inline-start: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--step-2);
  color: var(--accent-600);
  line-height: 1;
  transition: transform var(--dur) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary .faq__tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--l-muted);
  flex: none;
}
.faq details > p {
  color: var(--l-muted);
  padding-bottom: var(--space-5);
  margin: 0;
  max-width: 58ch;
}
@media (max-width: 640px) {
  .faq summary { flex-wrap: wrap; gap: var(--space-2); }
  .faq summary .faq__tag { flex-basis: 100%; order: -1; }
}

/* ============================================================================
   FORMS / FUNNEL PAGES — shells shared by contact, book, onboard, success
   ========================================================================== */

.shell {
  background: var(--l-bg);
  border: 1px solid var(--l-line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}
.shell--narrow { max-width: 46rem; margin-inline: auto; }
.shell--wide { max-width: 60rem; margin-inline: auto; }

.input, textarea.input { font-size: var(--step-0); }
textarea.input { resize: vertical; min-height: 6rem; }
.field__hint {
  font-size: var(--step--1);
  color: var(--l-muted);
  margin: 0;
  line-height: 1.5;
}
.field > label .req { color: var(--accent-600); }

/* Honeypot — off-screen but present in the form; bots fill it, people can't */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent-700);
  min-height: 1.4em;
  margin: var(--space-4) 0 0;
  text-align: center;
}

/* Price strip — the money summary at the top of an onboarding shell */
.price-strip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent-500) 22%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}
.price-strip__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--l-text);
}
.price-strip__amount span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--l-muted);
}
.price-strip__note {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-700);
}

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.02em;
  color: var(--l-muted);
}
.secure-line svg { flex: none; opacity: 0.7; }
.billing-note {
  text-align: center;
  margin: var(--space-3) auto 0;
  font-size: var(--step--1);
  color: var(--l-muted);
}
.shell-footnote {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--step--1);
  color: var(--l-muted);
}

/* Onboard split: form left, live phone preview right */
.onboard__layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: start;
}
.onboard__preview {
  position: sticky;
  top: calc(61px + var(--space-6));
  display: grid;
  justify-items: center;
  gap: var(--space-4);
}
.onboard__preview .iphone .phone__thread { height: 17rem; }
.onboard__preview-caption {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--l-muted);
  text-align: center;
  margin: 0;
}
@media (max-width: 900px) {
  .onboard__layout { grid-template-columns: 1fr; }
  .onboard__preview { display: none; }
}

/* Multi-step (chatbot onboard) */
.form-step { display: none; }
.form-step.is-active { display: block; }
.step-heading { font-size: var(--step-2); margin-bottom: var(--space-2); }
.step-sub { color: var(--l-muted); margin-bottom: var(--space-6); }
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.form-nav .btn:only-child { margin-inline-start: auto; }

/* Radio choice cards */
.choice-group { display: grid; gap: var(--space-3); }
.choice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--l-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.choice:hover { border-color: color-mix(in srgb, var(--accent-500) 40%, transparent); }
.choice:has(input:checked) {
  border-color: var(--accent-500);
  background: var(--accent-soft);
}
.choice input { margin-top: 0.3em; accent-color: var(--accent-600); }
.choice .choice-text { display: grid; gap: var(--space-1); }
.choice strong { display: block; font-size: var(--step-0); color: var(--l-text); }
.choice span { font-size: var(--step--1); color: var(--l-muted); }

.color-row { display: flex; align-items: center; gap: var(--space-4); }
.color-row input[type="color"] {
  width: 52px;
  height: 36px;
  padding: 2px;
  border: 1px solid var(--l-line);
  border-radius: var(--radius-xs);
  background: var(--l-surface);
  cursor: pointer;
}
.color-row .field__hint { margin: 0; }

/* ---------------------------------------------------------------------------
   Booking page — context header + calendly shell
   ------------------------------------------------------------------------- */
.booking-what {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--l-line);
}
.booking-what h2 {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--l-muted);
  margin-bottom: var(--space-4);
}
.booking-calendar {
  min-height: 700px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--l-surface);
}
.booking-calendar.is-placeholder {
  border: 1px dashed var(--l-line);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-8) var(--space-5);
}
.booking-calendar.is-placeholder strong { color: var(--l-text); }
.booking-calendar.is-placeholder span {
  color: var(--l-muted);
  font-size: var(--step--1);
  max-width: 36ch;
}
.calendly-inline-widget { min-width: 320px; height: 700px; }
@media (max-width: 720px) {
  .booking-calendar,
  .calendly-inline-widget { min-height: 1000px; height: 1000px; }
}

/* ---------------------------------------------------------------------------
   Contact — form card + direct-line aside
   ------------------------------------------------------------------------- */
.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--space-6);
  align-items: start;
}
.inquiry-side { display: grid; gap: var(--space-5); }
.inquiry-side .card { display: grid; gap: var(--space-3); justify-items: start; }
.inquiry-side .card h3 { font-size: var(--step-1); margin: 0; word-break: break-word; }
.inquiry-side .card p { font-size: var(--step--1); color: var(--l-muted); margin: 0; }
@media (max-width: 860px) {
  .inquiry-layout { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Success page
   ------------------------------------------------------------------------- */
.success-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent-500) 30%, transparent);
  color: var(--accent-600);
  margin-bottom: var(--space-5);
}
.next-steps {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  text-align: left;
}
.next-steps li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.next-steps .index { flex: none; padding-top: 0.2em; }
.next-steps p { margin: 0; color: var(--l-muted); }
.next-steps strong { color: var(--l-text); }

/* ---------------------------------------------------------------------------
   Legal prose (privacy / terms)
   ------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 {
  font-size: var(--step-2);
  margin: var(--space-8) 0 var(--space-4);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--l-muted); }
.prose ul { padding-left: 1.2em; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose .updated {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--l-muted);
}

/* ---------------------------------------------------------------------------
   About page — editorial story split, belief cards, service index rows
   ------------------------------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-8);
  align-items: start;
}
.about-story h2 { margin-bottom: 0; }
.about-story__text p { color: var(--l-muted); }
.about-story__text p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .about-story { grid-template-columns: 1fr; gap: var(--space-5); }
}

.beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 860px) { .beliefs { grid-template-columns: 1fr; } }

.svc-index { list-style: none; margin: 0; padding: 0; }
.svc-index li { border-bottom: 1px solid var(--l-line); }
.svc-index li:first-child { border-top: 1px solid var(--l-line); }
.svc-index a {
  display: grid;
  grid-template-columns: auto minmax(0, 14rem) 1fr auto;
  gap: var(--space-5);
  align-items: baseline;
  padding-block: var(--space-5);
  color: var(--l-text);
  transition: background-color var(--dur) var(--ease-out);
}
.svc-index a:hover { text-decoration: none; background: var(--l-surface); }
.svc-index__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: var(--tracking-tight);
}
.svc-index__desc { color: var(--l-muted); font-size: var(--step--1); }
.svc-index__price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--l-text);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .svc-index a { grid-template-columns: auto 1fr auto; }
  .svc-index__desc { display: none; }
}
