/* =====================================================================
   IRONCLAD — implements the Framer DESIGN.md system
   Dark cinematic · black + blue · motion-first · pill CTAs
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand anchors */
  --white: #ffffff;
  --canvas: #090909;
  --on-primary: #000000;

  /* Surface hierarchy (lift = hierarchy, not opacity) */
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --hairline: #262626;
  --hairline-soft: #1a1a1a;

  /* Text */
  --ink: #ffffff;
  --ink-muted: #999999;

  /* Accent & semantic (blue = links/focus/selected ONLY) */
  --accent-blue: #0099ff;
  --success: #22c55e;

  /* Gradient spotlight family */
  --magenta: #d44df0;
  --violet: #6a4cf5;
  --orange: #ff7a3d;
  --coral: #ff5577;

  /* Radius scale */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 15px;
  --r-xl: 20px;
  --r-xxl: 30px;
  --r-pill: 100px;

  /* Spacing (5px base) */
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 15px;
  --s-lg: 20px;
  --s-xl: 30px;
  --s-xxl: 40px;
  --s-section: 96px;

  --wrap: 1160px;

  /* Elevation */
  --shadow-2: 0 -0.5px 0 rgba(255,255,255,0.10), 0 10px 30px rgba(0,0,0,0.25);
  --ring-blue: 0 0 0 1px rgba(0,153,255,0.15);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv01","cv05","cv09","cv11","ss03","ss07","dlig","tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.3;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

/* =====================================================================
   ACCESSIBILITY — keyboard focus, skip link, selection
   ===================================================================== */
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-blue); outline-offset: 3px;
}
.input:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
/* only suppress the ring for pointer users, keep it for keyboard */
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: var(--white); color: var(--on-primary);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

::selection { background: rgba(0,153,255,0.30); color: #fff; }

/* =====================================================================
   TYPOGRAPHY — letter-spacing scales with size, hard
   ===================================================================== */
.display-xxl { font-size: clamp(52px, 9vw, 110px); font-weight: 500; line-height: 0.85; letter-spacing: -0.05em; }
.display-xl  { font-size: clamp(40px, 6.2vw, 85px);  font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.display-lg  { font-size: clamp(34px, 4.8vw, 62px);  font-weight: 500; line-height: 1.0;  letter-spacing: -0.05em; }
.display-md  { font-size: clamp(26px, 2.6vw, 32px);  font-weight: 500; line-height: 1.13; letter-spacing: -0.03em; }
.headline    { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.036em; }
.subhead     { font-size: clamp(19px, 2vw, 24px); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.body-lg     { font-size: 18px; font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; }
.body        { font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: -0.01em; }
.caption     { font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.micro       { font-size: 12px; font-weight: 400; line-height: 1.2; }

.eyebrow {
  font-size: 13px; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-lg);
}
.muted { color: var(--ink-muted); }
.ink { color: var(--ink); }
.center { text-align: center; }
.mt { margin-top: var(--s-md); }
.link { color: var(--accent-blue); }
.link:hover { text-decoration: underline; }

/* =====================================================================
   BUTTONS — pills only, blue never a fill
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  padding: 12px 18px; border-radius: var(--r-pill);
  min-height: 44px; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--white); color: var(--on-primary); }
.btn--primary:hover { background: #eaeaea; }
.btn--secondary { background: var(--surface-1); color: var(--ink); }
.btn--secondary:hover { background: #1f1f1f; }
.btn--lg { padding: 15px 26px; font-size: 15px; min-height: 52px; }
.btn--block { display: flex; width: 100%; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,9,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; gap: var(--s-lg); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; color: var(--white); }
.brand__name { font-size: 18px; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { position: relative; display: inline-flex; align-items: center; height: 40px; font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
/* active-section indicator (scroll-spy) — blue reserved for selected state */
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--accent-blue); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__call { padding: 11px 15px; min-height: 44px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 24px; border-top: 1px solid var(--hairline); }
.nav__mobile:not([hidden]) { display: flex; }
.nav__mobile a:not(.btn) { padding: 14px 4px; min-height: 44px; display: flex; align-items: center; color: var(--ink-muted); font-weight: 500; border-bottom: 1px solid var(--hairline-soft); }
.nav__mobile .btn { margin-top: 8px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: 80px; padding-bottom: var(--s-section); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(106,76,245,0.28), transparent 70%),
    radial-gradient(closest-side, rgba(0,153,255,0.20), transparent 70%);
  background-position: 30% 30%, 75% 40%;
  background-repeat: no-repeat;
  background-size: 60% 80%, 55% 70%;
  filter: blur(30px);
  opacity: 0.9;
  transition: opacity .8s ease;
}
/* Tubes cursor (ported from the 21st.dev component → vanilla WebGL) */
.hero__tubes {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__tubes.is-live { opacity: 1; }
/* when the animation is live, dim the static glow so they don't stack */
.hero.tubes-live .hero__glow { opacity: 0.25; }

.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 940px; margin-inline: auto; }
/* keep hero text readable over the moving tubes */
.hero__title { margin-bottom: var(--s-xl); text-shadow: 0 0 26px rgba(9,9,9,0.85), 0 2px 10px rgba(0,0,0,0.5); }
.hero__title-accent { text-shadow: none; }
.hero__sub, .eyebrow, .hero__proof { text-shadow: 0 1px 14px rgba(9,9,9,0.75); }
.hero__hint {
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-muted); margin: -12px 0 22px;
  text-shadow: 0 1px 14px rgba(9,9,9,0.8);
}
.hero__title-accent {
  background: linear-gradient(100deg, var(--violet), var(--accent-blue) 60%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { max-width: 640px; margin: 0 auto var(--s-xl); color: var(--ink-muted); }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--s-xl); }
.hero__proof { display: inline-flex; align-items: center; gap: var(--s-md); flex-wrap: wrap; justify-content: center; }
.hero__proof-div { width: 1px; height: 16px; background: var(--hairline); }

.rating { display: inline-flex; align-items: center; gap: 8px; }
.rating__stars { color: #ffce31; letter-spacing: 1px; font-size: 14px; }
.rating__text { font-size: 13px; color: var(--ink-muted); }
.rating__text strong { color: var(--ink); }
.rating--sm { margin-top: 12px; }

/* Product mockup */
.mockup {
  margin-top: 64px; background: var(--surface-1);
  border: 1px solid var(--hairline); border-radius: var(--r-xl);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.mockup__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2a; }
.mockup__url { margin-left: 12px; font-size: 12px; color: var(--ink-muted); background: var(--canvas); padding: 5px 14px; border-radius: var(--r-pill); }
.mockup__body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; padding: 24px; }
.mockup__panel { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 22px; }
.mockup__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 22px; }
.mstat__num { display: block; font-size: clamp(24px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.04em; }
.mstat__label { font-size: 12px; color: var(--ink-muted); }
.mockup__chart svg { width: 100%; height: 110px; }
.mockup__side { display: flex; flex-direction: column; gap: 12px; }
.lead-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 14px 16px; font-size: 13px; font-weight: 500;
}
.lead-pill--muted { color: var(--ink-muted); }
.lead-pill__ping { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(34,197,94,0.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.45);} 70%{ box-shadow: 0 0 0 8px rgba(34,197,94,0);} 100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0);} }

/* =====================================================================
   LOGO WALL
   ===================================================================== */
.logos { padding: 40px 0 8px; border-top: 1px solid var(--hairline-soft); }
.logos__label { margin-bottom: 26px; }
.logos__row { display: flex; flex-wrap: wrap; gap: 18px 44px; justify-content: center; align-items: center; }
.logo { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: #8f8f8f; transition: color .25s; }
.logo:hover { color: var(--ink); }

/* =====================================================================
   SECTIONS / LAYOUT
   ===================================================================== */
.section { padding: var(--s-section) 0; border-top: 1px solid var(--hairline-soft); }
.section--tight { padding: 72px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head .subhead { margin-top: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.align-top { align-items: start; }
.align-center { align-items: center; }

/* =====================================================================
   METHODOLOGY STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
.step {
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--s-xl);
  transition: border-color .25s, transform .25s;
}
.step:hover { border-color: #333; transform: translateY(-3px); }
.step__num { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-blue); letter-spacing: 0.04em; margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; }
.step__arrow { align-self: center; color: #444; font-size: 26px; }

/* =====================================================================
   CASE STUDIES
   ===================================================================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--s-xl);
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.case:hover { transform: translateY(-3px); border-color: #333; }
.case__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.case__client { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #2a2a2a; color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.avatar--light { background: rgba(255,255,255,0.25); color: #fff; }
.case__stat { font-size: clamp(46px, 6vw, 68px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; }
.tag { font-size: 12px; font-weight: 500; color: var(--ink-muted); background: var(--canvas); border: 1px solid var(--hairline); padding: 5px 11px; border-radius: var(--r-sm); white-space: nowrap; }
.tag--light { color: #fff; background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.25); }

/* Gradient spotlight card — signature, used once here */
.case--spotlight { background: linear-gradient(150deg, var(--violet), #5a3ee0); border: none; color: #fff; }
.case--spotlight .case__stat, .case--spotlight .body { color: #fff; }
.case--spotlight .case__sub { color: rgba(255,255,255,0.75); }

.results__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scard {
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--s-xl);
  transition: transform .25s, border-color .25s;
}
.scard:hover { transform: translateY(-3px); border-color: #333; }
.scard__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 20px; color: var(--accent-blue); margin-bottom: 20px; }
.scard h3 { margin-bottom: 8px; }

/* =====================================================================
   NICHES
   ===================================================================== */
.niches { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.niches li { display: flex; align-items: center; gap: 12px; padding: 16px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--hairline-soft); }
.niches__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue); flex-shrink: 0; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing__toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-pill); margin: 0 auto 44px; }
.pricing__toggle { display: flex; width: fit-content; }
.ptab { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 22px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: background .2s, color .2s; }
.ptab:hover { color: var(--ink); }
.ptab.is-active { background: var(--surface-2); color: var(--ink); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.pcard {
  position: relative; background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--s-xl);
  display: flex; flex-direction: column;
}
.pcard--featured { background: var(--surface-2); border-color: #333; }
.pcard__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--white); color: var(--on-primary); font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: var(--r-pill); white-space: nowrap; }
.pcard__desc { margin: 6px 0 20px; font-size: 14px; }
.pcard__price { margin-bottom: 22px; }
.price { font-size: 46px; font-weight: 500; letter-spacing: -0.05em; }
.price__per { font-size: 15px; color: var(--ink-muted); }
.feat { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feat li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-muted); line-height: 1.4; }
.feat li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--success); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
#pricing .caption { margin-top: 28px; }

/* =====================================================================
   GUARANTEE
   ===================================================================== */
.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center;
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xxl); padding: 56px;
}
.guarantee__badge { width: 120px; height: 120px; color: var(--accent-blue); }
.guarantee__badge svg { width: 100%; height: 100%; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: var(--s-xl); }
.review__stars { color: #ffce31; letter-spacing: 2px; margin-bottom: 16px; }
.review blockquote { font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 20px; }
.review figcaption { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
.verified { display: block; color: var(--success); font-size: 12px; }

/* =====================================================================
   AUTHORITY ENGINE
   ===================================================================== */
.authority {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center;
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-xxl); padding: 56px;
}
.signup { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 220px; background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 14px 16px; font-size: 16px; font-family: inherit; min-height: 48px;
  transition: box-shadow .2s, border-color .2s;
}
.input::placeholder { color: #808080; }
.input:focus { outline: none; border-color: var(--accent-blue); box-shadow: var(--ring-blue); }
.signup__note { margin-top: 14px; }
.authority__stat { display: flex; flex-direction: column; gap: 20px; }
.bigstat { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: 24px; text-align: center; }
.bigstat__num { display: block; font-size: 46px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.bigstat__label { font-size: 13px; color: var(--ink-muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.grid-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--hairline-soft); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink-muted); transition: transform .25s, opacity .2s; }
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__item[open] summary { color: var(--ink); }
.faq__item p { padding: 0 40px 24px 0; color: var(--ink-muted); font-size: 16px; line-height: 1.65; max-width: 68ch; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.cta { position: relative; padding: 120px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--hairline-soft); }
.cta__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,153,255,0.16), transparent 70%), radial-gradient(closest-side, rgba(106,76,245,0.18), transparent 72%);
  background-position: 35% 50%, 68% 45%; background-size: 50% 90%, 45% 80%; background-repeat: no-repeat; filter: blur(28px);
}
.cta__inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.cta__inner .subhead { margin: 22px auto 34px; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--hairline); padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__h { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--ink-muted); transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline-soft); flex-wrap: wrap; }

/* =====================================================================
   STICKY MOBILE CALL BAR
   ===================================================================== */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(9,9,9,0.9); backdrop-filter: blur(14px); border-top: 1px solid var(--hairline);
  transform: translateY(120%); transition: transform .3s ease;
}
.callbar.is-visible { transform: translateY(0); }
.callbar__call { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--surface-1); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; min-height: 46px; }
.callbar__book { flex: 1.3; }

/* =====================================================================
   SELECTED WORK — expanding cards (ported from CodePen z-/OBPJKK)
   ===================================================================== */
.workcards { display: flex; gap: 14px; height: 460px; overflow: hidden; }
.workcard {
  position: relative; flex-grow: 1; flex-basis: 0; min-width: 58px;
  overflow: hidden; cursor: pointer; padding: 0; border: 1px solid var(--hairline);
  border-radius: var(--r-xl); background-color: var(--surface-1);
  background-image: var(--img); background-size: cover; background-position: center;
  transition: flex-grow .6s cubic-bezier(.05,.61,.41,.95), border-radius .6s ease, box-shadow .5s ease;
}
.workcard:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.workcard.is-active { flex-grow: 10000; border-radius: var(--r-xxl); box-shadow: var(--shadow-2); }
/* Photos carry their own brand + rating, so darken only the bottom band and
   keep our overlay minimal: an "expand" cue on slivers, a result tag when open. */
.workcard__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.30) 14%, transparent 36%);
}
.workcard__label {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px; text-align: left;
}
.workcard__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #000; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.workcard__icon svg { width: 18px; height: 18px; }
.workcard.is-active .workcard__icon { display: none; } /* open card is self-branded by the photo */
.workcard__info {
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease;
}
.workcard.is-active .workcard__info {
  opacity: 1; transform: none;
  background: rgba(10,10,12,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill); padding: 9px 16px;
}
.workcard__main { display: none; } /* business name already appears in the photo */
.workcard__sub { color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.work__note { margin-top: 22px; }

/* =====================================================================
   MOTION — scroll reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .lead-pill__ping { animation: none; }
  .workcard, .workcard__info { transition: none; }
}

/* Expanding cards → vertical stack on small screens */
@media (max-width: 760px) {
  .workcards { flex-direction: column; height: auto; gap: 12px; }
  .workcard { flex-grow: 0 !important; min-width: 0; height: 76px; border-radius: var(--r-lg);
    transition: height .55s cubic-bezier(.05,.61,.41,.95), border-radius .55s ease; }
  .workcard.is-active { height: 300px; border-radius: var(--r-xl); }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__call { display: none; }      /* phone folds into hamburger... */
  .nav__actions { margin-left: auto; }/* ...but keep the primary CTA visible on tablet */
  .nav__toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .step__arrow { display: none; }
  .cases, .services, .reviews, .pricing { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-faq, .guarantee, .authority { grid-template-columns: 1fr; gap: 32px; }
  .guarantee, .authority { padding: 36px; }
  .guarantee__badge { width: 84px; height: 84px; }
  .mockup__body { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --s-section: 68px; }
  .wrap { padding-inline: 18px; }
  .services { grid-template-columns: 1fr; }
  .niches { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .mockup__stats { grid-template-columns: 1fr; }
  .nav__actions { display: none; }   /* on phones the sticky call bar carries the CTA */
  .callbar { display: flex; }
  body { padding-bottom: 74px; }
}
