/* simplify. — site styles
   Order: tokens → base → components (tracker, nav, buttons) → sections →
   product mockups. Motion rules: content settles in 400–600ms, UI controls
   respond in 150–200ms, and nothing keeps moving beside text. */

/* Self-hosted Instrument Sans (variable, 400–700) and Instrument Serif, latin
   subset. Preloaded from each page's <head>; no third-party font request. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-latin.woff2) format('woff2'); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --green: #173e35;          /* brand deep green */
  --green-2: #204638;        /* cards on green */
  --green-3: #2c5b4a;        /* hover on green */
  --accent: #4f7f6f;         /* serif-italic accent words on light */
  --accent-dark: #b1cda3;    /* serif-italic accent words on green */
  --mark: #77ad99;           /* brandmark dot */
  --ink: #1e302a;
  --ink-2: #4c5f56;          /* secondary text, 6:1 on --bg */
  --muted: #5f7165;          /* small print, 4.8:1 on --bg */
  --bg: #f7f6f0;
  --surface: #fffef9;
  --panel: #eef2e6;
  --line: #dfe6d8;
  --lime: #e6edcd;           /* light button / highlights on green */
  --on-green: #eff3dd;
  --on-green-2: #b9cbb7;     /* 6.7:1 on --green */
  --focus: #bf7544;
  --ok: #3e7351;
  --ok-bg: #edf4e7;
  --wait: #74532a;
  --wait-bg: #f7ecdb;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-content: .5s;
  --t-ui: .18s;

  --nav-h: 70px;
  --nav-top: 10px;
  --gutter: 56px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
html:has(.tracker-bar-wrap) { scroll-padding-top: 170px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 450; line-height: 1.02; letter-spacing: -.045em; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(44px, 5.2vw, 76px); }
h3 { font-size: 26px; letter-spacing: -.03em; }
em { font-style: italic; color: var(--accent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
img, svg { display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; z-index: 100; left: 12px; top: -100px; padding: 12px 16px;
  background: var(--surface); border-radius: 6px; box-shadow: 0 8px 24px #1e3e3022;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 550; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase; color: #477364;
}

/* Inline SVG icons from the sprite at the top of each page
   (<svg class="i"><use href="#i-arrow-right"/></svg>): one stroke weight everywhere */
.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.button .i, .arrow-link .i, .faq-ico .i { width: 16px; height: 16px; }
.text-link .i { width: 15px; height: 15px; }
.chat-action .i, .ui-button > .i { width: 18px; height: 18px; }
.footer-column a .i { width: 13px; height: 13px; }

@media (max-width: 1100px) { :root { --gutter: 35px; } }
@media (max-width: 767px) { :root { --gutter: 20px; --nav-h: 62px; --nav-top: 8px; } }

/* ==========================================================================
   Journey tracker (journey.js renders the markup)
   A thin path with five dots: done ✓, current filled, future outlined.
   ========================================================================== */
.tracker { --dot: 22px; --cols: 5; --tracker-fill: 0; --tracker-progress: 0; font-size: 13px; container-type: inline-size; }
.tracker-steps {
  position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
.tracker-steps.has-after { --cols: 6; }
/* the path behind the dots (dot 1 to dot 5), and its filled part */
.tracker-steps::before,
.tracker-steps::after {
  content: ''; position: absolute; top: calc(var(--dot) / 2 - 1px); height: 2px; border-radius: 2px;
  left: calc(100% / (2 * var(--cols)));
  right: calc(100% / (2 * var(--cols)));
}
.tracker-steps.has-after::before,
.tracker-steps.has-after::after { right: calc(100% * 1.5 / var(--cols)); }
.tracker-steps::before { background: var(--line); }
.tracker-steps::after {
  background: var(--green); transform-origin: left center;
  transform: scaleX(var(--tracker-fill));
  transition: transform var(--t-content) var(--ease-out);
}
.tracker-step, .tracker-after { position: relative; z-index: 1; display: flex; justify-content: center; }
.tracker-step a, .tracker-after a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  color: var(--muted); border-radius: 6px; padding: 0 4px;
  transition: color var(--t-ui) ease;
}
.tracker-step a:hover, .tracker-after a:hover { color: var(--ink); }
.tracker-dot {
  width: var(--dot); height: var(--dot); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid #b8c5b4; color: transparent;
  transition: background var(--t-content) var(--ease-out), border-color var(--t-content) var(--ease-out), color var(--t-content) var(--ease-out), box-shadow var(--t-content) var(--ease-out);
}
.tracker-dot .i { width: 13px; height: 13px; stroke-width: 2.4; }
.tracker-label { display: inline-flex; gap: 5px; white-space: nowrap; font-weight: 500; line-height: 1.3; }
.tracker-num { font-variant-numeric: tabular-nums; }

.tracker-step.is-past .tracker-dot { background: #dfe9d8; border-color: #dfe9d8; color: var(--green); }
.tracker-step.is-current .tracker-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px #173e3517; }
.tracker-step.is-current .tracker-dot .i { opacity: 0; }
.tracker-step.is-current a { color: var(--ink); }
.tracker-step.is-current .tracker-label { font-weight: 650; }

/* Narrow trackers keep every number but only the current step's name */
@container (max-width: 560px) {
  .tracker-step:not(.is-current) .tracker-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Insights: everything done, then an "after booking" marker */
.tracker-after::before {
  content: ''; position: absolute; top: calc(var(--dot) / 2 - 1px);
  left: calc(-50% + var(--dot) / 2 + 4px); right: calc(50% + var(--dot) / 2 + 4px);
  border-top: 2px dashed #9fb39b;
}
.tracker-after .tracker-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px #173e3517; }
.tracker-after a { color: var(--ink); }
.tracker-after .tracker-label { font-weight: 650; white-space: normal; max-width: 9em; }

.tracker-compact { display: none; }
/* journey.js fills the tracker; without JS there is nothing to show */
.tracker:empty, .tracker-bar-wrap:has(.tracker:empty) { display: none; }

/* Sticky bar under the nav on product pages */
.tracker-bar-wrap {
  position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 8px); z-index: 15;
  margin: 18px auto 0; padding: 0 var(--gutter);
}
.tracker-bar-wrap .tracker {
  max-width: 760px; margin: 0 auto; padding: 14px 26px 12px;
  background: #fbfcf6e6; border: 1px solid #d8e2d288; border-radius: 12px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 22px #1e3e300d;
}

@media (max-width: 767px) {
  .tracker-steps { display: none; }
  .tracker-compact {
    display: flex; align-items: center; gap: 14px; margin: 0;
    font-size: 13px; font-weight: 600; color: var(--ink);
  }
  .tracker-compact-text { white-space: nowrap; }
  .tracker-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
  .tracker-bar i {
    display: block; height: 100%; background: var(--green); border-radius: 4px;
    transform-origin: left; transform: scaleX(var(--tracker-progress));
    transition: transform var(--t-content) var(--ease-out);
  }
  .tracker-bar-wrap .tracker { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tracker *, .tracker-steps::after { transition: none !important; }
}

/* ==========================================================================
   Brand, buttons, links
   ========================================================================== */
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 29px; font-weight: 650; letter-spacing: -1.4px; line-height: 1;
}
.brandmark { display: flex; align-items: center; gap: 2px; }
.brandmark i { width: 10px; height: 10px; border-radius: 50%; background: var(--mark); }
.brandmark i:first-child { border: 2px solid currentColor; background: none; }
.nav .brand { min-height: 44px; }
.brand.mini { font-size: 17px; gap: 6px; letter-spacing: -.6px; }
.brand.mini .brandmark i { width: 7px; height: 7px; }
.brand.mini .brandmark i:first-child { border-width: 1.5px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  padding: 16px 22px; border-radius: 6px; border: 1px solid transparent;
  background: var(--green); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: background var(--t-ui) ease, border-color var(--t-ui) ease;
}
.button:hover { background: var(--green-3); }
.button .btn-inner { display: inline-flex; align-items: center; gap: inherit; }
.button .i, .text-link .i { transition: transform var(--t-ui) ease; }
.button:hover .i { transform: translate(2px, -2px); }
.button.light { background: var(--lime); color: #244631; }
.button.light:hover { background: #f3f7e4; }
.button.ghost { background: transparent; color: var(--green); border-color: #173e3555; }
.button.ghost:hover { background: #173e350d; }
.button.small { min-height: 44px; padding: 11px 16px; font-size: 14px; gap: 16px; }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-ui) ease;
}
.text-link:hover { color: var(--ink); }
.text-link:hover .i { transform: translateY(2px); }
.arrow-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 550; color: var(--green);
  padding-bottom: 2px; border-bottom: 1px solid #173e3540;
  transition: border-color var(--t-ui) ease;
}
/* a 44px-tall tap area around the short text links, without moving them */
.text-link::after, .arrow-link::after { content: ''; position: absolute; inset: -12px -6px; }
.arrow-link:hover { border-color: currentColor; }
.arrow-link .i { transition: transform var(--t-ui) ease; }
.arrow-link:hover .i { transform: translateX(3px); }

.disclaimer { font-size: 12px; letter-spacing: .02em; color: var(--muted); }

/* ==========================================================================
   Navigation
   "Platform" is a disclosure button; the panel holds one link per page with
   its journey steps. The chevron is an inline SVG that turns over 180ms.
   ========================================================================== */
.nav {
  position: fixed; z-index: 20; top: var(--nav-top); left: 20px; right: 20px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 28px;
  border: 1px solid #d8e2d288; border-radius: 10px;
  background: #f8fbf1e6; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 5px 25px #1e3e3010; color: var(--ink);
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}
.nav.dark-glass { background: #173e35c4; color: #fff; border-color: #d9ead32b; }
.nav.dark-glass .nav-demo { background: var(--lime); color: #244631; }
.nav.dark-glass .nav-demo:hover { background: #f3f7e4; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; line-height: 1; }
.nav-links > a { position: relative; padding: 8px 0; }
.nav-links > a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-ui) ease;
}
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"], .mobile-secondary a[aria-current="page"] { font-weight: 650; }

.platform { position: relative; }
.platform-toggle {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 6px; margin: 0 -6px;
  background: none; border: 0; border-radius: 6px; cursor: pointer; font-size: 14px; line-height: 1;
}
.platform-toggle.is-current { font-weight: 650; }
.platform-toggle .chevron { width: 14px; height: 14px; stroke-width: 1.6; transition: transform var(--t-ui) var(--ease-out); }
.platform-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.platform-menu {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 420px; padding: 8px;
  background: #fafbf5; color: var(--ink); border: 1px solid #d8e1d1; border-radius: 14px;
  box-shadow: 0 20px 55px #142f3024; transform: translateX(-50%);
  animation: menu-in var(--t-ui) var(--ease-out);
}
.platform-menu[hidden] { display: none; }
/* keeps the pointer inside while it crosses the gap under the button */
.platform-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
@keyframes menu-in { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }

.pm-list a {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
  transition: background var(--t-ui) ease;
}
.pm-list a:hover { background: #edf1e3; }
.pm-list a[aria-current="page"] { background: #e6edd9; }
.pm-glyph { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #e6eddc; color: #3f6650; }
.pm-glyph svg { width: 24px; height: 24px; }
.pm-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.pm-steps { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #477364; }
.pm-line { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.pm-all {
  display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 13px 12px 9px;
  border-top: 1px solid #e3e9dc; font-size: 14px; font-weight: 550; line-height: 1; color: var(--green);
}
.pm-all .i { transition: transform var(--t-ui) ease; }
.pm-all:hover .i { transform: translateX(3px); }

.menu-toggle { display: none; }
.mobile-menu[hidden] { display: none; }

@media (max-width: 1000px) {
  .nav { padding: 0 12px 0 20px; }
  .nav-links { display: none; }
  .nav-demo { margin-left: auto; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform var(--t-ui) ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; z-index: 19; top: calc(var(--nav-top) + var(--nav-h) + 8px); left: 20px; right: 20px;
    display: flex; flex-direction: column; padding: 16px 12px 12px;
    max-height: calc(100svh - var(--nav-top) - var(--nav-h) - 24px); overflow: auto; overscroll-behavior: contain;
    background: #f6f8ef; color: var(--ink); border: 1px solid #d4dfca; border-radius: 12px;
    box-shadow: 0 20px 50px #284e3c20; animation: enter var(--t-ui) var(--ease-out);
  }
  .mobile-label { margin: 0 0 6px 12px; font-size: 11px; }
  .mobile-menu .pm-list a { padding: 12px; }
  .mobile-secondary { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; padding: 14px 12px 4px; border-top: 1px solid #d8e2cc; }
  .mobile-secondary a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 767px) {
  .nav { left: 10px; right: 10px; padding: 0 6px 0 16px; gap: 8px; }
  .nav .brand { font-size: 24px; }
  .mobile-menu { left: 10px; right: 10px; }
}

/* ==========================================================================
   Page entrance and scroll reveals
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--green); pointer-events: none;
  animation: lift .5s var(--ease-in-out) .15s forwards;
}
.seen-session .preloader { display: none; }
@keyframes lift { to { transform: translateY(-100%); } }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.js .intro { animation: enter .6s var(--ease-out) both; animation-delay: calc(.5s + var(--d, 0) * 70ms); }
.seen-session .intro { animation-delay: calc(.05s + var(--d, 0) * 60ms); }

.js-motion .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Section scaffolding: one eyebrow, one headline, one sentence
   ========================================================================== */
.section-head { max-width: 680px; }
.section-head .eyebrow + h2 { margin-top: 16px; }
.section-head p:not(.eyebrow) { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.on-green .eyebrow { color: #c8dbb0; }
.on-green h2 em, .on-green h3 em { color: var(--accent-dark); }
.on-green .section-head p:not(.eyebrow) { color: var(--on-green-2); }

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero {
  position: relative; margin: 10px 10px 0; padding: 150px 0 26px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #f0f4e8 0, #e5eee5 60%, #dce9df 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.hero h1 { font-size: clamp(72px, 9vw, 138px); line-height: .88; letter-spacing: -.05em; margin: 24px 0; }
.hero h1 .line { display: block; }
.hero h1 em { color: #588471; }
.hero-copy { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 28px; }
.hero .disclaimer { position: relative; z-index: 2; text-align: center; margin-top: 22px; }

.hero-visual { position: relative; width: min(690px, calc(100% - 2 * var(--gutter))); margin: 60px auto 0; }
.hero-scene { position: relative; height: 560px; }
.hero-scene .clinic-card { position: absolute; left: 0; top: 96px; z-index: 1; width: 384px; }
.hero-scene .phone { position: absolute; left: 372px; top: 0; z-index: 2; }
.loop-toggle {
  position: absolute; z-index: 3; left: 672px; bottom: 6px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fffef9d9; border: 1px solid #c9d4c3; color: var(--green); cursor: pointer;
  transition: background var(--t-ui) ease, border-color var(--t-ui) ease;
}
.loop-toggle:hover { background: #fff; border-color: var(--green); }
.loop-toggle .i { width: 15px; height: 15px; }
.loop-toggle .play-ico { display: none; }
.loop-toggle.is-paused .play-ico { display: block; }
.loop-toggle.is-paused .pause-ico { display: none; }
.loop-toggle[hidden] { display: none; }

/* Hero loop: the scene shows one state at a time (data-state 1–4).
   Each state fades in over 500ms, then holds still. */
.hero-scene [data-show] {
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-content) var(--ease-out), transform var(--t-content) var(--ease-out), visibility 0s linear var(--t-content);
}
.hero-scene .phone-screen[data-show] { transform: translateY(12px); }
.hero-scene[data-state="1"] [data-show~="1"],
.hero-scene[data-state="2"] [data-show~="2"],
.hero-scene[data-state="3"] [data-show~="3"],
.hero-scene[data-state="4"] [data-show~="4"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-content) var(--ease-out) .1s, transform var(--t-content) var(--ease-out) .1s, visibility 0s;
}
/* state 3: the form fills in, one tick at a time */
.hero-scene .screen-form .form-list .tick,
.hero-scene .screen-form .ui-button {
  opacity: 0; transform: scale(.6);
  transition: opacity .3s ease .6s, transform .3s ease .6s;
}
.hero-scene .screen-form .ui-button { transform: translateY(8px); }
.hero-scene[data-state="3"] .screen-form .form-list .tick,
.hero-scene[data-state="3"] .screen-form .ui-button {
  opacity: 1; transform: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.hero-scene[data-state="3"] .form-list li:nth-child(1) .tick { transition-delay: .5s; }
.hero-scene[data-state="3"] .form-list li:nth-child(2) .tick { transition-delay: .9s; }
.hero-scene[data-state="3"] .form-list li:nth-child(3) .tick { transition-delay: 1.3s; }
.hero-scene[data-state="3"] .screen-form .ui-button { transition-delay: 1.8s; }

@media (max-width: 860px) {
  .hero-scene { height: 540px; }
  .hero-scene .clinic-card { display: none; }
  .hero-scene .phone { left: 50%; margin-left: -140px; }
  .loop-toggle { left: auto; right: calc(50% - 200px); }
}
@media (max-width: 767px) {
  .hero { margin: 6px 6px 0; padding-top: 120px; }
  .hero h1 { font-size: clamp(64px, 19vw, 92px); }
  .hero-copy { font-size: 16px; }
  .hero-visual { margin-top: 44px; }
  .loop-toggle { right: 0; }
}
@media (max-width: 400px) {
  .hero-copy br { display: none; }
}

/* ==========================================================================
   Home: one journey, five steps
   Desktop: step text on the left, a sticky screen on the right that swaps as
   each step reaches the middle of the viewport. Mobile (and no JS): each
   step's text sits above its own screen, nothing sticky.
   ========================================================================== */
.journey { padding: 130px 0 90px; }
.journey-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); }
/* Stacked by default: step 1 text, step 1 screen, step 2 text, … */
.j-stage { display: contents; }
.j-tracker { display: none; }
.j-step[data-step="1"] { grid-row: 1; } .j-visual[data-step="1"] { grid-row: 2; }
.j-step[data-step="2"] { grid-row: 3; } .j-visual[data-step="2"] { grid-row: 4; }
.j-step[data-step="3"] { grid-row: 5; } .j-visual[data-step="3"] { grid-row: 6; }
.j-step[data-step="4"] { grid-row: 7; } .j-visual[data-step="4"] { grid-row: 8; }
.j-step[data-step="5"] { grid-row: 9; } .j-visual[data-step="5"] { grid-row: 10; }
.j-kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--green); }
.j-num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums;
}
.j-step h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1; letter-spacing: -.035em; margin: 18px 0 14px;
}
.j-step p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 420px; }
.j-step .arrow-link { margin-top: 22px; }
.j-visual { display: flex; justify-content: center; margin: 32px 0 88px; }
.journey .disclaimer { text-align: center; margin-top: 8px; }

/* Desktop: one sticky stage (tracker + screen) beside the five steps */
@media (min-width: 768px) {
  .js .journey-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(32px, 6vw, 100px);
  }
  .js .j-step {
    grid-column: 1; grid-row: auto; min-height: max(440px, 52svh); padding: 40px 0;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  }
  /* Only the active step is at full strength. The others step back with
     lighter colours rather than opacity, so they still pass AA contrast. */
  .js .j-step :is(h3, h3 em, p, .j-kicker, .arrow-link) { transition: color var(--t-content) var(--ease-out); }
  .js .j-step .j-num { transition: background-color var(--t-content) var(--ease-out); }
  .js .j-step:not(.is-active) h3 { color: #6b7b72; }
  .js .j-step:not(.is-active) h3 em { color: #6f8f84; }
  .js .j-step:not(.is-active) p:not(.j-kicker) { color: #617168; }
  .js .j-step:not(.is-active) :is(.j-kicker, .arrow-link) { color: #5c7468; }
  .js .j-step:not(.is-active) .j-num { background: #5f7d70; }
  .js .j-stage {
    grid-column: 2; grid-row: 1 / span 5; align-self: start;
    position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 26px);
    display: grid; grid-template-areas: "tracker" "screen"; row-gap: 40px; min-width: 0;
  }
  .js .j-tracker { display: block; grid-area: tracker; justify-self: stretch; }
  .js .j-visual {
    grid-area: screen; margin: 0; align-self: start; min-width: 0;
    opacity: 0; visibility: hidden; transform: translateY(18px);
    transition: opacity var(--t-content) var(--ease-out), transform var(--t-content) var(--ease-out), visibility 0s linear var(--t-content);
  }
  .js .j-visual.is-shown {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t-content) var(--ease-out) .08s, transform var(--t-content) var(--ease-out) .08s, visibility 0s;
  }
  .js .j-visual > * { transform: scale(var(--fit, 1)); transform-origin: top center; }
  .js .journey .disclaimer { margin-top: 40px; }
}
@media (min-width: 768px) and (max-height: 820px) { .js .j-visual { --fit: .86; } .js .j-stage { row-gap: 28px; } }
@media (min-width: 768px) and (max-height: 720px) { .js .j-visual { --fit: .74; } }
@media (min-width: 768px) and (max-width: 900px) { .js .j-visual { --fit: .88; } }
@media (max-width: 767px) {
  .journey { padding: 80px 0 60px; }
  .journey-grid { margin-top: 44px; }
  .j-visual { margin: 28px 0 72px; }
  .j-visual .phone { height: 510px; }
}

/* ==========================================================================
   Home: modules, referring practices, values
   ========================================================================== */
.modules { margin: 0 10px; border-radius: 12px; background: var(--green); color: var(--on-green); padding: 110px 0; }
.module-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.module-card {
  display: flex; flex-direction: column; height: 100%; padding: 28px 22px 22px;
  background: var(--green-2); border: 1px solid #9aba8038; border-radius: 12px;
  transition: background var(--t-ui) ease, border-color var(--t-ui) ease;
}
.module-card:hover { background: var(--green-3); border-color: #9aba8080; }
.glyph-tile { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: #375b3e; color: #d8e6b9; }
.glyph-tile svg { width: 62%; height: 62%; }
.module-steps { margin-top: 28px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #c8dbb0; }
.module-card h3 { font-size: 27px; font-weight: 500; margin: 8px 0 10px; }
.module-card p { font-size: 15px; line-height: 1.5; color: var(--on-green-2); }
.module-link { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; }
.module-link .i { transition: transform var(--t-ui) ease; }
.module-card:hover .module-link .i { transform: translateX(3px); }
@media (max-width: 1000px) { .module-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .modules { margin: 0 6px; padding: 72px 0; } .module-cards { margin-top: 40px; gap: 12px; } }
@media (max-width: 540px) { .module-cards { grid-template-columns: 1fr; } .module-card { padding: 22px 20px; } .module-steps { margin-top: 20px; } }

.practices { padding: 130px 0 60px; }
.practices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.practices .arrow-link { margin-top: 26px; }
.sources-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 24px 14px; box-shadow: 0 24px 60px #3e523a14;
}
.sources-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.source-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 100px 34px; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.source-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.source-row strong { display: block; font-size: 15px; font-weight: 550; }
.source-row small { display: block; font-size: 13px; color: var(--muted); }
.source-bar { height: 6px; border-radius: 6px; background: #edf1e8; overflow: hidden; }
.source-bar i { display: block; height: 100%; width: var(--bar); border-radius: 6px; background: #7f9f70; transform-origin: left; }
.js-motion .reveal .source-bar i { transform: scaleX(0); transition: transform .6s var(--ease-out) .25s; }
.js-motion .reveal.is-visible .source-bar i { transform: none; }
.source-row b { font-size: 20px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.sources-card .disclaimer { display: block; text-align: right; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .practices-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 767px) {
  .practices { padding: 80px 0 40px; }
  .source-row { grid-template-columns: 18px minmax(0, 1fr) 56px 28px; gap: 10px; }
  .sources-card { padding: 18px 16px 12px; }
}

.values { padding-top: 60px; padding-bottom: 110px; }
.values h2 { font-size: clamp(36px, 3.8vw, 52px); }
.value-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.value-list h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.025em; margin-bottom: 10px; }
.value-list p { font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 300px; }
@media (max-width: 767px) {
  .values { padding-top: 30px; padding-bottom: 70px; }
  .value-list { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; padding-top: 28px; }
}

/* ==========================================================================
   FAQ, closing call to action, footer
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-top: 100px; padding-bottom: 110px; }
.faq-head { align-self: start; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px); }
.faq h2 { font-size: clamp(42px, 4.4vw, 60px); }
.faq-items details { border-top: 1px solid #d5ded0; }
.faq-items details:last-child { border-bottom: 1px solid #d5ded0; }
.faq-items summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 17px; font-weight: 500;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-ico {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #cbd6c6; color: #4f7353; font-size: 18px; line-height: 1;
  transition: transform var(--t-ui) ease, background var(--t-ui) ease;
}
.faq-items summary:hover .faq-ico { background: #e9efe1; }
.faq-items details[open] .faq-ico { transform: rotate(45deg); }
.faq-items details p { font-size: 15px; line-height: 1.7; color: var(--ink-2); padding: 0 48px 24px 0; max-width: 580px; }
.faq-items details p a { font-weight: 550; color: var(--green); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.faq-items details p a:hover { text-decoration-thickness: 2px; }
.faq-items details[open] p { animation: enter .4s var(--ease-out) both; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; padding-bottom: 72px; } .faq-head { position: static; } }
@media (max-width: 767px) { .faq-items summary { font-size: 16px; padding: 20px 0; } .faq-items details p { padding-right: 0; } }

.cta {
  position: relative; overflow: hidden; margin: 0 10px; border-radius: 12px;
  background: var(--green); color: var(--on-green); text-align: center;
  padding: 120px 24px clamp(150px, 20vw, 260px);
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(56px, 8vw, 116px); }
.cta h2 em { color: var(--accent-dark); }
.cta p { margin: 22px auto 32px; max-width: 420px; font-size: 17px; color: var(--on-green-2); }
.cta-word {
  position: absolute; left: 0; right: 0; bottom: -.2em; z-index: 0;
  font-size: clamp(120px, 26vw, 380px); font-weight: 650; letter-spacing: -.08em; line-height: 1;
  color: #224b3e; pointer-events: none; user-select: none;
}
@media (max-width: 767px) { .cta { margin: 0 6px; padding-top: 80px; } }

/* Home: the closing bubble. A small green circle opens to fill the screen as
   you scroll, then the call to action rises in. Driven by a CSS scroll
   timeline (no JS). Reduced motion, browsers without scroll timelines and
   keyboard focus inside it all get the open state. */
.closer { position: relative; margin: 0 10px; }
.closer-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; background: #edf0e4; }
.closer .cta { margin: 0; }
.closer-prompt { display: none; }
.closer-dark { position: absolute; inset: 0; pointer-events: none; }
@keyframes closer-open { from { clip-path: circle(46px at 50% 50%); } to { clip-path: circle(71% at 50% 50%); } }
@keyframes closer-rise { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: none; } }
@keyframes closer-fade { to { opacity: 0; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .closer { height: 220vh; view-timeline: --closer block; }
    /* the nav turns dark once the green has covered the top of the screen */
    .closer-dark { top: calc(74vh + 45px); }
    .closer-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; }
    .closer-prompt {
      display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; text-align: center;
      animation: closer-fade linear both; animation-timeline: --closer; animation-range: contain 0% contain 22%;
    }
    .closer-prompt .eyebrow { position: absolute; left: 20px; right: 20px; top: calc(50% - 126px); }
    .closer-badge {
      position: absolute; left: 50%; top: 50%; width: 94px; height: 94px; margin: -47px 0 0 -47px;
      display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #dce9bc;
    }
    .closer-badge .i { width: 36px; height: 36px; stroke-width: 1.5; }
    .closer-line { position: absolute; left: 20px; right: 20px; top: calc(50% + 83px); font-family: var(--serif); font-size: 40px; line-height: 1.1; color: #486745; }
    .closer .cta {
      position: absolute; inset: 0; border-radius: 0; padding: 60px 30px 150px;
      display: flex; align-items: center; justify-content: center;
      animation: closer-open var(--ease-in-out) both; animation-timeline: --closer; animation-range: contain 8% contain 68%;
    }
    .closer .cta-inner, .closer .cta-word {
      animation: closer-rise var(--ease-in-out) both; animation-timeline: --closer; animation-range: contain 50% contain 76%;
    }
    /* tabbing to "Book a demo" opens the bubble straight away */
    .closer-stage:focus-within :is(.cta, .cta-inner, .cta-word) { animation: none; }
    .closer-stage:focus-within .closer-prompt { display: none; }
  }
}
@media (max-width: 767px) {
  .closer { margin: 0 6px; }
  .closer-line { font-size: 32px; }
}

.site-footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px 60px; padding-top: 70px; padding-bottom: 40px; }
.site-footer > div:first-child p { font-size: 14px; color: var(--ink-2); margin-top: 14px; max-width: 240px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-title { font-family: var(--sans); font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-column a { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.footer-column a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Touch screens: every footer link gets a 44px-tall row */
@media (max-width: 1000px), (pointer: coarse) {
  .site-footer .brand { min-height: 44px; }
  .footer-column { gap: 0; }
  .footer-column a { min-width: 44px; min-height: 44px; }
  .footer-legal { align-items: center; }
  .footer-legal a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
}
@media (max-width: 767px) {
  .site-footer { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 50px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .footer-legal { margin-top: 8px; }
}

/* ==========================================================================
   Product pages: hero → sticky tracker → 2–3 features → next → demo
   ========================================================================== */
.p-hero {
  margin: 10px 10px 0; border-radius: 12px; overflow: hidden; color: var(--on-green);
  padding: 150px 0 70px;
  background-color: var(--green);
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), #ddedcd0a calc(8.333% - 1px), #ddedcd0a 8.333%);
}
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.p-hero .eyebrow { color: #c8dbb0; }
.p-hero h1 {
  font-family: var(--sans); font-weight: 500; font-size: clamp(64px, 7.6vw, 112px);
  letter-spacing: -.06em; line-height: .95; margin-top: 18px;
}
.p-promise {
  font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.03em;
  color: var(--on-green); margin: 20px 0 34px;
}
.p-promise em { color: var(--accent-dark); }
.p-hero-visual { display: flex; justify-content: center; }
.p-hero .disclaimer { color: #a9bfa8; text-align: center; margin-top: 44px; }
@media (max-width: 860px) {
  .p-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .p-hero-copy { text-align: center; }
}
@media (max-width: 767px) {
  .p-hero { margin: 6px 6px 0; padding: 116px 0 48px; }
  .p-hero h1 { font-size: clamp(58px, 17vw, 80px); }
  .p-hero .disclaimer { margin-top: 32px; }
}

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; padding-top: 120px; }
.feature.flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(40px, 4.4vw, 62px); }
.feature .eyebrow + h2 { margin-top: 16px; }
.feature-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 440px; }
.feature-visual { display: flex; justify-content: center; align-items: center; min-height: 420px; padding: 48px 24px; border-radius: 16px; background: var(--panel); }
.feature-visual .phone { height: 520px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 88px; }
  .feature.flip .feature-copy { order: 0; }
}
@media (max-width: 767px) { .feature { padding-top: 72px; } .feature-visual { min-height: 0; padding: 32px 16px; } .feature-visual .phone { height: 480px; } }

.p-faq { margin-top: 110px; border-top: 1px solid var(--line); }

.next { padding-top: 20px; padding-bottom: 110px; }
.next-card {
  display: flex; align-items: center; gap: 28px; margin-top: 18px; padding: 30px 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px #3e523a12;
  transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.next-card:hover { border-color: #9fb39b; box-shadow: 0 22px 56px #3e523a1c; }
.next-card .glyph-tile { width: 64px; height: 64px; background: var(--lime); color: var(--green); }
.next-steps { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #477364; }
.next-name { display: block; font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; margin: 6px 0 6px; }
.next-line { display: block; font-size: 16px; color: var(--ink-2); }
.next-arrow {
  margin-left: auto; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-size: 22px; transition: transform var(--t-ui) ease;
}
.next-arrow .i { width: 22px; height: 22px; }
.next-card:hover .next-arrow { transform: translateX(4px); }
@media (max-width: 767px) {
  .next { padding-bottom: 72px; }
  .next-card { gap: 16px; padding: 22px 20px; }
  .next-card .glyph-tile { display: none; }
  .next-arrow { width: 46px; height: 46px; }
}

/* ==========================================================================
   Pricing: hero facts → plans → the five steps → comparison → add-ons → demo
   ========================================================================== */
.hero.pr-hero { padding-bottom: 88px; }
.hero.pr-hero h1 { font-size: clamp(54px, 9vw, 92px); line-height: .9; }
.pr-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.pr-facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: #fffef9d9; border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
}
.pr-facts .i { width: 14px; height: 14px; stroke-width: 2.2; color: var(--accent); }

.pr-section { padding-top: 120px; }
.pr-section h2, .pr-journey h2 { font-size: clamp(40px, 4.4vw, 62px); }

/* Plans */
.pr-plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.pr-billing { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.pr-billing button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: transparent;
  color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background var(--t-ui) ease, color var(--t-ui) ease;
}
.pr-billing button:hover { color: var(--ink); }
.pr-billing button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #1e302a1f; }
html:not(.js) .pr-billing { display: none; }

.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pr-plan {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 30px 26px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.pr-plan.is-featured { background: var(--green); border-color: var(--green); color: var(--on-green); box-shadow: 0 20px 55px #455d3518; }
.pr-tier { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #477364; }
.pr-plan h3 { font-size: 27px; font-weight: 500; }
.pr-for { min-height: 48px; font-size: 15px; color: var(--muted); }
.pr-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pr-cur { font-size: 14px; font-weight: 500; color: var(--muted); }
.pr-amt { font-family: var(--serif); font-size: 68px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pr-per { font-size: 13px; line-height: 1.35; color: var(--muted); }
.pr-note { min-height: 20px; font-size: 13px; color: var(--muted); }
.pr-plan .button { margin: 6px 0; }
.pr-plan ul { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pr-plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; }
.pr-plan li .i { width: 16px; height: 16px; margin-top: 3px; stroke-width: 2.2; color: var(--accent); }
.pr-plan li.is-inherit { font-weight: 600; }
.pr-texts { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 550; color: #477364; }
.is-featured :is(.pr-tier, .pr-texts), .is-featured li .i { color: var(--accent-dark); }
.is-featured :is(.pr-for, .pr-cur, .pr-per, .pr-note) { color: var(--on-green-2); }
.is-featured ul { border-top-color: #9aba8038; }

/* The five steps, on green (labels come from journey.js) */
.pr-journey { margin: 120px 10px 0; padding: 100px 0; border-radius: 12px; background: var(--green); color: var(--on-green); }
.pr-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.pr-steps li {
  display: grid; align-content: start; gap: 10px; min-width: 0; padding: 22px 20px;
  background: var(--green-2); border: 1px solid #9aba8038; border-radius: 12px;
}
.pr-step { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.pr-steps strong { font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.pr-steps p { font-size: 14px; line-height: 1.45; color: var(--on-green-2); }
.pr-later { margin-top: 28px; font-size: 15px; color: var(--on-green-2); }

/* Comparison table. The header row sticks under the nav. On phones each
   row becomes the feature name over a line of three plan cells, so all
   three plans fit without scrolling sideways. */
.pr-table-wrap {
  margin-top: 40px; overflow: clip; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 55px #455d3518;
}
.pr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pr-table :is(th, td) { padding: 13px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pr-table thead th {
  position: sticky; top: calc(var(--nav-top) + var(--nav-h)); z-index: 1; vertical-align: bottom;
  border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); background: var(--surface);
  font-size: 12px; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; color: #477364;
}
.pr-table thead th:not(:first-child), .pr-table td { width: 18%; text-align: center; }
.pr-table tbody th { font-weight: 400; }
.pr-table .pr-group th {
  padding-top: 9px; padding-bottom: 9px; background: var(--panel);
  font-size: 12px; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; color: #244631;
}
.pr-table tbody:last-child tr:last-child :is(th, td) { border-bottom: 0; }
.pr-table td .i { width: 18px; height: 18px; margin: 0 auto; stroke-width: 2.2; color: var(--accent); }
.pr-dash { color: #7d8a80; }
.pr-val { font-size: 13px; font-weight: 550; color: #244631; }

/* Add-ons */
.pr-addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.pr-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pr-addon h3 { margin-bottom: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.pr-addon p { font-size: 14.5px; color: var(--muted); }
.pr-addon .pr-addon-price { font-family: var(--serif); font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; text-align: right; }
.pr-fine { max-width: 720px; margin-top: 32px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Closing demo panel: the product pages' .cta with an eyebrow and email */
.pr-cta { margin-top: 120px; }
.pr-cta .eyebrow { margin: 0 0 18px; max-width: none; font-size: 12px; }
.cta .pr-mail { margin: 18px auto 0; font-size: 14px; }
.pr-mail a { color: var(--on-green); font-weight: 500; text-decoration: underline; text-decoration-color: #b9cbb780; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pr-plans, .pr-addons, .pr-steps { grid-template-columns: minmax(0, 1fr); }
  .pr-for, .pr-note { min-height: 0; }
  .pr-table :is(th, td) { padding: 12px 14px; }
  .pr-table thead th { font-size: 11px; letter-spacing: .06em; }
}
@media (max-width: 767px) {
  .hero.pr-hero { padding-bottom: 56px; }
  .pr-section { padding-top: 80px; }
  .pr-journey { margin: 80px 6px 0; padding: 64px 0; }
  .pr-cta { margin-top: 80px; }
  .pr-table, .pr-table tbody { display: block; }
  .pr-table thead {
    display: block; position: sticky; top: calc(var(--nav-top) + var(--nav-h)); z-index: 1;
    background: var(--surface); box-shadow: inset 0 -1px 0 var(--line);
  }
  .pr-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-table thead th { position: static; box-shadow: none; padding: 12px 6px; font-size: 11px; letter-spacing: .06em; line-height: 1.3; }
  .pr-table thead th:not(:first-child), .pr-table td { width: auto; }
  .pr-table thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pr-table tbody th { grid-column: 1 / -1; padding: 12px 16px 2px; border-bottom: 0; }
  .pr-table .pr-group th { padding: 9px 16px; border-bottom: 1px solid var(--line); }
  .pr-table td { padding: 6px 6px 12px; }
}

/* ==========================================================================
   Product mockups (illustrative, fictional data)
   ========================================================================== */
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 12px; font-weight: 600; font-style: normal; background: #e7eadd; color: #4a5f3e;
}
.avatar.sage { background: #e6edde; color: #4a5f3e; }
.avatar.sand { background: #f1e7d8; color: #74552f; }
.avatar.lilac { background: #eae6f1; color: #5e5072; }
.avatar.big { width: 44px; height: 44px; font-size: 14px; }
.status { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.wait { background: var(--wait-bg); color: var(--wait); }
.tick {
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #e1ebd6; color: #3f6b37; font-size: 12px; line-height: 1;
}
.tick .i { width: 13px; height: 13px; stroke-width: 2.4; }

.mock-card {
  width: 370px; max-width: 100%; padding: 26px; text-align: left;
  background: var(--surface); border: 1px solid #d6ddcf; border-radius: 14px;
  box-shadow: 0 24px 60px #3e523a1c;
}
.mc-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mc-top .mc-id { margin-left: auto; letter-spacing: .04em; font-weight: 500; }
.mc-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #e9efdf; color: #46664a; }
.mc-ico svg { width: 18px; height: 18px; }
.mc-title { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.035em; margin: 22px 0 16px; }
.mc-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e6e9de; font-size: 14px; }
.mc-dl dt { color: var(--muted); }
.mc-dl dd { text-align: right; font-weight: 550; }
.attach { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px; border-radius: 10px; background: #f3f5e9; border: 1px solid #e6eadb; font-size: 14px; }
.attach strong { display: block; font-weight: 600; }
.attach small { display: block; font-size: 12px; color: var(--muted); }
.attach .tick { margin-left: auto; }

.rc-list { padding: 8px 0 14px; }
.rc-list li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; }

.clinic-card {
  width: 410px; padding: 16px 18px 8px; text-align: left;
  background: var(--surface); border: 1px solid #d6ddcf; border-radius: 14px;
  box-shadow: 0 24px 60px #3e523a1f;
}
.cc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid #edf0e9; }
.cc-title { font-weight: 650; font-size: 15px; margin: 14px 0 4px; }
.cc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #f0f2ea; font-size: 14px; }
.cc-title + .cc-row { border-top: 0; }
.cc-row strong { display: block; font-weight: 600; line-height: 1.3; }
.cc-row small { display: block; font-size: 12px; color: var(--muted); }
.cc-row > .status, .cc-row > .status-stack { margin-left: auto; }
.cc-row.is-focus { margin: 0 -10px; padding: 11px 10px; border-radius: 10px; background: #f3f7ec; }
.status-stack { display: grid; justify-items: end; }
.status-stack > * { grid-area: 1 / 1; }

/* Phone */
.phone {
  position: relative; flex: none; width: 280px; height: 560px; padding: 12px 16px;
  background: #f4f5ed; border: 7px solid #fefef7; border-radius: 40px;
  outline: 1px solid #cbd5c2; box-shadow: 0 26px 60px #3e523a26;
  overflow: hidden; text-align: left; font-size: 14px; color: var(--ink);
}
.phone::after { content: ''; position: absolute; bottom: 8px; left: 50%; width: 88px; height: 4px; margin-left: -44px; border-radius: 4px; background: #a7b29a; }
.phone-status { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 8px; font-size: 12px; font-weight: 650; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #e1e6d9; }
.phone-batt { width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .6; }
.phone-screen { position: absolute; inset: 46px 16px 26px; display: flex; flex-direction: column; }

.chat-head { text-align: center; margin: 4px 0 8px; font-size: 14px; }
.chat-head .avatar { display: grid; margin: 0 auto 6px; width: 36px; height: 36px; }
.chat-head strong, .chat-head small { display: block; }
.chat-head small { font-size: 12px; color: var(--muted); }
.chat-time { text-align: center; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 0 12px; }
.bubble { max-width: 94%; margin-bottom: 8px; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #e1e8d8; font-size: 14px; line-height: 1.45; }
.chat-action {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 10px; background: #486749; color: #fff; font-size: 14px; font-weight: 550;
}
.screen-kicker { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5d7255; margin-top: 10px; }
.screen-title { font-family: var(--serif); font-size: 33px; line-height: 1; letter-spacing: -.03em; margin: 8px 0 18px; }
.form-list li { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-top: 1px solid #e0e5d6; font-size: 14px; }
.form-list li:last-child { border-bottom: 1px solid #e0e5d6; }
.ui-button {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 10px; background: #3d6346; color: #f9fff2; font-size: 14px; font-weight: 550;
}
.ui-button .tick { background: #ffffff26; color: #e2f2d3; }
.screen-form .ui-button { margin-top: 22px; }

/* Product-page mockups */
.mock-card, .clinic-card, .sources-card, .phone { color: var(--ink); }
.inbox-card { width: 440px; }
.inbox-card .cc-title { display: flex; justify-content: space-between; align-items: center; }
.count-pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--green); color: #fff; }
.progress-card .rc-list li .status { font-size: 11px; }
.mini-bar { display: block; height: 6px; margin: 14px 0 6px; border-radius: 6px; background: #edf1e8; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: var(--bar); border-radius: 6px; background: #7f9f70; }
.quiet-card { width: 400px; }
.quiet-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.quiet-row strong { display: block; font-weight: 600; }
.quiet-row small { display: block; font-size: 13px; color: var(--muted); }
.quiet-row .status { margin-left: auto; }
.outcome-card { width: 400px; }
.outcome-row { padding: 12px 0; border-top: 1px solid var(--line); }
.outcome-row:first-of-type { border-top: 0; }
.outcome-row div { display: flex; justify-content: space-between; font-size: 14px; }
.outcome-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.outcome-row .mini-bar { margin: 8px 0 0; }
.p-hero .sources-card { width: 460px; max-width: 100%; color: var(--ink); }

/* ==========================================================================
   Reduced motion: everything lands in its final place, nothing loops
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .preloader { display: none; }
}
