/* DentalRun v6. Brand: docs/branding/brand-system-v1 (approved Sep 15, 2026). */

@font-face { font-family: Grift; src: url("fonts/grift-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Grift; src: url("fonts/grift-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Grift; src: url("fonts/grift-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #173F38; --green-hover: #25584C; --cream: #F4F1E9; --mint: #D6E6DA; --clay: #DDB59A;
  --eucalyptus: #557E6B; --paper: #FFFDFA; --stone: #E6E0D5; --ink-2: #52675C; --line: #A2B5A8; --success: #2D6A50;
  --forest: linear-gradient(115deg, #173F38 0%, #173F38 28%, #2D695B 67%, #476F5D 100%);
  --light: radial-gradient(ellipse at 100% 0%, #DDB59A 0%, transparent 56%), linear-gradient(120deg, #F4F1E9 25%, #D6E6DA 65%, #AECBB9 100%);
  --cream-soft: rgba(244, 241, 233, 0.82);
  --hero-bg: radial-gradient(ellipse at 100% 0%, #DDB59A 0%, transparent 52%), linear-gradient(120deg, #F4F1E9 18%, #CBDFD1 52%, #97BBA5 82%, #7EA78F 100%);
  --ui-ink: #1F2523; --ui-ink-2: #5F6866; --ui-line: #E4E6E2; --star: #E1A23A;

  --sc-canvas: var(--cream); --sc-surface: var(--paper); --sc-ink: var(--green); --sc-ink-soft: var(--ink-2);
  --sc-accent: var(--green); --sc-accent-ink: var(--cream);
  --sc-font-display: Grift, Arial, sans-serif; --sc-font-text: Grift, Arial, sans-serif;
  --sc-shadow-color: 165 45% 12%;

  --nav-h: 72px;
  --gut: clamp(1.25rem, 4.2vw, 4.5rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --focus: 0 0 0 3px var(--cream), 0 0 0 6px var(--green);
  --shadow-lg: 0 2px 4px hsl(165 45% 12% / 0.08), 0 30px 70px -24px hsl(165 45% 12% / 0.38);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--green); font-family: Grift, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--mint); color: var(--green); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 76rem; margin: 0 auto; }

.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; margin: 0; max-width: 20ch; }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; margin: 0; text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 1rem/1 Grift, Arial, sans-serif; text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.btn--solid { background: var(--green); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--green); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--green-hover); }
  .btn--cream:hover { background: #FFFFFF; }
}
.btn:active { transform: translateY(1px); }
.btn--cream[aria-disabled="true"] { background: rgba(244, 241, 233, 0.22); color: var(--cream); cursor: not-allowed; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link--light { color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-thickness: 2px; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); background: rgba(244, 241, 233, 0.7); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid rgba(255, 253, 250, 0.55); box-shadow: 0 1px 0 rgba(23, 63, 56, 0.06); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgba(244, 241, 233, 0.94); } }
.nav__mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav__icon { width: 28px; height: auto; position: relative; top: -2.75px; }
.nav__word { width: 138px; height: auto; }
.nav__links { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); margin-left: auto; margin-right: clamp(1rem, 2vw, 2rem); }
.nav__links a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--green); transition: color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--green-hover); text-decoration: underline; text-underline-offset: 6px; } }
@media (max-width: 900px) { .nav__links { display: none; } .nav__mark { gap: 10px; } .nav__icon { width: 23px; top: -2.25px; } .nav__word { width: 112px; } }

/* ---------- 1 · hero ---------- */
.hero { --sc-p: 0.5; --mx: 0; --my: 0; position: relative; overflow: hidden; background: var(--hero-bg); min-height: calc(100svh - var(--nav-h)); display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: clamp(2.5rem, 6vh, 5rem) var(--gut) clamp(2.5rem, 5vh, 4rem); }
.hero__ground { position: absolute; inset: 0; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; }
.hero__blob--clay { width: 56vmax; height: 56vmax; right: -18vmax; top: -26vmax; background: radial-gradient(circle, rgba(221, 181, 154, 0.5) 0%, rgba(221, 181, 154, 0) 62%); }
.hero__blob--mint { width: 50vmax; height: 50vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(126, 167, 143, 0.5) 0%, rgba(126, 167, 143, 0) 62%); }
.hero__map { position: absolute; right: -2%; top: 0; width: 66%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 58% 56% at 58% 52%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 58% 56% at 58% 52%, #000 30%, transparent 78%); }
/* Added Oct 2, kept by Ahmad: a dot grid over the hero gradient, lit by the mouse on computers, still on phones (site.js, HERO GRID).
   It replaces the map texture. To go back, remove the hero--grid class from the hero section in index.html. */
.hero__grid { display: none; }
.hero--grid .hero__map { display: none; }
.hero--grid .hero__grid { display: block; position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%); }
.hero__glow { position: absolute; right: 4%; top: 50%; width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 253, 250, 0.85) 0%, rgba(255, 253, 250, 0) 64%); }
.hero__copy { position: relative; z-index: 3; display: grid; gap: 26px; }
.hero__title { margin: 0; font-weight: 400; font-size: clamp(2.8rem, 1.4rem + 3.7vw, 5rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 15ch; text-wrap: balance; }
.hero__sub { margin: 0; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36ch; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__where { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero__where span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); align-self: center; }
.hero__stage { position: relative; z-index: 2; display: grid; justify-items: center; gap: 6px; }
.hero__note { margin: 0; font-size: 0.8125rem; color: var(--green); text-align: center; max-width: 40ch; }

/* The three phones. Desktop reads left to right; the active one steps forward. */
.trio { --off: clamp(150px, 13vw, 196px); --s-on: 0.84; --s-off: 0.72; position: relative; width: 100%; height: 628px; }
.trio__shadow { position: absolute; left: 50%; bottom: 66px; width: 78%; height: 46px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, hsl(165 45% 12% / 0.28) 0%, hsl(165 45% 12% / 0) 70%); filter: blur(6px); }
.ph { position: absolute; left: 50%; top: 0; width: 300px; margin: 0 0 0 -150px; transform-origin: 50% 40%; z-index: 1; transition: transform 760ms var(--ease), filter 600ms var(--ease); }
.ph figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 1.05rem; font-weight: 500; color: var(--green); opacity: 0.6; transition: opacity 400ms var(--ease), color 400ms var(--ease); }
.ph figcaption i { width: 9px; height: 9px; border-radius: 99px; background: var(--line); transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.ph--g { transform: translate3d(calc(var(--off) * -1), 26px, 0) rotate(-6deg) scale(var(--s-off)); }
.ph--m { transform: translate3d(0, 4px, 0) scale(var(--s-off)); z-index: 2; }
.ph--c { transform: translate3d(var(--off), 26px, 0) rotate(6deg) scale(var(--s-off)); }
.trio[data-active="g"] .ph--g { transform: translate3d(calc(var(--off) * -0.78), 0, 0) rotate(-2.5deg) scale(var(--s-on)); z-index: 3; }
.trio[data-active="m"] .ph--m { transform: translate3d(0, -10px, 0) scale(var(--s-on)); z-index: 3; }
.trio[data-active="c"] .ph--c { transform: translate3d(calc(var(--off) * 0.78), 0, 0) rotate(2.5deg) scale(var(--s-on)); z-index: 3; }
.trio:not([data-active="g"]) .ph--g, .trio:not([data-active="m"]) .ph--m, .trio:not([data-active="c"]) .ph--c { filter: saturate(0.85) brightness(0.98); }
.trio[data-active="g"] .ph--g figcaption, .trio[data-active="m"] .ph--m figcaption, .trio[data-active="c"] .ph--c figcaption { opacity: 1; color: var(--green); }
.trio[data-active="g"] .ph--g figcaption i, .trio[data-active="m"] .ph--m figcaption i, .trio[data-active="c"] .ph--c figcaption i { background: var(--success); box-shadow: 0 0 0 4px color-mix(in oklab, var(--success) 18%, transparent); }

.toast { position: absolute; z-index: 6; top: 46%; right: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--paper); box-shadow: 0 3px 6px hsl(165 45% 12% / 0.10), 0 24px 48px -12px hsl(165 45% 12% / 0.35); opacity: 0; transform: translate3d(14px, 10px, 0) scale(0.96); transition: opacity 380ms var(--ease), transform 480ms var(--ease); }
.toast b { display: block; font-weight: 500; font-size: 0.9375rem; }
.toast span { font-size: 0.8125rem; color: var(--ink-2); }
.hero__stage.is-booked .toast { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy { animation: rise 820ms var(--ease) both; }
  .hero__stage { animation: rise 1000ms 140ms var(--ease) both; }
  .hero__map { transform: translate3d(calc(var(--mx) * -10px), calc((var(--sc-p) - 0.5) * 60px + var(--my) * -8px), 0); }
  .hero__blob--clay { transform: translate3d(calc(var(--mx) * -24px), calc((var(--sc-p) - 0.5) * 120px), 0); }
  .ph--m .phone { translate: calc(var(--mx) * 6px) calc(var(--my) * 5px); }
  .ph--g .phone, .ph--c .phone { translate: calc(var(--mx) * 12px) calc(var(--my) * 9px); }
  .trio { translate: 0 calc((var(--sc-p) - 0.5) * -50px); }
  .toast { translate: calc(var(--mx) * 22px) calc((var(--sc-p) - 0.5) * -120px + var(--my) * 14px); }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) and (min-width: 961px) { .trio { --s-on: 0.76; --s-off: 0.64; height: 580px; } }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; min-height: auto; }
  .hero__title { font-size: clamp(2.5rem, 8.6vw, 3.6rem); }
  .hero__map { width: 100%; right: 0; -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 72%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 40% at 50% 72%, #000 30%, transparent 80%); }
  .hero__glow { right: 50%; top: 72%; width: 120vw; height: 120vw; transform: translate(50%, -50%); }
  /* Phones: the active phone sits in the middle, the others peek from the sides. */
  .trio { --off: 64vw; --s-on: 0.8; --s-off: 0.66; height: 540px; overflow: visible; touch-action: pan-y pinch-zoom; } /* sideways swipes go to site.js */
  .trio .ph { transform: translate3d(0, 0, 0) scale(var(--s-on)); }
  .trio[data-active="g"] .ph--m, .trio[data-active="m"] .ph--c, .trio[data-active="c"] .ph--g { transform: translate3d(var(--off), 30px, 0) rotate(5deg) scale(var(--s-off)); z-index: 1; }
  .trio[data-active="g"] .ph--c, .trio[data-active="m"] .ph--g, .trio[data-active="c"] .ph--m { transform: translate3d(calc(var(--off) * -1), 30px, 0) rotate(-5deg) scale(var(--s-off)); z-index: 1; }
  .trio[data-active="g"] .ph--g, .trio[data-active="m"] .ph--m, .trio[data-active="c"] .ph--c { transform: translate3d(0, 0, 0) scale(var(--s-on)); z-index: 3; }
  .ph { transform-origin: 50% 0; }
  .trio { height: 540px; }
  .trio__shadow { bottom: 44px; }
  .trio:not([data-active="g"]) .ph--g, .trio:not([data-active="m"]) .ph--m, .trio:not([data-active="c"]) .ph--c { opacity: 0.5; filter: saturate(0.7); }
  .ph { transition: transform 760ms var(--ease), opacity 600ms var(--ease), filter 600ms var(--ease); }
  .ph figcaption { font-size: 1.15rem; }
  .hero__stage { gap: 14px; }
  /* On a phone the booked card drops in at the top, like a real notification. */
  .toast { left: 50%; right: auto; top: 6px; width: min(84%, 300px); transform: translate3d(-50%, -14px, 0) scale(0.96); }
  .hero__stage.is-booked .toast { transform: translate3d(-50%, 0, 0); }
  .hero { gap: 0.5rem; }
  .hero__copy { gap: 20px; }
  .hero__where { margin-top: 0; }
}

/* ---------- the phone (real markup, illustration) ---------- */
.phone { position: relative; width: 300px; height: 618px; padding: 10px; border-radius: 50px; background: linear-gradient(145deg, #2A3532 0%, #141B19 55%, #1D2724 100%); box-shadow: 0 0 0 1.5px #39443F inset, 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 3px 6px hsl(165 45% 12% / 0.14), 0 40px 80px -28px hsl(165 45% 12% / 0.55); flex: none; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #252E2B; }
.phone::before { left: -2px; top: 128px; height: 52px; box-shadow: 0 66px 0 #252E2B; }
.phone::after { right: -2px; top: 160px; height: 78px; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #FFFFFF; color: var(--ui-ink); font-family: Grift, Arial, sans-serif; }
.phone__status { position: relative; z-index: 4; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 600; }
.island { position: absolute; left: 50%; top: 10px; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #0E1312; }
.phone__status i { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ui-ink); position: relative; }
.phone__status i::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: var(--ui-ink); border-radius: 1px; }
.scene { position: absolute; inset: 44px 0 0; padding: 6px 14px 14px; }

.ui-brand { margin: 4px 0 10px; text-align: center; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #5F6866; }
.ui-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid #DADDD8; border-radius: 999px; font-size: 14px; color: var(--ui-ink); background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }
.ui-search svg { width: 16px; height: 16px; color: var(--ui-ink-2); flex: none; }
.caret { width: 1.5px; height: 17px; background: #1A6B55; animation: blink 1s steps(1) infinite; }
.phone.is-results .caret { opacity: 0; animation: none; }
@keyframes blink { 50% { opacity: 0; } }

.ui-map { position: relative; height: 132px; margin-top: 12px; border-radius: 16px; overflow: hidden; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 360ms var(--ease), transform 420ms var(--ease); }
.ui-map svg { width: 100%; height: 100%; display: block; }
.pin { position: absolute; width: 14px; height: 14px; margin: -14px 0 0 -7px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #A3ABA7; border: 2px solid #FFFFFF; }
.pin--you { width: 24px; height: 24px; margin: -24px 0 0 -12px; background: var(--success); z-index: 2; }
.pin--you::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--success) 50%, transparent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { opacity: 1; transform: scale(0.6); } to { opacity: 0; transform: scale(1.5); } }
.ui-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ui-row { position: relative; display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 360ms var(--ease), transform 420ms var(--ease); }
.ui-row--you { background: #F2F7F3; box-shadow: inset 0 0 0 1.5px var(--success); }
.ui-row__name { font-size: 15px; font-weight: 600; color: #1A5E4C; }
.ui-row__meta { font-size: 12px; color: var(--ui-ink-2); }
.ui-row__meta b, .ui-profile__meta b { color: var(--ui-ink); font-weight: 500; }
.ui-row__open { font-size: 12px; color: var(--success); font-weight: 500; }
.ui-row--other { padding: 12px; gap: 7px; background: #FAFAF9; }
.stars { font-style: normal; color: var(--star); letter-spacing: 1px; font-size: 11px; }
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.sk { display: block; height: 8px; border-radius: 4px; background: #ECEEEA; }
.sk--w30 { width: 30%; } .sk--w40 { width: 40%; } .sk--w50 { width: 50%; } .sk--w60 { width: 60%; } .sk--w70 { width: 70%; } .sk--w80 { width: 80%; } .sk--w90 { width: 90%; }
.phone.is-results .ui-map, .phone.is-results .ui-row { opacity: 1; transform: none; }
.phone.is-results .ui-row:nth-child(1) { transition-delay: 120ms; }
.phone.is-results .ui-row:nth-child(2) { transition-delay: 200ms; }
.phone.is-results .ui-row:nth-child(3) { transition-delay: 280ms; }
.ui-more { margin: 12px 0 0; text-align: center; font-size: 12.5px; font-weight: 500; color: #1A5E4C; opacity: 0; transition: opacity 360ms 360ms var(--ease); }
.phone.is-results .ui-more { opacity: 1; }

.tap { position: absolute; width: 44px; height: 44px; left: 70%; top: 50%; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(23, 63, 56, 0.22); opacity: 0; transform: scale(0.4); pointer-events: none; }
.phone.is-tap .ui-row--you .tap, .phone.is-tap .ui-act--book .tap, .phone.is-pick .ui-time--pick .tap { animation: tap 620ms var(--ease) both; }
@keyframes tap { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.5); } }

/* Maps phone */
.scene--map { padding: 0; inset: 0; }
.mapfull { position: absolute; inset: 0; }
.mapfull svg { width: 100%; height: 100%; display: block; }
.pin-label { position: absolute; transform: translate(-50%, 6px); white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: #FFFFFF; font-size: 11.5px; font-weight: 600; color: #1A5E4C; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14); }
.ui-search--float { position: absolute; left: 14px; right: 14px; top: 50px; z-index: 3; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); color: var(--ui-ink-2); }
.msheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 10px 16px 18px; border-radius: 22px 22px 0 0; background: #FFFFFF; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12); display: grid; gap: 3px; }
.grab { justify-self: center; width: 36px; height: 4px; border-radius: 4px; background: #D9DDD9; margin-bottom: 8px; }
.ui-profile__name { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ui-profile__meta, .ui-profile__open { margin: 0; font-size: 12.5px; color: var(--ui-ink-2); }
.ui-profile__open { color: var(--success); font-weight: 500; }
.ui-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 0; }
.ui-act { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 11px; color: #1A5E4C; font-weight: 500; }
.ic { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #D5DBD6; position: relative; transition: background-color 260ms var(--ease), border-color 260ms var(--ease); }
.ic::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: 2px solid #1A5E4C; }
.ic--call::before { border-radius: 3px 9px 3px 9px; transform: rotate(-20deg); }
.ic--book::before { border-radius: 3px; border-top-width: 4px; }
.ic--dir::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); width: 12px; height: 12px; }
.ic--web::before { border-radius: 50%; }
.ui-act--book .tap { left: 50%; top: 19px; }
.ui-act--book .ic { background: #F2F7F3; border-color: var(--success); }
.phone.is-tap .ui-act--book .ic, .phone.is-sheet .ui-act--book .ic { background: var(--success); border-color: var(--success); }
.phone.is-tap .ui-act--book .ic::before, .phone.is-sheet .ui-act--book .ic::before { border-color: #FFFFFF; }
.ui-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 18px 16px 22px; border-radius: 22px 22px 0 0; background: #FFFFFF; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16); transform: translate3d(0, 105%, 0); transition: transform 520ms var(--ease); }
.phone.is-sheet .ui-sheet { transform: none; }
.ui-sheet__t { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.ui-times { display: flex; gap: 8px; }
.ui-times > span { position: relative; flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; border: 1px solid #D5DBD6; font-size: 12.5px; font-weight: 500; color: #1A5E4C; transition: background-color 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease); }
.ui-times .tap { left: 50%; }
.phone.is-pick .ui-time--pick { background: var(--success); border-color: var(--success); color: #FFFFFF; }
.ui-sheet__ok { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; font-weight: 500; color: var(--success); opacity: 0; transition: opacity 300ms var(--ease); }
.phone.is-ok .ui-sheet__ok { opacity: 1; }
.ok { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--success); position: relative; }
.ok::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ok--big { width: 64px; height: 64px; }
.ok--big::after { left: 23px; top: 14px; width: 14px; height: 26px; border-width: 0 4px 4px 0; }

/* ChatGPT phone */
.ui-chat { display: grid; gap: 14px; padding-top: 6px; }
.bubble { margin: 0; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 340ms var(--ease), transform 420ms var(--ease); }
.bubble--me { justify-self: end; max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: #EFF1EE; }
.bubble--ai { display: grid; gap: 10px; }
.phone.is-ask .bubble--me, .phone.is-typing .bubble--ai, .phone.is-answer .bubble--ai { opacity: 1; transform: none; }
.dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #B7BDB9; animation: bob 1s var(--ease) infinite; }
.dots i:nth-child(2) { animation-delay: 140ms; } .dots i:nth-child(3) { animation-delay: 280ms; }
@keyframes bob { 0%, 100% { transform: none; opacity: 0.5; } 50% { transform: translateY(-3px); opacity: 1; } }
.phone.is-answer .dots { display: none; }
.ai__t, .ai__pick, .ai__other { display: none; }
.phone.is-answer .ai__t, .phone.is-answer .ai__pick, .phone.is-answer .ai__other { display: grid; animation: rise 520ms var(--ease) both; }
.ai__t { margin: 0; }
.ai__pick { gap: 4px; padding: 10px 12px; border-radius: 14px; background: #F2F7F3; box-shadow: inset 0 0 0 1.5px var(--success); animation-delay: 160ms !important; }
.ai__pick b { font-weight: 600; color: #1A5E4C; }
.ai__pick span { font-size: 12.5px; color: var(--ui-ink-2); }
.ai__other { gap: 7px; padding: 4px 2px; animation-delay: 300ms !important; }
.ui-input { position: absolute; left: 14px; right: 14px; bottom: 18px; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid #DADDD8; font-size: 13.5px; color: #9AA19E; }
.ui-input i { width: 30px; height: 30px; border-radius: 50%; background: #1F2523; position: relative; }
.ui-input i::after { content: ""; position: absolute; left: 11px; top: 9px; width: 7px; height: 7px; border: solid #FFFFFF; border-width: 2px 2px 0 0; transform: rotate(-45deg); }

/* ---------- 1b · platform strip ---------- */
.strip { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(1.4rem, 3vw, 2.2rem) var(--gut); background: var(--cream); border-bottom: 1px solid color-mix(in oklab, var(--line) 45%, transparent); overflow: hidden; }
.strip__label { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); white-space: nowrap; }
.strip__view { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 90%, transparent 100%); }
.strip__track { flex: none; display: flex; align-items: center; gap: clamp(2.2rem, 4vw, 4rem); margin: 0; padding: 0 clamp(1.1rem, 2vw, 2rem); list-style: none; animation: strip 46s linear infinite; }
.strip__track li { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; font-size: clamp(1.35rem, 1rem + 1.3vw, 2.1rem); letter-spacing: -0.02em; color: #8FA79A; }
.strip__track svg { width: 0.95em; height: 0.95em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes strip { to { transform: translateX(-100%); } }
@media (hover: hover) and (pointer: fine) { .strip:hover .strip__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; flex-wrap: wrap; row-gap: 0.6rem; }
  .strip__track[aria-hidden="true"] { display: none; }
  .strip__view { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 700px) {
  .strip { grid-template-columns: 1fr; gap: 0.75rem; padding-right: 0; }
}

/* ---------- 2 · statement ---------- */
.state { background: var(--cream); padding: clamp(6rem, 13vw, 11rem) var(--gut); }
.state__wrap { max-width: 76rem; margin: 0 auto; display: grid; gap: 28px; }
.state__title { margin: 0; font-weight: 400; font-size: clamp(2.4rem, 1.2rem + 4vw, 5.2rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; text-wrap: balance; }
.state__body { margin: 0 0 0 auto; max-width: 46ch; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); line-height: 1.55; color: var(--ink-2); }

/* ---------- 3 · how (peak) ---------- */
.how { background: var(--mint); }
.how__stage { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); top: var(--nav-h) !important; display: grid; grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vh, 3rem) var(--gut); background: var(--mint); overflow: hidden; }
.how__kicker { margin: 0 0 18px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { padding: 14px 0 14px 22px; border-left: 2px solid color-mix(in oklab, var(--eucalyptus) 30%, transparent); opacity: 0.4; transition: opacity 360ms var(--ease), border-color 360ms var(--ease); }
.step h3 { margin: 0; font-weight: 400; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.step p { margin: 0; max-height: 0; overflow: hidden; font-size: 1rem; line-height: 1.55; color: #3E574D; opacity: 0; transition: max-height 420ms var(--ease), opacity 360ms var(--ease), margin 420ms var(--ease); }
.step.is-on { opacity: 1; border-left-color: var(--green); }
.step.is-on p { max-height: 9em; opacity: 1; margin-top: 10px; }
.how__bar { margin-top: 22px; height: 3px; border-radius: 3px; background: color-mix(in oklab, var(--eucalyptus) 25%, transparent); overflow: hidden; }
.how__bar span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

.how__view { display: grid; gap: 12px; justify-items: center; }
.panel { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1.02; max-height: calc(100svh - var(--nav-h) - 7rem); border-radius: 32px; background: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden; }
.vis { position: absolute; inset: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; opacity: 0; visibility: hidden; transform: translate3d(0, 12px, 0); transition: opacity 420ms var(--ease), transform 520ms var(--ease), visibility 0s 420ms; }
.vis.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms var(--ease), transform 520ms var(--ease), visibility 0s; }
.vis__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vis__head > span:first-child { padding: 9px 16px; border-radius: 999px; border: 1px solid #DADDD8; font-size: 0.9375rem; color: var(--ui-ink); }
.vis__tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.how__note { margin: 0; font-size: 0.8125rem; color: #3E574D; text-align: center; }

.grid-map { position: relative; border-radius: 20px; overflow: hidden; min-height: 0; }
.grid-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-dots { position: absolute; inset: 5%; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); place-items: center; }
.gd { width: clamp(22px, 3.4vw, 34px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(10px, 1vw, 12.5px); font-weight: 600; font-variant-numeric: tabular-nums; color: #5A4A3E; background: #E9E3D8; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); transition: background-color 380ms var(--ease), color 380ms var(--ease), transform 380ms var(--ease); }
.gd.r2 { background: var(--clay); color: #3A2718; }
.gd.r1 { background: var(--success); color: #FFFFFF; transform: scale(1.06); }
.grid-home { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--paper); pointer-events: none; z-index: 2; display: none; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; }
.legend .l1 { background: var(--success); } .legend .l2 { background: var(--clay); } .legend .l3 { background: #E9E3D8; box-shadow: inset 0 0 0 1px #D4CCBE; }

.serp { position: relative; list-style: none; margin: 0; padding: 0; min-height: 0; }
.serp li { position: absolute; left: 0; right: 0; top: 0; height: 19%; display: grid; align-content: center; gap: 7px; padding: 0 14px; border-radius: 14px; transition: transform 600ms var(--ease), background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.serp li:not(.serp__you) { background: #F7F7F4; }
.serp li:not(.serp__you) .sk { background: #E2E6E1; }
.serp li:not(.serp__you) .sk:first-child { height: 10px; background: #CFDDD5; }
.serp__you { z-index: 2; gap: 3px !important; }
.serp__you b { font-weight: 500; font-size: 1rem; color: #1A5E4C; }
.serp__you span { font-size: 0.8125rem; color: var(--success); }
.serp__you em { font-style: normal; font-size: 0.8125rem; color: var(--ui-ink-2); }
.serp__you.is-top { background: #F2F7F3; box-shadow: inset 0 0 0 1.5px var(--success); }

.answer { display: grid; align-content: start; gap: 14px; }
.answer__l { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ui-ink); opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 380ms var(--ease), transform 460ms var(--ease); }
.answer__l .sk { margin-bottom: 8px; }
.answer__you { padding: 14px 16px; border-radius: 16px; background: #F2F7F3; box-shadow: inset 0 0 0 1.5px var(--success); }
.answer__you b { font-weight: 600; color: #1A5E4C; }
.answer__src { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8125rem; color: var(--ui-ink-2); opacity: 0; transition: opacity 380ms var(--ease); }
.answer__src i { font-style: normal; padding: 5px 10px; border-radius: 999px; background: #EEF1EC; color: var(--ui-ink); }
.answer .is-shown { opacity: 1; transform: none; }

.notes { display: grid; align-content: start; gap: 12px; }
.note { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 24px -14px hsl(165 45% 12% / 0.3); opacity: 0; transform: translate3d(0, 14px, 0) scale(0.98); transition: opacity 400ms var(--ease), transform 500ms var(--ease); }
.note b { display: block; font-weight: 500; font-size: 0.9375rem; margin-bottom: 3px; }
.note span { font-size: 0.875rem; line-height: 1.45; color: var(--ui-ink-2); }
.note.is-shown { opacity: 1; transform: none; }
.nic { width: 40px; height: 40px; border-radius: 12px; position: relative; background: var(--mint); }
.nic::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: 2px solid var(--green); }
.nic--call::before { border-radius: 3px 9px 3px 9px; transform: rotate(-20deg); }
.nic--cal::before { border-radius: 3px; border-top-width: 4px; }
.nic--star { background: #F7E9D4; }
.nic--star::before { border: 0; width: auto; height: auto; content: "\2605"; color: var(--star); font-size: 20px; line-height: 40px; text-align: center; }

@media (max-width: 960px) {
  .how__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 14px; padding-top: 1.25rem; }
  .how__kicker { margin-bottom: 8px; }
  .step { display: none; padding-top: 4px; padding-bottom: 4px; }
  .step.is-on { display: block; }
  .step.is-on p { margin-top: 6px; font-size: 0.9375rem; }
  .how__bar { margin-top: 12px; }
  .panel { width: 100%; aspect-ratio: auto; height: calc(100svh - var(--nav-h) - 17rem); min-height: 300px; }
  .how__note { display: none; }
  .gd { width: clamp(20px, 7vw, 30px); }
}

/* ---------- 4 · services ---------- */
.services { background: var(--paper); padding: clamp(5rem, 11vw, 9rem) var(--gut); }
.services__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); }
.svc > div { padding: clamp(1.25rem, 2.2vw, 1.8rem) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(9rem, 0.6fr) 1fr; gap: 14px 24px; align-items: baseline; }
.svc dt { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.02em; }
.svc dd { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.services__more { margin: clamp(2rem, 4vw, 3rem) 0 0; color: var(--ink-2); max-width: 64ch; line-height: 1.6; }
.services__more b { color: var(--green); font-weight: 500; }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 5 · work ---------- */
.work { background: var(--forest); color: var(--cream); padding: clamp(5rem, 11vw, 9rem) var(--gut); overflow: hidden; }
.work__grid { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.work__text { display: grid; gap: 22px; }
.work .lede { color: var(--cream-soft); }
.work__links, .work__note { margin: 0; }
.work__note { font-size: 0.875rem; color: var(--cream-soft); }
.work__media { position: relative; margin: 0; display: grid; gap: 14px; }
.browser { border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #EFEAE0; }
.browser__bar i { width: 9px; height: 9px; border-radius: 99px; background: #D4CDBE; }
.browser__bar span { margin-left: 12px; height: 22px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 0.75rem; color: var(--ink-2); }
.browser img { width: 100%; height: auto; }
.work__photo { position: absolute; left: -6%; bottom: -2.5rem; width: 26%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 22px; border: 6px solid var(--paper); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.5); }
.work__media figcaption { font-size: 0.8125rem; color: var(--cream-soft); }
@media (max-width: 960px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__photo { width: 34%; left: -2%; }
}

/* ---------- 6 · plans ---------- */
.plans { background: var(--cream); padding: clamp(5rem, 11vw, 9rem) var(--gut); }
.plans .wrap { display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.25rem); counter-reset: s; }
.process li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--green); }
.process li::before { content: counter(s); font-size: 0.8125rem; font-weight: 600; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--cream); margin-bottom: 6px; }
.process b { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.process span { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.ledger { border-top: 1px solid var(--green); }
.ledger__row { display: grid; grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px clamp(1.5rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.3rem, 2.4vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.ledger__row h3 { margin: 0; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); letter-spacing: -0.03em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ledger__what { margin: 0; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.45; }
.ledger__for { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.ledger__row--rec { background: linear-gradient(90deg, color-mix(in oklab, var(--mint) 80%, transparent), transparent 85%); padding-left: 18px; margin-left: -18px; }
.tag { font-size: 0.75rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--clay); color: #3A2718; }
.plans__note { margin: 0; max-width: 64ch; color: var(--ink-2); line-height: 1.6; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-4px); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq p { margin: 0 0 22px; max-width: 62ch; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr 1fr; }
  .ledger__row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- 7 · close ---------- */
.close { background: var(--forest); color: var(--cream); }
.close__stage { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); top: var(--nav-h) !important; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 8vh, 6rem) var(--gut) 5.5rem; background: var(--forest); overflow: hidden; }
.close__copy { display: grid; gap: 24px; }
.close__mark { width: clamp(52px, 5vw, 68px); height: auto; }
.close__title { margin: 0; font-weight: 400; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.close__body { margin: 0; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--cream-soft); max-width: 48ch; }
.close__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.close__pending { margin: 0; font-size: 0.875rem; color: var(--cream-soft); max-width: 32ch; }
.close__phone { justify-self: center; }
.phone--still { transform: rotate(4deg); }
.done { position: absolute; inset: 40px 0 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 0 28px 60px; text-align: center; }
.done__t { margin: 8px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ui-ink); }
.done__s { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ui-ink-2); }
.done .sk { width: 70%; }
.done .sk--w50 { width: 50%; }
.foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 1.25rem; border-top: 1px solid rgba(244, 241, 233, 0.18); }
.foot img { width: 110px; height: auto; }
.foot p { margin: 0; font-size: 0.8125rem; color: var(--cream-soft); }
@media (max-width: 960px) {
  .close__stage { grid-template-columns: 1fr; align-content: center; padding-top: 2.5rem; }
  .close__phone { display: none; }
}


/* ---------- Oct 1 copy and SEO additions ---------- */
.hero__eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); }
.hero__eyebrow span { margin: 0 6px; }
.how__kicker { font-weight: 500; font-size: 0.8125rem; line-height: 1.4; }
.step__tag { display: block; margin-bottom: 8px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); }
.services__head { display: grid; gap: 16px; }
.plans__h3 { margin: 0 0 -1.5rem; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); }
.ledger__row h4 { margin: 0; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); letter-spacing: -0.03em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.terms__col { padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: 28px; background: var(--paper); box-shadow: 0 1px 2px hsl(165 45% 12% / 0.06), 0 18px 40px -24px hsl(165 45% 12% / 0.3); display: grid; gap: 14px; align-content: start; }
.terms__col h3 { margin: 0; font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); letter-spacing: -0.02em; }
.terms__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.terms__col li { position: relative; padding-left: 30px; line-height: 1.45; }
.terms__col li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--success); }
.terms__col li::after { content: ""; position: absolute; left: 6px; top: 5.5px; width: 4px; height: 8px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.terms__col--no li::before { background: #A14337; }
.terms__col--no li::after { left: 5px; top: 10px; width: 8px; height: 0; border-width: 2px 0 0 0; transform: none; }
.terms__col p { margin: 4px 0 0; color: var(--ink-2); }
.questions { background: var(--paper); padding: clamp(5rem, 10vw, 8rem) var(--gut); }
.questions .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--green); }
.facts > div { padding: 18px 18px 0 0; }
.facts dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 960px) {
  .terms { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 18px; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- 2 · the hook ---------- */
.hook { background: var(--forest); color: var(--cream); padding: clamp(5rem, 11vw, 9rem) var(--gut); overflow: hidden; }
.hook__grid { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hook__copy { display: grid; gap: 22px; }
.hook__kicker { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.hook__title { margin: 0; font-weight: 400; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; max-width: 20ch; }
.hook__ask { margin: 0; font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; color: #CFE4D6; }
.hook__body { margin: 6px 0 0; max-width: 50ch; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.62; color: var(--cream-soft); }
.hook__cost { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(244, 241, 233, 0.18); }
.hook__cost li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(244, 241, 233, 0.18); }
.hook__cost li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 18px; height: 2px; background: var(--clay); }
.hook__cost b { font-weight: 500; font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem); }
.hook__turn { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.45rem); letter-spacing: -0.01em; }

.hook__card { margin: 0; position: relative; padding: clamp(18px, 2.2vw, 26px); border-radius: 32px; background: var(--paper); color: var(--ui-ink); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.14), 0 40px 80px -30px rgba(0, 0, 0, 0.6); display: grid; gap: 14px; }
.hk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hk-q { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #DADDD8; font-size: 0.9375rem; }
.hk-q svg { width: 15px; height: 15px; color: var(--ui-ink-2); }
.hk-tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.hk-first { position: relative; padding: 30px 12px 10px; border-radius: 20px; background: #F2F7F3; box-shadow: inset 0 0 0 2px var(--success); }
.hk-label { position: absolute; top: -12px; left: 16px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--success); color: #FFFFFF; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; }
.hk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hk-list--low { padding: 0 12px; }
.hk-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #EEF0EC; }
.hk-row:last-child { border-bottom: 0; }
.hk-rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 600; background: var(--success); color: #FFFFFF; }
.hk-lines { display: grid; gap: 7px; }
.hk-lines .sk { height: 10px; background: #DCE3DE; }
.hk-meta { font-size: 0.8125rem; color: var(--ui-ink-2); }
.hk-meta b { font-weight: 500; color: var(--ui-ink); }
.hk-row--low { opacity: 0.5; }
.hk-row--low .hk-rank { background: #E6E8E4; color: var(--ui-ink-2); }
.hk-row--you { opacity: 1; margin: 2px -8px; padding: 12px 12px; border-radius: 14px; border: 1.5px dashed var(--clay); background: #FBF4EE; }
.hk-row--you .hk-rank { background: var(--clay); color: #3A2718; }
.hk-you { font-weight: 600; font-size: 1rem; color: #7A4A2E; }
.hk-row--last { opacity: 0.28; }
.hook__card figcaption { font-size: 0.8125rem; color: var(--ui-ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .hook .hk-row { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 500ms var(--ease), transform 560ms var(--ease); }
  .hook .hk-first { box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 600ms 700ms var(--ease); }
  .hook .hk-label { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 400ms 900ms var(--ease), transform 400ms 900ms var(--ease); }
  .hook.is-in .hk-row { opacity: 1; transform: none; }
  .hook.is-in .hk-row--low { opacity: 0.5; }
  .hook.is-in .hk-row--last { opacity: 0.28; }
  .hook.is-in .hk-row--you { opacity: 1; }
  .hook.is-in .hk-first { box-shadow: inset 0 0 0 2px var(--success); }
  .hook.is-in .hk-label { opacity: 1; transform: none; }
  .hook .hk-list .hk-row:nth-child(1) { transition-delay: 100ms; }
  .hook .hk-list .hk-row:nth-child(2) { transition-delay: 200ms; }
  .hook .hk-list .hk-row:nth-child(3) { transition-delay: 300ms; }
  .hook .hk-list--low .hk-row:nth-child(1) { transition-delay: 1100ms; }
  .hook .hk-list--low .hk-row:nth-child(2) { transition-delay: 1200ms; }
  .hook .hk-list--low .hk-row:nth-child(4) { transition-delay: 1300ms; }
  .hook .hk-row--you { transform: translate3d(0, -40px, 0); transition: opacity 600ms 1700ms var(--ease), transform 900ms 1700ms var(--ease); }
  .hook.is-in .hk-row--you { animation: nudge 1.6s 2.7s var(--ease) 1; }
  .hook .hook__copy > * { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
  .hook.is-in .hook__copy > * { opacity: 1; transform: none; }
  .hook .hook__copy > :nth-child(2) { transition-delay: 80ms; }
  .hook .hook__copy > :nth-child(3) { transition-delay: 700ms; }
  .hook .hook__copy > :nth-child(4) { transition-delay: 900ms; }
  .hook .hook__copy > :nth-child(5) { transition-delay: 1000ms; }
  .hook .hook__copy > :nth-child(6) { transition-delay: 1100ms; }
}
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(221, 181, 154, 0); } 40% { box-shadow: 0 0 0 8px rgba(221, 181, 154, 0.35); } }
@media (max-width: 960px) {
  /* Phones: the list appears right after the question, before the explanation. */
  .hook__grid { grid-template-columns: 1fr; gap: 22px; }
  .hook__copy { display: contents; }
  .hook__kicker { order: 1; } .hook__title { order: 2; } .hook__ask { order: 3; }
  .hook__card { order: 4; max-width: 560px; margin: 10px 0 14px; }
  .hook__body { order: 5; } .hook__cost { order: 6; } .hook__turn { order: 7; }
}

/* ---------- 3 · Found, Chosen, Booked ---------- */
.how__kicker { margin: 0 0 10px; }
.how__title { margin: 0; font-weight: 400; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; white-space: nowrap; }
.how__sub { margin: 12px 0 0; max-width: 44ch; font-size: 1.0625rem; line-height: 1.55; color: #3E574D; }
.stages { list-style: none; margin: 20px 0 14px; padding: 0; display: flex; gap: 8px; }
.stages li { padding: 7px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: #3E574D; background: color-mix(in oklab, var(--paper) 55%, transparent); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.stages li.is-on { background: var(--green); color: var(--cream); }
.step { opacity: 0.55; padding-top: 12px; padding-bottom: 12px; }
.step h3 { font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.6rem); }
.step__see { font-size: 0.9375rem !important; color: var(--green) !important; }
.step__see b { font-weight: 500; }

.vis--serp { grid-template-rows: auto auto 1fr; }
.vis__head > span:first-child svg { width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; color: var(--ui-ink-2); }
.aio { padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #F3F7F4, #F7F2EC); box-shadow: inset 0 0 0 1px #E2E8E3; display: grid; gap: 8px; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 420ms var(--ease), transform 480ms var(--ease); }
.aio.is-shown { opacity: 1; transform: none; }
.aio__t { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--ui-ink); }
.aio__t i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--success), var(--clay)); }
.aio__l { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ui-ink); }
.aio__l b { font-weight: 600; color: #1A5E4C; }
.aio__src { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.aio__src span { font-size: 0.75rem; padding: 4px 9px; border-radius: 999px; background: #FFFFFF; color: var(--ui-ink-2); box-shadow: inset 0 0 0 1px #E2E6E1; }
.serp li { grid-template-columns: 30px 1fr; align-items: center; align-content: stretch; gap: 12px; display: grid; }
.serp__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; background: #E6E8E4; color: var(--ui-ink-2); }
.serp__l { display: grid; gap: 6px; min-width: 0; }
.serp__you .serp__l b { font-weight: 500; font-size: 0.9375rem; color: #1A5E4C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__you .serp__l em { font-style: normal; font-size: 0.75rem; color: var(--success); }
.serp__you.is-top .serp__n { background: var(--success); color: #FFFFFF; }

.vis--site { grid-template-rows: auto 1fr; }
.site { position: relative; border-radius: 18px; overflow: hidden; background: #F6F1E8; box-shadow: inset 0 0 0 1px #E8E1D4; display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.site__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #FFFFFF; border-bottom: 1px solid #ECE5D8; font-size: 0.75rem; color: #3D4C63; }
.site__bar b { margin-right: auto; font-size: 0.875rem; font-weight: 600; color: #1F3A5F; letter-spacing: -0.01em; }
.site__hero { padding: clamp(16px, 2.4vw, 26px) clamp(16px, 2.4vw, 24px); display: grid; align-content: center; gap: 10px; background: radial-gradient(ellipse at 100% 0%, #E9D8C6 0%, transparent 60%), #F6F1E8; }
.site__eyebrow { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8A6A4F; }
.site__h { margin: 0; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); line-height: 1.08; letter-spacing: -0.025em; color: #1F3A5F; max-width: 14ch; }
.site__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.site__btn { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #1F3A5F; color: #FFFFFF; font-size: 0.8125rem; font-weight: 600; }
.site__btn.is-pulse { animation: btnpulse 1.4s var(--ease) 1; }
@keyframes btnpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 58, 95, 0); } 40% { box-shadow: 0 0 0 9px rgba(31, 58, 95, 0.18); } }
.site__call { font-size: 0.8125rem; color: #1F3A5F; text-decoration: underline; text-underline-offset: 3px; }
.site__rating { margin: 0; font-size: 0.75rem; color: #5A6578; }
.site__rating b { color: #1F3A5F; }
.site__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 14px; background: #FFFFFF; border-top: 1px solid #ECE5D8; }
.site__chips span { font-size: 0.6875rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #EEF2F7; color: #1F3A5F; }
.rev { position: absolute; right: clamp(14px, 2vw, 22px); bottom: clamp(56px, 7vw, 70px); width: min(62%, 260px); padding: 12px 14px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 20px 40px -14px hsl(165 45% 12% / 0.4); display: grid; gap: 6px; opacity: 0; transform: translate3d(0, 14px, 0) scale(0.97); transition: opacity 420ms var(--ease), transform 520ms var(--ease); }
.rev.is-shown { opacity: 1; transform: none; }
.rev .stars { font-size: 12px; }
.rev p { margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ui-ink); }
.rev span { font-size: 0.6875rem; color: var(--success); font-weight: 500; }
.nic--chat::before { border-radius: 4px 4px 4px 1px; }

@media (max-width: 960px) {
  .how__kicker, .how__sub { display: none; }
  .how__title { font-size: clamp(1.9rem, 7.4vw, 2.4rem); }
  .stages { margin: 10px 0 6px; }
  .stages li { padding: 6px 12px; font-size: 0.8125rem; }
  .panel { height: calc(100svh - var(--nav-h) - 19rem); min-height: 300px; }
  .rev { width: 70%; bottom: 50px; }
}

/* ---------- 3b · the free audit ---------- */
.audit { background: var(--cream); padding: clamp(5rem, 10vw, 8rem) var(--gut); }
.audit .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.audit__head { display: grid; gap: 16px; }
.leaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.leak { padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: 28px; background: var(--paper); box-shadow: 0 1px 2px hsl(165 45% 12% / 0.06), 0 18px 40px -26px hsl(165 45% 12% / 0.3); display: grid; gap: 14px; align-content: start; }
.leak__stage { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); letter-spacing: -0.03em; padding-bottom: 12px; border-bottom: 1px solid var(--stone); }
.leak__stage span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.leak ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.leak li { position: relative; padding-left: 26px; line-height: 1.45; font-size: 0.96875rem; }
.leak li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--clay); }
.audit__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.audit__act p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .leaks { grid-template-columns: 1fr; } }

/* ---------- services, compact ---------- */
.svc--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.6vw, 2.25rem); }
.svc--compact > div { grid-template-columns: 1fr; gap: 6px; align-items: start; padding: 1.3rem 0; }
.svc--compact dt { font-size: 1.15rem; }
.svc--compact dd { font-size: 0.9375rem; }
@media (max-width: 1100px) { .svc--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc--compact { grid-template-columns: 1fr; } }

.vis__head > span:first-child { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; }
.vis__head > span:first-child svg { margin: 0 !important; flex: none; }
.vis--book .notes { align-content: center; }
.vis--book { grid-template-rows: auto 1fr auto; }
@media (min-width: 961px) and (max-height: 820px) { .how__sub { display: none; } .stages { margin-top: 14px; } }
@media (max-width: 960px) {
  .step.is-on .step__more p:first-child { display: none; }
  .step.is-on .step__see { margin-top: 6px !important; }
  .vis__tag { display: none; }
  .site__bar span { display: none; }
  .site__chips span:nth-child(n+4) { display: none; }
  .panel { height: calc(100svh - var(--nav-h) - 15.5rem); }
}
@media (max-width: 960px) {
  .how__view { min-height: 0; align-self: stretch; padding-bottom: 12px; }
  .panel { height: 100%; min-height: 0; max-height: none; }
}
@media (max-width: 960px) {
  .aio__l { font-size: 0.875rem; line-height: 1.45; }
  .aio__src { display: none; }
  .serp__you .serp__l { gap: 1px; line-height: 1.2; }
  .serp__you .serp__l b { font-size: 0.875rem; }
  .serp__you .serp__l em { font-size: 0.6875rem; }
}
/* Short phones (iPhone SE and similar): give the illustration the room, keep the headline. */
@media (max-width: 960px) and (max-height: 720px) {
  .step__tag, .step.is-on .step__see { display: none; }
  .stages { margin: 6px 0 2px; }
  .vis__head > span:first-child { padding-top: 6px; padding-bottom: 6px; }
  .rev { bottom: 12px; }
}
@media (max-width: 960px) and (max-height: 720px) {
  .stages { display: none; }
  .aio { padding: 10px 14px; }
  .aio__t { margin-bottom: 4px; }
  .aio__l { font-size: 0.8125rem; line-height: 1.4; }
}
.note span { display: block; }
@media (max-width: 960px) and (max-height: 720px) {
  .notes { gap: 8px; }
  .note { padding: 10px 14px; }
}

/* ============================================================ ROUND 5 · 2026-10-01 */
.btn--line { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
@media (hover: hover) { .btn--line:hover { background: var(--green); color: var(--cream); } }

/* ---------- Services: icon cards, two with a small illustration, one call to action */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 22px; min-height: 250px; padding: 24px; border-radius: 26px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(23, 63, 56, 0.06); transition: translate 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease); }
@media (hover: hover) { .bento > .bx:hover { translate: 0 -4px; background: #FFFFFF; box-shadow: 0 1px 2px hsl(165 45% 12% / 0.06), 0 24px 48px -28px hsl(165 45% 12% / 0.42); } }
.bx__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bx__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.bx__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bx__stage { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #8C5E40; }
.bx__txt { align-self: end; display: grid; gap: 8px; }
.bx h3 { margin: 0; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.bx p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.bx--wide { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; }
.bx--wide .bx__top, .bx--wide .bx__txt { grid-column: 1; }
.bx--wide .bx__art { grid-column: 2; grid-row: 1 / span 2; }
.bx__art--site { display: grid; align-items: center; }
.mini { border-radius: 14px; background: #FFFFFF; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 34px -20px hsl(165 45% 12% / 0.4); rotate: -2deg; transition: rotate 400ms var(--ease); }
@media (hover: hover) { .bx:hover .mini { rotate: 0deg; } }
.mini__bar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--ui-line); }
.mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #E2E4E0; }
.mini__body { display: grid; gap: 8px; justify-items: start; padding: 18px 14px 14px; background: linear-gradient(135deg, #F6F1EA, #EDE3D6); }
.mini__eye { width: 38%; height: 6px; border-radius: 3px; background: #D3BCA6; }
.mini__h { width: 86%; height: 11px; border-radius: 4px; background: #2F4A66; }
.mini__h--s { width: 58%; }
.mini__btn { margin-top: 6px; padding: 7px 13px; border-radius: 999px; background: #1E3A5F; color: #FFFFFF; font-size: 0.6875rem; font-weight: 500; }
.mini__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.mini__chips i { font-style: normal; font-size: 0.625rem; padding: 3px 8px; border-radius: 999px; background: #FFFFFF; color: #2F4A66; }
.bx__art--text { display: grid; align-content: center; gap: 8px; }
.bx .bub { margin: 0; max-width: 94%; padding: 9px 13px; border-radius: 16px; font-size: 0.8125rem; line-height: 1.4; transition: opacity 420ms var(--ease), translate 480ms var(--ease); }
.bx .bub--in { justify-self: start; background: #FFFFFF; color: var(--ui-ink-2); border-bottom-left-radius: 6px; }
.bx .bub--out { justify-self: end; background: var(--green); color: var(--cream); border-bottom-right-radius: 6px; }
.bx .bub--ok { justify-self: end; background: var(--mint); color: var(--green); font-weight: 500; }
.bento.is-armed .bub { opacity: 0; translate: 0 8px; }
.bento.is-armed.is-live .bub { opacity: 1; translate: 0 0; }
.bento.is-live .bub--out { transition-delay: 700ms; }
.bento.is-live .bub--ok { transition-delay: 1500ms; }
.bx--cta { grid-template-columns: 1fr; grid-template-rows: auto; align-content: space-between; gap: 14px; background: var(--forest); color: var(--cream); text-decoration: none; box-shadow: none; }
.bx__q { font-size: clamp(1.45rem, 1.1rem + 0.9vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; }
.bx__a { max-width: 36ch; font-size: 1rem; line-height: 1.5; color: var(--cream-soft); }
.bx--cta .btn { justify-self: start; }
@media (hover: hover) { .bento > .bx--cta:hover { background: var(--forest); } .bx--cta:hover .btn { background: #FFFFFF; } }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bx { min-height: 0; padding: 20px; gap: 16px; }
  .bx--wide { grid-column: auto; grid-template-columns: 1fr; }
  .bx--wide .bx__art { grid-column: 1; grid-row: auto; }
  .bx:not(.bx--wide) { grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; }
  .bx:not(.bx--wide) .bx__top { display: contents; }
  .bx:not(.bx--wide) .bx__ic { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .bx:not(.bx--wide) .bx__stage { grid-column: 2; grid-row: 1; }
  .bx:not(.bx--wide) .bx__txt { grid-column: 2; grid-row: 2; }
  .mini { rotate: 0deg; }
}

/* ---------- Start: dark band, a four step timeline that draws in */
.start { --g: clamp(1.25rem, 2.6vw, 2.5rem); background: var(--forest); color: var(--cream); padding: clamp(5rem, 11vw, 9rem) var(--gut); overflow: hidden; }
.start .wrap { display: grid; gap: clamp(2.75rem, 5vw, 4rem); }
.start__head { display: grid; gap: 16px; }
.start .lede { color: var(--cream-soft); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.tl li { position: relative; display: grid; gap: 10px; align-content: start; }
.tl li:not(:last-child)::before, .tl li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: calc(8px - var(--g)); height: 2px; border-radius: 2px; }
.tl li:not(:last-child)::before { background: rgba(244, 241, 233, 0.16); }
.tl li:not(:last-child)::after { background: var(--clay); transform-origin: 0 50%; transition: transform 420ms var(--ease); }
.tl__dot { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center; font-size: 0.9375rem; font-weight: 500; background: var(--clay); color: #3A2718; box-shadow: 0 0 0 7px rgba(221, 181, 154, 0.16); transition: background-color 380ms var(--ease), color 380ms var(--ease), box-shadow 380ms var(--ease); }
.tl__when { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.tl b { font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.tl__txt { font-size: 0.96875rem; line-height: 1.55; color: var(--cream-soft); max-width: 32ch; }
.tl li > :not(.tl__dot) { transition: opacity 500ms var(--ease); }
.tl.is-armed li:not(:last-child)::after { transform: scaleX(0); }
.tl.is-armed .tl__dot { background: #1F4A41; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 241, 233, 0.3); }
.tl.is-armed li > :not(.tl__dot) { opacity: 0.35; }
.tl.is-armed.is-live li:not(:last-child)::after { transform: scaleX(1); }
.tl.is-armed.is-live .tl__dot { background: var(--clay); color: #3A2718; box-shadow: 0 0 0 7px rgba(221, 181, 154, 0.16); }
.tl.is-armed.is-live li > :not(.tl__dot) { opacity: 1; }
.tl.is-live li:nth-child(1)::after { transition-delay: 150ms; }
.tl.is-live li:nth-child(2)::after { transition-delay: 650ms; }
.tl.is-live li:nth-child(3)::after { transition-delay: 1150ms; }
.tl.is-live li:nth-child(2) .tl__dot, .tl.is-live li:nth-child(2) > :not(.tl__dot) { transition-delay: 500ms; }
.tl.is-live li:nth-child(3) .tl__dot, .tl.is-live li:nth-child(3) > :not(.tl__dot) { transition-delay: 1000ms; }
.tl.is-live li:nth-child(4) .tl__dot, .tl.is-live li:nth-child(4) > :not(.tl__dot) { transition-delay: 1500ms; }
.start__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.start__act p { margin: 0; color: var(--cream-soft); }
@media (max-width: 760px) {
  .tl { grid-template-columns: 1fr; --g: 30px; }
  .tl li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; }
  .tl__dot { grid-row: 1 / span 3; margin: 0; }
  .tl li:not(:last-child)::before, .tl li:not(:last-child)::after { top: 52px; bottom: calc(8px - var(--g)); left: 21px; right: auto; width: 2px; height: auto; }
  .tl li:not(:last-child)::after { transform-origin: 50% 0; }
  .tl.is-armed li:not(:last-child)::after { transform: scaleY(0); }
  .tl.is-armed.is-live li:not(:last-child)::after { transform: scaleY(1); }
}

/* ---------- Plans: three cards, Core lifted and dark */
.plans__head { display: grid; gap: 16px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 14px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(1.6rem, 2.6vw, 2.25rem); border-radius: 30px; background: var(--paper); box-shadow: 0 1px 2px hsl(165 45% 12% / 0.06), 0 22px 48px -28px hsl(165 45% 12% / 0.35); }
.tier__name { margin: 0; font-weight: 400; font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.9rem); letter-spacing: -0.035em; line-height: 1; }
.tier__promise { margin: 0; font-size: 1.125rem; line-height: 1.45; text-wrap: pretty; }
.tier__for { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--stone); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.tier__plus { margin: 4px 0 -2px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); }
.tier ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 11px; }
.tier li { position: relative; padding-left: 30px; font-size: 0.96875rem; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.tier li::after { content: ""; position: absolute; left: 7.5px; top: 5px; width: 4px; height: 8px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tier .btn { margin-top: auto; width: 100%; }
.tier--rec { top: -14px; background: var(--forest); color: var(--cream); box-shadow: 0 2px 4px hsl(165 45% 12% / 0.12), 0 34px 64px -30px hsl(165 45% 12% / 0.65); }
.tier--rec .tier__for { color: var(--cream-soft); border-color: rgba(244, 241, 233, 0.18); }
.tier--rec .tier__plus { color: var(--clay); }
.tier--rec li::before { background: rgba(221, 181, 154, 0.22); }
.tier--rec li::after { border-color: var(--clay); }
.tier__badge { position: absolute; top: -15px; left: clamp(1.6rem, 2.6vw, 2.25rem); margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--clay); color: #3A2718; font-size: 0.8125rem; font-weight: 500; }
.terms { margin-top: clamp(0.5rem, 2vw, 1.5rem); }
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; gap: 30px; max-width: 34rem; }
  .tier--rec { top: 0; }
}

/* How: the lead-in line is part of the headline, readable on every screen */
.how__title .how__kicker { display: block; margin: 0 0 12px; white-space: normal; text-transform: none; letter-spacing: -0.01em; font-weight: 500; font-size: clamp(1.1rem, 0.85rem + 0.6vw, 1.4rem); line-height: 1.25; color: var(--success); }
@media (max-width: 960px) {
  .how__title .how__kicker { display: block; margin-bottom: 6px; font-size: 1.0625rem; }
}
@media (max-width: 960px) and (max-height: 720px) {
  .how__title .how__kicker { display: none; }
}

/* Nav floats over the hero at the top of the page, so the glass shows the hero behind it (was sitting on plain cream). */
.hero { margin-top: calc(-1 * var(--nav-h)); min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vh, 5rem)); }
@media (max-width: 960px) { .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem); } }

/* Contrast fixes from the final review (WCAG AA): small labels and the platform strip. */
.strip__label { color: #3F6A57; }
.strip__track li { color: #6F8B7D; }
.step__tag { color: var(--success); }
.leak__stage span { color: #8C5E40; }

/* ============================================================ CASE STUDY PAGE · work/royal-dental-center */
.case-hero { margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(4rem, 10vh, 7rem)) var(--gut) clamp(3.5rem, 8vh, 5.5rem); background: var(--hero-bg); }
.case-hero__in { display: grid; gap: 24px; justify-items: start; }
.case-eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #3F6A57; }
.case-title { margin: 0; max-width: 18ch; font-weight: 400; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.case-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }

.case-stats { background: var(--forest); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) var(--gut); }
.stats { margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.stats > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid rgba(244, 241, 233, 0.22); }
.stats dt { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.stats__to { color: var(--clay); font-size: 0.7em; vertical-align: 0.08em; }
.stats dd { margin: 0; max-width: 26ch; font-size: 1rem; line-height: 1.5; color: var(--cream-soft); }

.case-before, .case-did { background: var(--cream); padding: clamp(5rem, 10vw, 8rem) var(--gut); }
.case-compare, .case-after { background: var(--paper); padding: clamp(5rem, 10vw, 8rem) var(--gut); }
.case-before .wrap, .case-did .wrap, .case-compare .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.case-head { display: grid; gap: 14px; }
.case-kicker { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #8C5E40; }

.case-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-cards article { display: grid; gap: 10px; align-content: start; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: 26px; background: var(--paper); box-shadow: 0 1px 2px hsl(165 45% 12% / 0.06), 0 18px 40px -26px hsl(165 45% 12% / 0.3); }
.case-cards h3 { margin: 0; font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.case-cards p { margin: 0; line-height: 1.55; color: var(--ink-2); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.compare__item { margin: 0; display: grid; gap: 12px; }
.compare__tag { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.compare__item--after .compare__tag { color: var(--success); }
.compare .browser img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
.compare__item:not(.compare__item--after) .browser { filter: saturate(0.85); }
.compare figcaption { font-size: 0.875rem; color: var(--ink-2); }

.case-steps { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; }
.case-steps li { counter-increment: c; display: grid; grid-template-columns: 3.5rem minmax(0, 18rem) minmax(0, 1fr); gap: 8px clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.1rem, 2.2vw, 1.6rem) 0; border-top: 1px solid var(--line); }
.case-steps li:last-child { border-bottom: 1px solid var(--line); }
.case-steps li::before { content: counter(c, decimal-leading-zero); font-size: 0.875rem; font-weight: 500; color: #8C5E40; }
.case-steps b { font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; }
.case-steps span { line-height: 1.55; color: var(--ink-2); }

.case-after__in { display: grid; gap: 18px; max-width: 52rem; }
.case-after .lede { max-width: 60ch; color: var(--green); }
.case-ok { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--success); }

.case-close { background: var(--forest); color: var(--cream); padding: clamp(5rem, 11vw, 8rem) var(--gut) 2rem; }
.case-close__in { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(4rem, 8vw, 6rem); }
.case-close .lede { color: var(--cream-soft); }
.case-fine { margin: 10px 0 0; max-width: 70ch; font-size: 0.8125rem; line-height: 1.55; color: var(--cream-soft); }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 1.25rem; border-top: 1px solid rgba(244, 241, 233, 0.18); }
.case-foot img { width: 110px; height: auto; }
.case-foot p { margin: 0; font-size: 0.8125rem; color: var(--cream-soft); }

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .case-cards { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .case-steps li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .case-steps span { grid-column: 2; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* Homepage: Royal proof numbers and the case study link */
.work__stats { margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work__stats > div { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 1px solid rgba(244, 241, 233, 0.22); }
.work__stats dt { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.work__stats dd { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--cream-soft); }
.work__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 480px) { .work__stats { grid-template-columns: 1fr 1fr; } }
.case-after__in { max-width: 76rem; }
.case-after__in > * { max-width: 52rem; }
.compare__item:not(.compare__item--after) .browser img { object-position: left top; }

/* Homepage Our work: results as a light card on the dark band (eye catcher, reads like a report), gold stars for trust */
.btn--clay { background: var(--clay); color: #2E1F13; }
@media (hover: hover) { .btn--clay:hover { background: #E8C6AE; } }
.work__stats { margin: 6px 0 0; padding: 20px 22px; border-radius: 22px; background: var(--paper); color: var(--green); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 24px 48px -24px rgba(0, 0, 0, 0.5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.work__stats > div { padding: 2px 18px; border-top: 0; border-left: 1px solid var(--stone); display: grid; gap: 6px; align-content: start; }
.work__stats > div:first-child { padding-left: 0; border-left: 0; }
.work__stats dt { font-size: clamp(1.5rem, 1.15rem + 1vw, 2.1rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: var(--green); }
.work__stats dd { margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.work__to { color: #B07F5C; font-size: 0.75em; }
.work__stars { display: block; margin-bottom: 2px; color: var(--star); font-size: 0.9375rem; letter-spacing: 2px; }
@media (max-width: 480px) {
  .work__stats { grid-template-columns: 1fr; padding: 6px 20px; }
  .work__stats > div { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 14px 0; border-left: 0; border-top: 1px solid var(--stone); }
  .work__stats > div:first-child { border-top: 0; }
}

/* Case study: the rating line under the numbers */
.stats__rating { margin: clamp(2rem, 4vw, 3rem) auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 1.0625rem; color: var(--cream-soft); }
.stats__rating b { font-weight: 500; color: var(--cream); }
.stats__stars { color: var(--star); font-size: 1.25rem; letter-spacing: 3px; }
.stats dt { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.8rem); }
.stats__rating { display: block; }
.stats__stars { display: inline-block; margin-right: 10px; vertical-align: -1px; }

/* ============================================================ PRIVACY PAGE */
.legal { background: var(--paper); padding: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem)) var(--gut) clamp(4rem, 9vw, 7rem); margin-top: calc(-1 * var(--nav-h)); }
.legal__in { max-width: 44rem; margin: 0 auto; }
.legal__title { margin: 12px 0 8px; font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.legal__date { margin: 0 0 28px; font-size: 0.875rem; color: var(--ink-2); }
.legal__lead { font-size: 1.1875rem; line-height: 1.6; }
.legal h2 { margin: 2.2em 0 0.5em; font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.legal p, .legal li { line-height: 1.65; color: #34493F; }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; }
.legal b { font-weight: 500; color: var(--green); }
.legal__pending { padding: 2px 8px; border-radius: 6px; background: #FBE7D6; color: #7A4A28; font-size: 0.9375rem; }
.legal-foot { padding: 1.5rem var(--gut) 2rem; }
/* 404: the legal layout on the hero gradient, filling the screen above the footer. */
.notfound { background: var(--hero-bg); min-height: calc(100svh - 7rem); display: grid; align-content: center; }
.notfound .hero__actions { margin-top: 28px; }
.foot a, .case-foot a { color: var(--cream); }
.close__alt { margin: 4px 0 0; font-size: 0.9375rem; color: var(--cream-soft); }
.foot p, .case-foot p { line-height: 1.8; }
/* Touch screens: the call, email and footer links get a tap area about 44px tall. Padding on an inline link
   grows what a finger can hit without moving any text; the negative side margin cancels the extra width. */
@media (pointer: coarse) {
  .close__alt a, .foot a, .case-foot a { padding: 14px 4px; margin: 0 -4px; }
  .foot a, .case-foot a { padding-block: 15px; } /* smaller text, so a little more padding */
}
/* Close on phones: the phone illustration is hidden there, so nothing needs pinning. Let it flow, footer below the content. */
@media (max-width: 960px) {
  .close { height: auto !important; }
  .close__stage { position: relative !important; top: auto !important; height: auto; min-height: calc(100svh - var(--nav-h)); padding-bottom: 2rem; }
  .foot { position: static; margin-top: 2.5rem; }
}

/* ============================================================ CLOSE · free audit request form */
.closef { background: var(--forest); color: var(--cream); padding: clamp(5rem, 10vw, 8rem) var(--gut) 2rem; }
.closef__grid { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-bottom: clamp(4rem, 8vw, 6rem); }
.closef__copy { display: grid; gap: 22px; justify-items: start; }
.closef .foot { position: static; max-width: 76rem; margin: 0 auto; }
.lead { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 28px; background: var(--paper); color: var(--green); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 34px 70px -30px rgba(0, 0, 0, 0.6); }
.lead[hidden], .lead-done[hidden] { display: none; }
.lead__title { grid-column: 1 / -1; margin: 0 0 4px; font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.8rem); letter-spacing: -0.025em; line-height: 1.1; }
.lead__f { display: grid; gap: 6px; }
.lead__f--full { grid-column: 1 / -1; }
.lead label { font-size: 0.8125rem; font-weight: 500; color: #34493F; }
.lead label span { font-weight: 400; color: var(--ink-2); }
.lead input, .lead select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #D9D2C4; border-radius: 12px; background: #FFFFFF; color: var(--green); font: 400 1rem/1.2 Grift, Arial, sans-serif; }
.lead input::placeholder { color: #9AA59F; }
.lead input:focus, .lead select:focus { outline: none; border-color: var(--success); box-shadow: 0 0 0 3px rgba(45, 106, 80, 0.2); }
.lead button { grid-column: 1 / -1; width: 100%; margin-top: 6px; border: 0; cursor: pointer; }
.lead button[disabled] { opacity: 0.6; cursor: wait; }
.lead__status { grid-column: 1 / -1; margin: 0; font-size: 0.875rem; color: #8C3B2E; }
.lead__status:empty { display: none; }
.lead__note { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-done { display: grid; gap: 10px; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 28px; background: var(--paper); color: var(--green); }
.lead-done p { margin: 0; line-height: 1.55; }
@media (max-width: 960px) { .closef__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lead { grid-template-columns: 1fr; } }

/* Audit form, one question at a time (JS adds .is-steps; without JS every question shows) */
.lead { grid-template-columns: 1fr; gap: 16px; }
.lead__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lead__top .lead__title { margin: 0; }
.lead__count { margin: 0; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.lead__bar { height: 4px; border-radius: 4px; background: var(--stone); overflow: hidden; }
.lead__bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--success); transition: width 420ms var(--ease); }
.lead__step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.lead__q { padding: 0; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; color: var(--green); }
.lead .lead__q { font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); font-weight: 400; color: var(--green); }
.lead__skip { justify-self: start; padding: 4px 0; border: 0; background: none; font: 500 0.875rem/1.3 Grift, Arial, sans-serif; color: var(--success); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lead__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #D9D2C4; background: #FFFFFF; font-size: 0.9688rem; color: var(--green); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: var(--cream); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(45, 106, 80, 0.3); }
.lead__nav { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 4px; }
.lead__nav .btn { width: auto; min-width: 9rem; margin: 0; }
.lead:not(.is-steps) .lead__nav .lead__send { width: 100%; }
.lead__back { margin-right: auto; padding: 8px 0; border: 0; background: none; font: 500 0.9375rem/1 Grift, Arial, sans-serif; color: var(--ink-2); cursor: pointer; }
.lead__back:hover { color: var(--green); }
.lead button { grid-column: auto; margin-top: 0; }
.lead.is-steps { min-height: 22.5rem; align-content: start; }
.lead.is-steps .lead__step { min-height: 8.5rem; align-content: start; }
.lead__step.is-in { animation: leadIn 320ms var(--ease) both; }
@keyframes leadIn { from { opacity: 0; transform: translate3d(14px, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lead__step.is-in { animation: none; } .lead__bar span { transition: none; } }
@media (max-width: 480px) { .lead__nav .btn { min-width: 0; flex: 1; } }
.lead .lead__back, .lead .lead__skip { width: auto; }
.lead .pill input { min-height: 0; padding: 0; border: 0; }
.lead [hidden], .lead[hidden], .lead-done[hidden] { display: none !important; }
.closef__form { min-width: 0; }
.lead-done .lead__title { line-height: 1.15; }
/* Thank-you card */
.lead-done { gap: 14px; justify-items: start; }
.lead-done__ok { margin-bottom: 2px; }
.lead-done__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.lead-done__list li { position: relative; padding-left: 28px; line-height: 1.45; }
.lead-done__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); }
.lead-done__list li::after { content: ""; position: absolute; left: 6.5px; top: 5.5px; width: 4px; height: 8px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lead-done .btn { width: 100%; margin-top: 4px; white-space: normal; text-align: center; line-height: 1.2; }
.lead-done .lead-done__alt { font-size: 0.875rem; color: var(--ink-2); }
/* Free audit page */
.closef--page { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem)); min-height: 100svh; display: grid; align-content: space-between; }
.closef__proof { margin: 0; max-width: 46ch; padding: 14px 18px; border-radius: 16px; background: rgba(244, 241, 233, 0.08); box-shadow: inset 0 0 0 1px rgba(244, 241, 233, 0.14); font-size: 0.9375rem; line-height: 1.55; color: var(--cream); }
.closef__proof .link { white-space: nowrap; }
.closef .foot { width: 100%; }
