/* MZ Growth — site styles
   Design system notes (keep these rules when editing):
   - One theme: light, green-tinted neutrals. One accent: green. Footer is the only dark surface.
   - Radius scale: cards + media 16px · buttons + inputs 10px · pills 999px. Nothing else.
   - Type: DM Sans (UI, H1, body) + Cormorant Garamond (section H2s, pull quote). Emphasis = weight/colour in the same family.
   - Motion: ease-out only (custom curve), UI transitions <= 220ms, press feedback scale(.97),
     one authored entrance (hero). Everything is visible without JS and without animation.
*/

/* ---------- tokens ---------- */
:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --ink: #0d1310;
  --text: #36423b;
  --muted: #5b675f;
  --line: #e1e8e3;
  --line-strong: #cbd6ce;

  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  --footer-bg: #0b120e;
  --footer-text: #a3b1a8;
  --footer-line: rgba(255, 255, 255, 0.09);

  --r-card: 16px;
  --r-ctl: 10px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 19, 16, 0.05);
  --shadow-md: 0 1px 2px rgba(13, 19, 16, 0.04), 0 14px 34px -16px rgba(13, 19, 16, 0.16);
  --shadow-lg: 0 2px 4px rgba(13, 19, 16, 0.04), 0 30px 60px -28px rgba(13, 40, 24, 0.28);
  --shadow-btn: 0 8px 22px -8px rgba(34, 197, 94, 0.6);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 220ms;

  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --section-y: clamp(60px, 9vw, 128px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a, button { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--ink); }

/* browser surfaces, themed from the palette */
::selection { background: var(--green-100); color: var(--ink); }
:root { caret-color: var(--green-600); accent-color: var(--green-600); scrollbar-color: var(--line-strong) transparent; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); transition: top var(--t-fast) var(--ease-out); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--white + .section--white { border-top: 0; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- type ---------- */
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-700); line-height: 1.4; }
.h1 { font-family: var(--sans); font-weight: 800; color: var(--ink); font-size: clamp(1.85rem, 4.5vw, 3.35rem); line-height: 1.08; letter-spacing: -0.032em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(2.05rem, 3.7vw, 3rem); line-height: 1.1; letter-spacing: -0.012em; font-variant-numeric: lining-nums; text-wrap: balance; }
.h3 { font-weight: 700; color: var(--ink); font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.accent { color: var(--green-600); }
.accent-deep { color: var(--green-700); }

.head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: clamp(30px, 5vw, 60px); }
.head--left { justify-items: start; text-align: left; }
.head .h2, .head .h1 { max-width: 22ch; }
.head--wide .h2 { max-width: 30ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  background: var(--green-500); color: var(--ink);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap;
  border-radius: var(--r-ctl); box-shadow: var(--shadow-btn);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-fast) var(--ease-out); }
@media (hover: hover) {
  .btn:hover { background: #1fb957; box-shadow: 0 10px 26px -8px rgba(34, 197, 94, 0.7); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; box-shadow: none; }
.btn--block { width: 100%; }
.cta-row { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(246, 248, 246, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out); }
.header.is-stuck { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.header__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; justify-self: start; border-radius: 8px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { position: relative; padding: 8px 14px; font-size: 0.94rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color var(--t-fast) var(--ease-out); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); align-items: center; justify-content: center; color: var(--ink); background: var(--surface); transition: transform var(--t-fast) var(--ease-out); }
.menu-btn:active { transform: scale(0.97); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 820px) {
  .header__in { grid-template-columns: auto 1fr; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: calc(var(--header-h) - 4px); right: var(--gutter); min-width: 210px; flex-direction: column; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); transform-origin: top right; opacity: 0; transform: scale(0.96); visibility: hidden; transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast); }
  .nav.is-open { opacity: 1; transform: scale(1); visibility: visible; transition-delay: 0s; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { background: var(--green-50); color: var(--green-800); }
  .brand img { height: 44px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(24px, 3.4vw, 44px); padding-bottom: clamp(44px, 5vw, 72px); text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1; background: radial-gradient(60% 70% at 50% 0%, rgba(34, 197, 94, 0.13), rgba(34, 197, 94, 0) 70%); pointer-events: none; }
.hero__in { display: grid; justify-items: center; }
/* single-column grids may never grow wider than their container */
.hero__in, .head, .split__text, .letter, .calc__controls, .calc__out, .net, .steps, .data__col, .card--info, .form, .field, .footer__bottom { grid-template-columns: minmax(0, 1fr); }
.hero__logo { height: clamp(64px, 7.5vw, 92px); width: auto; margin-bottom: 14px; }
.hero .eyebrow { margin-bottom: 18px; }
/* hero headline is fitted to the viewport: 3 lines from 640px up, 4 lines on phones, never more */
.hero .h1 { max-width: none; font-size: min(3.35rem, calc((100vw - 2 * var(--gutter)) / 17.75)); }
.hero .h1 span.line { display: block; white-space: nowrap; }
@media (max-width: 639px) {
  .hero .h1 { font-size: calc((100vw - 2 * var(--gutter)) / 12.95); line-height: 1.12; }
  .hero .h1 .brk { display: block; }
  .hero .eyebrow { font-size: min(0.75rem, calc((100vw - 2 * var(--gutter)) / 30.6)); letter-spacing: 0.1em; white-space: nowrap; }
}
.hero .tm { font-size: 0.45em; vertical-align: 0.95em; margin-left: 1px; letter-spacing: 0; font-weight: 700; }
.pill { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 26px; padding: 11px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: clamp(0.86rem, 1.4vw, 1rem); line-height: 1.4; }
.pill i { font-style: normal; color: var(--green-600); }
/* phones: one line, like desktop. At phone sizes the text measures 25.4em wide incl. separators (DM Sans is wider at small optical sizes), so the size is fitted to the screen and stays inside the page gutters */
@media (max-width: 560px) { .pill { flex-wrap: nowrap; white-space: nowrap; gap: 0 0.3em; padding: 10px 12px; font-size: min(1rem, calc((100vw - 2 * var(--gutter) - 26px) / 25.7)); } }
.hero .lede { margin-top: 18px; }
.step { display: inline-flex; flex-wrap: wrap; justify-content: center; text-align: center; align-items: center; gap: 2px 8px; max-width: 100%; padding: 8px 18px; border-radius: var(--r-pill); background: var(--green-50); border: 1px solid var(--green-100); font-size: 0.92rem; color: var(--text); line-height: 1.4; }
.step b { color: var(--green-700); font-weight: 700; }
.hero .step { margin-top: 30px; }
.hero .step + .vsl { margin-top: 18px; }
.vsl { width: 100%; max-width: 940px; position: relative; }
.vsl::after { content: ""; position: absolute; inset: auto 8% -34px 8%; height: 80px; z-index: -1; background: radial-gradient(50% 100% at 50% 0%, rgba(22, 163, 74, 0.2), rgba(22, 163, 74, 0) 72%); }
.down { margin-top: 34px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); color: var(--muted); border: 1px solid var(--line); background: var(--surface); transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.down svg { width: 20px; height: 20px; }
.down:active { transform: scale(0.97); }
@media (hover: hover) { .down:hover { color: var(--green-700); } }

/* the one authored entrance: hero content settles in, once, on load */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-rise] { animation: rise 620ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
  .down svg { animation: nudge 1.8s var(--ease-out) 1.4s 3; }
}
/* transform + opacity only: both run on the compositor, so the entrance stays smooth while the page is still loading */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 45% { transform: translateY(5px); } }

/* ---------- media frames ---------- */
.frame { position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 9); border-radius: var(--r-card); overflow: hidden; background: #0d1310; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.frame wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame wistia-player:not(:defined) { display: block; background-position: center; background-size: cover; background-repeat: no-repeat; filter: blur(6px); transform: scale(1.04); }
.caption { margin-top: 16px; text-align: center; font-size: 0.95rem; color: var(--muted); }
.caption b { color: var(--ink); font-weight: 600; }

/* testimonials: one composed block. Two landscape videos stack on the left; the portrait video
   spans both rows on the right. The right column width is solved so both columns end level:
   P = 0.559375 * (2 * 9/16 * W + caption + gap), with W = container - gap - P. */
.tgrid { --gap: 28px; --cap: 38px; max-width: 1000px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) calc((100% - var(--gap)) * 0.38624 + 22.66px); grid-template-rows: auto auto; column-gap: var(--gap); row-gap: var(--gap); align-items: start; }
.tgrid figure { min-width: 0; }
.tgrid .t--portrait { grid-column: 2; grid-row: 1 / span 2; }
.tgrid .t--a { grid-column: 1; grid-row: 1; }
.tgrid .t--b { grid-column: 1; grid-row: 2; }
.tgrid .frame { box-shadow: var(--shadow-md); }
.tgrid .caption { margin-top: 14px; height: 24px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .tgrid { grid-template-columns: 1fr; grid-template-rows: none; max-width: 560px; row-gap: 32px; }
  .tgrid .t--portrait, .tgrid .t--a, .tgrid .t--b { grid-column: auto; grid-row: auto; }
  .tgrid .t--portrait { max-width: 264px; margin-inline: auto; width: 100%; }
  .tgrid .caption { height: auto; white-space: normal; }
}

/* interviews: split, mirrored */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
.split--flip .split__text { order: 2; }
.split__text { display: grid; gap: 18px; justify-items: start; }
.split .h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); max-width: none; text-wrap: initial; }
.split .h2 > span { display: block; text-wrap: balance; }
.split .caption { text-align: left; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__text { order: 0; }
  .split__text { justify-items: center; text-align: center; }
  .split .h2 { font-size: min(2.3rem, calc((100vw - 2 * var(--gutter)) / 13.95)); }
  .split .h2 > span { white-space: nowrap; text-wrap: initial; }
  .split .caption { text-align: center; }
}

/* ---------- how it works ---------- */
.steps { position: relative; max-width: 780px; margin-inline: auto; display: grid; gap: 22px; padding-left: 46px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: var(--green-500); transform-origin: top; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 35% cover 65%; }
  }
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.stepcard { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 30px); }
.stepcard::before { content: ""; position: absolute; left: -41px; top: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-600); box-shadow: 0 0 0 5px var(--surface); z-index: 1; }
.stepcard .h3 { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 1.2rem; }
.stepcard .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--green-700); }
.stepcard p { margin-top: 10px; max-width: 62ch; }
.callout { max-width: 780px; margin: clamp(30px, 4vw, 44px) auto 0; padding: 20px 26px; text-align: center; border: 1px solid #a9e4bd; background: var(--green-50); border-radius: var(--r-card); color: var(--ink); font-weight: 500; text-wrap: balance; }
@media (max-width: 560px) { .steps { padding-left: 34px; } .steps::before, .steps::after { left: 7px; } .stepcard::before { left: -35px; } }

/* ---------- proof marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 8px 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; padding-inline: 11px; }
.shot { flex: none; width: clamp(220px, 24vw, 280px); aspect-ratio: 9 / 17; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong); background: #0d1310; box-shadow: var(--shadow-md); cursor: zoom-in; transition: transform var(--t-med) var(--ease-out); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot:active { transform: scale(0.985); }
@media (prefers-reduced-motion: no-preference) {
  .marquee.is-live .marquee__track { animation: slide var(--dur, 70s) linear infinite; will-change: transform; }
  .marquee.is-live.is-offscreen .marquee__track { animation-play-state: paused; }
  .marquee.is-live:hover .marquee__track, .marquee.is-live:focus-within .marquee__track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(calc(-50% - 11px)); } }
.marquee:not(.is-live) { overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-live) .shot { scroll-snap-align: center; }
.hint { margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- verified data ---------- */
.data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
.data__col { display: grid; gap: clamp(16px, 2vw, 24px); }
.datum { display: block; width: 100%; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.datum img { width: 100%; }
@media (hover: hover) { .datum:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
.datum:active { transform: scale(0.985); }
@media (max-width: 860px) { .data { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(9, 14, 11, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { max-width: min(94vw, 900px); max-height: 88vh; width: auto; height: auto; border-radius: var(--r-card); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); background: #0d1310; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: transform var(--t-fast) var(--ease-out); }
.lightbox__close:active { transform: scale(0.94); }
.lightbox__close svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: pop 200ms var(--ease-out); }
  .lightbox[open]::backdrop { animation: fade 200ms var(--ease-out); }
}
@keyframes pop { from { opacity: 0; transform: scale(0.95); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 48px); padding: clamp(22px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.calc__controls { display: grid; gap: 30px; align-content: center; }
.field-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; color: var(--ink); }
.field-range output { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--green-700); }
.field-range .ends { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 8px 0 0; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--green-500), var(--green-500)) 0 / var(--fill, 50%) 100% no-repeat, var(--line); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--green-500); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-600); box-shadow: 0 2px 8px rgba(13, 19, 16, 0.18); transition: transform var(--t-fast) var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-600); box-shadow: 0 2px 8px rgba(13, 19, 16, 0.18); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green-600); outline-offset: 3px; }
.calc__out { display: grid; gap: 0; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r-card); }
.calc__out .eyebrow { margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 15px; border-bottom: 1px solid #cfeeda; font-size: 0.95rem; }
.row b { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.net { padding-top: 22px; display: grid; gap: 6px; }
.net .net__num { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--green-700); }
.net p { font-size: 0.95rem; }
.net small { display: block; margin-top: 8px; font-size: 0.8rem; line-height: 1.65; color: var(--muted); }
.net .btn { margin-top: 20px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- booking ---------- */
.booking { max-width: 1060px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); overflow: hidden; }
.booking__embed { width: 100%; min-height: 570px; background: #fff; }
.booking__embed > div { overflow: auto !important; }
.booking__fallback { padding: 28px; text-align: center; color: var(--muted); }
.booking__fallback a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
.stat { padding: clamp(26px, 3.4vw, 44px) clamp(12px, 2vw, 28px); text-align: center; display: grid; gap: 8px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line-strong); }
.stat dd { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat dt { order: 2; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1.5; text-wrap: balance; }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
}

/* ---------- founder letter ---------- */
.letter { max-width: 680px; margin-inline: auto; display: grid; gap: 22px; font-size: 1.08rem; line-height: 1.75; }
.letter p { text-wrap: pretty; }
.quote { margin-block: 18px; padding-block: 30px; border-block: 1px solid var(--line-strong); text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.sign { margin-top: 6px; font-weight: 700; color: var(--green-700); letter-spacing: -0.005em; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; text-align: left; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--ink); border-radius: 8px; }
.faq__q span.ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--green-700); background: var(--surface); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out); }
.faq__q svg { width: 14px; height: 14px; }
.faq__q[aria-expanded="true"] span.ic { transform: rotate(45deg); background: var(--green-50); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 44px 24px 4px; max-width: 66ch; opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .faq__a, .faq__a p, .faq__q span.ic { transition: none; } }

/* ---------- footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); font-size: 0.94rem; }
.footer ::selection { background: var(--green-700); color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(48px, 6vw, 76px); }
.footer__brand img { height: 40px; width: auto; margin-left: -4px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #e7efe9; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { color: #d5dfd8; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22); text-underline-offset: 4px; transition: color var(--t-fast) var(--ease-out), text-decoration-color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .footer a:hover { color: var(--green-400); text-decoration-color: var(--green-400); } }
.footer :focus-visible { outline-color: var(--green-400); }
.footer__bottom { border-top: 1px solid var(--footer-line); padding-block: 26px 34px; font-size: 0.8rem; line-height: 1.7; display: grid; gap: 8px; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(30px, 4vw, 48px); position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; background: radial-gradient(50% 80% at 18% 0%, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0) 70%); pointer-events: none; }
.page-head .head { margin-bottom: 0; }
.page-head .h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.page-head small { display: block; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(18px, 2.4vw, 28px); align-items: start; padding-bottom: var(--section-y); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 42px); box-shadow: var(--shadow-sm); }
.card--info { display: grid; gap: 14px; }
.card--info .eyebrow { color: var(--ink); letter-spacing: 0.14em; }
.card--info a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-decoration-color: #a9e4bd; text-underline-offset: 4px; }
@media (hover: hover) { .card--info a:hover { text-decoration-color: var(--green-700); } }
.form { display: grid; gap: 20px; margin-top: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 13px 15px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); color: var(--ink); transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b63; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22); background: var(--surface); }
.field .err { display: none; font-size: 0.85rem; color: #b42318; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d92d20; }
.field.is-invalid .err { display: block; }
.form__note { font-size: 0.92rem; padding: 14px 16px; border-radius: var(--r-ctl); display: none; }
.form__note.is-ok { display: block; background: var(--green-50); border: 1px solid #a9e4bd; color: var(--green-800); }
.form__note.is-bad { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.btn .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(13, 19, 16, 0.25); border-top-color: var(--ink); animation: spin 600ms linear infinite; }
.btn.is-loading .spin { display: block; }
.btn.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section-y); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-size: 0.9rem; }
.toc summary { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; border-radius: 6px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 16px; height: 16px; color: var(--green-700); transition: transform var(--t-med) var(--ease-out); }
.toc details[open] summary svg { transform: rotate(180deg); }
.toc ol { margin-top: 12px; }
@media (min-width: 901px) { .toc summary { pointer-events: none; } .toc summary svg { display: none; } }
.toc li + li { margin-top: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); line-height: 1.45; transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .toc a:hover { color: var(--ink); background: var(--bg); } }
.toc a.is-active { color: var(--green-800); background: var(--green-50); font-weight: 600; }
.prose { max-width: 72ch; }
.prose section + section { margin-top: 46px; }
.prose h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); line-height: 1.4; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.prose ul li::marker { color: var(--green-600); }
.prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-decoration-color: #a9e4bd; text-underline-offset: 4px; }
.prose address { font-style: normal; margin-top: 14px; line-height: 1.8; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- phones ---------- */
@media (max-width: 560px) {
  .h2 { font-size: clamp(1.85rem, 8.2vw, 2.2rem); }
  .lede { font-size: 1.02rem; }
  .hero .lede { margin-top: 16px; }
  .hero .step { margin-top: 24px; }
  .down { margin-top: 26px; }
  .btn { min-height: 54px; }
  .btn--sm { min-height: 44px; padding: 0 16px; }
  .cta-row .btn { width: 100%; max-width: 360px; }
  .stepcard .h3 { font-size: 1.1rem; }
  .callout { padding: 16px 16px; font-size: 0.94rem; line-height: 1.6; }
  .calc { padding: 20px; }
  .calc__out { padding: 20px; }
  .row { font-size: 0.92rem; }
  .letter { font-size: 1.03rem; gap: 20px; }
  .quote { padding-block: 22px; margin-block: 8px; font-size: 1.42rem; line-height: 1.25; }
  .faq__q { font-size: 1.02rem; padding: 20px 2px; }
  .faq__a p { padding-right: 12px; }
  .stat dd { font-size: 2.15rem; }
  .footer__top { gap: 32px; }
  .shot { width: 72vw; max-width: 270px; }
}
