/* ============================================================
   REVIO — revio.agency design system
   One shared stylesheet for the whole static site.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Satoshi'; src: url('https://revio.agency/wp-content/uploads/2024/09/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('https://revio.agency/wp-content/uploads/2024/09/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('https://revio.agency/wp-content/uploads/2024/09/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ----------
   Palette mirrors leadsignal.revio.agency: violet #6d28d9 primary,
   deep #4c1d95, soft-black ink #1b1230, warm-grey muted #6c6386,
   green + amber accents. Light theme default; dark theme overrides
   below via :root[data-theme="dark"].
------------------------------ */
:root {
  --purple: #6d28d9;
  --purple-2: #7c3aed;
  --deep: #4c1d95;
  --mint: #12c98b;
  --gold: #ffc553;
  --pink: #ff4c73;
  --blue: #3f6fd8;

  --bg: #ffffff;
  --panel: #ffffff;
  --wash: #faf8fe;
  --ink: #1b1230;
  --ink-2: #1b1230;
  --muted: #6c6386;
  --line: #e8e2f3;
  --prose-ink: #3d3849;

  --panel-grad: linear-gradient(150deg, #cc28d9 0%, #1d6e95 100%);
  --panel-grad-alt: linear-gradient(150deg, #1d6e95 0%, #cc28d9 100%);
  /* Light, airy hero like leadsignal.revio.agency (white → soft lavender) */
  --hero-grad: linear-gradient(160deg, #ffffff 0%, #efe7ff 100%);
  --hero-ink: var(--ink);
  --hero-sub: var(--muted);
  --hero-kicker: var(--purple);

  --shadow-soft: 0 20px 40px rgba(80, 3, 177, .08);
  --shadow-lift: 0 24px 50px rgba(80, 3, 177, .14);
  --glow-mint: 0 12px 30px rgba(18, 201, 139, .4);
  --glow-purple: 0 12px 30px rgba(109, 40, 217, .35);

  --header-bg: rgba(255, 255, 255, .88);
  --card-hover-border: #c2a4ef;
  --logo-filter: invert(1);            /* white wordmark → dark on light header */

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --font-head: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

:root[data-theme="dark"] {
  --purple: #a982f2;
  --purple-2: #c4a6f8;
  --deep: #4c1d95;
  --mint: #1fd6a0;

  --bg: #120a26;
  --panel: #1b1240;
  --wash: #171034;
  --ink: #f4f1fb;
  --ink-2: #f4f1fb;
  --muted: #a79fc0;
  --line: rgba(255, 255, 255, .12);
  --prose-ink: #d9d3e8;

  --panel-grad: linear-gradient(150deg, #5a2eb0 0%, #2f1268 100%);
  --panel-grad-alt: linear-gradient(150deg, #2f1268 0%, #6d28d9 100%);
  --hero-grad: linear-gradient(160deg, #241250 0%, #140a2b 100%);

  --shadow-soft: 0 20px 40px rgba(0, 0, 0, .40);
  --shadow-lift: 0 24px 50px rgba(0, 0, 0, .50);

  --header-bg: rgba(18, 10, 38, .85);
  --card-hover-border: rgba(169, 130, 242, .6);
  --logo-filter: none;                 /* white wordmark stays white on dark header */
}

/* ---------- Reset / base ---------- */
*, *::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: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
/* Smooth light/dark theme cross-fade */
body, .site-header, .card, .stat, .case-card, .price-card, .testimonial,
.nav-dropdown, .mobile-menu, .nav-toggle, .theme-toggle, .field input,
.field select, .field textarea, .logo-strip {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul[class], ol[class] { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.5px; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -1.4px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.9px; }
h3 { font-size: 19px; font-weight: 700; }
:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--deep); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-wash { background: var(--wash); }
.section-deep { background: var(--panel-grad); color: #fff; }
.section-deep h2 { color: #fff; }
.section-deep .lede { color: rgba(255,255,255,.72); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 12px;
}
.section-deep .kicker, .hero .kicker { color: var(--mint); }
.lede { color: var(--muted); font-size: 17.5px; max-width: 64ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: 44px; }
.mt-md { margin-top: 28px; }
em.mint { font-style: normal; color: var(--purple); }
strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 700; font-size: 15.5px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(0); }
/* Primary CTA — Revio green */
.btn-mint { background: var(--mint); color: #04231a; }
.btn-mint:hover { transform: translateY(-2px); box-shadow: var(--glow-mint); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { transform: translateY(-2px); box-shadow: var(--glow-purple); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { background: transparent; color: var(--purple); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--purple); background: rgba(80,3,177,.04); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.micro { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hero .micro, .section-deep .micro { color: rgba(255,255,255,.55); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--purple);
}
.arrow-link::after { content: '→'; transition: transform .18s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
/* Floating white rounded nav pill (revio.agency style) */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  padding: 14px 20px 14px;
}
/* Pulsing dot (LeadSignal nav item) */
.nav-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple); margin-right: 4px; vertical-align: middle;
  position: relative; top: -1px;
}
.nav-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--purple); animation: navDotPulse 1.8s ease-out infinite;
}
@keyframes navDotPulse {
  0% { transform: scale(1); opacity: .55; }
  70%,100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .nav-dot::after { animation: none; } }
.nav-in {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 0 14px 0 22px;
  min-height: 54px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 10, 45, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* Dark theme: light-violet nav pill (keep contents legible on it) */
:root[data-theme="dark"] .nav-in { background: #ffffff; border-color: rgba(20, 10, 45, .12); }
:root[data-theme="dark"] .site-header .brand img { filter: invert(1); }
:root[data-theme="dark"] .site-header .nav-top { color: #1b1230; }
:root[data-theme="dark"] .site-header .nav-top:hover,
:root[data-theme="dark"] .site-header .nav-top.is-active { color: #3b1a7a; background: rgba(20, 10, 45, .08); }
:root[data-theme="dark"] .site-header .nav-toggle,
:root[data-theme="dark"] .site-header .theme-toggle { color: #3b1a7a; background: rgba(255, 255, 255, .4); border-color: rgba(20, 10, 45, .16); }
:root[data-theme="dark"] .site-header .nav-quote.btn-ghost-dark { color: #3b1a7a; border-color: rgba(20, 10, 45, .22); background: rgba(255, 255, 255, .35); }
.brand {
  display: inline-flex; align-items: center;
  min-height: 44px;
}
.brand img { display: block; height: auto; width: auto; max-height: 34px; }
/* Revio wordmark ships as a white PNG; invert it to read dark on the
   white nav pill (light theme), leave white in dark theme and in the
   dark footer. */
.site-header .brand img { filter: var(--logo-filter); }
.site-footer .brand img { max-height: 30px; filter: none; }
.nav-sp { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-top {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 44px;
  padding: 8px 13px; border-radius: 9px;
  border: 0; background: transparent;
  font-family: var(--font-head);
  font-weight: 500; font-size: 15px; color: var(--ink);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-top:hover { color: var(--purple); background: var(--wash); }
.nav-top[aria-current="page"], .nav-top.is-active { color: var(--purple); font-weight: 700; background: var(--wash); }
.nav-top .chev { width: 12px; height: 12px; flex: none; transition: transform .18s ease; }
.nav-item.open > .nav-top .chev,
.nav-item:hover > .nav-top .chev,
.nav-item:focus-within > .nav-top .chev { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 250px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lift);
  padding: 8px;
  display: none;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.open > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex; align-items: center;
  min-height: 44px;
  padding: 9px 14px; border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 500; font-size: 14.5px; color: var(--ink);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-dropdown a:hover { color: var(--purple); background: var(--wash); }
.nav-dropdown a[aria-current="page"] { color: var(--purple); font-weight: 700; background: var(--wash); }

/* Icon mega-menu (mirrors revio.agency's dropdown) */
.nav-mega { min-width: 320px; padding: 10px; }
.nav-mega a { align-items: flex-start; gap: 12px; padding: 10px 12px; }
.nav-ic-wrap {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--wash); color: var(--purple);
  transition: background .15s, color .15s, transform .15s;
}
.nav-mega a:hover .nav-ic-wrap { background: var(--purple); color: #fff; transform: translateY(-1px); }
.nav-ic { width: 20px; height: 20px; }
.nav-txt { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
.nav-lbl { font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.nav-desc { font-weight: 500; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.nav-mega a:hover .nav-desc { color: var(--ink); }
.nav-quote { margin-left: 10px; }
.nav-quote.btn-ghost-dark { background: rgba(109,40,217,.09); border-color: rgba(109,40,217,.18); color: var(--purple); }
.nav-quote.btn-ghost-dark:hover { background: rgba(109,40,217,.16); border-color: var(--purple); }
.nav-book { margin-left: 2px; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--purple);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 24px 24px;
  box-shadow: 0 30px 40px rgba(37, 15, 78, .12);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center;
  min-height: 48px;
  padding: 10px 12px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 17px;
  color: var(--ink);
}
.mobile-menu a:hover { background: var(--wash); color: var(--purple); }
.mobile-menu a[aria-current="page"] { color: var(--purple); font-weight: 700; background: var(--wash); }
.mobile-menu .btn { width: 100%; margin-top: 14px; }
.m-group-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px; border-radius: 10px;
  border: 0; background: transparent; text-align: left;
  font-family: var(--font-head); font-weight: 500; font-size: 17px;
  color: var(--ink);
}
.m-group-btn:hover { background: var(--wash); color: var(--purple); }
.m-group-btn.is-active { color: var(--purple); font-weight: 700; }
.m-group-btn .chev { width: 14px; height: 14px; flex: none; transition: transform .18s ease; }
.m-group-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-sub { display: none; padding: 2px 0 6px 14px; border-left: 2px solid var(--line); margin-left: 12px; }
.m-group-btn[aria-expanded="true"] + .m-sub { display: block; }
.m-sub a { min-height: 44px; font-size: 15.5px; gap: 11px; align-items: center; }
.m-sub .nav-ic-wrap { width: 34px; height: 34px; border-radius: 9px; }
.m-sub .nav-ic { width: 18px; height: 18px; }
.m-sub .nav-lbl { font-size: 15px; }
.m-sub .nav-desc { font-size: 12px; }

/* ---------- Nav pill dropdowns (white mega-menus) ---------- */
.nav-dropdown { background: #fff; border-color: #e8e2f3; box-shadow: 0 24px 50px rgba(20, 10, 45, .28); }
.nav-dropdown a { color: #1b1230; }
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] { color: #6d28d9; background: #faf8fe; }
.nav-mega .nav-desc { color: #6c6386; }
.nav-mega a:hover .nav-desc { color: #1b1230; }

/* Two-column wide mega panel (HubSpot) */
.nav-item:hover > .nav-mega-wide,
.nav-item:focus-within > .nav-mega-wide,
.nav-item.open > .nav-mega-wide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px;
}
.nav-mega-wide { min-width: 560px; }
.nav-mega-wide > a[href$="hubspot.html"]:first-child { grid-column: 1 / -1; }

/* Real SVG icon artwork from revio.agency */
.nav-ic-wrap-img { background: #f4f0fb; }
.nav-mega a:hover .nav-ic-wrap-img { background: #ece4fb; transform: translateY(-1px); }
.nav-ic-img { width: 22px; height: 22px; object-fit: contain; }
.m-sub .nav-ic-img { width: 20px; height: 20px; }

/* ---------- Heroes (light, LeadSignal-style) ---------- */
.hero {
  background: var(--hero-grad);
  color: var(--hero-ink);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -180px; right: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: rgba(124,58,237,.10); filter: blur(14px);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; left: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(109,40,217,.08); filter: blur(24px);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-home { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 92px 0 96px; }
.hero-single { max-width: 760px; padding: 96px 0 100px; }
.badge {
  display: inline-block;
  background: rgba(109,40,217,.08);
  border: 1px solid rgba(109,40,217,.28);
  color: var(--purple);
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero .kicker { color: var(--hero-kicker); }
.hero .sub { color: var(--hero-sub); font-size: 18.5px; margin: 20px 0 32px; max-width: 46ch; }
.hero .micro { color: var(--muted); }
.hero .btn-ghost, .page-hero .btn-ghost { color: var(--purple); border-color: var(--purple); background: rgba(109,40,217,.07); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(109,40,217,.14); border-color: var(--purple); color: var(--purple); }
.hero .checks li::before, .page-hero .checks li::before { background: rgba(18,201,139,.16); color: #0e8a68; }

/* Animated hero media — 3 images that cross-fade & slide */
.hero-media {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(10,4,40,.30);
}
.hero-media-bar { display: flex; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--wash); }
.hero-media-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-media-bar i:first-child { background: var(--purple-2); }
.hero-slides { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transform: translateX(26px) scale(1.02);
  animation: heroSlide 15s cubic-bezier(.4,0,.2,1) infinite;
}
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 15px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(to top, rgba(8,3,32,.82), rgba(8,3,32,0));
}
.hero-slide .cap b { color: var(--mint); }
@keyframes heroSlide {
  0%   { opacity: 0; transform: translateX(26px) scale(1.02); }
  4%   { opacity: 1; transform: translateX(0) scale(1); }
  30%  { opacity: 1; transform: translateX(0) scale(1); }
  36%  { opacity: 0; transform: translateX(-26px) scale(1.02); }
  100% { opacity: 0; transform: translateX(-26px) scale(1.02); }
}
.hero-dots { position: absolute; bottom: 12px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.hero-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); animation: heroDot 15s step-end infinite; }
.hero-dots span:nth-child(2) { animation-delay: 5s; }
.hero-dots span:nth-child(3) { animation-delay: 10s; }
@keyframes heroDot { 0%,30% { background: #fff; } 31%,100% { background: rgba(255,255,255,.5); } }
/* Mockup slides (dashboard-style visuals) */
.hero-slide.hs-pad { padding: 26px 26px 24px; background: var(--panel); display: flex; flex-direction: column; }
.mk-kick { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.mk-big { font-family: var(--font-head); font-size: 38px; font-weight: 700; letter-spacing: -1.2px; color: var(--purple); margin-top: 6px; line-height: 1; }
.mk-big span { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.mk-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mk-bars { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; align-items: end; height: 130px; margin-top: auto; }
.mk-bars > div { background: var(--wash); border-radius: 8px 8px 4px 4px; }
.mk-bars > div.p2 { background: #d9c8ff; }
.mk-bars > div.mint { background: var(--mint); }
.mk-labels { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 10px; font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-align: center; }
.mk-rows { margin-top: auto; display: flex; flex-direction: column; gap: 15px; }
.mk-row { display: grid; grid-template-columns: 104px 1fr auto; gap: 12px; align-items: center; font-size: 12.5px; }
.mk-row .lbl { color: var(--ink); font-weight: 600; font-family: var(--font-head); }
.mk-track { height: 9px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.mk-track > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.mk-row .val { color: var(--muted); font-weight: 700; font-family: var(--font-head); }
.mk-area { margin-top: auto; width: 100%; }
.mk-area svg { width: 100%; height: auto; display: block; }

/* In-slide entrance animations, timed to each slide's 15s window
   (slide 1 @0s, slide 2 @5s, slide 3 @10s) */
.mk-bars > div { transform-origin: bottom; transform: scaleY(0); animation: barGrow 15s cubic-bezier(.34,1.1,.4,1) infinite; }
.mk-bars > div:nth-child(1) { animation-delay: 0s; }
.mk-bars > div:nth-child(2) { animation-delay: .1s; }
.mk-bars > div:nth-child(3) { animation-delay: .2s; }
.mk-bars > div:nth-child(4) { animation-delay: .3s; }
@keyframes barGrow { 0%,4% { transform: scaleY(0); } 14% { transform: scaleY(1); } 100% { transform: scaleY(1); } }

.mk-track > i { transform-origin: left; transform: scaleX(0); animation: trackFill 15s cubic-bezier(.4,0,.2,1) infinite; }
.mk-row:nth-child(1) .mk-track > i { animation-delay: 5s; }
.mk-row:nth-child(2) .mk-track > i { animation-delay: 5.12s; }
.mk-row:nth-child(3) .mk-track > i { animation-delay: 5.24s; }
@keyframes trackFill { 0%,4% { transform: scaleX(0); } 14% { transform: scaleX(1); } 100% { transform: scaleX(1); } }

.mk-area .ln { stroke-dasharray: 340; stroke-dashoffset: 340; animation: lineDraw 15s ease-out infinite; animation-delay: 10s; }
.mk-area .ar { opacity: 0; animation: areaFade 15s ease infinite; animation-delay: 10s; }
@keyframes lineDraw { 0%,4% { stroke-dashoffset: 340; } 20% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes areaFade { 0%,8% { opacity: 0; } 24% { opacity: 1; } 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .mk-bars > div { transform: none; animation: none; }
  .mk-track > i { transform: none; animation: none; }
  .mk-area .ln { stroke-dashoffset: 0; animation: none; }
  .mk-area .ar { opacity: 1; animation: none; }
}

/* Lead-table mockup (LeadSignal hero) — rows drop in like a live feed */
.lead-table { background: var(--panel); }
.lt-head, .lt-row { display: grid; grid-template-columns: 60px 44px 1fr; gap: 10px; padding: 12px 18px; align-items: center; border-bottom: 1px solid var(--line); }
.lt-head { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lt-row:last-child { border-bottom: 0; }
.lt-tier { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-align: center; font-family: var(--font-head); }
.lt-tier.hot  { background: rgba(255,76,115,.14); color: #e0325c; }
.lt-tier.warm { background: rgba(201,138,16,.14); color: #b07d10; }
.lt-tier.nurt { background: rgba(74,84,214,.12); color: #4a54d6; }
.lt-score { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--purple); }
.lt-info { font-size: 13px; }
.lt-info span { color: var(--muted); font-size: 12px; }
.lt-row { opacity: 0; animation: ltRowIn 4s ease-in-out infinite; }
.lt-row:nth-of-type(2) { animation-delay: 0s; }
.lt-row:nth-of-type(3) { animation-delay: .22s; }
.lt-row:nth-of-type(4) { animation-delay: .44s; }
.lt-row:nth-of-type(5) { animation-delay: .66s; }
@keyframes ltRowIn {
  0%   { opacity: 0; transform: translateY(-16px) scale(.98); }
  14%  { opacity: 1; transform: translateY(0) scale(1); }
  78%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) { .lt-row { opacity: 1; animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide:first-child { opacity: 1; }
  .hero-dots span { animation: none; }
}

/* Interior page hero */
.page-hero {
  background: var(--hero-grad);
  color: var(--hero-ink);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(124,58,237,.10); filter: blur(14px);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -220px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(109,40,217,.08); filter: blur(24px);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; padding-top: 78px; padding-bottom: 82px; max-width: 900px; }
.page-hero .kicker { color: var(--hero-kicker); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-hero .sub { color: var(--hero-sub); font-size: 18px; margin: 18px 0 0; max-width: 58ch; }
.page-hero .cta-row { margin-top: 30px; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--card-hover-border); box-shadow: var(--shadow-soft); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(80,3,177,.08); color: var(--purple);
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card .icon-img {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--panel-grad);
  box-shadow: 0 8px 20px rgba(80,3,177,.18);
}
.card .icon-img img { width: 30px; height: 30px; object-fit: contain; }
.team-photo {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  margin-bottom: 16px; border: 3px solid var(--wash);
  box-shadow: 0 8px 20px rgba(20,10,45,.14);
}
.card .arrow-link { margin-top: 14px; }
.card .btn-sm { margin-top: 16px; }
a.card { display: block; }
a.card:focus-visible { outline-offset: 0; }

/* Numbered steps */
.step-n {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 12px;
}
.card .step-n + h3 { margin-top: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px; text-align: center;
}
.stat .n {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(32px, 4vw, 44px); letter-spacing: -1.2px;
  color: var(--purple); line-height: 1.05;
}
.stat .l { color: var(--muted); font-size: 14px; margin-top: 8px; }
.section-deep .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section-deep .stat .n { color: var(--mint); }
.section-deep .stat .l { color: rgba(255,255,255,.65); }

/* Logo strip (real client logos) */
.logo-strip { background: #fff; border-block: 1px solid var(--line); padding: 40px 0; }
.logo-strip .label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.logo-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 26px 48px;
}
.logo-strip li {
  font-family: var(--font-head); font-weight: 700;
  font-size: 16.5px; letter-spacing: .4px;
  color: var(--muted);
  white-space: nowrap;
}
/* Single-row auto-scrolling logo carousel */
.logo-cloud {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex; align-items: center; width: max-content;
  animation: logoScroll 45s linear infinite;
}
.logo-cloud:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: 80px; width: auto; max-width: 230px; object-fit: contain; flex: none;
  margin: 0 40px;
  filter: grayscale(1); opacity: .66; mix-blend-mode: multiply;
  transition: opacity .2s ease, filter .2s ease;
}
.logo-track img:hover { opacity: 1; filter: none; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* Case-study cover image (sits above .case-top) */
.case-card .case-cover {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; background: var(--wash);
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--purple);
}
.theme-toggle:hover { border-color: var(--purple); background: var(--wash); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.mobile-theme { display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 48px; padding: 10px 12px; margin-top: 6px;
  border-top: 1px solid var(--line); }
.mobile-theme span { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--ink); }

/* Checklists */
.checks { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(66,224,185,.25); color: #0e8a68;
  font-size: 12px; font-weight: 800;
}
.section-deep .checks li::before, .hero .checks li::before { background: rgba(66,224,185,.18); color: var(--mint); }
.checks.small li { font-size: 14px; }
.checks li strong { font-family: var(--font-head); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Contact page: form on the right at desktop, but first (on top) once stacked */
@media (max-width: 980px) {
  .contact-split .contact-form-col { order: 1; }
  .contact-split .contact-info-col { order: 2; }
}
.split .panel-visual {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-soft);
}

/* Case study cards */
.case-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--card-hover-border); box-shadow: var(--shadow-lift); }
.case-card .case-top {
  background: var(--panel-grad);
  color: #fff; padding: 30px 26px;
}
.case-card .case-top.alt { background: var(--panel-grad-alt); }
.case-card .case-tag {
  font-family: var(--font-head);
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--mint);
}
.case-card .case-top h3 { font-size: 21px; margin-top: 10px; color: #fff; }
.case-card .case-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.case-card .case-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.case-card .case-metric {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--purple); margin-top: 16px;
}

/* Testimonials */
.testimonial {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px;
  box-shadow: var(--shadow-soft);
}
.testimonial blockquote {
  font-family: var(--font-head); font-weight: 500;
  font-size: 19px; line-height: 1.5; letter-spacing: -.2px;
}
.testimonial blockquote::before { content: '“'; color: var(--purple-2); }
.testimonial blockquote::after { content: '”'; color: var(--purple-2); }
.testimonial .who { margin-top: 18px; font-size: 14px; color: var(--muted); }
.testimonial .who strong { color: var(--ink); font-family: var(--font-head); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured { border-color: var(--purple); box-shadow: var(--shadow-lift); }
.price-card .flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--gold); color: var(--deep);
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.price-card .tier-name {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.price-card.featured .tier-name { color: var(--purple); }
.price-card .amount {
  font-family: var(--font-head); font-size: 42px; font-weight: 700;
  letter-spacing: -1.2px; margin: 10px 0 2px;
}
.price-card .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .desc { color: var(--muted); font-size: 14px; }
.price-card .checks { flex: 1; margin: 20px 0 24px; }
.price-card .checks li { font-size: 14px; }
.price-card .btn { width: 100%; }
.price-note { color: var(--muted); font-size: 13.5px; margin-top: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--panel-grad);
  color: #fff;
  border-radius: 26px;
  padding: 64px 44px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; bottom: -150px; left: 35%;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(66,224,185,.13);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin: 0 auto; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 56ch; margin: 16px auto 30px; position: relative; z-index: 1; }
.cta-band .cta-row { position: relative; z-index: 1; justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--panel);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-2);
  box-shadow: 0 0 0 3px rgba(80,3,177,.16);
}
.field .hint { font-size: 12.5px; color: var(--muted); }

/* Embedded HubSpot forms / meetings iframe */
.hs-form-frame {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-soft);
}
.hs-form-frame .hs-form-field { margin-bottom: 16px; }
.hs-form-frame label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.hs-form-frame input:not([type=submit]),
.hs-form-frame select,
.hs-form-frame textarea {
  font: inherit; color: var(--ink); width: 100%;
  min-height: 46px; padding: 11px 14px; margin-top: 6px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--panel);
}
.hs-form-frame textarea { min-height: 120px; }
.hs-form-frame .hs-button {
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  background: var(--purple); color: #fff; border: 0;
  min-height: 48px; padding: 13px 28px; border-radius: var(--r-sm); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.hs-form-frame .hs-button:hover { transform: translateY(-2px); box-shadow: var(--glow-purple); }
.hs-form-frame .hs-error-msg, .hs-form-frame .hs-error-msgs label { color: var(--pink); font-weight: 500; }
.meetings-iframe-container { min-height: 680px; }
.meetings-iframe-container iframe { width: 100%; min-height: 680px; border: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--prose-ink); font-size: 15.5px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep); color: rgba(255,255,255,.72);
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 68px 0 52px;
}
.site-footer .brand { color: #fff; }
.footer-blurb { font-size: 14px; margin: 14px 0 20px; max-width: 34ch; color: rgba(255,255,255,.6); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 32px; color: var(--mint); font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .addr { color: rgba(255,255,255,.55); line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a {
  display: inline-flex; align-items: center;
  min-height: 36px;
  font-size: 14.5px; color: rgba(255,255,255,.75);
}
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 26px;
  display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom .sp { flex: 1; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--mint); }
.hero-hubspot { display: inline-flex; align-items: center; gap: 11px; margin-top: 22px; }
.hero-hubspot .hs-mark { height: 32px; width: 32px; flex: none; }
.hero-hubspot span { font-family: var(--font-head); font-weight: 500; font-size: 11px; line-height: 1.35; color: var(--muted); }
.hero-hubspot span b { display: block; color: var(--ink); font-weight: 700; font-size: 13.5px; letter-spacing: .2px; }
.footer-hubspot { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-hubspot .hs-mark { height: 30px; width: 30px; flex: none; }
.footer-hubspot span { font-family: var(--font-head); font-weight: 500; font-size: 11.5px; line-height: 1.35; color: rgba(255,255,255,.55); }
.footer-hubspot span b { display: block; color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .2px; }
.footer-badge {
  display: inline-block;
  border: 1px solid rgba(66,224,185,.35);
  color: var(--mint);
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  margin-top: 18px;
}

/* ---------- Blog posts & index ---------- */
.post-meta { color: var(--hero-sub); font-size: 14px; font-family: var(--font-head); font-weight: 600; margin-top: 14px; }
.post .prose { max-width: 760px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 26px 0; border: 1px solid var(--line); }
.prose figure { margin: 26px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { border-left: 3px solid var(--purple); padding: 4px 0 4px 20px; margin: 24px 0; font-family: var(--font-head); font-size: 19px; line-height: 1.5; color: var(--ink); }
.prose code { background: var(--wash); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--wash); border: 1px solid var(--line); padding: 16px; border-radius: 12px; overflow-x: auto; margin: 22px 0; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 26px; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--card-hover-border); box-shadow: var(--shadow-soft); }
.post-card .date { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--purple-2); }
.post-card h3 { margin: 10px 0 8px; font-size: 16.5px; line-height: 1.32; }
.post-card p { color: var(--muted); font-size: 13.5px; flex: 1; }
.post-card .arrow-link { margin-top: 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .case-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1230px) {
  .nav-quote { display: none; }
}
@media (max-width: 1120px) {
  .nav-top { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Full-width, flat white top bar on mobile (no floating pill, no side gutter) */
  .site-header { padding: 0; }
  .nav-in {
    max-width: none; margin: 0;
    border-radius: 0;
    border-left: 0; border-right: 0; border-top: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background: #ffffff;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0 16px;
    min-height: 62px;
  }
  :root[data-theme="dark"] .nav-in { background: #ffffff; }
  .brand img { max-height: 40px; }
  .hero-home { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 68px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .cta-band { padding: 52px 26px; border-radius: var(--r-lg); }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .page-hero .wrap { padding-top: 58px; padding-bottom: 62px; }
}
