/* Pakistan Front Desk: site styles */

/* Manrope, stored on our own server (no Google Fonts call) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --white: #FFFFFF;
  --green: #046A45;
  --deep: #033D29;
  --signal: #25C26A;
  --mist: #EEF6F1;
  --sage: #E1EDE6;
  --ink: #0F1F18;
  --muted: #50665C;
  --line: rgba(15, 31, 24, 0.08);
  --bubble-out: #D6F0E0;
  --amber: #8A5A00;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1240px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --section: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--green); color: var(--white); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }

/* Type: one readable family */
.display {
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.display-2 {
  font-weight: 600;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.h3 {
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(4, 106, 69, 0.2);
}
.tag-sample {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Ticks used in lists */
i.yes, i.ok {
  flex: 0 0 auto;
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
i.yes::after, i.ok::after {
  content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
i.warn { flex: 0 0 auto; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: #F6E7C8; position: relative; }
i.warn::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; color: var(--amber); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15, 31, 24, 0.16); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: var(--white); color: var(--deep); }
.btn-light:hover { background: var(--mist); }
.btn-ghost-light { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px var(--white); }

/* Navbar: floating glass pill with a see-through edge */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 12px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 8px 32px -14px rgba(3, 61, 41, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav-wrap.scrolled .nav { background: rgba(255, 255, 255, 0.72); }
.nav-logo { display: block; flex: 0 0 auto; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.4s var(--ease);
}
.nav-links a:hover { background: rgba(4, 106, 69, 0.08); }
.nav-cta { display: none; }
.nav-toggle {
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 999px;
  background: rgba(4, 106, 69, 0.08);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
  pointer-events: auto;
  max-width: 1120px;
  margin: 10px auto 0;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -20px rgba(3, 61, 41, 0.3);
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 12px; font-size: 18px; font-weight: 500; text-decoration: none; border-radius: 14px; }
.mobile-menu a:not(.btn):hover { background: var(--mist); }
.mobile-menu .btn { margin-top: 8px; }

@media (max-width: 380px) { .nav-logo img { height: 32px; } }
@media (min-width: 900px) {
  .nav { padding-left: 26px; }
  .nav-logo img { height: 42px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  padding: 124px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(37, 194, 106, 0.12), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(4, 106, 69, 0.07), transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 80%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-title span { display: block; }
.hero-lead { margin-top: 22px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--muted); max-width: 30em; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pillars button {
  font-family: var(--sans);
  border: 0;
  cursor: pointer;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pillars button:hover { box-shadow: inset 0 0 0 1px var(--green); }
.pillars button.on { background: var(--green); color: var(--white); box-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 10px; vertical-align: 1px; }

@media (min-width: 1000px) {
  .hero { padding: 150px 0 110px; min-height: 100svh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; }
  .hero-copy { max-width: none; }
}

/* Phone device */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.device {
  position: relative;
  width: 100%;
  border-radius: 48px;
  padding: 10px;
  background: #0E1A15;
  box-shadow:
    0 50px 90px -40px rgba(3, 61, 41, 0.55),
    inset 0 0 0 2px #2A3A33,
    inset 0 0 0 4px #0E1A15;
}
.device::before, .device::after {
  content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 3px 3px 0; background: #22302A;
}
.device::before { top: 120px; height: 64px; }
.device::after { top: 196px; height: 40px; }
.screen {
  position: relative;
  overflow: hidden;
  border-radius: 39px;
  background: var(--mist);
  display: flex;
  flex-direction: column;
  height: 620px;
}
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 6px;
  font-size: 14px; font-weight: 600;
  color: var(--white);
  background: var(--deep);
}
.island { width: 92px; height: 26px; border-radius: 20px; background: #0E1A15; }
.sb-icons { display: inline-flex; gap: 5px; align-items: center; }
.sb-icons svg { fill: currentColor; }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 12px;
  background: var(--deep);
  color: var(--white);
}
.ch-back { flex: 0 0 auto; opacity: 0.9; }
.ch-avatar {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--signal);
  color: var(--deep);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  overflow: hidden;
}
.ch-pfd { background: var(--green); }
.ch-pfd img { width: 100%; height: 100%; }
.ch-title { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ch-title strong { font-size: 15px; font-weight: 600; white-space: nowrap; }
.ch-title small { font-size: 12.5px; opacity: 0.8; transition: color 0.3s; }
.ch-title small.typing { color: var(--signal); opacity: 1; }
.chat-head .tag-sample { margin-left: auto; background: rgba(255, 255, 255, 0.14); color: var(--white); }
.chat-body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 12px 10px 10px;
  overflow: hidden;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(4, 106, 69, 0.07) 1px, transparent 1.2px);
  background-size: 16px 16px;
}
.chat-day { align-self: center; margin: 0 0 6px; padding: 4px 10px; border-radius: 8px; background: var(--white); font-size: 12px; font-weight: 600; color: var(--muted); }
.msg {
  position: relative;
  max-width: 82%;
  padding: 7px 10px 6px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.4;
  box-shadow: 0 1px 0.5px rgba(15, 31, 24, 0.12);
}
.msg .meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -2px 10px; font-size: 11px; color: var(--muted); line-height: 1; }
.msg.in { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.ticks { color: #8FA39A; transition: color 0.5s; }
.ticks.read { color: var(--signal); }
.chat-input {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 18px;
  background: var(--mist);
}
.ci-field {
  flex: 1;
  min-height: 42px;
  display: flex; align-items: center;
  padding: 8px 16px;
  border-radius: 22px;
  background: var(--white);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 1px 0.5px rgba(15, 31, 24, 0.1);
}
.ci-placeholder { color: #8FA39A; }
.ci-caret { display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; background: var(--green); vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ci-send { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.ci-send.press { transform: scale(0.86); }

/* Float cards around the phone */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -18px rgba(3, 61, 41, 0.4);
  white-space: nowrap;
}
.float-card strong { display: block; font-size: 14px; font-weight: 700; }
.float-card small { display: block; font-size: 12.5px; color: var(--muted); }
.fc-booking { left: -16px; bottom: -22px; }
.fc-source { right: -16px; top: 46px; }
.fc-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--green); position: relative; flex: 0 0 auto; }
.fc-mark::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fc-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); position: relative; flex: 0 0 auto; }
.fc-dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--signal); }
.js .float-card { opacity: 0; transform: translateY(14px) scale(0.96); }
@media (min-width: 1000px) {
  .fc-booking { left: -96px; }
  .fc-source { right: -72px; }
}
@media (max-width: 420px) {
  .hero-visual { max-width: 300px; }
  .screen { height: 560px; }
  .fc-booking { left: -6px; }
  .fc-source { right: -6px; top: 40px; }
}

/* Shared sample UI cards */
.ui-card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 24px 60px -32px rgba(3, 61, 41, 0.28);
}
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.ui-head strong { font-weight: 700; }

.log li { display: grid; grid-template-columns: 70px 1fr 22px; gap: 10px; align-items: center; padding: 11px 0; font-size: 14.5px; }
.log li + li { box-shadow: 0 -1px 0 var(--line); }
.log-time { color: var(--muted); font-size: 13px; }
.log-warn span:nth-child(2) { color: var(--amber); font-weight: 600; }

.sources li, .bars li { display: grid; grid-template-columns: 124px 1fr 34px; gap: 12px; align-items: center; padding: 8px 0; font-size: 14.5px; }
.sources b, .bars b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.src-bar, .bar { height: 10px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.src-bar i, .bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--green); transform-origin: left center; }
.sources li:first-child .src-bar i { background: var(--deep); }

.patient { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.patient strong { display: block; font-size: 16px; }
.patient small { display: block; font-size: 13px; color: var(--muted); }
.patient-av { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.visits li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14.5px; }
.visits li + li { box-shadow: 0 -1px 0 var(--line); }
.visits li span:last-child { color: var(--muted); }
.visit-due span:last-child { color: var(--green) !important; font-weight: 700; }

/* Problems: stacking cards */
.stack { display: grid; gap: 16px; }
.stack-card {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
}
.card-mist { background: var(--mist); }
.card-sage { background: var(--sage); }
.card-white { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.stack-text .h3 { margin-bottom: 12px; }
.stack-text p:not(.chip) { color: var(--muted); max-width: 26em; }
.stack-text .chip { background: transparent; }
.stack-visual { display: flex; align-items: center; }

@media (min-width: 900px) {
  .stack { gap: 40px; }
  .stack-card { position: sticky; top: 108px; grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px; min-height: 460px; align-items: center; transform-origin: center top; }
  .stack-card:nth-child(2) { top: 124px; box-shadow: 0 -24px 50px -30px rgba(3, 61, 41, 0.22); }
  .stack-card:nth-child(3) { top: 140px; box-shadow: 0 -24px 50px -30px rgba(3, 61, 41, 0.25), 0 0 0 1px var(--line); }
  .stack-visual { justify-content: center; }
  .stack-visual .ui-card { max-width: 440px; padding: 26px; }
}

/* How it works: dark, with a line that draws */
.section-dark { background: var(--deep); color: var(--white); padding: var(--section) 0; }
.section-dark .lead { color: rgba(255, 255, 255, 0.75); }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.steps-line i { display: block; width: 100%; height: 100%; background: var(--signal); transform-origin: top center; border-radius: 2px; }
.steps { display: grid; gap: 40px; }
.step { position: relative; padding-left: 52px; }
.step-dot { position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25); transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.step.on .step-dot { background: var(--signal); box-shadow: 0 0 0 6px rgba(37, 194, 106, 0.18); }
.step-word { display: block; font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.04em; color: var(--white); margin-bottom: 12px; transition: color 0.5s var(--ease); }
.step:not(.on) .step-word { color: rgba(255, 255, 255, 0.35); }
.step p { color: rgba(255, 255, 255, 0.8); font-size: 18px; max-width: 18em; }
@media (min-width: 900px) {
  .steps-line { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; }
  .steps-line i { transform-origin: left center; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { padding: 56px 0 0; }
  .step-dot { top: 0; }
}

/* Pick your problems */
.picker-grid { display: grid; gap: 32px; }
.pills { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px 13px 14px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 15.5px; font-weight: 600;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.pill span::before {
  content: "";
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(4, 106, 69, 0.35);
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pill:hover span { transform: translateY(-2px); }
.pill:active span { transform: scale(0.96); }
.pill input:checked + span { background: var(--green); color: var(--white); }
.pill input:checked + span::before { background: var(--signal); box-shadow: inset 0 0 0 5px var(--white); }
.pill input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }

.plan {
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
}
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.plan-head strong { font-size: 18px; font-weight: 700; }
.plan-count { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.plan-count b { display: inline-block; min-width: 1ch; color: var(--signal); font-size: 22px; font-variant-numeric: tabular-nums; }
.plan-empty { color: rgba(255, 255, 255, 0.6); margin: 0 0 20px; }
.plan-list { display: grid; gap: 8px; margin-bottom: 22px; }
.plan-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 15px; line-height: 1.45;
}
.plan-list li i.yes { background: var(--signal); margin-top: 1px; }
.plan-list li i.yes::after { border-color: var(--deep); }
.plan-list li b { display: block; font-weight: 700; color: var(--white); }
.plan-list li span { color: rgba(255, 255, 255, 0.78); }
.plan-send { align-self: flex-start; background: var(--signal); color: var(--deep); }
.plan-send:hover { background: var(--white); }
.plan-send.pulse { animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 194, 106, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(37, 194, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 194, 106, 0); } }
@media (min-width: 1000px) {
  .picker-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
  .plan { position: sticky; top: 120px; padding: 32px; min-height: 420px; }
}

/* Funnel */
.funnel-grid { display: grid; gap: 20px; align-items: start; }
.funnel-chart {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 30px 70px -40px rgba(3, 61, 41, 0.3);
}
.bars li { grid-template-columns: 84px 1fr 36px; padding: 9px 0; }
.bar { height: 34px; border-radius: 10px; }
.bar i { border-radius: 10px; background: var(--green); }
.bars li:first-child .bar i { background: var(--deep); }
.bars li:last-child .bar i { background: var(--signal); }
.drop-flag { margin: 14px 0 0; }
.drop-flag span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #FBEFD8;
  color: var(--amber);
  font-size: 13.5px; font-weight: 700;
}
.drop-flag span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E0A02A; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.funnel-chart figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 900px) {
  .funnel-grid { grid-template-columns: 1.25fr 0.75fr; gap: 28px; }
  .funnel-chart { padding: 36px 40px; }
  .bars li { grid-template-columns: 110px 1fr 44px; gap: 18px; }
}

/* Comparison */
.compare-table { border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 16px 18px; align-items: center; }
.cmp-row + .cmp-row { box-shadow: 0 -1px 0 rgba(4, 106, 69, 0.1); }
.cmp-label { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--muted); }
.cmp-row > span:not(.cmp-label) { font-size: 15px; line-height: 1.4; display: flex; gap: 10px; align-items: center; }
.cmp-row > span:not(.cmp-label):not(.cmp-pfd) { color: var(--muted); }
.cmp-pfd { color: var(--deep); font-weight: 700; }
.cmp-pfd i.yes { width: 20px; height: 20px; }
.cmp-pfd i.yes::after { left: 7px; top: 4px; }
.cmp-head { background: var(--deep); color: var(--white); }
.cmp-head span { font-size: 14px; font-weight: 700; }
.cmp-head .cmp-label { display: none; }
.cmp-head .cmp-pfd { color: var(--signal); }
.cmp-head > span:not(.cmp-pfd):not(.cmp-label) { color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) {
  .cmp-row { grid-template-columns: 160px 1fr 1fr; gap: 24px; padding: 20px 36px; }
  .cmp-label { grid-column: auto; font-size: 15px; color: var(--ink); }
  .cmp-head .cmp-label { display: block; }
  .cmp-row > span:not(.cmp-label) { font-size: 16px; }
  .cmp-head span { font-size: 15px; }
}

/* Done for you */
.dfy-grid { display: grid; gap: 48px; align-items: center; }
.dfy-list { display: grid; gap: 8px; margin-top: 32px; }
.dfy-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  font-size: 15.5px; color: var(--muted); line-height: 1.45;
}
.dfy-list li i.yes { margin-top: 1px; }
.dfy-list strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.dfy-visual { justify-self: center; width: 100%; max-width: 320px; }
.device-sm .screen { height: 540px; }
.brief { max-width: 90%; }
.brief-title { display: block; font-weight: 700; margin-bottom: 6px; color: var(--deep); }
.brief-row { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; font-size: 13.5px; }
.brief-row b { font-weight: 700; color: var(--green); }
@media (min-width: 1000px) {
  .dfy-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}

/* FAQ */
.faq-grid { display: grid; gap: 36px; }
.faq-intro a, .faq-list a { color: var(--green); text-underline-offset: 3px; }
.faq-list details { border-radius: var(--radius-md); background: var(--mist); margin-bottom: 10px; transition: background-color 0.4s var(--ease); }
.faq-list details[open] { background: var(--sage); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.5s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p { padding: 0 22px 22px; margin: 0; max-width: 40em; color: var(--muted); }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
}

/* Final CTA */
.cta-final { padding: var(--section) 0; }
.cta-box {
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--green);
  color: var(--white);
  padding: clamp(48px, 8vw, 104px) clamp(24px, 7vw, 96px);
}
.cta-box .display-2 { max-width: 12em; }
.cta-box .lead { color: rgba(255, 255, 255, 0.85); margin-top: 18px; }

/* Footer */
.footer { background: var(--deep); color: rgba(255, 255, 255, 0.8); padding: 80px 0 110px; font-size: 15px; }
.footer-top { display: grid; gap: 40px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer a { text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 900px) {
  .footer { padding-bottom: 48px; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  min-height: 54px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(3, 61, 41, 0.55);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.mobile-cta.show { transform: none; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* Hidden until animated (only when scripts run) */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js-chat .chat-body [data-step] { display: none; }
.js-chat .chat-body [data-step].show { display: block; animation: pop 0.5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .float-card { opacity: 1; transform: none; }
}
.funnel-copy .lead, .faq-intro .lead { margin-top: 16px; }

/* Social and source marks */
.sm { flex: 0 0 auto; display: inline-block; width: 20px; height: 20px; background: center / contain no-repeat; vertical-align: -5px; }
.sm-lg { width: 30px; height: 30px; }
.sm-ig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23FEDA75'/%3E%3Cstop offset='.35' stop-color='%23FA7E1E'/%3E%3Cstop offset='.65' stop-color='%23D62976'/%3E%3Cstop offset='1' stop-color='%234F5BD5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='24' height='24' rx='6.5' fill='url(%23g)'/%3E%3Crect x='5.5' y='5.5' width='13' height='13' rx='4' fill='none' stroke='white' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='3.1' fill='none' stroke='white' stroke-width='1.8'/%3E%3Ccircle cx='16.3' cy='7.7' r='1' fill='white'/%3E%3C/svg%3E"); }
.sm-fb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231877F2'/%3E%3Cpath d='M13.4 19.5v-6.1h2.1l.3-2.4h-2.4V9.5c0-.7.2-1.2 1.2-1.2h1.3V6.2c-.2 0-1-.1-1.9-.1-1.9 0-3.2 1.2-3.2 3.3V11H8.7v2.4h2.1v6.1z' fill='white'/%3E%3C/svg%3E"); }
.sm-gm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='.5' y='.5' width='23' height='23' rx='6.5' fill='white' stroke='%23DCE5E0'/%3E%3Cpath d='M12 3.8c-3.2 0-5.7 2.5-5.7 5.6 0 4.2 5.7 10.6 5.7 10.6s5.7-6.4 5.7-10.6c0-3.1-2.5-5.6-5.7-5.6z' fill='%23EA4335'/%3E%3Ccircle cx='12' cy='9.4' r='2.2' fill='%23A50E0E'/%3E%3C/svg%3E"); }
.sm-tt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6.5' fill='%23111111'/%3E%3Cpath d='M14.6 5h-2.4v9.6a2.1 2.1 0 1 1-1.6-2.05v-2.5a4.55 4.55 0 1 0 4 4.5V10a5.6 5.6 0 0 0 3.3 1.1V8.7A3.3 3.3 0 0 1 14.6 5z' fill='white'/%3E%3C/svg%3E"); }
.sm-walk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23D6EADF'/%3E%3Ccircle cx='13' cy='6.4' r='1.7' fill='%23046A45'/%3E%3Cpath d='M12.2 9.2l-2.4 1.4-.8 2.6M12.2 9.2l1 3.3 2.3 1.2M13.2 12.5l-1.6 2.9-.4 3M12.4 14l2 1.6.9 2.9' fill='none' stroke='%23046A45' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sm-ref { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23D6EADF'/%3E%3Ccircle cx='9.3' cy='9.3' r='2.3' fill='%23046A45'/%3E%3Ccircle cx='15.4' cy='9.9' r='1.9' fill='%23046A45' opacity='.55'/%3E%3Cpath d='M5.2 17.4c.4-2.4 2.1-3.8 4.1-3.8s3.7 1.4 4.1 3.8z' fill='%23046A45'/%3E%3Cpath d='M14 13.9c.4-.2.9-.3 1.4-.3 1.7 0 3.1 1.2 3.4 3.3H15' fill='%23046A45' opacity='.55'/%3E%3C/svg%3E"); }
.src-name { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* Report-style chat bubbles */
.card-msg { max-width: 90%; min-width: 74%; }
.brief-row.warn b, .brief-row.warn span { color: var(--amber); }
.brief-row.good b { color: var(--deep); }
.brief-row .src-name { gap: 6px; }
.brief-row .sm { width: 16px; height: 16px; }

/* Funnel story */
.story-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.story-steps li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 11px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14.5px; font-weight: 700; color: var(--muted);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
.story-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); transition: background-color 0.6s var(--ease); }
.story-steps li.on { background: var(--deep); color: var(--white); }
.story-steps li.on::before { background: var(--signal); }
.drop-row .bar { position: relative; }
.drop-gap {
  position: absolute; top: 0; bottom: 0; left: var(--l); right: 0;
  border-radius: 0 10px 10px 0;
  background: repeating-linear-gradient(-45deg, rgba(224, 160, 42, 0.35) 0 6px, rgba(224, 160, 42, 0.12) 6px 12px);
  opacity: 0;
}
.drop-row.alert .bar-label { color: var(--amber); font-weight: 700; }
.drop-row.alert .drop-gap { animation: gapPulse 1.6s ease-in-out infinite; }
@keyframes gapPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.story-cards { display: grid; gap: 14px; }
.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 24px 60px -34px rgba(3, 61, 41, 0.35);
  font-size: 15px;
}
.sc-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.sc-head strong { display: block; font-size: 15px; }
.sc-head small { display: block; font-size: 12.5px; color: var(--muted); }
.sc-head .ch-avatar { width: 34px; height: 34px; }
.sc-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--signal); position: relative; flex: 0 0 auto; }
.sc-badge::after { content: ""; position: absolute; left: 13px; top: 8px; width: 6px; height: 13px; border: solid var(--deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sc-fix { background: var(--deep); color: var(--white); }
.sc-fix .sc-head small { color: rgba(255, 255, 255, 0.65); }
.sc-fix ul { display: grid; gap: 8px; }
.sc-fix li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.sc-fix li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: 0 0 auto; }
.js .story-card { opacity: 0; transform: translateY(24px); }
.js .drop-flag span { opacity: 0; }

/* Calculator */
.calc-grid { display: grid; gap: 36px; align-items: start; }
.calc-card {
  display: grid; gap: 22px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--mist);
}
.calc-field { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; }
.calc-field label { font-weight: 600; font-size: 15.5px; }
.calc-field output { font-weight: 700; font-size: 17px; color: var(--deep); font-variant-numeric: tabular-nums; }
.calc-field input { grid-column: 1 / -1; width: 100%; margin: 0; height: 28px; cursor: pointer; -webkit-appearance: none; appearance: none; background: transparent; }
.calc-field input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--green) var(--p, 30%), var(--white) var(--p, 30%)); }
.calc-field input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(3, 61, 41, 0.3), inset 0 0 0 7px var(--green); transition: transform 0.3s var(--ease); }
.calc-field input:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-field input::-moz-range-track { height: 8px; border-radius: 99px; background: var(--white); }
.calc-field input::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--green); }
.calc-field input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(3, 61, 41, 0.3), inset 0 0 0 6px var(--green); }
.calc-result {
  margin-top: 4px;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--deep);
  color: var(--white);
}
.cr-label { margin: 0 0 4px; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.cr-total { white-space: nowrap; margin: 0 0 14px; font-size: clamp(38px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--signal); font-variant-numeric: tabular-nums; }
.cr-split { display: grid; gap: 4px; margin-bottom: 14px; font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.cr-split b { color: var(--white); }
.cr-note { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.calc-result .btn { background: var(--signal); color: var(--deep); }
.calc-result .btn:hover { background: var(--white); }
@media (min-width: 1000px) {
  .calc-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .calc-copy { position: sticky; top: 140px; }
  .calc-card { grid-template-columns: 1fr 1fr; gap: 26px 32px; padding: 36px; }
  .calc-result { grid-column: 1 / -1; padding: 30px 32px; }
  .cr-split { grid-template-columns: 1fr 1fr; }
}

/* Comparison tabs */
.cmp-tabs { position: relative; display: inline-flex; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: var(--mist); max-width: 100%; }
.cmp-tabs button {
  position: relative; z-index: 1;
  border: 0; background: transparent; cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--muted);
  transition: color 0.4s var(--ease);
}
.cmp-tabs button.on { color: var(--white); }
.cmp-tab-bg { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--deep); transition: transform 0.6s var(--ease), width 0.6s var(--ease); }
@media (max-width: 420px) { .cmp-tabs button { padding: 11px 13px; font-size: 14px; } }
.chat-body[hidden], .compare-table[hidden] { display: none; }

/* Small screens: put the scene buttons right above the phone */
@media (max-width: 999px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .hero-copy .pillars { order: 2; margin: 32px 0 18px; justify-content: center; }
  .hero-visual { order: 3; }
  .hero-copy .hero-actions { order: 1; }
  .hero-copy .hero-note { order: 1; }
}

.calc-copy .lead { margin-top: 16px; }
.calc-grid, .funnel-grid, .picker-grid, .dfy-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
.calc-card, .calc-field { min-width: 0; }
.calc-field label { min-width: 0; }
@media (max-width: 420px) { .cr-total { font-size: 34px; } }
@media (min-width: 900px) { .funnel-grid { grid-template-columns: 1.25fr 0.75fr; } }
@media (min-width: 1000px) {
  .calc-grid { grid-template-columns: 0.8fr 1.2fr; }
  .picker-grid { grid-template-columns: 1.1fr 0.9fr; }
  .dfy-grid { grid-template-columns: 1.1fr 0.9fr; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; }
}
.calc-card { grid-template-columns: minmax(0, 1fr); }
.calc-field { grid-template-columns: minmax(0, 1fr) auto; }
@media (min-width: 1000px) { .calc-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Accountability: reminders and the doctor alert */
.msg-tag { display: block; font-size: 11.5px; font-weight: 700; color: var(--amber); margin-bottom: 2px; }
.msg-notice {
  align-self: center;
  max-width: 88%;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FBEFD8;
  color: var(--amber);
  font-size: 13px; font-weight: 700; line-height: 1.35;
  text-align: center;
}
.log-alert span:nth-child(2) { color: var(--green); font-weight: 700; }
.log li .warn { background: #FBEFD8; }
.receipt {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mist);
  border: 1.5px dashed rgba(4, 106, 69, 0.3);
}
.rc-text strong { display: block; font-size: 14px; }
.rc-text small { display: block; font-size: 12.5px; color: var(--muted); }
.rc-tag { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; }
@media (max-width: 480px) { .receipt { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ===== Inner pages ===== */
.nav-links a[aria-current="page"] { background: rgba(4, 106, 69, 0.1); color: var(--green); }
.mobile-menu a[aria-current="page"] { color: var(--green); }
.nowrap { white-space: nowrap; }

.page-hero { min-height: 0 !important; display: block !important; padding: 140px 0 72px !important; }
.page-hero .display { max-width: 15em; }
.page-hero .hero-lead { max-width: 34em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; font-weight: 600;
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.jump a:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
@media (min-width: 1000px) { .page-hero { padding: 180px 0 96px !important; } }

/* Service blocks */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.svc-copy .h2 { margin-bottom: 24px; }
.ticks-list { display: grid; gap: 14px; }
.ticks-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.ticks-list i.yes { margin-top: 1px; }
.svc-visual { width: 100%; max-width: 460px; justify-self: center; }
.svc-visual .device-sm { max-width: 320px; margin: 0 auto; }
.svc-stack { display: grid; gap: 16px; }
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; }
  .svc-flip .svc-copy { order: 2; }
  .svc-flip .svc-visual { order: 1; }
}

/* Schedule */
.sched li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; font-size: 14.5px; }
.sched li + li { box-shadow: 0 -1px 0 var(--line); }
.s-time { color: var(--muted); font-size: 13px; }
.s-name { font-weight: 600; line-height: 1.3; }
.s-name small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.s-status {
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  background: #FBEFD8; color: var(--amber);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.s-status.ok, .s-status.flipped { background: var(--sage); color: var(--green); }
.s-status.move.flipped { background: var(--deep); color: var(--white); }
.reminder-bubble {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--mist);
  font-size: 14px; line-height: 1.45;
}
.rb-label { display: block; font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 2px; }

/* Escalation */
.escalate { position: relative; display: grid; gap: 18px; padding-left: 4px; }
.escalate::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--sage); }
.escalate li { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.escalate b { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.e-dot { position: relative; z-index: 1; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--white); }
.e-dot.warn { background: #E0A02A; }
.e-dot.alert { background: var(--signal); box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(37, 194, 106, 0.2); }
.escalate li:last-child span:last-child { color: var(--green); font-weight: 700; }

/* Money */
.money-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ms-box { padding: 14px; border-radius: 14px; background: var(--mist); }
.ms-box span { display: block; font-size: 13px; color: var(--muted); }
.ms-box b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--deep); font-variant-numeric: tabular-nums; }
.match-top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; }
.match .bar { display: block; height: 12px; }
.match .bar i { background: var(--green); }
.flag-row { margin: 14px 0 0; }
.flag-row span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #FBEFD8; color: var(--amber); font-size: 13.5px; font-weight: 700; }
.flag-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E0A02A; animation: blink 1.6s ease-in-out infinite; }

/* Recall */
.recall li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; font-size: 14.5px; font-weight: 600; }
.recall li + li { box-shadow: 0 -1px 0 var(--line); }
.recall small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.r-status { padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Brief section */
.brief-sec .lead { margin: 16px 0 28px; }
.brief-points { display: grid; gap: 10px; }
.brief-points li { display: flex; gap: 12px; align-items: center; font-size: 17px; color: rgba(255, 255, 255, 0.88); }
.brief-points li::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.brief-sec .device { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #2A3A33, inset 0 0 0 4px #0E1A15; }

/* Also included */
.also-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.also-list li { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--mist); }
.also-list strong { display: block; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--deep); }
.also-list span { color: var(--muted); }
@media (min-width: 900px) { .also-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .also-list li { padding: 36px 32px; } }

/* Four steps */
@media (min-width: 900px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.screen { color: var(--ink); }

/* ===== Flow: first message to booked patient ===== */
.flow { background: var(--mist); }
.flow-track-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
.flow-track-wrap::-webkit-scrollbar { display: none; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(76px, 1fr)); min-width: 640px; }
.flow-line { position: absolute; left: calc(100% / 16); right: calc(100% / 16); top: 21px; height: 3px; border-radius: 3px; background: rgba(4, 106, 69, 0.14); }
.flow-line i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--green); transform-origin: left center; transform: scaleX(0); transition: transform 0.9s var(--ease); }
.flow-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--sans);
}
.fs-dot {
  display: grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(4, 106, 69, 0.2);
  font-size: 16px; font-weight: 700; color: var(--muted);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.fs-name { font-size: 14.5px; font-weight: 700; color: var(--muted); transition: color 0.4s var(--ease); }
.flow-step:hover .fs-dot { transform: scale(1.08); }
.flow-step.done .fs-dot { background: var(--green); color: var(--white); box-shadow: none; }
.flow-step.on .fs-dot { background: var(--deep); color: var(--white); box-shadow: 0 0 0 6px rgba(37, 194, 106, 0.22); transform: scale(1.1); }
.flow-step.on .fs-name, .flow-step.done .fs-name { color: var(--ink); }

.flow-stage {
  position: relative;
  margin-top: 28px;
  padding: 28px 22px 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 70px -44px rgba(3, 61, 41, 0.35);
  overflow: hidden;
}
.flow-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.flow-panel[hidden] { display: none; }
.fp-count { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--green); font-size: 13px; font-weight: 700; }
.fp-text .h3 { margin-bottom: 12px; }
.fp-text p { color: var(--muted); font-size: 17px; max-width: 28em; }
.fp-visual { width: 100%; max-width: 420px; justify-self: center; }
.fp-chat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 14px;
  border-radius: 22px;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(4, 106, 69, 0.07) 1px, transparent 1.2px);
  background-size: 16px 16px;
}
.fp-tag { align-self: center; margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: var(--white); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.fp-tag-ok { background: var(--green); color: var(--white); }
.fp-record .brief-row { font-size: 14.5px; padding: 8px 0; }
.fp-record .brief-row + .brief-row { box-shadow: 0 -1px 0 var(--line); }
.fp-record .brief-row b { color: var(--ink); }
.fp-record .src-name .sm { width: 16px; height: 16px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 10px 0; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 700; background: var(--mist); color: var(--deep); }
.slot.taken { color: #9AB0A6; text-decoration: line-through; background: #F4F8F6; }
.slot.pick { background: var(--green); color: var(--white); }
.fp-ok { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--sage); color: var(--green); font-size: 14px; font-weight: 700; }
.paper-receipt {
  display: grid; gap: 6px;
  max-width: 280px; margin: 0 auto;
  padding: 22px 22px 26px;
  background: var(--white);
  box-shadow: 0 20px 40px -24px rgba(3, 61, 41, 0.35), 0 0 0 1px var(--line);
  font-size: 14px;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
}
.paper-receipt strong { font-size: 16px; text-align: center; margin-bottom: 6px; }
.pr-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed rgba(15, 31, 24, 0.15); }
.pr-row span { color: var(--muted); }
.pr-foot { margin-top: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--green); }
.flow-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--mist); }
.flow-timer i { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: left center; transform: scaleX(0); }
.flow-timer.run i { animation: flowTimer var(--flow-ms, 3800ms) linear forwards; }
@keyframes flowTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.flow-bar {
  display: grid; gap: 16px; align-items: center;
  margin-top: 20px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
}
.flow-bar p { margin: 0; font-size: 16px; }
.flow-bar strong { color: var(--white); }
.fb-chip { justify-self: start; padding: 8px 14px; border-radius: 12px; background: var(--signal); color: var(--deep); font-weight: 700; font-size: 15px; white-space: nowrap; }
.flow-bar .btn { justify-self: start; background: var(--signal); color: var(--deep); }
.flow-bar .btn:hover { background: var(--white); }

@media (min-width: 900px) {
  .flow-track-wrap { overflow: visible; margin: 0; padding: 4px 0 8px; }
  .flow-track { min-width: 0; }
  .flow-stage { padding: 48px 56px 52px; min-height: 360px; }
  .flow-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .flow-bar { grid-template-columns: auto 1fr auto; gap: 24px; padding: 20px 24px; }
  .flow-bar .btn { justify-self: end; }
}
@media (max-width: 899px) { .flow-stage { min-height: 560px; } }

/* ===== About ===== */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.story-body { font-size: 19px; line-height: 1.6; max-width: 36em; }
.placeholder-box { padding: 24px; border-radius: var(--radius-md); background: #FFF8E8; border: 2px dashed #E0A02A; color: var(--amber); }
.placeholder-box strong { display: block; margin-bottom: 6px; text-transform: none; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }

.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.person-photo { position: relative; aspect-ratio: 4 / 5; background: #A9ABAA; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-placeholder { display: grid; place-items: center; background: var(--sage); }
.person-placeholder span { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; color: var(--green); }
.person-text { padding: 24px 24px 28px; }
.person-role { margin: 6px 0 16px; color: var(--green); font-weight: 700; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { padding: 7px 12px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 600; }
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .person-text { padding: 28px 32px 34px; }
}

.promise-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.promise { position: relative; padding: 28px 24px 30px; border-radius: var(--radius-lg); background: var(--mist); overflow: hidden; }
.promise-num {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 22px;
  border-radius: 50%;
  background: var(--deep); color: var(--signal);
  font-size: 18px; font-weight: 700;
}
.promise h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.promise p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .promise { padding: 36px 36px 40px; }
}
@media (min-width: 1200px) { .promise-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .person { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .person-photo { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .person-text { padding: 32px 30px; }
}
.person-photo { background: var(--sage); }
.person-photo img { object-position: center bottom; }
.creds li { border-radius: 12px; line-height: 1.4; }

/* Team: full photos, no frame or background */
.person, .person { background: none; border-radius: 0; overflow: visible; grid-template-columns: minmax(0, 1fr) !important; align-items: start !important; }
.person-photo { background: none !important; aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; overflow: visible; display: flex; justify-content: center; }
.person-photo picture { display: block; width: 100%; max-width: 380px; }
.person-photo img { width: 100%; height: auto; object-fit: contain; object-position: center bottom; }
.person-text { padding: 20px 4px 0 !important; text-align: center; }
.person-text .creds { justify-content: center; }
.creds li { background: var(--white); }
@media (min-width: 768px) { .team-grid { gap: 48px; } }
.story-body p { margin: 0 0 1.1em; color: var(--muted); }
.story-body .story-open { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.story-body .story-close { margin: 1.6em 0 0; padding: 22px 24px; border-radius: var(--radius-md); background: var(--deep); color: var(--white); font-weight: 700; font-size: 20px; line-height: 1.4; }
@media (min-width: 1000px) { .story-grid .h2 { position: sticky; top: 140px; align-self: start; } }
.story-photo { margin-top: 28px; }
.story-photo picture { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.story-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (min-width: 1000px) {
  .story-grid .h2 { position: static; }
  .story-side { position: sticky; top: 130px; align-self: start; }
  .story-photo { margin-top: 36px; }
  .story-photo img { aspect-ratio: 4 / 5; object-position: 45% center; }
}
@media (min-width: 1000px) { .story-photo img { aspect-ratio: 1 / 1; object-position: 64% center; } }
.story-photo img { aspect-ratio: 4 / 5; object-position: center 60%; }
@media (min-width: 1000px) { .story-photo img { aspect-ratio: 1 / 1; object-position: center 62%; } }
@media (max-width: 999px) { .story-photo img { aspect-ratio: 4 / 3; object-position: center 68%; } }

/* ===== Contact ===== */
.contact { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.wa-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--deep);
  color: var(--white);
}
.wa-card .h3 { color: var(--white); }
.wa-sub { margin: 8px 0 22px; color: rgba(255, 255, 255, 0.75); }
.wa-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wa-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.wa-field input, .wa-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-family: var(--sans); font-size: 16px;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.wa-field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.wa-field select option { color: var(--ink); }
.wa-field input:focus, .wa-field select:focus { outline: none; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 2px var(--signal); }
.wa-preview {
  margin: 22px 0 18px;
  padding: 16px 14px;
  border-radius: 18px;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(4, 106, 69, 0.07) 1px, transparent 1.2px);
  background-size: 16px 16px;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.wa-preview-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.wa-preview .msg { margin: 0; white-space: pre-line; max-width: 92%; }
.wa-send { background: var(--signal); color: var(--deep); width: 100%; }
.wa-send:hover { background: var(--white); }
.wa-note { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); text-align: center; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.c-card {
  display: grid; gap: 4px;
  padding: 22px 22px;
  border-radius: var(--radius-md);
  background: var(--mist);
  text-decoration: none;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
a.c-card:hover { transform: translateY(-3px); background: var(--sage); }
.c-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.c-card strong { font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.02em; color: var(--deep); overflow-wrap: anywhere; }
.c-go { font-size: 14px; color: var(--green); font-weight: 600; }
.c-open .live-dot { width: 9px; height: 9px; margin-right: 10px; vertical-align: 3px; animation: blinkGreen 1.8s ease-in-out infinite; }
@keyframes blinkGreen { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 194, 106, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(37, 194, 106, 0); } }
@media (min-width: 700px) { .wa-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
  .wa-card { padding: 40px; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
.h1-line { display: block; }
@media (min-width: 1000px) { .h1-line { white-space: nowrap; } }
.contact { overflow-x: clip; }

/* ===== Legal pages ===== */
.legal-date { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.legal { padding-top: 24px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.legal-toc { display: none; }
.legal-body { max-width: 720px; font-size: 17px; line-height: 1.7; }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin: 48px 0 14px; scroll-margin-top: 110px; }
.legal-body p { color: #2E4239; }
.legal-body ul { display: grid; gap: 10px; margin: 0 0 1em; }
.legal-body li { position: relative; padding-left: 22px; color: #2E4239; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--green); text-underline-offset: 3px; }
.legal-short { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--mist); scroll-margin-top: 110px; }
.legal-short h2 { margin-top: 0; }
.legal-short li::before { background: var(--signal); }
@media (min-width: 1000px) {
  .legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; }
  .legal-toc { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 120px; align-self: start; }
  .legal-toc strong { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
  .legal-toc a { padding: 7px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
  .legal-toc a:hover { color: var(--ink); background: var(--mist); }
  .legal-toc a.on { color: var(--green); background: var(--mist); font-weight: 700; }
  .legal-short { padding: 32px 36px; }
}
.footer-legal a[aria-current="page"] { color: var(--white); }
mark.todo { display: inline; padding: 2px 6px; border-radius: 6px; background: #FDEFC8; color: #6B4700; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-h1 { margin: 0; font-weight: inherit; }
.hero-h1 > .chip { display: inline-flex; margin-bottom: 20px; font-size: 14px; letter-spacing: 0; line-height: 1.2; }
.hero-h1 > .display { display: block; }
.notfound { min-height: 70vh !important; }

/* ===== Pricing ===== */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pc-card { padding: 30px 24px; border-radius: var(--radius-lg); }
.pc-card .h3 { margin-bottom: 18px; }
.pc-card ul { display: grid; gap: 12px; }
.pc-card li { position: relative; padding-left: 30px; line-height: 1.45; }
.pc-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pc-soft { background: #F4F6F5; color: var(--muted); }
.pc-soft .pc-tag { background: #E6EBE8; color: var(--muted); }
.pc-soft .h3 { color: #5D6F67; }
.pc-soft li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 12px; height: 2px; background: #9AB0A6; border-radius: 2px; }
.pc-pfd { background: var(--deep); color: rgba(255, 255, 255, 0.9); }
.pc-pfd .h3 { color: var(--white); }
.pc-pfd .pc-tag { background: var(--signal); color: var(--deep); }
.pc-pfd li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); }
.pc-pfd li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (min-width: 900px) { .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .pc-card { padding: 44px 40px; } }

.plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.plan-tabs button {
  border: 0; cursor: pointer;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.plan-tabs button:hover { transform: translateY(-2px); }
.plan-tabs button.on { background: var(--deep); color: var(--white); box-shadow: none; }
.plan-board { padding: 24px 20px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 30px 70px -44px rgba(3, 61, 41, 0.35); }
.pb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.pb-why { margin: 10px 0 0; font-size: 17px; font-weight: 600; max-width: 34em; }
.pb-count { margin: 0; flex: 0 0 auto; text-align: right; font-size: 14px; color: var(--muted); font-weight: 600; }
.pb-count b { display: block; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--green); font-variant-numeric: tabular-nums; }
.mods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mods li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px;
  background: #F4F6F5; color: #9AB0A6;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.mods li strong { display: block; font-size: 15.5px; color: #8FA39A; transition: color 0.5s var(--ease); }
.mods li span { font-size: 13.5px; line-height: 1.4; }
.mods li i.yes { background: #D9E2DE; transform: scale(0.85); transition: background-color 0.5s var(--ease), transform 0.5s var(--ease); }
.mods li.on { background: var(--mist); color: var(--muted); }
.mods li.on strong { color: var(--deep); }
.mods li.on i.yes { background: var(--green); transform: scale(1); }
.mods li:not(.on) i.yes::after { opacity: 0; }
.pb-foot { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 700px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plan-board { padding: 36px 40px; } .mods { grid-template-columns: repeat(5, minmax(0, 1fr)); } .mods li { flex-direction: column; min-height: 132px; } }

.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.pl-grid .lead { margin-top: 16px; }
.pl-list { display: grid; gap: 10px; }
.pl-list li { padding: 20px 22px; border-radius: 18px; background: var(--mist); color: var(--muted); }
.pl-list strong { display: block; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 4px; }
@media (min-width: 1000px) { .pl-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
main { overflow-x: clip; }

/* Pricing: hero plan sheet */
.price-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.plan-sheet {
  width: 100%; max-width: 420px; justify-self: center;
  padding: 24px 22px 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 40px 80px -40px rgba(3, 61, 41, 0.4), 0 0 0 1px var(--line);
}
.ps-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.ps-head strong { display: block; font-size: 16px; }
.ps-head small { display: block; font-size: 13px; color: var(--muted); }
.ps-head .tag-sample { margin-left: auto; }
.ps-logo { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.ps-logo img { width: 100%; height: 100%; }
.ps-label { margin: 14px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ps-problems { display: grid; gap: 6px; }
.ps-problems li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.ps-problems i.warn { width: 20px; height: 20px; }
.ps-problems i.warn::after { font-size: 12px; }
.ps-parts { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-parts span { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #F4F6F5; color: #A3B4AC; transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.ps-parts span.on { background: var(--green); color: var(--white); }
.ps-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--deep); color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.ps-total strong { color: var(--white); font-size: 15px; text-align: right; }
.ps-total b { color: var(--signal); }
.ps-foot { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
@media (min-width: 1000px) {
  .price-hero { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; }
}

/* Pricing: pay for vs use */
.pc-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.pc-head .section-head { margin-bottom: 0; }
.usage { padding: 22px 20px; border-radius: var(--radius-md); background: var(--mist); }
.usage-row + .usage-row { margin-top: 16px; }
.usage-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.usage-top span { font-weight: 700; }
.usage-top b { color: var(--muted); font-weight: 600; }
.usage-row.us .usage-top b { color: var(--green); }
.usage-track { position: relative; height: 18px; border-radius: 99px; background: var(--white); overflow: hidden; }
.usage-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 99px; transform-origin: left center; }
.u-paid { background: #C9D6CF; }
.u-used { background: var(--green); }
.usage-row.us .u-paid { background: var(--green); }
.usage-key { display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.usage-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k-paid::before { background: #C9D6CF; }
.k-used::before { background: var(--green); }
.usage figcaption, .cost-bars figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (min-width: 1000px) { .pc-head { grid-template-columns: 1fr 1fr; gap: 64px; } .usage { padding: 28px 30px; } }

/* Pricing: illustration bars */
.cost-bars { margin-top: 32px; padding: 22px 20px; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 24px 60px -36px rgba(3, 61, 41, 0.3), 0 0 0 1px var(--line); }
.cb-row + .cb-row { margin-top: 14px; }
.cb-row span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.cb-row i { display: block; height: 14px; width: var(--w); border-radius: 99px; background: #C9D6CF; transform-origin: left center; }
.cb-row.us span { color: var(--green); font-weight: 700; }
.cb-row.us i { background: var(--signal); }
.price-hero .display { font-size: clamp(40px, 4.4vw, 64px); }
.price-hero .h1-line { white-space: normal; }
.u-paid, .k-paid::before { background: #AFC2B8 !important; }
.usage-row.us .u-paid { background: var(--green) !important; }
.usage-track { background: #E4ECE7; }

/* Nav: 5 links need more room; use the menu button up to 1060px */
@media (min-width: 900px) and (max-width: 1059px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex !important; }
  .mobile-menu:not([hidden]) { display: flex !important; }
}
@media (min-width: 1060px) { .nav-links a { padding: 10px 14px; } }

/* ===== Marketing ===== */
.sm-wa-txt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6.5' fill='%23046A45'/%3E%3Cpath d='M6.5 7.5h11a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5H11l-3.2 2.4V16.5H6.5A1.5 1.5 0 0 1 5 15V9a1.5 1.5 0 0 1 1.5-1.5z' fill='white'/%3E%3C/svg%3E"); }
.mk-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.mk-hero .display { font-size: clamp(40px, 4.6vw, 66px); }
.mk-hero .h1-line { white-space: normal; }
.mk-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mk-platforms span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 700; }
@media (min-width: 1000px) { .mk-hero { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }

.ad-visual { position: relative; width: 100%; max-width: 360px; justify-self: center; }
.ad-card { border-radius: 26px; background: var(--white); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(3, 61, 41, 0.45), 0 0 0 1px var(--line); }
.ad-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.ad-top strong { display: block; font-size: 14.5px; }
.ad-top small { display: block; font-size: 12px; color: var(--muted); }
.ad-top .tag-sample { margin-left: auto; }
.ad-av { width: 36px; height: 36px; border-radius: 50%; background: var(--signal); color: var(--deep); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.ad-creative { position: relative; aspect-ratio: 4 / 5; padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--deep); color: var(--white); overflow: hidden; }
.ad-creative::before { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -70px; border-radius: 50%; background: var(--green); }
.ad-creative::after { content: ""; position: absolute; width: 140px; height: 140px; right: 60px; top: 90px; border-radius: 50%; background: rgba(37, 194, 106, 0.35); }
.ad-hook { position: relative; z-index: 1; margin: 0 0 10px; font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.ad-sub { position: relative; z-index: 1; margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.ad-play { position: absolute; z-index: 1; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.ad-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--white); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ad-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.ad-cta b { padding: 9px 14px; border-radius: 10px; background: var(--green); color: var(--white); font-size: 13px; }
.mk-fc1 { right: -24px; top: 90px; }
.mk-fc2 { left: -24px; bottom: 70px; }
.mk-fc1 .sm { flex: 0 0 auto; }
@media (min-width: 1000px) { .mk-fc1 { right: -80px; } .mk-fc2 { left: -90px; } }
@media (max-width: 420px) { .mk-fc1 { right: -6px; } .mk-fc2 { left: -6px; } .ad-hook { font-size: 28px; } }

.usp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.usp-card { padding: 30px 24px; border-radius: var(--radius-lg); }
.usp-card ul { display: grid; gap: 14px; }
.usp-card li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; }
.usp-btn { background: #F4F6F5; color: var(--muted); }
.usp-btn .pc-tag { background: #E6EBE8; color: var(--muted); }
.usp-btn li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 12px; height: 2px; background: #9AB0A6; }
.usp-mind { background: var(--deep); color: rgba(255, 255, 255, 0.92); }
.usp-mind .pc-tag { background: var(--signal); color: var(--deep); }
.usp-mind li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); }
.usp-mind li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (min-width: 900px) { .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .usp-card { padding: 44px 40px; } }

.ways-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.way { padding: 30px 24px; border-radius: var(--radius-lg); background: var(--white); }
.way-tag { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--green); font-size: 13px; font-weight: 700; }
.way .h3 { margin-bottom: 12px; }
.way > p:not(.way-tag) { color: var(--muted); }
.way ul { display: grid; gap: 10px; margin-top: 18px; }
.way li { position: relative; padding-left: 22px; font-size: 15.5px; font-weight: 600; }
.way li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.way-main { background: var(--deep); color: var(--white); }
.way-main .way-tag { background: var(--signal); color: var(--deep); }
.way-main > p:not(.way-tag) { color: rgba(255, 255, 255, 0.78); }
.way-main li::before { background: var(--signal); }
@media (min-width: 1000px) { .ways-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .way { padding: 40px 34px; } .way-main { margin-top: -16px; margin-bottom: 16px; } }

.mk-link-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.mk-link-grid .lead { margin-top: 16px; }
.mk-note { margin-top: 16px; font-weight: 700; color: var(--deep); }
.mk-pipe { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--mist); }
.pipe { position: relative; display: grid; gap: 18px; }
.pipe::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--sage); }
.pipe li { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.pipe b { display: block; font-size: 16px; color: var(--ink); }
.pipe-dot { position: relative; z-index: 1; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--green); transition: background-color 0.4s var(--ease); }
.pipe li.lit .pipe-dot { background: var(--green); }
.pipe-end.lit .pipe-dot { background: var(--signal); box-shadow: 0 0 0 6px rgba(37, 194, 106, 0.2); }
.mk-pipe figcaption { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
@media (min-width: 1000px) { .mk-link-grid { grid-template-columns: 1fr 1fr; gap: 80px; } .mk-pipe { padding: 36px 40px; } }

.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
.pay-card { padding: 30px 24px; border-radius: var(--radius-lg); background: var(--mist); }
.pay-card .h3 { margin-bottom: 10px; }
.pay-card p:not(.way-tag) { color: var(--muted); margin: 0; }
.pay-card a { color: var(--green); }
.pay-ours { background: var(--deep); color: var(--white); }
.pay-ours .way-tag { background: var(--signal); color: var(--deep); }
.pay-ours p:not(.way-tag) { color: rgba(255, 255, 255, 0.8); }
.pay-ours a { color: var(--signal); }
.pay-plus { display: grid; place-items: center; font-size: 40px; font-weight: 300; color: var(--green); }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1fr 64px 1fr; } .pay-card { padding: 40px; } }

/* Home: pricing promise and marketing teaser */
.promise-band { padding: 0 0 var(--section); }
.pb-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; padding: 30px 24px; border-radius: var(--radius-lg); background: var(--mist); }
.pb-box .h2 { font-size: clamp(28px, 3.4vw, 44px); }
.pb-box ul { display: grid; gap: 10px; }
.pb-box li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 17px; }
.pb-box .btn { justify-self: start; }
@media (min-width: 1000px) { .pb-box { grid-template-columns: 1.2fr 1fr auto; gap: 48px; padding: 44px 48px; } }
.mk-teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.mk-teaser-grid .lead { margin: 16px 0 24px; }
.mk-teaser-ways { display: grid; gap: 10px; }
.mk-teaser-ways li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--white); font-weight: 700; font-size: 17px; }
.mk-teaser-ways small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
@media (min-width: 1000px) { .mk-teaser-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.mk-fc2 { bottom: -26px !important; }
@media (max-width: 999px) { .mk-fc2 { bottom: -46px !important; } .ad-visual { margin-bottom: 40px; } }
.ways-note { display: flex; gap: 12px; align-items: center; margin: 24px 0 0; font-weight: 700; color: var(--deep); }

/* Marketing: real photo in the sample ad */
.ad-creative.has-photo::before, .ad-creative.has-photo::after { content: none; }
.ad-photo { position: absolute; inset: 0; z-index: 0; }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ad-creative.has-photo { background: #1C2A24; }
.ad-creative.has-photo .ad-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 30, 20, 0) 35%, rgba(3, 30, 20, 0.88) 100%); }
.ad-creative.has-photo .ad-hook { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
