/* =========================================================================
   CLARIYO — "Precision Clarity" design system
   The Stripe of Local SEO.
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --cobalt: #0052FF;
  --cobalt-dark: #003ECC;
  --cobalt-soft: #E6EFFF;
  --navy: #1B253F;
  --navy-deep: #131A2E;
  --paper: #F9FAFB;
  --ink: #111827;
  --steel: #4B5563;
  --steel-soft: #6B7280;
  --emerald: #059669;
  --emerald-soft: #D1FAE5;
  --amber: #D97706;
  --rose: #E11D48;
  --white: #FFFFFF;
  --line: #E5E7EB;
  --line-soft: #F1F3F6;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17,24,39,.04), 0 1px 3px rgba(17,24,39,.06);
  --shadow-md: 0 4px 12px rgba(17,24,39,.06), 0 2px 4px rgba(17,24,39,.04);
  --shadow-lg: 0 24px 48px -12px rgba(17,24,39,.18), 0 8px 16px -8px rgba(17,24,39,.08);
  --shadow-cobalt: 0 12px 28px -8px rgba(0,82,255,.45);
  --shadow-glow: 0 0 0 1px rgba(0,82,255,.18), 0 12px 36px -10px rgba(0,82,255,.30);

  --container: 1200px;
  --gutter: 24px;

  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { color: var(--steel); }
.lead { font-size: 1.25rem; color: var(--steel); line-height: 1.6; }
h2 + .lead, .page-hero h1 + .lead { margin-top: 22px; }
@media (max-width: 767px) { h2 + .lead, .page-hero h1 + .lead { margin-top: 16px; } }
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.muted { color: var(--steel-soft); }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: 14px; }
.grid { display: grid; gap: 24px; }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.bleed-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: var(--shadow-cobalt); }
.btn-primary:hover { background: var(--cobalt-dark); transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 34px -8px rgba(0,82,255,.55); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px) scale(1.02); }
.btn-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--ink); padding: 14px 18px; }
.btn-ghost:hover { color: var(--cobalt); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cobalt); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled {
  background: rgba(249,250,251,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.site-footer .brand-word { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 8px; margin-left: 40px; }
.main-nav > a, .nav-trigger {
  font-weight: 500; font-size: .94rem; color: var(--ink); padding: 8px 12px; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .nav-trigger:hover { color: var(--cobalt); background: var(--cobalt-soft); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-dropdown.open .nav-trigger svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta .btn { font-size: .88rem; padding: 10px 18px; }
.header-cta .btn-ghost { padding: 10px 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }

/* Mega menu */
.has-dropdown { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 760px; max-width: calc(100vw - 32px);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.has-dropdown.open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-card { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background .2s var(--ease); }
.mega-card:hover { background: var(--cobalt-soft); }
.mega-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--cobalt); }
.mega-icon svg { width: 22px; height: 22px; }
.mega-card h4 { font-size: 1rem; margin-bottom: 2px; }
.mega-card p { font-size: .86rem; color: var(--steel-soft); line-height: 1.45; }

/* Compact dropdown */
.mega-menu.mega-sm { width: 320px; grid-template-columns: 1fr; }

/* Mobile menu */
.mobile-menu { display: none; }
.nav-close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 80%;
  background: radial-gradient(circle at 70% 30%, rgba(0,82,255,.16), transparent 60%);
  filter: blur(40px);
}
.hero-bg::after {
  content: ""; position: absolute; bottom: -30%; left: -10%; width: 50%; height: 70%;
  background: radial-gradient(circle at 30% 70%, rgba(5,150,105,.12), transparent 60%);
  filter: blur(50px);
}
.hero .two-col { gap: 64px; align-items: start; }
.hero .two-col > :last-child { margin-top: 36px; }
.hero h1 .accent { color: var(--cobalt); }
.hero .lead { margin: 22px 0 32px; max-width: 540px; }

/* Audit widget */
.audit-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.audit-row { display: flex; gap: 12px; }
.audit-input {
  flex: 1; min-width: 0; padding: 16px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.audit-input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-soft); }
.audit-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--steel-soft); }
.audit-note svg { width: 15px; height: 15px; color: var(--emerald); }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---------- Map Pack mockup ---------- */
.map-pack {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mp-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.mp-search { flex: 1; min-width: 0; height: 40px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 16px; color: var(--steel-soft); font-size: .92rem; }
.mp-loc { width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; }
.mp-list { padding: 8px; }
.mp-result { display: flex; gap: 14px; padding: 16px; border-radius: 14px; align-items: flex-start; position: relative; }
.mp-result + .mp-result { border-top: 1px solid var(--line-soft); }
.mp-result.win { background: linear-gradient(180deg, #F0F6FF, #fff); box-shadow: inset 0 0 0 1px rgba(0,82,255,.25), 0 0 24px rgba(0,82,255,.14); }
.mp-rank { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--steel); font-size: .9rem; }
.mp-result.win .mp-rank { background: var(--cobalt); color: #fff; border-color: transparent; }
.mp-body { flex: 1; min-width: 0; }
.mp-name { font-weight: 700; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.mp-badge { font-size: .68rem; font-weight: 600; color: var(--cobalt); background: var(--cobalt-soft); padding: 2px 8px; border-radius: var(--radius-pill); }
.mp-meta { font-size: .85rem; color: var(--steel); margin-top: 3px; display: flex; gap: 8px; align-items: center; }
.mp-meta .star { color: var(--amber); }
.mp-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mp-tag { font-size: .72rem; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); color: var(--steel); }
.mp-thumb { flex: 0 0 64px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, #E6EFFF, #fff); border: 1px solid var(--line); display: grid; place-items: center; color: var(--cobalt); }
.mp-thumb svg { width: 26px; height: 26px; }
.pulse-ring { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; }
.mp-result.win .pulse-ring { box-shadow: 0 0 0 0 rgba(0,82,255,.4); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,82,255,.35); } 70% { box-shadow: 0 0 0 10px rgba(0,82,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,82,255,0); } }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.trust-strip p { color: var(--steel-soft); font-size: .9rem; font-weight: 500; }
.trust-trades { display: flex; gap: 14px 26px; flex-wrap: wrap; justify-content: center; }
.trust-trades span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.trust-trades svg { width: 18px; height: 18px; color: var(--cobalt); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--cobalt-soft); color: var(--cobalt);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); margin-bottom: 18px;
  counter-increment: step; content: counter(step);
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 1rem; }

/* ---------- Bento grid (services / features) ---------- */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bento-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,82,255,.3); }
.bento-card .feat-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; margin-bottom: 18px; }
.bento-card .feat-icon svg { width: 24px; height: 24px; }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bento-card p { font-size: .98rem; }
.bento-card.featured { grid-column: span 2; background: linear-gradient(135deg, #0052FF, #003ECC); color: #fff; border-color: transparent; }
.bento-card.featured h3, .bento-card.featured strong { color: #fff; }
.bento-card.featured p { color: rgba(255,255,255,.85); }
.bento-card.featured .feat-icon { background: rgba(255,255,255,.18); color: #fff; }
.bento-card.featured:hover { border-color: transparent; box-shadow: var(--shadow-cobalt); }
.bento.span-2 { grid-column: span 2; }

/* ---------- Service overview cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.svc-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,82,255,.35); }
.svc-card .feat-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; margin-bottom: 20px; }
.svc-card .feat-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.svc-card p { font-size: .95rem; margin-bottom: 18px; }
.svc-card .link-arrow { font-size: .92rem; }

/* ---------- Stats / Why it matters ---------- */
.stat-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 64px 56px; position: relative; overflow: hidden; }
.stat-band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 140%; background: radial-gradient(circle, rgba(0,82,255,.4), transparent 60%); filter: blur(30px); }
.stat-band h2 { color: #fff; max-width: 620px; }
.stat-band .lead { color: rgba(255,255,255,.8); max-width: 560px; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat .num span { color: #5B8CFF; }
.stat .lbl { color: rgba(255,255,255,.72); margin-top: 10px; font-size: 1rem; }

/* ---------- Before / After heatmap ---------- */
.compare { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--white); }
.compare-labels { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.compare-labels .before { color: var(--rose); }
.compare-labels .after { color: var(--emerald); }
.heatmap-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper); touch-action: pan-y; }
.heatmap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.2); }
.heat-after { clip-path: inset(0 0 0 50%); }
.heatmap-attribution { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, transparent 96.5%, #000 99%); mask-image: linear-gradient(to bottom, transparent 96.5%, #000 99%); pointer-events: none; }
.compare-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; border: 1px solid rgba(17,24,39,.12); border-radius: var(--radius-sm); background: rgba(255,255,255,.94); color: var(--ink); font-size: .75rem; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow-sm); }
.compare-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), var(--shadow-md); transform: translateX(-50%); pointer-events: none; }
.compare-knob { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--cobalt); pointer-events: none; }
.compare-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-legend { display: flex; gap: 20px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--steel-soft); }
.compare-legend span { display: inline-flex; align-items: center; gap: 7px; }
.swatch { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- Before / After stat (service pages) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-card { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ba-card.before { background: var(--paper); }
.ba-card.after { background: linear-gradient(135deg, #ECFDF5, #fff); border-color: rgba(5,150,105,.3); }
.ba-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.ba-card.before .ba-tag { background: #FEE2E2; color: #B91C1C; }
.ba-card.after .ba-tag { background: var(--emerald-soft); color: #047857; }
.ba-card h3 { margin-bottom: 14px; }
.ba-card ul { display: grid; gap: 12px; margin-top: 16px; }
.ba-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--steel); }
.ba-card li svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.ba-card.before li svg { color: var(--rose); }
.ba-card.after li svg { color: var(--emerald); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #0052FF 0%, #003ECC 100%); border-radius: var(--radius-lg); padding: 64px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-cobalt); }
.cta-band::before { content: ""; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 55%); filter: blur(20px); }
.cta-band h2 { color: #fff; max-width: 560px; }
.cta-band .lead { color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-light { background: #fff; color: var(--cobalt); }
.cta-band .btn-dark { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.cta-band .btn-dark:hover { background: rgba(255,255,255,.22); }

/* ---------- Page hero (service pages) ---------- */
.page-hero { padding: 64px 0 56px; position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 76px - 78px); min-height: calc(100svh - 76px - 78px); }
.page-hero > .container { width: 100%; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .hero-bg::before { content:""; position:absolute; top:-30%; right:-5%; width:55%; height:120%; background: radial-gradient(circle, rgba(0,82,255,.14), transparent 60%); filter: blur(40px); }
.page-hero h1 { max-width: 760px; }
.page-hero .lead { max-width: 620px; margin-top: 18px; }
.page-hero .crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--steel-soft); margin-bottom: 22px; }
.page-hero .crumbs a:hover { color: var(--cobalt); }
.page-hero .crumbs svg { width: 14px; height: 14px; }

/* Service hero visuals */
.page-hero .hero-split { grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: center; }
.page-hero .hero-split h1, .page-hero .hero-split .lead { max-width: none; }
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hv-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.hv-pill { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--cobalt-soft); color: var(--cobalt); }
.hv-pill.good { background: var(--emerald-soft); color: #047857; }
.hv-body { padding: 18px; display: grid; gap: 16px; }
.hv-row { display: flex; gap: 14px; align-items: center; }
.hv-meter-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--steel); margin-bottom: 8px; }
.hv-bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.hv-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #0052FF, #5B8CFF); }
.hv-checks { display: grid; gap: 10px; }
.hv-checks li { position: relative; padding-left: 28px; font-size: .9rem; color: var(--steel); }
.hv-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.hv-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.hv .mp-badge { font-size: .72rem; padding: 3px 10px; }
.chat .bubble { padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.chat .bubble.user { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; max-width: 85%; }
.chat .bubble.ai { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--steel); }
.chat .bubble.ai p { font-size: .88rem; margin-bottom: 12px; }
.ai-rec { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,82,255,.3), 0 0 20px rgba(0,82,255,.12); }
.ai-rec .mp-rank { background: var(--cobalt); color: #fff; border-color: transparent; }
.ai-src { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.ai-src span { font-size: .7rem; padding: 2px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--steel-soft); }
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hv-url { flex: 1; max-width: 220px; margin-left: 8px; height: 28px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; font-size: .78rem; color: var(--steel-soft); }
.hv-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gauge { text-align: center; }
.gauge b { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; font-family: var(--font-display); font-size: 1.15rem; color: var(--emerald); background: radial-gradient(closest-side, #fff 76%, transparent 78%), conic-gradient(var(--emerald) calc(var(--v) * 1%), var(--line-soft) 0); }
.gauge span { font-size: .78rem; color: var(--steel-soft); font-weight: 500; }
.hv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hv-tiles div { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.hv-tiles span { display: block; font-size: .75rem; color: var(--steel-soft); }
.hv-tiles strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.hv-spark { width: 100%; height: 70px; }

/* Audit page */
.audit-hero { min-height: 0; padding: 64px 0 32px; }
.audit-helper { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; max-width: 720px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.audit-helper[hidden] { display: none; }
.audit-helper-text { display: grid; gap: 2px; min-width: 0; }
.audit-helper-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.audit-helper strong { font-family: var(--font-display); font-size: 1.25rem; overflow-wrap: anywhere; }
.audit-helper-hint { font-size: .88rem; color: var(--steel-soft); }
.audit-section { padding: 0 0 56px; }
.audit-helper { margin: 24px 0; }
.audit-frame-wrap { overflow: hidden; }
/* The embedded app renders its own logo strip at the top; it is cross-origin, so crop it out. */
.audit-frame { display: block; width: 100%; height: 1100px; min-height: 80vh; border: 0; margin-top: -120px; }
.audit-note-below { text-align: center; font-size: .92rem; margin-top: 20px; }

/* ---------- Service content prose ---------- */
.prose p { font-size: 1.06rem; line-height: 1.7; margin-bottom: 16px; }
.prose h3 { margin: 36px 0 14px; }
.check-list { display: grid; gap: 14px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--steel); }
.check-list svg { width: 22px; height: 22px; color: var(--emerald); flex: 0 0 22px; margin-top: 1px; }

/* ---------- Service quick nav ---------- */
.svc-nav { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.svc-nav a { padding: 8px 16px; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 500; color: var(--steel); border: 1px solid var(--line); transition: .2s var(--ease); }
.svc-nav a:hover, .svc-nav a.active { color: var(--cobalt); border-color: var(--cobalt); background: var(--cobalt-soft); }

/* ---------- Testimonial ---------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.quote-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-display); }
.quote-meta .who strong { display: block; font-size: 1rem; }
.quote-meta .who span { font-size: .85rem; color: var(--steel-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.faq-q svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--cobalt); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding-bottom: 24px; font-size: 1.02rem; }
.faq-a ul { display: grid; gap: 8px; padding-bottom: 24px; }
.faq-a li { font-size: 1.02rem; color: var(--steel); }

/* ---------- Legal prose ---------- */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--steel-soft); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { margin: 40px 0 14px; font-size: 1.4rem; }
.legal p, .legal li { font-size: 1rem; color: var(--steel); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; margin-bottom: 12px; }
.legal a { color: var(--cobalt); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #1B253B; color: rgba(255,255,255,.72); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer p { color: rgba(255,255,255,.6); font-size: .95rem; margin-top: 18px; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; font-size: .95rem; color: rgba(255,255,255,.68); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .audit-helper { flex-direction: column; align-items: stretch; }
  .audit-frame { height: 1300px; }
  .page-hero { min-height: 0; }
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .two-col, .page-hero .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero .two-col > :last-child { margin-top: 0; min-width: 0; }
  .hero .two-col { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 64px; }
  .hero .lead { margin: 18px 0 26px; }
  .bento, .svc-grid, .steps, .stat-grid, .ba-grid { grid-template-columns: 1fr; }
  .bento-card.featured, .bento.span-2 { grid-column: span 1; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .stat-band, .cta-band { padding: 44px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    display: none; position: fixed; inset: 76px 0 0; background: var(--paper); z-index: 99;
    flex-direction: column; padding: 24px; gap: 8px; overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a, .mobile-menu .mm-trigger { padding: 16px 12px; font-size: 1.1rem; font-weight: 500; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; }
  .mobile-menu a:hover { background: var(--cobalt-soft); color: var(--cobalt); }
  .mobile-menu .mm-sub { display: flex; flex-direction: column; padding-left: 14px; }
  .mobile-menu .mm-sub a { font-size: .98rem; padding: 12px 12px; color: var(--steel); }
  .mobile-menu .mm-cta { margin-top: 12px; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .audit-row { flex-direction: column; }
  .audit-row .btn { width: 100%; }
  .stat-grid { grid-template-columns: 1fr; gap: 24px; }
  .ba-grid { grid-template-columns: 1fr; }
  .quote-card blockquote { font-size: 1.1rem; }
}
/* Hero actions + client logo strip */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.client-strip { text-align: center; }
.client-strip-label { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-soft); margin-bottom: 28px; }
.client-viewport { overflow: hidden; }
.client-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.client-logo-item { display: flex; align-items: center; justify-content: center; height: 72px; flex: none; }
.client-logo { height: var(--lh, 40px); width: auto; max-width: 240px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.client-logo:hover, .client-logo-item:focus-within .client-logo { filter: none; opacity: 1; }
.client-logo--jpg { mix-blend-mode: multiply; } /* hide white JPG background */
.client-logo-text { display: inline-flex; align-items: center; height: auto; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--steel); white-space: nowrap; }
/* Ticker mode (6+ logos, enabled by JS) */
.client-strip.is-ticker .client-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-strip.is-ticker .client-logos { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; animation: clientScroll var(--ticker-time, 40s) linear infinite; }
.client-strip.is-ticker .client-logo-item { margin-right: 56px; }
.client-strip.is-ticker:hover .client-logos, .client-strip.is-ticker:focus-within .client-logos, .client-strip.is-ticker.is-paused .client-logos { animation-play-state: paused; }
@keyframes clientScroll { to { transform: translateX(-50%); } }
.client-pause { display: none; margin: 20px auto 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--steel); font: inherit; font-size: .8rem; cursor: pointer; }
.client-strip.is-ticker .client-pause { display: inline-block; }
.client-pause:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .client-strip.is-ticker .client-logos { animation: none; } .client-pause { display: none !important; } }
@media (max-width: 600px) { .client-logos { gap: 20px 36px; } }
@media (max-width: 600px) { .hero-actions .btn { width: 100%; } }
.stat-source { position: relative; margin-top: 36px; font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.6); max-width: 720px; }
.stat-source a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* ---------- Animated hero map pack ---------- */
.map-pack { --h: 114px; }
.mp-pause:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.mp-pause { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--steel); display: grid; place-items: center; cursor: pointer; }
.mp-pause:hover { color: var(--cobalt); }
.mp-pause .i-play, .map-pack.user-paused .mp-pause .i-pause { display: none; }
.map-pack.user-paused .mp-pause .i-play { display: block; }
.mp-typed { min-width: 0; overflow: hidden; white-space: nowrap; }
.mp-caret { flex: 0 0 1.5px; width: 1.5px; height: 1.1em; background: var(--cobalt); margin-left: 2px; animation: mpCaret 1s steps(1) infinite; }
@keyframes mpCaret { 50% { opacity: 0; } }
.mp-stage { position: relative; height: calc(var(--h) * 3 + 30px + 56px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); transition: opacity .4s var(--ease); }
.mp-item { position: absolute; left: 8px; right: 8px; top: 0; height: var(--h); box-sizing: border-box; display: flex; gap: 14px; padding: 14px 12px 16px; border-radius: 14px; border-bottom: 1px solid var(--line-soft); transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s var(--ease), background .6s, box-shadow .6s; }
.mp-item[data-slot="0"] { transform: translateY(0); }
.mp-item[data-slot="1"] { transform: translateY(var(--h)); }
.mp-item[data-slot="2"] { transform: translateY(calc(var(--h) * 2)); }
.mp-item[data-slot="3"] { transform: translateY(calc(var(--h) * 3 + 30px)); opacity: .5; filter: grayscale(1); }
.mp-item.you .mp-badge { display: none; }
.mp-item.you[data-slot="3"] .mp-badge, .is-after .mp-item.you .mp-badge { display: inline-block; }
.mp-item .mp-name { font-size: 1rem; }
.mp-item .mp-meta { gap: 6px; white-space: nowrap; overflow: hidden; }
.mp-item .sep { color: var(--steel-soft); }
.mp-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.mp-open { font-size: .75rem; font-weight: 600; color: var(--emerald); margin-right: auto; }
.mp-btn { font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--cobalt); background: #fff; }
.mp-call { background: var(--cobalt-soft); border-color: transparent; }
.mp-item.you[data-slot="0"] { background: linear-gradient(180deg, #F0F6FF, #fff); box-shadow: inset 0 0 0 1px rgba(0,82,255,.25), 0 0 24px rgba(0,82,255,.14); }
.mp-item.you[data-slot="0"] .mp-rank { background: var(--cobalt); color: #fff; border-color: transparent; }
.is-after .mp-item.you .mp-call { animation: mpCall 1s var(--ease) .8s 1; }
@keyframes mpCall { 0% { box-shadow: 0 0 0 0 rgba(0,82,255,.45); } 100% { box-shadow: 0 0 0 12px rgba(0,82,255,0); } }
.mp-more { position: absolute; left: 8px; right: 8px; top: calc(var(--h) * 3); height: 30px; display: flex; align-items: center; padding: 0 12px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-soft); border-top: 1px dashed var(--line); }
.is-hidden .mp-stage { opacity: 0; }
.is-paused .mp-caret, .is-paused .mp-item { animation-play-state: paused; }
.is-static .mp-pause, .is-static .mp-caret { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mp-pause, .mp-caret { display: none; }
  .mp-item, .mp-stage, .mp-item .mp-call { transition: none !important; animation: none !important; }
}
@media (max-width: 600px) { .mp-btn { padding: 4px 9px; } .mp-item .mp-meta { font-size: .8rem; } }
