/* ==========================================================
   STYLES
   ========================================================== */

/* ---------- Fonts (Poppins, self-hosted: no request to Google, faster and GDPR-friendly) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --surface-2: #f7f7f8;
  --text: #1a1a1a;
  --text-2: #4a4f57;
  --text-3: #80858e;
  --line: rgba(26, 26, 26, .09);
  --line-strong: rgba(26, 26, 26, .14);
  --accent: #268bff;
  --accent-hover: #1479ee;
  --accent-soft: #eaf3ff;
  --dark: #1a1a1a;
  --dark-2: #141414;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --shadow-1: 0 1px 2px rgba(20, 20, 20, .04), 0 2px 8px -2px rgba(20, 20, 20, .05);
  --shadow-2: 0 1px 2px rgba(20, 20, 20, .04), 0 16px 40px -16px rgba(20, 20, 20, .16);
  --shadow-3: 0 2px 4px rgba(20, 20, 20, .04), 0 28px 60px -20px rgba(20, 20, 20, .22);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 20px;
  --space: clamp(88px, 11vw, 152px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; position: relative; }
.section-white { background: var(--surface); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Type scale ---------- */
h1, h2, h3 { font-weight: 600; color: var(--text); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -.038em; }
h2 { font-size: clamp(1.95rem, 3.9vw, 3.1rem); line-height: 1.1; letter-spacing: -.032em; }
h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.015em; }
p { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--text-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .74rem; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.on-dark .eyebrow { color: rgba(255, 255, 255, .55); }

.section-head { max-width: 780px; margin-bottom: clamp(52px, 6vw, 80px); }
.section-head h2 + p { margin-top: 22px; }
.section-head-row { display: grid; gap: 24px; margin-bottom: clamp(52px, 6vw, 80px); }
.section-head-row > p { max-width: 500px; font-size: 1.05rem; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-shadow: 0 1px 2px rgba(20, 20, 20, .08);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font-size: .95rem; font-weight: 500; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap;
  box-shadow: var(--btn-shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  will-change: transform;
}
.btn .i { width: 18px; height: 18px; transition: transform .22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:hover .i-down { transform: translateY(2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }

.btn-primary {
  background: var(--accent); color: #fff;
  --btn-shadow: 0 1px 2px rgba(38, 139, 255, .3), 0 8px 20px -8px rgba(38, 139, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 4px rgba(38, 139, 255, .25), 0 16px 32px -12px rgba(38, 139, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-dark { background: var(--dark); color: #fff; --btn-shadow: 0 1px 2px rgba(20, 20, 20, .2), 0 8px 20px -10px rgba(20, 20, 20, .5); }
.btn-dark:hover { background: #000; box-shadow: 0 2px 4px rgba(20, 20, 20, .2), 0 16px 30px -12px rgba(20, 20, 20, .55); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: rgba(26, 26, 26, .28); box-shadow: var(--shadow-2); }
.btn-lg { padding: 17px 28px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text);
  transition: color .2s var(--ease);
}
.text-link .i { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--text); }
.brand-mark { height: 26px; width: calc(26px * 546 / 143); }
.brand-divider { width: 1px; height: 20px; background: currentColor; opacity: .2; }
.brand-sub { font-size: .95rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; opacity: .75; }
@media (min-width: 768px) {
  .brand-mark { height: 30px; width: calc(30px * 546 / 143); }
  .brand-divider { height: 22px; }
  .brand-sub { font-size: 1.02rem; }
}

/* ==========================================================
   SECTION: 1. HEADER
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(241, 241, 241, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), -webkit-backdrop-filter .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled {
  background: rgba(241, 241, 241, .86);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(20, 20, 20, .28);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.btn-header { padding: 10px 16px; font-size: .86rem; border-radius: 10px; }
.label-long { display: none; }

.nav-toggle { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.brand, .header-actions { position: relative; z-index: 2; }
.main-nav {
  position: fixed; inset: 0; z-index: 1; width: 100%; height: 100vh; height: 100dvh; background: #f1f1f1;
  padding: calc(var(--header-h) + 8px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.main-nav li { border-bottom: 1px solid var(--line); }
.main-nav ul a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.nav-mobile-cta { width: 100%; padding: 17px; }
body.nav-open { overflow: hidden; } /* body only: locking <html> too would break the sticky header */
body.nav-open .site-header { background: #f1f1f1; border-bottom-color: var(--line); box-shadow: none; }
body.nav-open .site-header::before { opacity: 0; }

@media (min-width: 520px) { .label-long { display: inline; } .label-short { display: none; } }
@media (min-width: 1100px) {
  .nav-toggle, .nav-mobile-cta { display: none; }
  .main-nav { position: static; inset: auto; width: auto; height: auto; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; display: block; overflow: visible; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav li { border: 0; }
  .main-nav ul a { position: relative; padding: 8px 13px; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--text-2); transition: color .2s var(--ease); }
  .main-nav ul a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1.5px; border-radius: 2px;
    background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
  }
  .main-nav ul a:hover, .main-nav ul a.is-active { color: var(--text); }
  .main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
  .btn-header { padding: 11px 20px; font-size: .9rem; }
}

/* ==========================================================
   SECTION: 2. HERO
   ========================================================== */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 5.5vw, 80px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 35%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 35%, #000 10%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 780px; height: 780px; right: -260px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 139, 255, .13), rgba(38, 139, 255, 0) 62%);
}
.hero-grid { display: grid; gap: 64px; align-items: center; }
.hero h1 { max-width: 17ch; margin-bottom: 24px; }
.hero .lead { max-width: 590px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.trust-line { display: flex; align-items: center; gap: 10px; font-size: .84rem; line-height: 1.5; color: var(--text-3); }
.trust-line .i { width: 18px; height: 18px; color: var(--text-2); }

/* Hero visual: patient pipeline */
.hero-visual { position: relative; width: 100%; max-width: 470px; justify-self: center; padding: 30px 0; }
.pipeline {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-3); border: 1px solid var(--line);
}
.pipeline-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .84rem; font-weight: 500; }
.pipeline-head .i { width: 18px; height: 18px; color: var(--text-3); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #11804a; background: #e6f6ee; padding: 4px 10px; border-radius: 99px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1aa663; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 166, 99, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(26, 166, 99, 0); } }
.pipe-step { position: relative; display: flex; align-items: center; gap: 16px; padding: 13px 0; }
.pipe-step:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 58px; height: calc(100% - 46px); width: 1px; background: var(--line-strong); }
.pipe-step:not(:last-child)::before {
  content: ""; position: absolute; left: 22px; top: 58px; height: calc(100% - 46px); width: 1px; background: var(--accent); z-index: 1;
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease) var(--d, 0s);
}
.pipe-icon {
  width: 45px; height: 45px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  transition: background-color .45s var(--ease) var(--d, 0s), color .45s var(--ease) var(--d, 0s), border-color .45s var(--ease) var(--d, 0s);
}
.pipe-icon .i { width: 20px; height: 20px; }
.pipe-text { display: flex; flex-direction: column; line-height: 1.35; }
.pipe-text strong { font-size: .95rem; font-weight: 500; }
.pipe-text small { font-size: .8rem; color: var(--text-3); }
.pipe-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease) var(--d, 0s), transform .35s var(--ease-out) var(--d, 0s); }
.pipe-check .i { width: 13px; height: 13px; stroke-width: 2.2; }
.pipeline.is-run .pipe-step::before { transform: scaleY(1); }
.pipeline.is-run .pipe-check { opacity: 1; transform: none; }
.pipeline.is-run .pipe-step:last-child .pipe-icon { background: var(--accent); border-color: var(--accent); color: #fff; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  font-size: .78rem; font-weight: 500; padding: 9px 14px 9px 11px; border-radius: 99px;
  animation: float 7s ease-in-out infinite;
}
.chip .i { width: 17px; height: 17px; color: var(--text-2); }
.chip-a { top: 2px; right: -8px; }
.chip-b { bottom: 6px; left: -12px; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Specialties strip */
.specialties { margin-top: clamp(64px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.specialties-label { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); width: 100%; }
.specialties ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.specialties li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 500; color: var(--text-2); }
.specialties li .i { width: 18px; height: 18px; color: var(--text-3); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 72px; }
  .hero-visual { justify-self: end; }
  .specialties-label { width: auto; }
}

/* ==========================================================
   SECTION: 3. AUTHORITY
   ========================================================== */
.split { display: grid; gap: 32px; }
.split-body { display: grid; gap: 24px; }
.split-body .statement { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--text); letter-spacing: -.012em; }
.split-body p { font-size: 1.05rem; }
.pillars { display: grid; gap: 12px; margin-top: 16px; }
.pillar { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.pillar .i { color: var(--text); }
.pillar span { font-size: .95rem; font-weight: 500; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; } }
@media (min-width: 960px) { .split { grid-template-columns: .95fr 1.05fr; gap: 96px; } .split-body { padding-top: 46px; } }

/* ==========================================================
   SECTION: 4. PROBLEM
   ========================================================== */
.problem { padding-top: 0; }
.problem-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); border-radius: var(--r-lg); padding: clamp(40px, 6.5vw, 88px);
  display: grid; gap: 52px; box-shadow: var(--shadow-3);
}
.problem-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 60%);
}
.problem-panel::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 139, 255, .26), transparent 64%); }
.problem-panel h2 { color: #fff; max-width: 17ch; margin-bottom: 26px; }
.problem-panel p:not(.eyebrow) { color: rgba(255, 255, 255, .66); font-size: 1.05rem; max-width: 560px; }
.problem-panel p:not(.eyebrow) + p { margin-top: 18px; }
.problem-panel .emphasis { color: #fff; font-weight: 500; padding-left: 20px; border-left: 2px solid var(--accent); line-height: 1.6; }
.leaks { display: grid; gap: 12px; align-content: center; }
.leak {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r);
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9);
  font-size: .98rem; line-height: 1.45;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.leak:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); transform: translateX(4px); }
.leak-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .06); color: #fff; }
.leak-icon .i { width: 20px; height: 20px; }
@media (min-width: 960px) { .problem-panel { grid-template-columns: 1.2fr .8fr; gap: 80px; } }

/* ==========================================================
   SECTION: 5. WHAT WE DELIVER
   ========================================================== */
.services { padding-top: 0; }
.service-grid { display: grid; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.service-card { position: relative; padding: clamp(30px, 3.6vw, 48px); display: flex; flex-direction: column; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 44px; }
.icon-tile {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.card:hover .icon-tile { background: var(--accent-soft); border-color: rgba(38, 139, 255, .2); color: var(--accent); }
.service-num { font-size: .8rem; font-weight: 500; color: var(--text-3); letter-spacing: .06em; }
.service-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); margin-bottom: 12px; }
.service-card p { font-size: 1rem; max-width: 470px; }
@media (min-width: 720px) { .service-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ==========================================================
   SECTION: 6. PROOF / CASE STUDIES (auto-sliding carousel)
   ========================================================== */
.proof { overflow: hidden; }
.carousel { position: relative; --auto-ms: 6500ms; }
.case-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-padding-left: var(--gutter);
  margin: -24px calc(var(--gutter) * -1); padding: 24px var(--gutter) 40px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.case-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .case-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }

.case-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); background: var(--surface-2); box-shadow: none; cursor: pointer; }
.case-card:hover { background: var(--surface); }
.case-top { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.case-top .icon-tile { width: 46px; height: 46px; border-radius: 13px; background: var(--surface); }
.case-top .icon-tile .i { width: 21px; height: 21px; }
.case-type { font-size: .98rem; font-weight: 500; line-height: 1.35; color: var(--text); }
.case-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.case-stat { font-size: clamp(2.8rem, 4.4vw, 3.7rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--text); }
.case-stat-label { margin-top: 10px; font-size: 1.05rem; font-weight: 500; line-height: 1.4; color: var(--text); letter-spacing: -.01em; }
.case-summary { font-size: .95rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-foot { margin-top: auto; padding-top: 24px; }
.case-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
/* The whole card is clickable through this button's stretched hit area */
.case-open { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: color .2s var(--ease); }
.case-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.case-open .i { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.case-card:hover .case-open { color: var(--accent); }
.case-card:hover .case-open .i { transform: translateX(3px); }
.case-open:focus-visible { outline: none; }
.case-open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Before / after comparison bars (animate in when the card is visible) */
.compare { margin: 26px 0 24px; display: grid; gap: 10px; }
.compare-title { font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.cmp-row { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 12px; }
.cmp-row > span:first-child { font-size: .78rem; color: var(--text-3); }
.cmp-bar { height: 8px; border-radius: 99px; background: rgba(26, 26, 26, .06); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; width: var(--w); min-width: 6px; border-radius: 99px; background: rgba(26, 26, 26, .22); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .15s; }
.cmp-row.is-after .cmp-bar i { background: var(--accent); transition-delay: .35s; }
.cmp-val { font-size: .88rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.cmp-row:not(.is-after) .cmp-val { color: var(--text-3); font-weight: 500; }
.is-visible .cmp-bar i, .no-io .cmp-bar i { transform: none; }

/* Controls: pause toggle, dots, arrows */
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.carousel-left { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; align-items: center; gap: 4px; }
.dot { height: 28px; padding: 0 3px; display: grid; place-items: center; }
.dot span { position: relative; display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(26, 26, 26, .18); overflow: hidden; transition: width .4s var(--ease-out), background-color .3s var(--ease); }
.dot:hover span { background: rgba(26, 26, 26, .35); }
.dot.is-active span { width: 34px; background: rgba(26, 26, 26, .14); }
.dot span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--text); transform: scaleX(0); transform-origin: left; }
.dot.is-active span::after { transform: scaleX(1); }
.carousel.is-auto .dot.is-active.run span::after { animation: dot-fill var(--auto-ms) linear forwards; }
.carousel.is-paused .dot.is-active.run span::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.auto-toggle { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line-strong); background: var(--surface); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.auto-toggle:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.auto-toggle .i { width: 14px; height: 14px; }
.auto-toggle .i-play-icon { display: none; }
.auto-toggle[aria-pressed="true"] .i-play-icon { display: block; }
.auto-toggle[aria-pressed="true"] .i-pause-icon { display: none; }
.carousel-btns { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), opacity .22s var(--ease);
}
.round-btn .i { width: 18px; height: 18px; }
.round-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-2); background: var(--dark); color: #fff; border-color: var(--dark); }
.round-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (max-width: 420px) { .round-btn { width: 44px; height: 44px; } }

/* Case study detail modal */
.modal.case-modal { width: min(760px, calc(100% - 24px)); }
.cm-body:focus { outline: none; }
.cm-body.is-swapping { animation: cm-swap .35s var(--ease); }
@keyframes cm-swap { from { opacity: 0; transform: translateY(6px); } }
.cm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-right: 48px; }
.cm-head .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.cm-head .icon-tile .i { width: 22px; height: 22px; }
.cm-type { font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.35; }
.cm-kicker { font-size: .8rem; color: var(--text-3); line-height: 1.4; }
.case-modal h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 14px; }
.cm-summary { font-size: 1.02rem; }
.cm-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 28px 0 20px; }
.cm-metric { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.cm-metric small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cm-metric strong { display: block; margin: 6px 0 2px; font-size: 1.6rem; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--text); }
.cm-metric span { display: block; font-size: .8rem; line-height: 1.4; color: var(--text-3); }
.cm-metric.is-highlight { background: var(--accent-soft); border-color: rgba(38, 139, 255, .2); }
.cm-metric.is-highlight strong { color: var(--accent); }
.cm-shot {
  height: clamp(160px, 32vw, 250px); border-radius: 16px; border: 1.5px dashed rgba(26, 26, 26, .18);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, #f2f3f5 12px 24px);
  display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 20px;
}
.cm-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.cm-shot .i { width: 28px; height: 28px; color: var(--text-3); }
.cm-shot strong { font-size: .92rem; font-weight: 500; color: var(--text-2); }
.cm-shot span { font-size: .78rem; color: var(--text-3); }
.cm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cm-nav { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cm-nav .round-btn { width: 42px; height: 42px; }
.case-modal .btn { margin-top: 0; }
@media (max-width: 559px) {
  .cm-metrics { grid-template-columns: 1fr 1fr; }
  .cm-metric:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cm-metric strong { font-size: 1.35rem; }
  .cm-foot .btn { width: 100%; }
  .cm-nav { width: 100%; justify-content: space-between; }
}

/* ==========================================================
   SECTION: 6b. PORTFOLIO DOWNLOAD
   ========================================================== */
.portfolio { padding-top: clamp(24px, 3vw, 40px); }
.portfolio-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 48px; align-items: center;
  background: linear-gradient(135deg, var(--surface-2), #eef1f5);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(36px, 5.5vw, 72px);
}
.portfolio-panel::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 139, 255, .1), transparent 65%); }
.portfolio-copy h2 { margin-bottom: 20px; }
.portfolio-copy .lead { max-width: 500px; margin-bottom: 30px; }
.portfolio-contents { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 36px; }
.portfolio-contents li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text-2); }
.portfolio-contents .i { width: 17px; height: 17px; color: var(--accent); stroke-width: 2; }
.portfolio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.file-meta { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-3); }
.file-meta .i { width: 17px; height: 17px; }

.doc-stack { position: relative; width: min(100%, 360px); aspect-ratio: 3 / 3.6; justify-self: center; perspective: 1400px; }
.doc {
  position: absolute; inset: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.doc-back-2 { transform: translate(28px, 18px) rotate(5deg); opacity: .55; }
.doc-back-1 { transform: translate(14px, 9px) rotate(2.5deg); opacity: .8; }
.doc-front {
  display: flex; flex-direction: column; padding: 28px; box-shadow: var(--shadow-3);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.portfolio-panel:hover .doc-front { transform: translateY(-6px) rotate(-1deg); }
.doc-front .doc-logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.doc-front .doc-logo svg { height: 18px; width: calc(18px * 546 / 143); }
.doc-front .doc-logo span { font-size: .72rem; font-weight: 500; opacity: .7; }
.doc-title { margin-top: auto; }
.doc-title small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.doc-title strong { display: block; font-size: 1.45rem; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.doc-lines { display: grid; gap: 7px; margin-top: 18px; }
.doc-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(26, 26, 26, .08); }
.doc-lines i:nth-child(2) { width: 82%; } .doc-lines i:nth-child(3) { width: 64%; }
.doc-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.doc-chart i { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(26, 26, 26, .1); }
.doc-chart i:last-child { background: var(--accent); }
.doc-badge { position: absolute; right: -10px; top: 26px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--dark); color: #fff; font-size: .72rem; font-weight: 500; box-shadow: var(--shadow-2); }
.doc-badge .i { width: 14px; height: 14px; }
@media (min-width: 900px) { .portfolio-panel { grid-template-columns: 1.15fr .85fr; gap: 64px; } }

/* ==========================================================
   SECTION: 7. HOW IT WORKS
   ========================================================== */
.steps { display: grid; position: relative; }
.step { position: relative; padding: 0 0 52px 80px; }
.step:last-child { padding-bottom: 0; }
.step-line { position: absolute; left: 27px; top: 64px; bottom: 10px; width: 1px; background: var(--line-strong); overflow: hidden; }
.step-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) .3s; }
.step.is-visible .step-line::after { transform: none; }
.step:last-child .step-line { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1), 0 0 0 8px var(--bg);
  font-size: 1.05rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-label { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 4px 0 8px; line-height: 1.4; }
.step h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); margin-bottom: 12px; }
.step p:last-child { font-size: 1rem; max-width: 350px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .step { padding: 96px 0 0; }
  .step-line { left: 72px; right: -36px; top: 28px; bottom: auto; width: auto; height: 1px; }
  .step-line::after { transform: scaleX(0); transform-origin: left; }
  .step.is-visible .step-line::after { transform: none; }
}

/* ==========================================================
   SECTION: 8. COMPLIANCE
   ========================================================== */
.compliance-grid { display: grid; gap: 52px; align-items: center; }
.compliance h2 { max-width: 16ch; margin-bottom: 24px; }
.compliance .lead { max-width: 560px; }
.badges { display: grid; gap: 16px; }
.seal { display: flex; align-items: center; gap: 22px; padding: 26px 28px; }
.seal-ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: var(--text); border: 1px solid var(--line-strong); background: var(--surface-2); }
.seal-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(26, 26, 26, .16); }
.seal-ring .i { width: 26px; height: 26px; }
.seal-title { font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2; color: var(--text); }
.seal-sub { font-size: .9rem; line-height: 1.5; color: var(--text-3); }
.seal-check { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.seal-check .i { width: 15px; height: 15px; stroke-width: 2.2; }
@media (min-width: 960px) { .compliance-grid { grid-template-columns: 1.1fr .9fr; gap: 104px; } }

/* ==========================================================
   SECTION: 8b. WHAT WE OWN vs. WHAT YOU KEEP
   Deliberately calm: no heavy shadows, so Pricing stays the focus.
   ========================================================== */
.own-grid { display: grid; gap: 16px; }
.own-col { padding: clamp(28px, 3.6vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.own-col.is-keep { background: linear-gradient(180deg, #f5f9ff 0%, var(--surface) 55%); border-color: rgba(38, 139, 255, .18); }
.own-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.own-col.is-keep .own-icon { background: var(--accent-soft); border-color: rgba(38, 139, 255, .2); color: var(--accent); }
.own-col h3 { font-size: clamp(1.2rem, 1.6vw, 1.35rem); margin: 26px 0 14px; }
.own-list li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; color: var(--text); }
.own-list small { display: block; margin-top: 2px; font-size: .86rem; color: var(--text-3); }
.own-bullet { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.own-bullet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(26, 26, 26, .3); }
.own-col.is-keep .own-bullet { border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.own-col.is-keep .own-bullet::before { display: none; }
.own-bullet .i { width: 13px; height: 13px; stroke-width: 2.2; }
@media (min-width: 820px) { .own-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ==========================================================
   SECTION: 9. PRICING
   ========================================================== */
.pricing { padding-top: 0; }
@media (max-width: 767px) { .pricing { padding-top: calc(var(--space) * .5); } }
.pricing-card { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.pricing-main, .pricing-side { padding: clamp(26px, 5vw, 64px); }
.pricing-main { display: flex; flex-direction: column; }
.pricing-main h2 { margin-bottom: 32px; }
.price { display: flex; align-items: baseline; gap: 6px; font-weight: 600; color: var(--text); line-height: 1; }
.price-amount { font-size: clamp(3rem, 7vw, 4.8rem); letter-spacing: -.05em; }
.price-period { font-size: 1.1rem; font-weight: 500; color: var(--text-3); letter-spacing: -.01em; }
.price-note { margin-top: 16px; font-size: 1rem; }
.pricing-side { background: var(--surface-2); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.included-label { font-size: 1.02rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-bottom: 8px; }
.included li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; font-weight: 500; line-height: 1.45; }
.included li:last-child { border-bottom: 0; }
.included .check { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.included .check .i { width: 14px; height: 14px; stroke-width: 2.2; }
.value-note { position: relative; padding: 20px 22px 20px 56px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.value-note .i { position: absolute; left: 20px; top: 21px; width: 22px; height: 22px; color: var(--accent); }
.value-note p { font-size: .95rem; line-height: 1.65; color: var(--text-2); }
.value-note s { color: var(--text-3); }
.value-note strong { color: var(--text); font-weight: 600; }
.pricing-main .value-note { margin-top: 32px; }
.pricing-main .btn { margin-top: 28px; }
@media (min-width: 960px) {
  .pricing-card { grid-template-columns: 1fr 1fr; }
  .pricing-side { border-top: 0; border-left: 1px solid var(--line); justify-content: center; }
  .pricing-main .value-note { margin-top: auto; }
}

/* ==========================================================
   SECTION: 10. WHO THIS IS FOR
   ========================================================== */
.audience-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.audience .eyebrow { justify-content: center; }
.audience h2 { margin-bottom: 24px; }
.audience .lead { max-width: 660px; margin: 0 auto; }
.audience-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.audience-tags li { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; padding: 11px 20px 11px 16px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.audience-tags .i { width: 18px; height: 18px; color: var(--text-2); }

/* ==========================================================
   SECTION: 11. FAQ
   ========================================================== */
.faq-grid { display: grid; gap: 44px; }
.faq-side p:not(.eyebrow) { margin-top: 20px; max-width: 320px; font-size: .98rem; }
.faq-side .text-link { margin-top: 16px; }
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.acc-item:hover { border-color: var(--line-strong); }
.acc-item.is-open { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.acc-item h3 { font-size: inherit; letter-spacing: 0; }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; font-size: clamp(1rem, 1.35vw, 1.1rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.acc-icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease-out); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 2px; background: var(--text); transform: translate(-50%, -50%); transition: background-color .3s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger:hover .acc-icon { border-color: var(--line-strong); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--dark); border-color: var(--dark); transform: rotate(45deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::before, .acc-trigger[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel p { padding: 0 72px 24px 24px; font-size: 1rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 88px; } .faq-side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }

/* ==========================================================
   SECTION: 12. FINAL CTA + BOOKING CALENDAR
   ========================================================== */
.final-cta { background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -380px; width: 1000px; height: 760px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(38, 139, 255, .24), transparent 64%); }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 40% at 50% 0%, #000, transparent 75%);
}
.final-head { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.final-head .eyebrow { justify-content: center; }
.final-head h2 { color: #fff; margin-bottom: 22px; }
.final-head .lead { color: rgba(255, 255, 255, .68); margin-bottom: 36px; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.soft-link { font-size: .9rem; color: rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(255, 255, 255, .22); padding-bottom: 2px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.soft-link:hover { color: #fff; border-color: #fff; }
.calendar-wrap { position: relative; max-width: 1060px; margin: 0 auto; min-height: 700px; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7); scroll-margin-top: calc(var(--header-h) + 16px); }
.calendar-wrap iframe { position: relative; z-index: 1; display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 767px) { .calendar-wrap iframe { height: 980px; } }
.book-fallback { margin-top: 18px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.calendar-loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--text-3); font-size: .9rem; }
.calendar-loading::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(26, 26, 26, .1); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.calendar-loading a { color: var(--accent); text-decoration: underline; }
.calendar-wrap.is-loaded .calendar-loading { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   SECTION: 13. FOOTER
   ========================================================== */
.site-footer { background: var(--dark-2); color: rgba(255, 255, 255, .62); padding: clamp(64px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #f1f1f1; }
.footer-tagline { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .55); max-width: 260px; }
.footer-label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .4); margin-bottom: 16px; }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer-nav a, .footer-links a { font-size: .94rem; color: rgba(255, 255, 255, .72); transition: color .2s var(--ease); }
.footer-nav a:hover, .footer-links a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; }
.footer-email .i { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 26px; font-size: .84rem; }
.footer-bottom p { color: rgba(255, 255, 255, .45); }
.footer-compliance { display: inline-flex; align-items: center; gap: 8px; }
.footer-compliance .i { width: 16px; height: 16px; color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1.3fr .9fr; }
  .footer-brand { grid-column: auto; }
  .footer-nav ul { grid-template-columns: repeat(2, max-content); column-gap: 48px; }
}

/* ==========================================================
   CONTACT CAPTURE POPUP
   ========================================================== */
.modal {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; margin: auto;
  border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .45); overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(20, 20, 20, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in .35s var(--ease); }
.modal.is-closing { animation: modal-out .22s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fade-out .22s var(--ease) forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.modal-inner { position: relative; padding: clamp(28px, 5vw, 44px); }
.modal-accent { height: 4px; background: linear-gradient(90deg, var(--accent), #7cb9ff); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .25s var(--ease);
}
.modal-close:hover { background: var(--dark); color: #fff; transform: rotate(90deg); }
.modal-close .i { width: 18px; height: 18px; }
.form-body:focus { outline: none; }
.modal-brand { width: 44px; height: 44px; margin-bottom: 22px; }
.modal h2 { font-size: clamp(1.55rem, 3.2vw, 1.95rem); margin-bottom: 10px; padding-right: 36px; }
.modal-sub { font-size: .98rem; margin-bottom: 28px; }
.modal .btn { margin-top: 24px; }
.modal-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-2); text-align: center; }
.modal-alt a { color: var(--accent); font-weight: 500; }
.modal-alt a:hover { text-decoration: underline; }
@media (max-width: 559px) {
  .modal-inner { padding: 24px 22px 22px; }
  .modal-brand { width: 36px; height: 36px; margin-bottom: 16px; }
  .modal-sub { margin-bottom: 20px; font-size: .94rem; }
  .modal .btn { margin-top: 18px; }
  .modal-alt { margin-top: 16px; padding-top: 14px; }
}


/* ==========================================================
   CONTENT UPDATE ADDITIONS (reuse the existing tokens and patterns)
   ========================================================== */
/* USP cards: dark version of the existing card */
.card.is-dark { background: var(--dark); border-color: var(--dark); box-shadow: var(--shadow-3); }
.card.is-dark:hover { border-color: var(--dark); }
.card.is-dark h3 { color: #fff; }
.card.is-dark p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.card.is-dark .eyebrow { color: rgba(255, 255, 255, .6); }
.card.is-dark .icon-tile, .card.is-dark:hover .icon-tile { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #fff; }
.service-card .eyebrow { margin-bottom: 12px; }

/* Case study cards + modal */
.case-specialty { font-size: .82rem; color: var(--text-3); line-height: 1.4; }
.case-stat.is-long { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.case-stat-label + .case-summary { margin-top: 24px; }
.cm-facts { margin-top: 14px; font-size: .9rem; line-height: 1.6; color: var(--text-3); }
.cm-section { margin-top: 24px; }
.cm-section .compare-title { margin-bottom: 8px; }
.cm-section .own-list li { padding: 10px 0; font-size: .95rem; }
.cm-section.value-note .i { top: 21px; }

/* Pricing: two stacked totals + cost list */
.price-block { padding: 22px 0; border-top: 1px solid var(--line); }
.price-block .included-label { display: flex; align-items: center; gap: 10px; }
.price-block.is-separate .included-label, .price-block.is-separate .price-amount, .price-block.is-separate .price-period { color: #c8372f; }
.price-block.is-ours .price-amount { color: var(--accent); }
.best-badge { display: inline-flex; padding: 3px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.price-small { font-size: .88rem; color: var(--text-3); }
.included.is-costs li { justify-content: space-between; gap: 16px; font-weight: 400; }
.included.is-costs .cost { color: #c8372f; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.included.is-costs li.is-total { font-weight: 600; border-top: 1px solid var(--line-strong); }

/* Guarantee (built on the Problem panel) */
.problem-panel.is-single { grid-template-columns: 1fr; gap: 36px; }
.problem-panel.is-single h2 { max-width: 22ch; }
.g-row { display: grid; gap: 10px; align-items: center; }
.g-item { flex-direction: column; align-items: flex-start; gap: 4px; }
.g-num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.g-or { justify-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
@media (min-width: 700px) { .g-row { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; } }

/* Brevo form inside the contact popup: matches the old form's look */
#contact-modal .sib-form { padding: 0 !important; background: transparent !important; font-family: "Poppins", system-ui, sans-serif !important; text-align: left; }
#contact-modal .sib-form-container, #contact-modal #sib-form-container { padding: 0 !important; }
#contact-modal #sib-container { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#contact-modal #sib-form > div, #contact-modal #sib-container > div { padding: 0 !important; }
#contact-modal .sib-form-block, #contact-modal .sib-input, #contact-modal .gs-sms-field, #contact-modal .sib-optin { padding: 0 !important; margin-bottom: 14px !important; }
#contact-modal .entry__label, #contact-modal .entry__label * { font-family: "Poppins", system-ui, sans-serif !important; font-size: .82rem !important; font-weight: 500 !important; color: var(--text) !important; }
#contact-modal .entry__field { background: var(--surface-2) !important; border: 1px solid var(--line-strong) !important; border-radius: 12px !important; box-shadow: none !important; margin: 7px 0 0 !important; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
#contact-modal .entry__field:hover { border-color: rgba(26, 26, 26, .24) !important; }
#contact-modal .entry__field:focus-within { background: var(--surface) !important; border-color: var(--accent) !important; box-shadow: 0 0 0 4px rgba(38, 139, 255, .14) !important; }
#contact-modal .entry__field .input, #contact-modal .entry__field input, #contact-modal .entry__field select, #contact-modal .entry__field textarea { font-family: "Poppins", system-ui, sans-serif !important; font-size: 16px !important; color: var(--text) !important; height: 48px; padding: 0 16px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none !important; width: 100%; }
#contact-modal .entry__field .input::placeholder { color: #a3a7ae !important; }
#contact-modal .entry__field textarea { height: auto; min-height: 92px; padding: 12px 16px !important; line-height: 1.5; resize: vertical; display: block; }
#contact-modal .entry__specification, #contact-modal .entry__choice, #contact-modal .entry__choice * { font-family: "Poppins", system-ui, sans-serif !important; font-size: .78rem !important; line-height: 1.5 !important; color: var(--text-3) !important; }
#contact-modal .entry__error { font-family: "Poppins", system-ui, sans-serif !important; font-size: .76rem !important; border-radius: 8px !important; }
#contact-modal .sib-form-block__button { width: 100% !important; min-height: 54px; margin: 10px 0 0 !important; padding: 17px 28px !important; border: 0 !important; border-radius: 14px !important; background: var(--accent) !important; color: #fff !important; font-family: "Poppins", system-ui, sans-serif !important; font-size: 1rem !important; font-weight: 500 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 1px 2px rgba(38, 139, 255, .3), 0 8px 20px -8px rgba(38, 139, 255, .6) !important; transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease); }
#contact-modal .sib-form-block__button:hover { background: var(--accent-hover) !important; transform: translateY(-2px); }
#contact-modal .sib-form-block__button svg { width: 20px !important; height: 20px !important; fill: currentColor; }
#contact-modal .sib-form-block__button .sib-hide-loader-icon, #contact-modal .input--hidden { display: none !important; }
#contact-modal .sib-form-message-panel { font-family: "Poppins", system-ui, sans-serif !important; font-size: .95rem !important; border-radius: 12px !important; max-width: none !important; margin: 0 0 16px !important; }



/* ---------- Brevo form inside the contact popup (overrides Brevo's inline styles) ---------- */
/* Brevo's own title and description repeat the popup heading, so they are hidden */
#contact-modal #sib-form > div:nth-of-type(1), #contact-modal #sib-form > div:nth-of-type(2) { display: none !important; }
#contact-modal .sib-form { text-align: left !important; }
#contact-modal .sib-form-block p { margin: 0; }
#contact-modal .entry__label { display: block; margin-bottom: 0 !important; }
#contact-modal .entry__label[data-required="*"]::after { content: " *" !important; color: var(--accent); }
/* Brevo's error slots are empty until a field fails; show them only when they hold a message */
#contact-modal .entry__error { display: none !important; }
#contact-modal .entry__error.gs-has-error { display: block !important; margin-top: 6px !important; padding: 6px 10px !important; font-size: .85rem !important; }
#contact-modal .gs-sms-input-wrapper { display: flex !important; align-items: flex-end; gap: 8px; }
#contact-modal .gs-sms-input { display: flex; gap: 8px; flex: 1; min-width: 0; }
#contact-modal .gs-sms-input .entry__field:first-child { flex: 0 0 112px; }
#contact-modal .gs-sms-input .entry__field:last-child { flex: 1; min-width: 0; }
#contact-modal .gs-sms-input select.input { appearance: none; -webkit-appearance: none; padding-right: 30px !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%234a4f57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat !important; cursor: pointer; }
#contact-modal .gs-sms-tooltip { position: relative !important; margin: 0 !important; flex-shrink: 0; align-self: flex-end; }
#contact-modal .gs-sms-tooltip__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text-3); font-weight: 600; cursor: help; }
#contact-modal .gs-sms-tooltip__box { display: none; position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 3; width: min(280px, 70vw); padding: 12px 14px; border-radius: 12px; background: var(--dark); color: #fff; font-size: .82rem; line-height: 1.5; box-shadow: var(--shadow-2); }
#contact-modal .gs-sms-tooltip:hover .gs-sms-tooltip__box, #contact-modal .gs-sms-tooltip:focus-within .gs-sms-tooltip__box { display: block; }
#contact-modal .entry__choice { padding: 0 !important; margin: 0 !important; text-indent: 0 !important; }
#contact-modal .entry__choice label { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; text-align: left; padding: 0 !important; margin: 0 !important; text-indent: 0 !important; }
#contact-modal .entry__choice label *, #contact-modal .entry__choice p { text-indent: 0 !important; margin: 0 !important; padding: 0 !important; }
#contact-modal .entry__choice .input_replaced { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; }
#contact-modal .entry__choice .checkbox { position: relative !important; left: auto !important; top: auto !important; display: block !important; flex: 0 0 22px; width: 22px !important; height: 22px !important; margin: 1px 0 0 !important; padding: 0 !important; border-radius: 7px !important; border: 1.5px solid var(--line-strong) !important; background: var(--surface) !important; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
#contact-modal .entry__choice .checkbox::before { display: none !important; }
#contact-modal .entry__choice .checkbox::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s var(--ease); }
#contact-modal .entry__choice .input_replaced:checked + .checkbox { background: var(--accent) !important; border-color: var(--accent) !important; }
#contact-modal .entry__choice .input_replaced:checked + .checkbox::after { transform: rotate(45deg) scale(1); }
#contact-modal .entry__choice .input_replaced:focus-visible + .checkbox { box-shadow: 0 0 0 4px rgba(38, 139, 255, .2); }
#contact-modal .entry__choice span, #contact-modal .entry__choice p { font-size: .9rem !important; line-height: 1.5 !important; color: var(--text-2) !important; }
#contact-modal .sib-form-message-panel { padding: 14px 16px !important; border-width: 1px !important; border-style: solid !important; }
#contact-modal .sib-form-message-panel__text { display: flex; align-items: flex-start; gap: 10px; }
#contact-modal .sib-notification__icon { flex-shrink: 0; margin-top: 2px; fill: currentColor; }
#contact-modal .after-success { display: none; margin-top: 4px; }
#contact-modal.is-sent .after-success { display: inline-flex; }
#contact-modal.is-sent #sib-container, #contact-modal.is-sent .modal-alt { display: none !important; }
@media (max-width: 400px) { #contact-modal .gs-sms-input .entry__field:first-child { flex-basis: 104px; } }

/* ==========================================================
   UPDATE: specialties, pricing value layout, headline, tap targets
   ========================================================== */
/* Specialties under the hero: one clean line that glides slowly (static list for reduced motion) */
.spec-marquee { position: relative; display: flex; overflow: hidden; flex: 1 1 100%; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.spec-track { display: flex; flex-shrink: 0; align-items: center; animation: spec-scroll 70s linear infinite; }
.spec-track li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-size: 1rem; font-weight: 500; color: var(--text-2); }
.spec-track li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.spec-marquee:hover .spec-track { animation-play-state: paused; }
@keyframes spec-scroll { to { transform: translateX(-100%); } }
@media (min-width: 960px) { .spec-marquee { flex-basis: 0; } }
@media (prefers-reduced-motion: reduce) {
  .spec-marquee { -webkit-mask-image: none; mask-image: none; }
  .spec-track { flex-wrap: wrap; flex-shrink: 1; row-gap: 8px; animation: none; }
  .spec-track[aria-hidden="true"] { display: none; }
}
/* Specialty chips (Who This Is For) */
.audience-tags.is-compact { gap: 8px; margin-top: 0; }
.audience-tags.is-compact li { font-size: .88rem; padding: 8px 14px; line-height: 1.3; }
.specialties .audience-tags.is-compact { justify-content: flex-start; }
.specialties .audience-tags.is-compact li { background: var(--surface); color: var(--text-2); }
.audience > .container > .audience-tags.is-compact { margin-top: 40px; }
.excluded { margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--line); max-width: 900px; }
.excluded h3 { font-size: 1.1rem; }
.excluded p { margin: 8px auto 18px; font-size: 1rem; color: var(--text-3); }
/* Specialties we work with + services we don't promote: same box style */
.served { margin: 44px auto 0; max-width: 900px; }
.served h3, .excluded h3 { font-size: 1.1rem; margin-bottom: 18px; }
.excluded h3 { margin-bottom: 0; }
.audience-tags.is-served, .audience-tags.is-excluded { display: grid; gap: 8px; margin: 0; text-align: left; }
.audience-tags.is-served { grid-template-columns: 1fr 1fr; }
.audience-tags.is-excluded { grid-template-columns: 1fr; }
@media (min-width: 560px) { .audience-tags.is-excluded { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .audience-tags.is-served, .audience-tags.is-excluded { grid-template-columns: repeat(3, 1fr); } }
.audience-tags.is-served li, .audience-tags.is-excluded li { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 11px 14px; font-size: .95rem; line-height: 1.4; }
.audience-tags.is-served li .i, .audience-tags.is-excluded li .i { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; stroke-width: 2.2; }
.audience-tags.is-served li { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.audience-tags.is-served .i { color: var(--accent); }
.audience-tags.is-excluded li { background: #fbf5f4; border: 1px solid #f2d4d1; color: var(--text-3); }
.audience-tags.is-excluded .i { color: #c8372f; }
@media (max-width: 599px) { .audience-tags.is-served li, .audience-tags.is-excluded li { font-size: 1rem; } }
.audience-tags.is-excluded li span { text-decoration: line-through; text-decoration-color: rgba(200, 55, 47, .55); text-decoration-thickness: 1.5px; }

/* "What We Do" headline: keep "Booked Appointments" together */
.accent-nowrap { color: var(--accent); white-space: nowrap; }
.what-we-do-title { font-size: clamp(1.4rem, 6.2vw, 3.1rem); }
#what-we-do .section-head { max-width: none; }
/* From 600px up: exactly two lines. Line 2 ("One Outcome: Booked Appointments") never breaks,
   and the font scales with the screen so that line always fits. */
@media (min-width: 600px) {
  .wwd-line { white-space: nowrap; }
  .what-we-do-title { font-size: min(3.1rem, calc((100vw - 2 * var(--gutter)) / 18.8)); }
}

/* Pricing card: head + service list + totals */
.pricing-card { grid-template-areas: "head" "totals" "list"; }
.pricing-head { grid-area: head; padding: clamp(26px, 5vw, 56px) clamp(20px, 5vw, 56px) 0; }
.pricing-head h2 { margin-bottom: 0; }
.pricing-list { grid-area: list; padding: 0 clamp(20px, 5vw, 56px) clamp(26px, 5vw, 56px); }
.pricing-totals { grid-area: totals; display: flex; flex-direction: column; gap: 14px; padding: 28px clamp(20px, 5vw, 56px) 28px; }
.included-toggle summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.included-toggle summary::-webkit-details-marker { display: none; }
.included-toggle summary .i { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.included-toggle[open] summary .i { transform: rotate(-90deg); }
.included-toggle[open] summary { margin-bottom: 18px; }
.total-block { padding: 18px 20px; border-radius: var(--r); }
.total-block.is-separate { background: #fdf1f0; border: 1px solid #f2c6c2; }
.total-block.is-ours { background: var(--accent-soft); border: 1px solid rgba(38, 139, 255, .28); }
.total-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: .95rem; font-weight: 600; color: var(--text); }
.total-block.is-separate .total-label { color: #c8372f; }
.total-price { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-weight: 700; line-height: 1; }
.total-amt { position: relative; font-size: clamp(2.3rem, 10.5vw, 4rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.total-per { font-size: clamp(.95rem, 3.4vw, 1.1rem); font-weight: 600; letter-spacing: -.01em; }
.total-block.is-separate .total-amt, .total-block.is-separate .total-per { color: #c8372f; }
.total-block.is-separate .total-amt::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #c8372f; transform-origin: left; }
.total-block.is-ours .total-amt { color: var(--accent); }
.total-block.is-ours .total-per { color: var(--text-2); }
.save-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: #e3f6ec; color: #0f7a45; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.save-pill .i { width: 18px; height: 18px; stroke-width: 2.4; }
.price-small { font-size: .9rem; color: var(--text-3); }
.pricing-totals .btn { margin-top: 6px; }
@media (min-width: 768px) { .included-toggle summary { display: none; } }
@media (min-width: 768px) {
  .pricing-card { grid-template-columns: 1.05fr .95fr; grid-template-areas: "head totals" "list totals"; }
  .pricing-head { padding-bottom: 28px; }
  .pricing-totals { background: var(--surface-2); border-left: 1px solid var(--line); justify-content: center; padding: 40px clamp(24px, 4vw, 56px); }
  .total-amt { font-size: clamp(2.4rem, 4.6vw, 4rem); }
}
/* Pricing animation (JS adds p-anim, then p-run, p-struck, p-ours, p-save in turn) */
.p-anim .included.is-costs li { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease-out); transition-delay: calc(var(--i) * 110ms); }
.p-anim.p-run .included.is-costs li { opacity: 1; transform: none; }
.p-anim .total-block.is-separate .total-amt::after { transform: scaleX(0); transition: transform .45s var(--ease-out); }
.p-anim.p-struck .total-block.is-separate .total-amt::after { transform: scaleX(1); }
.p-anim .total-block.is-ours { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .55s var(--ease-out); }
.p-anim.p-ours .total-block.is-ours { opacity: 1; transform: none; }
.p-anim .save-pill { opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.p-anim.p-save .save-pill { opacity: 1; transform: none; }

/* Footer email and tap targets */
.footer-email { font-size: 1rem; color: rgba(255, 255, 255, .92); min-height: 44px; overflow-wrap: anywhere; }
.footer-email .i { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 767px) {
  .footer-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
  .footer-nav ul { gap: 0 24px; }
  .footer-links { gap: 0; }
}
.dot { height: 44px; }
.auto-toggle { width: 44px; height: 44px; }
.modal-close { width: 44px; height: 44px; }
.soft-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Small phones: header fits, tap targets, readable text */
.brand { min-height: 44px; }
.btn-header { min-height: 44px; }
.faq-side .text-link { min-height: 44px; }
.dot { min-width: 44px; justify-content: center; }
@media (max-width: 599px) {
  .book-fallback, .trust-line, .case-summary, .price-small, .seal-sub, .faq-side p:not(.eyebrow), .footer-tagline, .footer-bottom p { font-size: 1rem; }
  .footer-nav a { min-width: 44px; }
  .carousel-left { display: contents; }
  .carousel-controls { flex-wrap: wrap; row-gap: 4px; }
  .dots { order: -1; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand { gap: 9px; }
  .brand-mark { height: 22px; width: calc(22px * 546 / 143); }
  .brand-divider { height: 17px; }
  .brand-sub { font-size: .9rem; }
  .btn-header { padding: 10px 12px; font-size: .82rem; }
  .header-actions { gap: 2px; }
}
@media (max-width: 359px) { .btn-header { display: none; } }

/* Free growth audit section (reuses service cards and How It Works steps) */
@media (min-width: 1024px) { .audit-grid { grid-template-columns: repeat(3, 1fr); } }
.audit-how { margin-top: clamp(56px, 7vw, 88px); margin-bottom: 36px; }
.audit-cta { margin-top: clamp(44px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.audit-cta .price-small { max-width: 560px; }
.problem-panel .btn { justify-self: start; }

/* Compact free growth audit section */
#audit { padding: clamp(64px, 8vw, 108px) 0; }
#audit .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
#audit .service-grid { gap: 12px; }
#audit .service-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; padding: clamp(18px, 2.2vw, 24px); }
#audit .service-top { grid-row: span 2; margin: 0; }
#audit .service-num { display: none; }
#audit .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
#audit .icon-tile .i { width: 20px; height: 20px; }
#audit .service-card h3 { font-size: 1.08rem; margin: 2px 0 4px; }
#audit .service-card p { font-size: .95rem; line-height: 1.55; }
#audit .audit-how { margin-top: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
#audit .step { padding-bottom: 28px; }
#audit .step:last-child { padding-bottom: 0; }
#audit .step h3 { font-size: 1.12rem; margin-bottom: 4px; }
#audit .step p:last-child { font-size: .95rem; }
#audit .audit-cta { margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { #audit .step { padding: 80px 0 0; } }
@media (max-width: 599px) { #audit .service-card p, #audit .step p:last-child { font-size: 1rem; } }
.problem-panel .emphasis + .btn { margin-top: 30px; }
.problem-panel { grid-template-columns: minmax(0, 1fr); }
.audience-tags.is-served { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 400px) {
  .problem-panel { padding: 32px 22px; }
  .leak { padding: 16px; gap: 12px; }
  .audience-tags.is-served li { padding: 10px 11px; gap: 8px; font-size: .95rem; overflow-wrap: anywhere; }
  .btn-lg { padding-left: 18px; padding-right: 18px; white-space: normal; text-align: center; }
  .compliance-grid { grid-template-columns: minmax(0, 1fr); }
  .seal { gap: 14px; padding: 18px; }
  .seal-ring { width: 48px; height: 48px; }
  .seal-ring .i { width: 22px; height: 22px; }
  .seal-title { font-size: 1.1rem; letter-spacing: 0; }
  .seal-check { width: 24px; height: 24px; }
}
.problem-panel .btn, .audit-cta .btn { max-width: 100%; white-space: normal; text-align: center; }
.results-cta { margin-top: 36px; }

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Hover lift on cards must not fight the reveal transition */
.js .card.reveal.is-settled { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease); }
.js .card.reveal.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   CONTENT PAGES (blog, legal pages, 404)
   Same tokens and components as the home page.
   ========================================================== */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 640px; margin-top: 20px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.breadcrumbs { margin-bottom: 26px; font-size: .85rem; color: var(--text-3); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent); }
.page-body { padding-bottom: var(--space); }

/* Long-form text */
.prose { max-width: 720px; font-size: 1.05rem; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; letter-spacing: -.025em; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.015em; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose .updated { font-size: .9rem; color: var(--text-3); }
.callout { padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: .98rem; }
.callout > * + * { margin-top: .6em; }
.callout-title { font-weight: 600; color: var(--text); }
.callout.is-note { background: var(--accent-soft); border-color: rgba(38, 139, 255, .18); box-shadow: none; }

/* Blog: post meta, author box, cards */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; font-size: .9rem; color: var(--text-3); }
.post-meta .tag { color: var(--accent); font-weight: 500; }
.tag { display: inline-flex; font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--accent); }
.author-box { display: flex; gap: 18px; align-items: flex-start; max-width: 720px; margin-top: 56px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.author-avatar { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; font-weight: 600; letter-spacing: -.02em; }
.author-name { font-weight: 600; color: var(--text); line-height: 1.4; }
.author-role { font-size: .88rem; color: var(--text-3); margin-bottom: 8px; }
.author-box p:last-child { font-size: .95rem; line-height: 1.65; color: var(--text-2); }
.post-cta { max-width: 720px; margin-top: 28px; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: var(--dark); color: rgba(255, 255, 255, .75); }
.post-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.post-cta p { margin-top: 10px; }
.post-cta .btn { margin-top: 22px; }
.post-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post-card h2, .post-card h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { font-size: .96rem; line-height: 1.65; color: var(--text-2); }
.post-card .post-meta { margin-top: auto; padding-top: 8px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cat-nav a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .9rem; color: var(--text-2); transition: border-color .2s var(--ease), color .2s var(--ease); }
.cat-nav a:hover, .cat-nav a[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
.cat-section + .cat-section { margin-top: clamp(48px, 6vw, 72px); }
.cat-section > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 22px; scroll-margin-top: calc(var(--header-h) + 16px); }
.related { margin-top: 64px; max-width: 720px; }
.related > h2 { font-size: 1.3rem; margin-bottom: 18px; }

/* Footer legal links + cookie settings button */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-legal button { font-size: .84rem; color: rgba(255, 255, 255, .72); transition: color .2s var(--ease); }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }

/* Cookie banner */
.cc-banner { position: fixed; z-index: 400; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 460px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); color: var(--text-2); border: 1px solid var(--line); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .35); font-size: .92rem; line-height: 1.6; }
.cc-banner[hidden], .cc-banner [hidden] { display: none !important; }
.cc-title { font-weight: 600; color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.cc-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc-actions .btn { padding: 12px 16px; font-size: .9rem; min-height: 44px; }
.cc-actions .cc-more { grid-column: 1 / -1; justify-self: center; font-size: .86rem; color: var(--text-3); text-decoration: underline; min-height: 32px; }
.cc-prefs { margin-top: 14px; display: grid; gap: 10px; }
.cc-prefs[hidden] { display: none; }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; }
.cc-opt input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.cc-opt strong { display: block; color: var(--text); font-weight: 500; }
.cc-opt span { font-size: .85rem; line-height: 1.5; }
@media (min-width: 768px) { .cc-banner { left: 24px; bottom: 24px; } }
.post-cta p { color: rgba(255, 255, 255, .72); }

/* Blog: images, byline, table of contents */
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.byline .post-meta { margin-top: 0; }
.author-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-figure { margin: 2em 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.post-figure figcaption { margin-top: 10px; font-size: .85rem; line-height: 1.5; color: var(--text-3); }
.post-figure.is-portrait { max-width: 220px; }
.prose table caption { caption-side: top; text-align: left; font-weight: 600; color: var(--text); padding-bottom: 10px; }
.prose th[scope="row"] { width: 34%; color: var(--text); font-weight: 600; }
.toc { padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.toc-title { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.prose .toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.prose .toc li + li { margin-top: .3em; }
.prose .toc a { color: var(--text-2); text-decoration: none; }
.prose .toc a:hover { color: var(--accent); text-decoration: underline; }
.prose [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.post-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #f3efe6; }
.post-thumb.is-portrait { object-fit: contain; }
