/* ============================================================
   230fix — the digital fix for dentists
   Shared design system
   Palette: deep navy ink + emerald/mint accent on light surfaces
   Type: Bricolage Grotesque (display) + Figtree (text/UI)
   ============================================================ */

:root {
  /* brand */
  --ink:        #0e3050;
  --ink-2:      #0a2440;
  --ink-3:      #06203a;
  --accent:     #12b58f;
  --accent-strong: #0d9c79;
  --accent-bright: #2ed3ab;
  --mint:       #4dd0b1;
  --mint-50:    #e9faf4;
  --mint-100:   #d3f2e8;

  /* surfaces + text */
  --surface:    #ffffff;
  --paper:      #f4f8f9;
  --paper-2:    #eef4f5;
  --line:       #e1ebee;
  --line-2:     #d3e0e4;
  --text:       #183a51;
  --muted:      #506b7a;
  --muted-2:    #76909c;

  /* radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(14,48,80,.05), 0 4px 14px rgba(14,48,80,.06);
  --sh-2: 0 10px 30px rgba(14,48,80,.10), 0 2px 8px rgba(14,48,80,.06);
  --sh-3: 0 24px 60px rgba(14,48,80,.16), 0 6px 18px rgba(14,48,80,.08);
  --sh-accent: 0 12px 26px rgba(18,181,143,.28);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 8vw, 108px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper { background: var(--paper); }
.section--mint { background: linear-gradient(180deg, #f2fbf7, #eafaf3); }
.section--ink {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(46,211,171,.16), transparent 55%),
    radial-gradient(90% 80% at 0% 120%, rgba(18,181,143,.14), transparent 60%),
    var(--ink-2);
  color: #dbe8ef;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--accent-bright); }
.section--ink .eyebrow::before { background: var(--accent-bright); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.section--ink .section-head p { color: #b8cdd9; }

.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  padding: 1.05rem 1.7rem;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-primary:hover { background: var(--accent-strong); color:#fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(18,181,143,.34); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color:#fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #eafaf3; color: var(--ink-2); transform: translateY(-2px); }
.btn-lg { padding: 1.2rem 2.2rem; font-size: 1.12rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--accent-strong);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px;
  font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; max-width: none; aspect-ratio: 464 / 240; object-fit: contain; display: block; flex-shrink: 0; }
@media (max-width: 480px) { .brand-logo { height: 46px; } }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.62rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: center;
  line-height: 1;
}
.brand-word .accent { color: var(--accent); }
.brand-clock { width: 1.05em; height: 1.05em; margin: 0 .02em; transform: translateY(1px); }
.brand-sub {
  display:block; font-family: var(--font-text); font-weight:600;
  font-size: .6rem; letter-spacing:.06em; color: var(--muted-2); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: .55rem .7rem; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { background: var(--mint-50); color: var(--ink); }
.nav-links a.active { color: var(--accent-strong); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent-strong); }
.nav-phone:hover { color: var(--accent-strong); }
.nav-phone-mobile { display: none; }
@media (max-width: 1360px) { .nav-cta .nav-phone span { display: none; } }
.nav-links a, .nav-cta .btn { white-space: nowrap; }
.nav-cta .btn { padding: .8rem 1.25rem; font-size: .96rem; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav-links a { padding: .5rem .5rem; font-size: .94rem; } .nav-links { gap: .1rem; } }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open { overflow: hidden; }
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0; height: calc(100vh - 74px); height: calc(100dvh - 74px);
    flex-direction: column; align-items: stretch; justify-content: space-evenly; gap: 0;
    background: #fff; padding: clamp(12px, 3vh, 32px) var(--gutter) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links li { display: block; }
  .nav-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: clamp(.55rem, 1.6vh, 1rem) .2rem; border-radius: 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: clamp(1.45rem, 3.4vh + .6vw, 2.1rem); line-height: 1.15;
  }
  .nav-links a::after { content: ""; width: 10px; height: 10px; border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg); flex: none; margin-right: .4rem; }
  .nav-links a.active { color: var(--accent-strong); }
  .nav-links .nav-phone-mobile a, .nav-links a.nav-cta-mobile { border-bottom: 0; font-family: var(--font-text); }
  .nav-links .nav-phone-mobile a { font-size: clamp(1.05rem, 2vh + .4vw, 1.3rem); font-weight: 600; color: var(--accent-strong); justify-content: flex-start; padding-top: 1.2rem; }
  .nav-links .nav-phone-mobile a::after, .nav-links a.nav-cta-mobile::after { content: none; }
  .nav-links a.nav-cta-mobile { justify-content: center; color: #fff; font-size: 1.12rem; padding: 1.1rem 1.4rem; border-radius: var(--pill); margin-top: .4rem; }
  .nav-cta .btn { display: none; }
  .nav-cta .btn.nav-cta-mobile { display: inline-flex; }
  .nav-cta .nav-phone { display: none; }
  .nav-phone-mobile { display: block; }
}
.nav-cta-mobile { display: none; }
@media (max-width: 480px) {
  .brand-word { font-size: 1.42rem; }
  .brand-sub { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 8%, rgba(46,211,171,.16), transparent 60%),
    radial-gradient(50% 55% at 6% 90%, rgba(18,181,143,.12), transparent 60%),
    linear-gradient(180deg, #f6fbfa 0%, #ffffff 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(14,48,80,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,48,80,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 30% 20%, #000 30%, transparent 75%);
}
.clock-motif {
  position: absolute; z-index: 0; pointer-events: none;
  color: var(--accent-bright); opacity: .16;
}
.hero .container { position: relative; z-index: 2; }
.page-hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  margin-bottom: 1.1rem;
}
.hero h1 .g { color: var(--ink); }
.hero h1 .a { color: var(--accent); }
.hero-copy .lead { margin-bottom: 1.8rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* hero visual — dentist photo + floating proof cards */
.hero-visual { position: relative; min-height: 420px; }
.hero-photo {
  width: 100%; position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-3); aspect-ratio: 4/4.4; background: var(--paper-2);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-3); padding: .8rem .95rem; border: 1px solid var(--line);
  display: flex; align-items: center; gap: .65rem; font-size: .86rem;
  max-width: 250px;
}
.float-card .fc-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: var(--mint-50); color: var(--accent-strong);
}
.float-card .fc-ic svg { width: 20px; height: 20px; }
.float-card strong { display:block; color: var(--ink); font-family: var(--font-display); font-size: .92rem; }
.float-card span { color: var(--muted); }
.float-search { top: 6%; left: -6%; }
.float-call { bottom: 20%; left: -8%; }
.float-book { bottom: 3%; right: -4%; }
.float-book .fc-ic { background: #e7f7ef; color: #0d9c79; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #16c079; display:inline-block; margin-right:5px; }
@media (max-width: 1080px) {
  .float-search { left: 0; }
  .float-call { left: -2%; }
  .float-book { right: 0; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 460px; margin-inline: auto; min-height: 0; }
  .float-card { font-size: .8rem; }
  .float-search { left: -4%; }
  .float-call { left: -2%; bottom: 22%; }
  .float-book { right: -2%; }
}
@media (max-width: 460px) {
  .float-call { display: none; }
}

/* ---------- "what we manage" panel (hero) ---------- */
.manage {
  margin-top: clamp(32px, 4.5vw, 52px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); position: relative; z-index: 2;
}
.manage-col { padding: 1.3rem 1.4rem 1.2rem; }
.manage-col + .manage-col { border-left: 1px solid var(--line); }
.manage-h {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  color: var(--ink); margin: 0 0 .7rem; padding-left: .55rem;
}
.manage-h b { color: var(--accent-strong); font-weight: 800; }
.manage ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.manage a {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .55rem; border-radius: 12px;
  color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.25;
  transition: background .15s ease, color .15s ease;
}
.manage a:hover, .manage a:focus-visible { background: var(--mint-50); color: var(--accent-strong); }
.manage .mi {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--mint-50); color: var(--accent-strong);
  transition: background .15s ease, color .15s ease;
}
.manage a:hover .mi, .manage a:focus-visible .mi { background: var(--accent); color: #fff; }
.manage .mi svg { width: 21px; height: 21px; }
@media (max-width: 860px) {
  .manage { grid-template-columns: 1fr; }
  .manage-col + .manage-col { border-left: 0; border-top: 1px solid var(--line); }
  .manage ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ---------- journey band ---------- */
.journey {
  background: linear-gradient(180deg, #eefaf4, #e4f6ee);
  border: 1px solid var(--mint-100); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
  position: relative;
}
.journey-step { text-align: left; }
.journey-step .js-top { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.journey-step .js-ic {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent);
  color: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--sh-accent);
}
.journey-step .js-ic svg { width: 24px; height: 24px; }
.journey-step h4 { font-size: 1.02rem; margin: 0; font-weight: 700; letter-spacing: .01em; }
.journey-step p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.45; }
@media (max-width: 860px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .journey { grid-template-columns: 1fr; } }

/* ---------- pillars / feature cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem; box-shadow: var(--sh-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--mint-100); }
.card-ic {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: var(--mint-50); color: var(--accent-strong);
}
.card-ic svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.28rem; margin-bottom: .5rem; font-weight: 700; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card .pillar-tag { font-family: var(--font-display); font-weight: 800; color: var(--ink); }

.mini-list { margin-top: 1rem; display: grid; gap: .1rem; }
.mini-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .55rem .2rem; border-top: 1px solid var(--line);
  font-weight: 500; color: var(--text); font-size: .95rem;
}
.mini-list li .mi-ic { width: 24px; height: 24px; color: var(--accent-strong); flex:none; }
.mini-list li .mi-left { display:flex; align-items:center; gap:.6rem; }
.mini-list li .chev { color: var(--muted-2); width: 16px; }

/* checklist */
.check-list { display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.section--ink .check-list li { color: #cfe0e8; }
.section--ink .check-list li svg { color: var(--accent-bright); }

/* ---------- stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,22px); }
@media (max-width: 820px){ .stat-grid{ grid-template-columns: repeat(2,1fr);} }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.4rem; box-shadow: var(--sh-1);
}
.stat .stat-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--mint-50); color: var(--accent-strong); display:grid; place-items:center; margin-bottom:.9rem; }
.stat .stat-ic svg { width: 25px; height: 25px; }
.stat .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--ink); line-height: 1; }
.stat .stat-label { font-weight: 700; color: var(--ink); margin-top: .5rem; }
.stat .stat-sub { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.section--ink .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--ink .stat .stat-num, .section--ink .stat .stat-label { color: #fff; }
.section--ink .stat .stat-sub { color: #a8c1cf; }
.section--ink .stat .stat-ic { background: rgba(46,211,171,.16); color: var(--accent-bright); }

/* results big cards */
.result-cards { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,2vw,22px); }
@media (max-width: 820px){ .result-cards { grid-template-columns:1fr; } }
.result-card {
  border-radius: var(--r-lg); padding: 1.7rem; color:#fff; position:relative; overflow:hidden;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  box-shadow: var(--sh-2);
}
.result-card:nth-child(2){ background: linear-gradient(160deg,#0f7a63,#0d9c79); }
.result-card:nth-child(3){ background: linear-gradient(160deg,#12b58f,#0d9c79); }
.result-card .rc-num { font-family:var(--font-display); font-weight:800; font-size: clamp(2.2rem,4vw,3rem); line-height:1; }
.result-card h3 { color:#fff; font-size:1.15rem; margin:.4rem 0 1rem; }
.result-card .rc-meta { font-size:.85rem; color: rgba(255,255,255,.82); border-top:1px solid rgba(255,255,255,.18); padding-top:.8rem; margin-top:.5rem; }
.rc-bars { display:flex; align-items:flex-end; gap:5px; height:52px; margin:.4rem 0; }
.rc-bars i { flex:1; background: rgba(255,255,255,.5); border-radius: 3px 3px 0 0; display:block; }
.rc-bars i:nth-child(1){height:28%}.rc-bars i:nth-child(2){height:40%}.rc-bars i:nth-child(3){height:36%}.rc-bars i:nth-child(4){height:58%}.rc-bars i:nth-child(5){height:72%}.rc-bars i:nth-child(6){height:88%}.rc-bars i:nth-child(7){height:100%}

/* ---------- testimonials ---------- */
.quote-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2vw,24px); }
@media (max-width:760px){ .quote-grid{ grid-template-columns:1fr; } }
.quote {
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem; box-shadow: var(--sh-1); position: relative;
}
.quote .qmark { font-family:var(--font-display); font-size:2.6rem; color:var(--mint); line-height:1; height:.6em; }
.quote p { color: var(--text); font-size:1.04rem; }
.quote .who { display:flex; align-items:center; gap:.8rem; margin-top:1rem; }
.quote .who .av { width:44px; height:44px; border-radius:50%; background:var(--mint-50); color:var(--accent-strong); display:grid; place-items:center; font-family:var(--font-display); font-weight:800; flex:none; }
.quote .who strong { display:block; color:var(--ink); }
.quote .who span { color: var(--muted); font-size:.88rem; }
.stars { color:#f5a623; letter-spacing:2px; font-size:.9rem; }

/* ---------- split / feature media ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,60px); align-items:center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; } .split.reverse .split-media{ order:0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--sh-2); width:100%; aspect-ratio: 5/4; object-fit: cover; border:5px solid #fff; }
.media-badge {
  position:absolute; background:#fff; border-radius: var(--r); box-shadow: var(--sh-3);
  padding:.85rem 1rem; border:1px solid var(--line); display:flex; gap:.65rem; align-items:center; max-width: 250px;
}
.media-badge .mb-ic{ width:40px;height:40px;border-radius:12px;background:var(--mint-50);color:var(--accent-strong);display:grid;place-items:center;flex:none;}
.media-badge .mb-ic svg{width:21px;height:21px}
.media-badge strong{display:block;color:var(--ink);font-family:var(--font-display);font-size:.95rem}
.media-badge span{font-size:.82rem;color:var(--muted)}

/* phone mock (AI reception) */
.phone-mock {
  width: 260px; max-width: 100%; margin-inline:auto; background: var(--ink-2); border-radius: 34px;
  padding: 14px; box-shadow: var(--sh-3); border: 1px solid rgba(255,255,255,.08);
}
.phone-screen { background: linear-gradient(180deg,#0d2740,#0a2036); border-radius: 24px; padding: 22px 16px; color:#dbe8ef; min-height: 420px; }
.phone-caller { text-align:center; margin-bottom: 1rem; }
.phone-caller .pc-av { width:64px;height:64px;border-radius:50%;background:var(--accent);margin:0 auto .5rem;display:grid;place-items:center;color:#fff;box-shadow:var(--sh-accent); }
.phone-caller .pc-av svg{width:30px;height:30px}
.phone-caller strong{color:#fff;font-family:var(--font-display);font-size:1.05rem;display:block}
.phone-caller span{font-size:.82rem;color:#8fb0c1}
.bubble { border-radius: 14px; padding:.6rem .8rem; margin:.5rem 0; font-size:.84rem; max-width: 85%; line-height:1.4; }
.bubble.them { background: rgba(255,255,255,.1); color:#e6eff4; }
.bubble.ai { background: var(--accent); color:#fff; margin-left:auto; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow:hidden;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(46,211,171,.22), transparent 55%),
    linear-gradient(120deg, var(--ink-3), var(--ink-2));
  border-radius: var(--r-xl); padding: clamp(30px,5vw,58px);
  color:#fff; display:grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items:center;
}
.cta-band.has-mascot { grid-template-columns: auto 1.4fr auto; }
.cta-mascot { width: 128px; height: 128px; display: block; margin: -6px 0 -14px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
@media (max-width: 980px) { .cta-mascot { width: 96px; height: 96px; } }
.cta-band h2 { color:#fff; font-size: clamp(1.7rem,3.4vw,2.5rem); margin-bottom:.5rem; }
.cta-band .cta-tags { color:#bfe9dc; font-weight:600; font-size:.98rem; margin-bottom:.4rem; }
.cta-band p { color:#a9c6d4; margin:0; }
.cta-band .cta-side { text-align:right; position:relative; z-index:2; }
.cta-band .cta-note { color:#8fb0c1; font-size:.82rem; margin-top:.7rem; }
@media (max-width: 780px){ .cta-band, .cta-band.has-mascot{ grid-template-columns:1fr; } .cta-band .cta-side{ text-align:left; } .cta-mascot{ width:84px; height:84px; margin:0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline:auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  display:flex; justify-content:space-between; gap:1rem; align-items:center;
  padding: 1.15rem .2rem; font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--ink);
}
.faq-q .fq-plus { width:22px;height:22px;flex:none;position:relative;transition:transform .2s ease; color: var(--accent-strong); }
.faq-item[open] .fq-plus, .faq-q[aria-expanded="true"] .fq-plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; color: var(--muted); max-width: 68ch; padding: 0 .2rem;
  transition: grid-template-rows .25s ease, visibility .25s; }
.faq-a > .faq-a-in { min-height: 0; overflow: hidden; }
.faq-a p { margin: 0 0 1.2rem; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ---------- article cards ---------- */
.article-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r); overflow:hidden;
  box-shadow: var(--sh-1); display:flex; flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover{ transform: translateY(-4px); box-shadow: var(--sh-2); }
.article-card .ac-img { aspect-ratio: 16/10; overflow:hidden; background:var(--paper-2); }
.article-card .ac-img img { width:100%;height:100%;object-fit:cover; transition: transform .4s ease; }
.article-card:hover .ac-img img{ transform: scale(1.04); }
.article-card .ac-body { padding: 1.3rem 1.3rem 1.5rem; display:flex; flex-direction:column; flex:1; }
.tag {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--accent-strong); background: var(--mint-50); padding:.28rem .6rem; border-radius: var(--pill); margin-bottom:.7rem; align-self:flex-start;
}
.article-card h3 { font-size:1.15rem; margin-bottom:.5rem; }
.article-card p { color:var(--muted); font-size:.94rem; flex:1; }

/* filter pills */
.pill-row { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom: 2rem; }
.pill-btn {
  border:1px solid var(--line-2); background:#fff; color:var(--ink);
  padding:.5rem 1rem; border-radius: var(--pill); font-weight:600; font-size:.9rem; cursor:pointer;
  transition: all .15s ease;
}
.pill-btn:hover{ border-color: var(--accent); }
.pill-btn.active { background: var(--accent); color:#fff; border-color: var(--accent); }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; overflow:hidden; padding-block: clamp(48px,7vw,84px); }
.page-hero .hero-bg { background:
    radial-gradient(60% 70% at 88% 0%, rgba(46,211,171,.14), transparent 60%),
    linear-gradient(180deg, #f6fbfa, #ffffff); }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.6rem); font-weight:800; letter-spacing:-.025em; }
.page-hero h1 .a { color: var(--accent); }
.page-hero .lead { max-width: 40em; }
.breadcrumb { font-size:.85rem; color:var(--muted-2); margin-bottom:1rem; display:flex; gap:.4rem; align-items:center; position:relative; z-index:2; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--line-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color:#b8cdd9; padding-top: clamp(48px,6vw,72px); }
.footer-grid {
  display:grid; grid-template-columns: 1.55fr 1fr 1.1fr .9fr .9fr; gap: clamp(20px,2.4vw,36px);
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 1100px){ .footer-grid{ grid-template-columns: 1fr 1fr 1fr; } .footer-brand{ grid-column: 1 / -1; } }
@media (max-width: 720px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .brand-word { color:#fff; }
.footer-brand .brand-word .accent{ color: var(--accent-bright); }
.footer-tag { color:#8fb0c1; margin:.8rem 0 1.1rem; max-width: 34ch; }
.footer-col h4 { color:#fff; font-size:1rem; margin-bottom:1rem; font-family:var(--font-text); font-weight:700; letter-spacing:.02em; }
.footer-col ul { display:grid; gap:.55rem; }
.footer-col a { color:#a9c6d4; font-size:.94rem; }
.footer-col a:hover{ color:#fff; }
.footer-contact li { display:flex; gap:.55rem; align-items:flex-start; margin-bottom:.55rem; color:#a9c6d4; font-size:.94rem; }
.footer-contact svg { width:18px;height:18px;flex:none;color:var(--accent-bright);margin-top:2px; }
.social-row { display:flex; gap:.5rem; margin-top:1rem; }
.social-row a { width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.07);display:grid;place-items:center;color:#cfe0e8; }
.social-row a:hover{ background: var(--accent); color:#fff; }
.social-row svg{ width:18px;height:18px; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; padding-block:1.5rem; color:#7ea0b1; font-size:.85rem; }
.footer-bottom a { color:#a9c6d4; }
.footer-compliance { color:#6f92a4; font-size:.8rem; max-width: 70ch; padding-bottom:1.5rem; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset:0; z-index: 200; display:none;
  align-items: flex-start; justify-content:center;
  background: rgba(8,26,44,.55); backdrop-filter: blur(4px);
  padding: clamp(12px,4vw,48px); overflow-y:auto;
}
.modal-overlay.open { display:flex; }
.modal {
  background:#fff; border-radius: var(--r-lg); width: 100%; max-width: 520px;
  box-shadow: var(--sh-3); overflow:hidden; position:relative;
  animation: modalIn .24s ease;
}
@media (prefers-reduced-motion: reduce){ .modal{ animation:none; } }
@keyframes modalIn { from { opacity:0; transform: translateY(14px) scale(.98);} to{opacity:1;transform:none;} }
.modal-head {
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(46,211,171,.22), transparent 55%),
    linear-gradient(120deg, var(--ink-3), var(--ink-2));
  color:#fff; padding: 1.5rem 1.6rem; position:relative;
}
.modal-head h2 { color:#fff; font-size:1.5rem; margin-bottom:.3rem; }
.modal-head p { color:#b7d5e2; margin:0; font-size:.94rem; }
.modal-close {
  position:absolute; top: .9rem; right: .9rem; width:38px;height:38px;border-radius:10px;
  background: rgba(255,255,255,.12); border:0; color:#fff; cursor:pointer; display:grid; place-items:center;
}
.modal-close:hover{ background: rgba(255,255,255,.22); }
.modal-close svg{ width:20px;height:20px; }
.modal-body { padding: 1.5rem 1.6rem 1.7rem; }

/* ---------- forms ---------- */
.form-row { margin-bottom: 1.05rem; }
.form-row.two { display:grid; grid-template-columns: 130px 1fr; gap:.7rem; }
@media (max-width: 420px){ .form-row.two{ grid-template-columns: 108px 1fr; } }
.form-label { display:block; font-weight:600; color:var(--ink); font-size:.9rem; margin-bottom:.35rem; }
.form-label .opt { color: var(--muted-2); font-weight:500; }
.input, .select, .textarea {
  width:100%; font-family: var(--font-text); font-size:1rem; color: var(--text);
  background:#fff; border:1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding:.8rem .9rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea{ resize: vertical; min-height: 92px; }
.input:focus, .select:focus, .textarea:focus {
  outline:none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18,181,143,.14);
}
.field-error { color:#d64545; font-size:.82rem; margin-top:.35rem; display:none; }
.form-row.invalid .input, .form-row.invalid .select, .form-row.invalid .textarea { border-color:#e07a7a; }
.form-row.invalid .field-error { display:block; }
.form-hint { color: var(--muted); font-size:.82rem; margin-top:.4rem; }
.form-note { color: var(--muted-2); font-size:.8rem; margin-top:.9rem; text-align:center; }
.form-banner {
  display:none; background:#fdecec; border:1px solid #f5c6c6; color:#a33a3a;
  padding:.75rem .9rem; border-radius: var(--r-sm); font-size:.9rem; margin-bottom:1rem;
}
.form-banner.show{ display:block; }
.btn .spinner { width:1.05em;height:1.05em;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite; display:none; }
.btn.loading .spinner{ display:inline-block; }
.btn.loading .btn-label{ opacity:.85; }
@keyframes spin{ to{ transform: rotate(360deg);} }
@media (prefers-reduced-motion: reduce){ .btn .spinner{ animation: none; } }

/* success view */
.form-success { display:none; text-align:center; padding: 1rem 0 .5rem; }
.form-success.show{ display:block; }
.success-ic { width:70px;height:70px;border-radius:50%;background:#e7f7ef;color:#0d9c79;display:grid;place-items:center;margin:0 auto 1rem; }
.success-ic svg{ width:36px;height:36px; }
.form-success h3{ font-size:1.4rem; }
.form-success p{ color:var(--muted); max-width: 34ch; margin-inline:auto; }

/* contact page form card */
.form-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: clamp(22px,3vw,36px);
}

/* ---------- reveal animation ---------- */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1 !important; transform:none !important; transition:none; }
}

/* misc helpers */
.text-center{ text-align:center; }
.mt-2{ margin-top: 1.4rem; } .mt-3{ margin-top: 2rem; }
.badge-soft {
  display:inline-flex; align-items:center; gap:.4rem; background: var(--mint-50);
  color: var(--accent-strong); font-weight:600; font-size:.85rem; padding:.4rem .8rem; border-radius: var(--pill);
}
.badge-soft svg{ width:16px;height:16px; }
.divider-note { text-align:center; color:var(--muted-2); font-size:.85rem; margin-top:2rem; }

/* ============================================================
   Expansion components (v2)
   ============================================================ */

/* --- footer logo (white via filter) --- */
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); display:block; margin-bottom: .2rem; }

/* --- high-contrast card variants --- */
.card--accent {
  background: linear-gradient(160deg, var(--accent), var(--accent-strong));
  border-color: transparent; color: #eafaf4;
}
.card--accent h3 { color: #fff; }
.card--accent p { color: #d6f6ec; }
.card--accent .card-ic { background: rgba(255,255,255,.18); color: #fff; }
.card--ink2 {
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  border-color: transparent; color: #cfe0e8;
}
.card--ink2 h3 { color:#fff; }
.card--ink2 p { color:#b8cdd9; }
.card--ink2 .card-ic { background: rgba(46,211,171,.18); color: var(--accent-bright); }
.card--outline { background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--mint-100); }

/* --- section variants --- */
.section--accent {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(140deg, #0a7a60, #065a46);
  color: #f0fbf7;
}
.section--accent h1,.section--accent h2,.section--accent h3 { color:#fff; }
.section--accent .lead, .section--accent p { color: #e3f7ef; }
.section--accent .check-list li { color: #fff; }
.section--accent .check-list li svg { color: #7ff0d0; }
.section--accent .loc-card { border-color: transparent; box-shadow: 0 10px 24px rgba(0,40,30,.25); }
.section--accent .loc-card h3, .section--accent .card:not(.card--accent):not(.card--ink2) h3 { color: var(--ink); }
.section--accent .loc-card p { color: var(--muted); }
.section--accent .loc-card:hover { transform: translateY(-3px); }
.section--accent .eyebrow { color:#d6f6ec; }
.section--accent .eyebrow::before { background:#d6f6ec; }
.section--accent .section-head p { color:#d6f6ec; }

/* --- circular testimonial photo --- */
.quote .who .av { overflow: hidden; position: relative; }
.quote .who .av img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; border-radius:50%; }
.quote .who .av.lg { width: 58px; height: 58px; box-shadow: 0 0 0 3px var(--mint-100); }

/* --- generic figure / image frame --- */
.img-frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
  border: 5px solid #fff; background: var(--paper-2);
}
.img-frame img { width:100%; display:block; object-fit: cover; }
figure { margin: 0; }
.figcap { font-size: .82rem; color: var(--muted-2); text-align:center; margin-top:.6rem; }

/* ============================================================
   UI mockups (crisp, on-brand "screenshots" — replaceable with real ones)
   ============================================================ */
.ui-mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 1.1rem 1.2rem; position: relative; overflow: hidden;
}
.ui-mock .ui-top { display:flex; align-items:center; gap:.5rem; margin-bottom:.9rem; }
.ui-dot { width:10px;height:10px;border-radius:50%;background:#e2e8ea; }
.ui-dot.r{background:#ff5f57}.ui-dot.y{background:#febc2e}.ui-dot.g{background:#28c840}
.ui-url { flex:1; background: var(--paper); border:1px solid var(--line); border-radius:8px; padding:.35rem .7rem; font-size:.8rem; color:var(--muted); }

/* Google-style search bar + result */
.ui-search-bar { display:flex; align-items:center; gap:.6rem; border:1px solid var(--line-2); border-radius: var(--pill); padding:.6rem 1rem; box-shadow: var(--sh-1); }
.ui-search-bar svg{ width:18px;height:18px;color:var(--muted-2); }
.ui-search-bar input, .ui-search-bar .q { flex:1; font-weight:600; color:var(--ink); }
.ui-result { display:flex; gap:.8rem; padding:.9rem 0; border-bottom:1px solid var(--line); }
.ui-result:last-child{ border-bottom:0; }
.ui-result .ui-pin { width:34px;height:34px;border-radius:9px;background:var(--mint-50);color:var(--accent-strong);display:grid;place-items:center;flex:none; }
.ui-result .ui-pin svg{width:18px;height:18px}
.ui-result .rank { font-family:var(--font-display); font-weight:800; color:var(--accent-strong); width:26px; flex:none; font-size:1.1rem; }
.ui-result strong{ display:block; color:var(--ink); font-size:.98rem; }
.ui-result span{ font-size:.82rem; color:var(--muted); }
.ui-stars-sm{ color:#f5a623; font-size:.8rem; letter-spacing:1px; }
.ui-badge-you { background: var(--accent); color:#fff; font-size:.68rem; font-weight:700; padding:.15rem .5rem; border-radius:var(--pill); margin-left:.4rem; }

/* Google Business Profile card */
.ui-gbp .ui-gbp-hero { height:120px; border-radius:12px; background: linear-gradient(120deg,#cfeee4,#a9e3d1); margin-bottom:.9rem; position:relative; overflow:hidden; }
.ui-gbp .ui-gbp-hero::after{ content:""; position:absolute; inset:0; background:
   radial-gradient(circle at 30% 40%, rgba(255,255,255,.5), transparent 40%); }
.ui-gbp h4 { margin:0 0 .2rem; font-size:1.1rem; }
.ui-gbp .ui-cat { color:var(--muted); font-size:.85rem; }
.ui-gbp .ui-rowbtns { display:flex; gap:.5rem; margin-top:.8rem; }
.ui-gbp .ui-rowbtns span { flex:1; text-align:center; border:1px solid var(--line-2); border-radius:8px; padding:.45rem; font-size:.78rem; font-weight:600; color:var(--accent-strong); }

/* map pack / maps ranking */
.ui-map { display:grid; grid-template-columns: 1fr 130px; gap:1rem; align-items:stretch; }
.ui-map .ui-mini-map { border-radius:12px; background:
   linear-gradient(0deg, rgba(18,181,143,.10), rgba(18,181,143,.10)),
   repeating-linear-gradient(0deg,#eef4f5 0 14px,#e6eef0 14px 15px),
   repeating-linear-gradient(90deg,#eef4f5 0 14px,#e6eef0 14px 15px);
   position:relative; min-height:150px; }
.ui-map .ui-mini-map .mm-pin{ position:absolute; color:var(--accent-strong); }
.ui-map .ui-mini-map .mm-pin svg{ width:26px;height:26px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.ui-map .ui-mini-map .mm-pin.you{ color:#e0483d; }

/* social post card */
.ui-social { max-width: 340px; }
.ui-social .sp-head{ display:flex; align-items:center; gap:.6rem; margin-bottom:.7rem; }
.ui-social .sp-av{ width:40px;height:40px;border-radius:50%;background:var(--mint-50);color:var(--accent-strong);display:grid;place-items:center;font-family:var(--font-display);font-weight:800;flex:none; }
.ui-social .sp-name strong{ display:block;color:var(--ink);font-size:.92rem; }
.ui-social .sp-name span{ font-size:.78rem;color:var(--muted-2); }
.ui-social .sp-img{ height:170px;border-radius:12px;background:linear-gradient(135deg,#d3f2e8,#bfe9f5);margin-bottom:.7rem;position:relative;overflow:hidden;display:grid;place-items:center;color:var(--accent-strong); }
.ui-social .sp-img svg{ width:52px;height:52px;opacity:.6; }
.ui-social .sp-actions{ display:flex;gap:1rem;color:var(--muted-2); }
.ui-social .sp-actions svg{ width:20px;height:20px; }
.ui-social .sp-cap{ font-size:.85rem;color:var(--text);margin-top:.5rem; }

/* chat mock (reused for AI chat page) */
.chat-mock { max-width: 380px; margin-inline:auto; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow:hidden; }
.chat-mock .cm-head{ background: var(--ink-2); color:#fff; padding:.9rem 1.1rem; display:flex; align-items:center; gap:.6rem; }
.chat-mock .cm-head .cm-av{ width:34px;height:34px;border-radius:50%;background:var(--accent);display:grid;place-items:center; }
.chat-mock .cm-head .cm-av svg{ width:18px;height:18px;color:#fff; }
.chat-mock .cm-head strong{ font-size:.95rem; } .chat-mock .cm-head span{ font-size:.75rem;color:#9fc; opacity:.8; display:block; }
.chat-mock .cm-body{ padding:1.1rem; background: var(--paper); display:grid; gap:.6rem; }
.chat-mock .cm-b{ padding:.6rem .85rem; border-radius:14px; font-size:.86rem; max-width:80%; line-height:1.4; }
.chat-mock .cm-b.them{ background:#fff; border:1px solid var(--line); color:var(--text); }
.chat-mock .cm-b.ai{ background: var(--accent); color:#fff; margin-left:auto; }
.chat-mock .cm-input{ display:flex; gap:.5rem; padding:.8rem 1.1rem; border-top:1px solid var(--line); background:#fff; }
.chat-mock .cm-input .ci-field{ flex:1;background:var(--paper);border:1px solid var(--line);border-radius:var(--pill);padding:.5rem .9rem;color:var(--muted-2);font-size:.85rem; }
.chat-mock .cm-input .ci-send{ width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;flex:none; }
.chat-mock .cm-input .ci-send svg{ width:18px;height:18px; }

/* locations grid */
.loc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem; }
.loc-card{ display:block; background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.1rem 1.2rem;box-shadow:var(--sh-1);transition:transform .16s,box-shadow .16s,border-color .16s; }
.loc-card:hover{ transform:translateY(-3px); box-shadow:var(--sh-2); border-color:var(--mint-100); }
.loc-card .lc-country{ font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-strong); }
.loc-card h3{ font-size:1.15rem;margin:.25rem 0 .1rem; display:flex;align-items:center;gap:.4rem; }
.loc-card p{ font-size:.85rem;color:var(--muted);margin:0; }

/* prose (blog / long content) */
.prose{ max-width: 760px; margin-inline:auto; }
.prose h2{ font-size:clamp(1.5rem,3vw,2rem); margin-top:2.4rem; }
.prose h3{ font-size:1.3rem; margin-top:1.8rem; }
.prose p{ font-size:1.06rem; color:var(--text); line-height:1.75; }
.prose ul.bul{ margin:1rem 0; display:grid; gap:.6rem; }
.prose ul.bul li{ position:relative; padding-left:1.6rem; color:var(--text); line-height:1.6; }
.prose ul.bul li::before{ content:""; position:absolute; left:0; top:.55em; width:8px;height:8px;border-radius:2px;background:var(--accent); }
.prose blockquote{ border-left:4px solid var(--accent); margin:1.6rem 0; padding:.4rem 0 .4rem 1.2rem; color:var(--ink); font-family:var(--font-display); font-size:1.25rem; }
.prose .callout{ background:var(--mint-50); border:1px solid var(--mint-100); border-radius:var(--r); padding:1.2rem 1.4rem; margin:1.8rem 0; }
.prose .callout p{ margin:0; }
.post-meta{ display:flex; gap:1rem; align-items:center; color:var(--muted-2); font-size:.88rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.toc{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:1.1rem 1.3rem; margin:1.5rem 0; }
.toc strong{ display:block; margin-bottom:.5rem; color:var(--ink); }
.toc a{ display:block; padding:.2rem 0; color:var(--muted); font-size:.94rem; }
.toc a:hover{ color:var(--accent-strong); }

/* ============================================================
   v3: brand lockup, consent, compliance & legal pages
   ============================================================ */
.footer-lockup { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .2rem; }
.footer-lockup .fl-mascot { width: 72px; height: 72px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }
.footer-lockup .fl-word { height: 56px; width: auto; }

.btn-sm { padding: .62rem 1.1rem; font-size: .92rem; }

/* form privacy line */
.form-consent { font-size: .8rem; color: var(--muted-2); margin: .8rem 0 0; line-height: 1.5; }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }

/* cookie banner */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  max-width: 420px; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--sh-3); padding: 1.1rem 1.2rem;
}
.consent[hidden] { display: none; }
.consent p { font-size: .9rem; color: var(--text); margin: 0 0 .9rem; line-height: 1.5; }
.consent .consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 520px) { .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* footer legal row */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 1.1rem 0 0; font-size: .86rem; }
.footer-legal a, .footer-legal .linklike { color: #b8cdd9; }
.footer-legal a:hover, .footer-legal .linklike:hover { color: #fff; }
.footer-legal .fl-label { color: #6f93a6; font-weight: 600; }

/* jurisdiction switcher */
.juris { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); position: relative; z-index: 2; }
.juris a { padding: .5rem 1rem; border-radius: var(--pill); font-weight: 600; font-size: .92rem; color: var(--ink); }
.juris a:hover { background: var(--mint-50); color: var(--accent-strong); }
.juris a[aria-current="page"] { background: var(--ink); color: #fff; }
.reviewed { font-size: .88rem; color: var(--muted-2); margin-top: .8rem; }

/* regulator list */
.reg-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: .9rem; }
.reg { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.25rem; }
.reg h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.reg p { font-size: .93rem; color: var(--muted); margin: 0; }
.reg .reg-scope { display: block; font-size: .8rem; font-weight: 700; color: var(--accent-strong); margin-bottom: .3rem; }

/* numbered statutory rules (a genuine list in the law) */
.rules { counter-reset: rule; display: grid; gap: .9rem; max-width: 900px; }
.rule { counter-increment: rule; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.rule::before { content: counter(rule); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--ink); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.rule h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.rule p { margin: 0; color: var(--muted); font-size: .96rem; }
.rule p + p { margin-top: .4rem; }
.rule .in-practice { color: var(--text); }
.rule .in-practice strong { color: var(--accent-strong); }

/* service-by-service matrix */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.matrix thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.matrix tbody tr:last-child td, .matrix tbody tr:last-child th { border-bottom: 0; }
.matrix tbody th { width: 22%; font-family: var(--font-display); color: var(--ink); font-weight: 700; }
.matrix tbody th a { color: var(--ink); }
.matrix tbody th a:hover { color: var(--accent-strong); }
.matrix td { color: var(--text); line-height: 1.55; }
.matrix td:first-of-type { color: var(--muted); width: 32%; }
.matrix tbody tr:nth-child(even) { background: #fafcfc; }

.disclaimer { max-width: 900px; margin-inline: auto; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 1.1rem 1.3rem; background: var(--paper); font-size: .9rem; color: var(--muted); }
.disclaimer strong { color: var(--ink); }
.source-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .35rem; font-size: .92rem; }

/* city regulator block */
.local-rules { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px,3vw,40px); align-items: start; }
.local-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1.2rem 1.35rem; box-shadow: 6px 6px 0 var(--mint-100); }
.local-card dl { margin: 0; display: grid; gap: .75rem; }
.local-card dt { font-size: .8rem; font-weight: 700; color: var(--accent-strong); }
.local-card dd { margin: .1rem 0 0; color: var(--ink); font-weight: 600; font-size: .96rem; }
@media (max-width: 820px) { .local-rules { grid-template-columns: 1fr; } }

/* legal prose tweaks */
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal .updated { color: var(--muted-2); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .94rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.legal th { background: var(--paper); color: var(--ink); }

/* 404 mascot */
.nf-mascot { width: min(300px, 70vw); height: auto; margin-inline: auto; display: block; filter: drop-shadow(0 18px 30px rgba(14,48,80,.18)); }
/* unnumbered rule list (for rules that are not an official numbered list) */
.rules.plain .rule { grid-template-columns: 1fr; border-left: 4px solid var(--accent); }
.rules.plain .rule::before { content: none; }
@media (min-width: 1361px) { .nav-links a { padding: .55rem .58rem; } .nav-cta { gap: .7rem; } }
.section--accent .split .loc-grid { grid-template-columns: 1fr; }

/* ============================================================
   v4: readable type on tablets & phones
   All sizes are rem-based, so raising the root scales everything.
   ============================================================ */
@media (max-width: 1024px) { html { font-size: 106.25%; } }  /* 17px */
@media (max-width: 600px)  { html { font-size: 112.5%; } }   /* 18px */
@media (max-width: 600px) {
  .lead { font-size: 1.08rem; }
  .card p, .article-card p, .reg p, .rule p { font-size: 1rem; }
  .journey-step p, .loc-card p, .footer-legal, .footer-bottom { font-size: .92rem; }
  .matrix { font-size: 1rem; }
}

/* ============================================================
   v4: designed image slots
   A finished on-brand visual, with an optional real photo on top.
   Drop a file at assets/img/photos/<name>.jpg and it covers the design.
   ============================================================ */
.photo-slot {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(46,211,171,.28), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(14,48,80,.10), transparent 60%),
    linear-gradient(160deg, #f2fbf7, #e3f4ee);
  border: 1px solid var(--mint-100); box-shadow: var(--sh-2);
  display: grid; place-items: center; padding: clamp(16px, 4%, 36px);
}
.photo-slot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14,48,80,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,48,80,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.photo-slot > * { position: relative; }
.photo-slot > .ps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.hero-photo .photo-slot { position: absolute; inset: 0; border-radius: inherit; border: 0; box-shadow: none; }
.photo-slot.ps-dark { background: radial-gradient(70% 60% at 80% 15%, rgba(46,211,171,.3), transparent 60%), linear-gradient(160deg, var(--ink), var(--ink-3)); border-color: transparent; }
.photo-slot.ps-dark::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }

/* mascot vignette */
.ps-mascot-img { width: min(62%, 360px); height: auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.28)); }

/* mini website vignette */
.mini-site { width: min(100%, 520px); background: #fff; border-radius: 16px; box-shadow: var(--sh-3); overflow: hidden; border: 1px solid var(--line); }
.mini-site .ms-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mini-site .ms-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.mini-site .ms-bar span { margin-left: 8px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .72rem; color: var(--muted); padding: 3px 8px; }
.mini-site .ms-hero { padding: 22px 20px 18px; background: linear-gradient(135deg, #e9faf4, #d8f0f7); }
.mini-site .ms-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.mini-site .ms-brand b { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: block; }
.mini-site .ms-h { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: clamp(1.05rem, 2.4vw, 1.45rem); line-height: 1.15; margin-bottom: 8px; }
.mini-site .ms-p { height: 8px; border-radius: 4px; background: rgba(14,48,80,.14); margin: 6px 0; }
.mini-site .ms-p.s { width: 70%; }
.mini-site .ms-btns { display: flex; gap: 8px; margin-top: 14px; }
.mini-site .ms-btns span { font-size: .75rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; }
.mini-site .ms-btns span + span { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.mini-site .ms-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 20px; }
.mini-site .ms-tiles div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .72rem; font-weight: 700; color: var(--ink); }
.mini-site .ms-tiles div::before { content: ""; display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--mint-50); margin-bottom: 6px; }
.mini-site .ms-review { display: flex; align-items: center; gap: 8px; padding: 10px 20px 16px; font-size: .75rem; color: var(--muted); }
.mini-site .ms-review b { color: #f5a623; letter-spacing: 1px; }

/* call / text vignettes */
.ps-card { width: min(100%, 380px); background: #fff; border-radius: 18px; box-shadow: var(--sh-3); padding: 18px; border: 1px solid var(--line); }
.ps-card + .ps-card { margin-top: 14px; }
.ps-row { display: flex; align-items: center; gap: 12px; }
.ps-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--mint-50); color: var(--accent-strong); }
.ps-ic svg { width: 22px; height: 22px; }
.ps-ic.ok { background: var(--accent); color: #fff; }
.ps-t strong { display: block; color: var(--ink); font-size: .98rem; }
.ps-t span { color: var(--muted); font-size: .85rem; }
.ps-wave { display: flex; align-items: center; gap: 3px; height: 28px; margin: 14px 0 4px; }
.ps-wave i { flex: 1; background: var(--accent); border-radius: 3px; opacity: .75; }
.ps-stack { display: grid; justify-items: center; width: 100%; }
.ps-bubble { max-width: 82%; padding: .6rem .85rem; border-radius: 16px; font-size: .88rem; line-height: 1.4; margin: 5px 0; }
.ps-bubble.in { background: var(--paper); color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ps-bubble.out { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }

/* resource thumbnails (replace stock photos on article cards) */
.ac-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(80% 80% at 90% 10%, rgba(255,255,255,.22), transparent 55%), linear-gradient(140deg, var(--t1, #0e3050), var(--t2, #12b58f)); }
.ac-thumb svg { width: 64px; height: 64px; opacity: .95; }
.ac-thumb::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); right: -50px; bottom: -70px; }
.ac-thumb.t-seo { --t1:#0e3050; --t2:#0d9c79; }
.ac-thumb.t-gbp { --t1:#0a5c7a; --t2:#2ed3ab; }
.ac-thumb.t-ai  { --t1:#06203a; --t2:#1f7a9c; }
.ac-thumb.t-rev { --t1:#0d9c79; --t2:#7ad9b8; }
.ac-thumb.t-soc { --t1:#1f4f7a; --t2:#12b58f; }
.ac-thumb.t-web { --t1:#0e3050; --t2:#3a8fb5; }
.ac-thumb.t-mail{ --t1:#0a2440; --t2:#0d9c79; }

/* ============================================================
   v4: calculator, templates, report table, treatment pages
   ============================================================ */
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; position: relative; z-index: 2; }
.calc-in { padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 1.3rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.calc-field label output { font-family: var(--font-display); font-weight: 800; color: var(--accent-strong); font-size: 1.15rem; white-space: nowrap; }
.calc-field small { display: block; color: var(--muted-2); font-size: .82rem; margin-top: .35rem; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline-offset: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: var(--sh-1); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: grab; }
.calc-num { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.calc-num span { padding: .7rem .9rem; background: var(--paper); color: var(--muted); font-weight: 700; }
.calc-num input { border: 0; padding: .7rem .9rem; font: inherit; font-size: 1.1rem; width: 100%; color: var(--ink); font-weight: 700; }
.calc-num input:focus { outline: none; } .calc-num:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,181,143,.18); }
.calc-out { background: radial-gradient(80% 70% at 100% 0%, rgba(46,211,171,.22), transparent 60%), linear-gradient(160deg, var(--ink), var(--ink-3)); color: #cfe0e8; padding: clamp(20px, 3.5vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.calc-out .big { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.calc-out .big-label { color: #9fc4d3; font-size: .95rem; }
.calc-out .row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
.calc-out .row strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-bright); }
.calc-out .row span { font-size: .85rem; color: #9fc4d3; }
.calc-out .btn { align-self: flex-start; }
.calc-note { font-size: .82rem; color: #86a9ba; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* templates */
.tpl-roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tpl { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tpl + .tpl { margin-top: 1rem; }
.tpl-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.tpl-head h3 { font-size: 1.1rem; margin: 0; }
.tpl-head p { margin: .15rem 0 0; font-size: .9rem; color: var(--muted); }
.tpl-body { padding: 1.1rem 1.2rem; background: var(--paper); white-space: pre-line; font-size: 1rem; line-height: 1.65; color: var(--text); }
.tpl-foot { padding: .75rem 1.2rem; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.tpl-foot strong { color: var(--ink); }
.btn-copy { flex: none; }

/* example report table */
.report { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.report th, .report td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.report thead th { font-size: .85rem; color: var(--muted); font-weight: 700; background: var(--paper); }
.report td.num, .report th.num { text-align: right; font-variant-numeric: tabular-nums; }
.report tfoot td { font-weight: 800; color: var(--ink); background: var(--mint-50); border-bottom: 0; }

/* patient-journey steps (a real sequence, so numbered) */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.step { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.15rem; }
.step::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: .7rem; }
.step h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.metric-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.metric { border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--r) var(--r) 0; padding: 1rem 1.15rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.metric span { color: var(--muted); font-size: .93rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width: 900px) {
  .hero-photo { aspect-ratio: auto; }
  .hero-photo .photo-slot { position: relative; inset: auto; min-height: 340px; }
}

/* ============================================================
   v5: performance marketing (offer, pricing, track record)
   ============================================================ */
.hero-offer {
  display: block; margin-top: 1.4rem; max-width: 34em; text-decoration: none;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1rem 1.15rem;
  box-shadow: 6px 6px 0 var(--mint-100); position: relative; z-index: 2;
  transition: transform .16s ease, box-shadow .16s ease;
}
.hero-offer:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--mint-100); }
.ho-tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: var(--pill); padding: .22rem .65rem; margin-bottom: .5rem; }
.hero-offer strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.18rem; line-height: 1.25; }
.ho-link { display: block; margin-top: .45rem; color: var(--accent-strong); font-weight: 700; font-size: .95rem; }
.ho-fine { display: block; margin-top: .35rem; font-size: .74rem; color: var(--muted-2); }

.offer-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); overflow: hidden; position: relative; z-index: 2; }
.offer-card .oc-top { background: radial-gradient(80% 80% at 100% 0%, rgba(46,211,171,.25), transparent 60%), linear-gradient(160deg, var(--ink), var(--ink-3)); color: #cfe0e8; padding: 1.4rem 1.5rem; }
.offer-card .oc-num { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(3rem, 7vw, 4.4rem); line-height: .95; }
.offer-card .oc-num small { font-size: .38em; font-weight: 700; color: var(--accent-bright); margin-left: .3rem; }
.offer-card .oc-sub { color: #b8d3de; margin-top: .4rem; }
.offer-card ul { list-style: none; margin: 0; padding: 1.1rem 1.5rem 1.3rem; display: grid; gap: .7rem; }
.offer-card li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); line-height: 1.45; }
.offer-card li svg { width: 20px; height: 20px; flex: none; color: var(--accent-strong); margin-top: .15rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.price.featured { border: 2px solid var(--accent); box-shadow: 0 16px 34px rgba(18,181,143,.16); }
.price .p-stage { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.price h3 { margin: 0; font-size: 1.2rem; }
.price .p-amt { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 2.2rem; line-height: 1; margin: .3rem 0 .1rem; }
.price .p-amt span { font-size: .45em; font-weight: 700; color: var(--muted); }
.price p { margin: 0; color: var(--muted); font-size: .97rem; }
.price ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--text); }
.price ul li { padding-left: 1.3rem; position: relative; }
.price ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.fineprint { font-size: .78rem; color: var(--muted-2); margin-top: 1rem; line-height: 1.5; max-width: 90ch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 1rem; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.case:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.case .c-num { font-family: var(--font-display); font-weight: 800; color: var(--accent-strong); font-size: 1.9rem; line-height: 1.05; }
.case strong { color: var(--ink); font-family: var(--font-display); }
.case span { color: var(--muted); font-size: .93rem; }
.case .c-tag { font-size: .76rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; margin-top: auto; padding-top: .4rem; }

.commit { max-width: 880px; margin-inline: auto; text-align: center; }
.commit h2 { margin-bottom: .8rem; }
.commit p.lead { margin-inline: auto; }

.offer-band { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; box-shadow: 8px 8px 0 var(--mint-100); }
.offer-band h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin: .3rem 0 .2rem; }
.offer-band p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .offer-band { grid-template-columns: 1fr; } }

.section--ink .commit .lead { color: #d3e4ec; }
.commit h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.price .p-amt span { display: inline-block; }

/* ============================================================
   v6: Australian implant landing page (paid traffic)
   ============================================================ */
.lp-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.lp-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.lp-header .brand-logo { height: 48px; }
.lp-header .lp-right { display: flex; align-items: center; gap: .9rem; }
.lp-header .lp-phone { color: var(--ink); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .lp-header .lp-phone { display: none; } .lp-header .btn { padding: .7rem 1rem; font-size: .9rem; } }

.lp-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(70% 70% at 90% 0%, rgba(46,211,171,.28), transparent 60%), linear-gradient(170deg, var(--ink), #061a2e); color: #cfe0e8; }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.1rem); line-height: 1.02; max-width: 17ch; margin: .8rem 0 1rem; }
.lp-hero h1 .a { color: var(--accent-bright); }
.lp-hero .lead { color: #c4d9e3; max-width: 52ch; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.lp-hero .ho-tag { background: var(--accent); }
.lp-hero .hero-actions { margin-top: 1.6rem; }
.lp-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.lp-hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.lp-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.lp-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; color: #e8f4f8; font-weight: 600; font-size: .95rem; }
.lp-proof span { display: inline-flex; align-items: center; gap: .45rem; }
.lp-proof svg { width: 18px; height: 18px; color: var(--accent-bright); }
.lp-hero .fineprint { color: #7fa3b5; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pain .p-bad { padding: 1.15rem 1.25rem; background: #fdf1f0; border-bottom: 1px solid #f6d9d6; }
.pain .p-bad strong { display: block; color: #9b2c22; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .25rem; }
.pain .p-bad span { color: #7a4a45; font-size: .95rem; }
.pain .p-fix { padding: 1.15rem 1.25rem; }
.pain .p-fix strong { display: block; color: var(--accent-strong); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .25rem; }
.pain .p-fix span { color: var(--text); font-size: .97rem; }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }

.vs { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 1rem; }
.vs th, .vs td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vs thead th { font-family: var(--font-display); font-size: 1.02rem; }
.vs thead th:nth-child(2) { color: var(--muted); }
.vs thead th:nth-child(3) { background: var(--ink); color: #fff; }
.vs td:nth-child(2) { color: var(--muted); }
.vs td:nth-child(3) { background: var(--mint-50); color: var(--ink); font-weight: 600; }
.vs tbody th { color: var(--ink); font-weight: 700; width: 24%; }

.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.guarantee > div { padding: 1.4rem 1.5rem; }
.guarantee > div + div { border-left: 1px solid var(--line); }
.guarantee .g-when { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.guarantee h3 { font-size: 1.3rem; margin: .35rem 0 .3rem; }
.guarantee p { margin: 0; color: var(--muted); }
.guarantee > div:last-child { background: var(--ink); }
.guarantee > div:last-child h3 { color: #fff; } .guarantee > div:last-child p { color: #b8d3de; } .guarantee > div:last-child .g-when { color: var(--accent-bright); }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; } .guarantee > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit > div { border-radius: var(--r); padding: 1.3rem 1.4rem; border: 1px solid var(--line); background: #fff; }
.fit h3 { margin: 0 0 .7rem; font-size: 1.15rem; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fit li { display: flex; gap: .6rem; align-items: flex-start; }
.fit li svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.fit .yes li svg { color: var(--accent-strong); }
.fit .no { background: #fbfbfb; } .fit .no li { color: var(--muted); } .fit .no li svg { color: #c0504a; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.apply { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.apply-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.apply-card .form-success { display: none; } .apply-card .form-success.show { display: block; }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }
.lp-footer { background: var(--ink-3, #06203a); color: #8fb0c1; padding: 1.6rem 0; font-size: .88rem; }
.lp-footer .container { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; }
.lp-footer a { color: #cfe0e8; }
.lp-sticky { display: none; }
@media (max-width: 760px) {
  .lp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: .6rem; padding: .7rem var(--gutter) max(.7rem, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14,48,80,.08); }
  .lp-sticky .btn { flex: 1; justify-content: center; padding: .9rem 1rem; }
  body.lp { padding-bottom: 80px; }
}

/* ============================================================
   v7: AI call demo player
   ============================================================ */
.call-demo { width: 100%; max-width: 410px; margin-inline: auto; position: relative; z-index: 2; }
.cd-phone { background: radial-gradient(90% 60% at 80% 0%, rgba(46,211,171,.22), transparent 60%), linear-gradient(170deg, #0e3050, #06192c);
  border-radius: 34px; padding: 1.3rem 1.25rem 1.2rem; color: #cfe0e8; box-shadow: 0 30px 60px rgba(6,25,44,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
.cd-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #8fb0c1; margin-bottom: 1rem; }
.cd-live { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #e6fbf4; }
.cd-live i { width: 8px; height: 8px; border-radius: 50%; background: #5d7a8a; display: block; }
.call-demo.playing .cd-live i { background: #2ed3ab; box-shadow: 0 0 0 0 rgba(46,211,171,.6); animation: cdPulse 1.6s infinite; }
@keyframes cdPulse { 0% { box-shadow: 0 0 0 0 rgba(46,211,171,.55); } 100% { box-shadow: 0 0 0 10px rgba(46,211,171,0); } }
.cd-caller { display: flex; align-items: center; gap: .8rem; }
.cd-av { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.cd-av svg { width: 24px; height: 24px; color: #e6fbf4; }
.cd-caller strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.12rem; }
.cd-caller span { font-size: .85rem; color: #8fb0c1; }
.cd-timer { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.cd-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 64px; margin: 1.1rem 0 .9rem; }
.cd-wave i { flex: 1; max-width: 7px; min-height: 4px; height: 6%; border-radius: 4px; background: #3e5b6c; transition: height .09s linear, background .2s; }
.call-demo[data-speaker="ai"] .cd-wave i { background: #2ed3ab; }
.call-demo[data-speaker="caller"] .cd-wave i { background: #9db8c6; }
.cd-caption { min-height: 4.6em; background: rgba(255,255,255,.06); border-radius: 16px; padding: .75rem .9rem; font-size: .97rem; line-height: 1.45; color: #fff; }
.cd-caption b { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #8fb0c1; margin-bottom: .2rem; }
.call-demo[data-speaker="ai"] .cd-caption b { color: #2ed3ab; }
.cd-stages { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .4rem; }
.cd-stages li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: #6f8fa0; transition: color .25s; }
.cd-stages li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3e5b6c; flex: none; transition: all .25s; }
.cd-stages li.on { color: #e6fbf4; }
.cd-stages li.on::before { border-color: #2ed3ab; background: #2ed3ab radial-gradient(circle, #06192c 0 3px, transparent 3.5px); }
.cd-stages li.done::before { background: #2ed3ab; border-color: #2ed3ab; }
.cd-play { margin-top: 1.1rem; width: 100%; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1rem; border: 0; border-radius: 999px;
  background: #2ed3ab; color: #06192c; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.cd-play:hover { background: #4fe0bc; }
.cd-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cd-play svg { width: 18px; height: 18px; }
.cd-summary { display: none; margin-top: .9rem; background: #fff; color: var(--text); border-radius: 18px; padding: .9rem 1rem; font-size: .9rem; }
.cd-summary.show { display: block; animation: cdIn .35s ease; }
@keyframes cdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cd-summary strong { display: block; color: var(--ink); font-family: var(--font-display); margin-bottom: .35rem; }
.cd-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; }
.cd-summary dt { color: var(--muted-2); } .cd-summary dd { margin: 0; color: var(--ink); font-weight: 600; }
.cd-note { font-size: .78rem; color: var(--muted-2); text-align: center; margin: .7rem 0 0; }
.cd-transcript { margin-top: .6rem; font-size: .9rem; }
.cd-transcript summary { cursor: pointer; color: var(--accent-strong); font-weight: 600; text-align: center; }
.cd-transcript ol { list-style: none; padding: .6rem 0 0; margin: 0; display: grid; gap: .45rem; }
.cd-transcript li b { color: var(--ink); }
.section--ink .cd-note, .section--ink .cd-transcript li { color: #b8cdd9; } .section--ink .cd-transcript li b { color: #fff; }
@media (prefers-reduced-motion: reduce) { .cd-wave i { transition: none; } .call-demo.playing .cd-live i { animation: none; } }

/* ============================================================
   v7: template libraries (social, ads, landing pages)
   ============================================================ */
.lib-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; position: relative; z-index: 2; }
.lib-nav a { padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: .93rem; }
.lib-nav a:hover { border-color: var(--accent); color: var(--accent-strong); }
.lib-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.ph { position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; padding: 1rem;
  background: radial-gradient(80% 70% at 85% 10%, rgba(255,255,255,.22), transparent 60%), linear-gradient(150deg, var(--p1, #0e3050), var(--p2, #12b58f)); }
.ph::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 18px solid rgba(255,255,255,.07); right: -18%; bottom: -24%; }
.ph svg { width: 44px; height: 44px; opacity: .9; }
.ph .ph-head { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.15; margin-top: .5rem; max-width: 16ch; position: relative; z-index: 1; }
.ph .ph-label { position: absolute; left: .7rem; top: .7rem; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(0,0,0,.25); padding: .2rem .5rem; border-radius: 999px; z-index: 1; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ph.r45 { aspect-ratio: 4 / 5; } .ph.r11 { aspect-ratio: 1; } .ph.r169 { aspect-ratio: 16 / 9; }
.ph.c2 { --p1:#0a5c7a; --p2:#2ed3ab; } .ph.c3 { --p1:#06203a; --p2:#1f7a9c; } .ph.c4 { --p1:#0d9c79; --p2:#7ad9b8; } .ph.c5 { --p1:#1f4f7a; --p2:#12b58f; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.post .p-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post .p-cat { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.post h3 { margin: 0; font-size: 1.08rem; }
.post .p-cap { white-space: pre-line; font-size: .95rem; color: var(--text); background: var(--paper); border-radius: 12px; padding: .75rem .85rem; line-height: 1.55; }
.post .p-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.post .p-note { font-size: .83rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: .6rem; }
.prompt { font-size: .9rem; }
.prompt summary { cursor: pointer; color: var(--accent-strong); font-weight: 700; }
.prompt .p-text { white-space: pre-line; margin-top: .5rem; background: #0e3050; color: #d7e7ee; border-radius: 12px; padding: .75rem .85rem; font-size: .86rem; line-height: 1.5; }
.prompt .btn { margin-top: .5rem; }

.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.cal div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.cal strong { display: block; font-family: var(--font-display); color: var(--ink); }
.cal span { font-size: .93rem; color: var(--muted); }

.ad-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.ad-block + .ad-block { margin-top: 1.4rem; }
.ad-block > h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 .3rem; }
.ad-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.2rem; align-items: start; }
@media (max-width: 900px) { .ad-split { grid-template-columns: 1fr; } }
.ad-list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .3rem; }
.ad-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem .65rem; background: var(--paper); border-radius: 8px; font-size: .95rem; }
.ad-list li span:last-child { color: var(--muted-2); font-variant-numeric: tabular-nums; font-size: .82rem; white-space: nowrap; }
.ad-h { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 1rem 0 .2rem; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.gad { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: #fff; box-shadow: var(--sh-1); font-family: Arial, Helvetica, sans-serif; }
.gad .g-spons { font-size: .78rem; font-weight: 700; color: #202124; }
.gad .g-url { font-size: .82rem; color: #4d5156; margin: .15rem 0 .25rem; }
.gad .g-h { color: #1a0dab; font-size: 1.12rem; line-height: 1.3; }
.gad .g-d { color: #4d5156; font-size: .9rem; margin-top: .3rem; line-height: 1.45; }
.mad { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-1); font-family: Arial, Helvetica, sans-serif; }
.mad .m-top { display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; }
.mad .m-av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }
.mad .m-top strong { font-size: .88rem; color: #050505; display: block; } .mad .m-top span { font-size: .75rem; color: #65676b; }
.mad .m-text { padding: 0 .8rem .7rem; font-size: .9rem; color: #050505; line-height: 1.4; }
.mad .m-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .8rem; background: #f0f2f5; }
.mad .m-foot small { display: block; font-size: .72rem; color: #65676b; text-transform: uppercase; }
.mad .m-foot strong { font-size: .92rem; color: #050505; }
.mad .m-cta { background: #e4e6eb; border-radius: 6px; padding: .45rem .8rem; font-size: .85rem; font-weight: 700; color: #050505; white-space: nowrap; }
.rules-note { background: #fff8e8; border: 1px solid #f2dfae; border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; color: #5c4a1c; margin-top: 1.1rem; }
.rules-note strong { color: #3d3010; }

.lpt { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.6vw, 26px); }
.lpt + .lpt { margin-top: 1.4rem; }
@media (max-width: 860px) { .lpt { grid-template-columns: 1fr; } }
.wire { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; align-self: start; }
.wire .ph { aspect-ratio: 16 / 10; }
.wire .w-row { padding: .55rem .8rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.wire .w-row::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.lpt h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin: 0 0 .3rem; }
.lpt .tpl-body { max-height: 420px; overflow: auto; border-radius: 12px; border: 1px solid var(--line); }
.lpt .lpt-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 .8rem; }

.cd-play .i-pause { display: none; }
.call-demo.playing .cd-play .i-play { display: none; }
.call-demo.playing .cd-play .i-pause { display: block; }
.cd-stages li.done { color: #b8d3de; }

/* ============================================================
   v8: breathing room (applies to every page)
   ============================================================ */
body { line-height: 1.68; }
.section { padding-block: clamp(72px, 9.5vw, 136px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 68px); }
.section-head h2 { margin-bottom: .9rem; line-height: 1.12; }
.section-head p { line-height: 1.65; }
.lead { line-height: 1.65; }
.grid, .post-grid, .price-grid, .case-grid, .reg-list, .loc-grid, .quote-grid, .stat-grid, .metric-list { gap: clamp(20px, 2.6vw, 32px); }
.card { padding: clamp(1.6rem, 2.4vw, 2.2rem); }
.card h3 { margin-bottom: .55rem; }
.split { gap: clamp(36px, 5.5vw, 88px); }
.check-list { gap: .9rem; }
.hero-actions { gap: 1rem; }
.faq-q { padding-block: 1.35rem; }
.mt-3 { margin-top: clamp(36px, 4.5vw, 56px) !important; }
.fineprint { margin-top: 1.4rem; }
.divider-note { margin-top: 2.6rem; }
.step, .metric, .reg, .rule { padding: 1.3rem 1.4rem; }
.tpl + .tpl { margin-top: 1.4rem; }

/* ============================================================
   v8: footer
   ============================================================ */
.site-footer { padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem 3rem;
  padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top .footer-brand { max-width: 420px; }
.footer-top .footer-tag { margin: 1rem 0 0; max-width: 40ch; line-height: 1.6; }
.footer-reach { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.footer-phone { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.footer-phone svg { width: 20px; height: 20px; color: var(--accent-bright); }
.footer-phone:hover { color: var(--accent-bright); }
.footer-reach .social-row { margin: 0; }
.footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 2.2rem clamp(20px, 3vw, 40px) !important;
  padding: clamp(36px, 4.5vw, 56px) 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col h4 { margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col li a { line-height: 1.35; display: inline-block; }
.footer-legal { display: grid; gap: .8rem; padding: 1.6rem 0 .4rem; }
.fl-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.4rem; }
.fl-group .fl-label { min-width: 150px; }
.footer-bottom { gap: .6rem 2rem; padding-block: 1.2rem 1.4rem; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .footer-grid .footer-brand { grid-column: auto; }
}
@media (max-width: 900px) {
  .footer-reach { align-items: flex-start; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 2rem 1.4rem !important; }
  .fl-group { gap: .45rem 1.1rem; }
  .fl-group .fl-label { min-width: 0; width: 100%; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   v8: patient journey timeline (a real sequence, so numbered)
   ============================================================ */
.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.2vw, 32px); position: relative; }
.moments::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mint-100) 0 10px, transparent 10px 18px); }
.moment { position: relative; }
.m-node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--surface, #fff), var(--sh-accent); margin-bottom: 1.3rem; }
.m-node svg { width: 28px; height: 28px; }
.m-step { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .2rem; }
.moment h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.moment p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 .9rem; }
.m-link { font-weight: 700; color: var(--accent-strong); font-size: .95rem; text-decoration: underline; text-decoration-color: var(--mint-100); text-underline-offset: 4px; }
.m-link:hover { text-decoration-color: var(--accent); }
@media (max-width: 1000px) {
  .moments { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .moments::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--mint-100) 0 10px, transparent 10px 18px); }
  .moment { display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; padding-bottom: 2.2rem; }
  .moment:last-child { padding-bottom: 0; }
  .m-node { margin: 0; }
}
@media (max-width: 420px) {
  .moment { grid-template-columns: 52px 1fr; gap: 1rem; }
  .m-node { width: 52px; height: 52px; border-radius: 16px; } .m-node svg { width: 24px; height: 24px; }
  .moments::before { left: 25px; top: 26px; bottom: 26px; }
}

/* ============================================================
   v8: homepage components
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; }
.pillar .p-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--mint-50); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 1.2rem; }
.pillar .p-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
.pillar p { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.6; }
.pillar ul { list-style: none; margin: auto 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .75rem; }
.pillar li a { color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.pillar li a::after { content: ""; width: 7px; height: 7px; flex: none; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg) translateY(-2px); }
.pillar li a:hover { color: var(--accent-strong); }
@media (max-width: 1080px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.why-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.6rem; margin-top: clamp(32px, 4vw, 48px);
  padding: 1.1rem 1.4rem; border-radius: var(--r); background: #fff; border: 1px dashed var(--line-2); color: var(--ink); font-weight: 600; }
.why-strip span { display: inline-flex; align-items: center; gap: .5rem; }
.why-strip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.why-strip a { font-weight: 700; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.calc-teaser { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); }
.calc-teaser a { font-weight: 700; }
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.explore-card { position: relative; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.4vw, 2rem); padding-top: calc(clamp(1.6rem, 2.4vw, 2rem) + 8px); overflow: hidden; color: var(--text); transition: transform .16s ease, box-shadow .16s ease; }
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.explore-card .ex-bar { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--p1, #0e3050), var(--p2, #12b58f)); }
.ex-bar.c2 { --p1:#0a5c7a; --p2:#2ed3ab; } .ex-bar.c3 { --p1:#06203a; --p2:#1f7a9c; } .ex-bar.c4 { --p1:#0d9c79; --p2:#7ad9b8; } .ex-bar.c5 { --p1:#1f4f7a; --p2:#12b58f; }
.explore-card h3 { margin: 0; font-size: 1.25rem; }
.explore-card p { margin: 0; color: var(--muted); line-height: 1.6; flex: 1; }
.ex-go { margin-top: .6rem; font-weight: 700; color: var(--accent-strong); }
@media (max-width: 960px) { .explore { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .explore { grid-template-columns: 1fr; } }
.hero-offer--slim { box-shadow: none; border-width: 1px; border-color: var(--line-2); padding: .85rem 1rem; margin-top: 1.6rem; }
.hero-offer--slim:hover { box-shadow: var(--sh-1); transform: none; border-color: var(--accent); }
.hero-offer--slim strong { font-size: 1.02rem; }
.hero-offer--slim .ho-tag { font-size: .68rem; margin-bottom: .4rem; }

/* v8: minimum readable size for labels and fine print (13px+) */
.tag, .ho-tag, .lc-country, .p-cat, .m-step, .c-tag, .g-when, .p-stage, .reg-scope, .ph .ph-label, .loc-card .lc-country { font-size: max(.8rem, 13px); }
.ho-fine, .fineprint, .footer-compliance, .form-note, .form-consent, .w-row, .local-card dt, .figcap, .calc-note, .cd-note, .ad-list li span:last-child { font-size: max(.82rem, 13px); }
.hero-offer--slim .ho-tag { font-size: 13px; }
.case .c-tag, .price .p-stage, .guarantee .g-when, .post .p-cat, .loc-card .lc-country, .reg .reg-scope, .hero-offer .ho-tag, .lp-hero .ho-tag, .offer-band .ho-tag, .explore-card .ho-tag, .card .ho-tag, .article-card .tag, .moment .m-step { font-size: 13px; }
.wire .w-row { font-size: 13px; }

/* v8 polish */
.split-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; margin-bottom: .9rem; }
.stat .stat-num { white-space: nowrap; font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
@supports (grid-template-rows: subgrid) {
  .pillar { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .pillar ul { margin-top: 0; }
}
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .stat .stat-num { white-space: normal; } }

/* v8: a photo dropped into a slot stays inside its frame and never covers floating cards */
.photo-slot, .ph, .hero-photo { isolation: isolate; }
.float-card, .media-badge { z-index: 5; }
