/* ==========================================================================
   SEOD.com, Shared Design System  (v2)
   Extracted from the SEOD Offer Sheet. Every page imports this file.
   --------------------------------------------------------------------------
   Palette, Navy / Gold / Blue
   Typography, DM Serif Display (display) + DM Sans (body)
   Grid, max-width 1100px, 24px gutters, 48px section padding
   ========================================================================== */

:root {
  /* ============================================================
     SEOD palette v3, black + neon green + white.
     "Growth, engineered." rebrand.

     We keep the legacy variable NAMES (--navy, --gold, --blue)
     pointed at NEW values so all existing rules across 1700+ lines
     auto-rebrand without rewriting selectors. Read --navy as "ink",
     --gold as "accent green", --blue as "deep green".
     ============================================================ */
  --navy:        #0A0A0A;   /* ink / near-black, was #0D1B2A */
  --navy-2:      #1A1A1A;   /* slightly softer ink, was #1E3A5F */
  --blue:        #2BB665;   /* deep green for links/secondary, was #185FA5 */
  --blue-hover:  #4FE883;   /* hover/lighter, was #1A6FBF */
  --blue-light:  #E8FBF0;   /* soft green tint bg, was #E6F1FB */
  --blue-mid:    #C8F5D9;   /* mid green tint, was #B5D4F4 */
  --gold:        #4FE883;   /* primary accent NEON green, was #C9913A */
  --gold-hover:  #6FF098;   /* lighter green hover, was #DFA84A */
  --red:         #B5200D;   /* keep red for "Intro" badges + urgency */
  --green:       #2BB665;   /* legacy semantic green, now harmonized */
  --green-light: #E8FBF0;
  --teal:        #2BB665;
  --teal-light:  #E1F5EE;
  --amber:       #854F0B;
  --amber-light: #FAEEDA;

  /* New explicit brand tokens (use these going forward) */
  --ink:         #0A0A0A;
  --ink-2:       #1A1A1A;
  --accent:      #4FE883;
  --accent-hover:#6FF098;
  --accent-deep: #2BB665;

  /* Neutrals */
  --text:        #0A0A0A;
  --text-muted:  #6B7280;
  --text-dim:    #94A3B8;
  --text-faint:  #475569;
  --gray-light:  #F4F6FA;
  --gray-mid:    #DDE1EA;
  --white:       #FFFFFF;

  /* System */
  /* Claude uses generous rounded corners, softer, more organic feel */
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 8px rgba(10, 10, 10,.06);
  --shadow-md:   0 8px 24px rgba(10, 10, 10,.08);
  --shadow-lg:   0 16px 40px rgba(10, 10, 10,.12);

  /* Layout */
  --container:   1100px;
  --gutter:      24px;
  --section-y:   48px;
}

/* -------- Global selection + scrollbar -------- */
::selection { background: rgba(79, 232, 131,0.35); color: var(--navy); }
::-moz-selection { background: rgba(79, 232, 131,0.35); color: var(--navy); }
html { scrollbar-width: thin; scrollbar-color: var(--navy) var(--gray-light); }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--gray-light); }
html::-webkit-scrollbar-thumb { background: var(--navy); border: 2px solid var(--gray-light); border-radius: 10px; }
html::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Focus ring, visible for keyboard users, invisible for mouse */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reading progress bar (controlled by ui.js) */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  z-index: 200;
  transition: width .1s linear;
  pointer-events: none;
}

/* -------- Reset / Base -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', 'Styrene A', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-light);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(43, 182, 101,0.04) 0%, transparent 35%),
    radial-gradient(circle at 85% 92%, rgba(79, 232, 131,0.04) 0%, transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.1 0 0 0 0 0.17 0 0 0 0.025 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 64px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
button { font-family: inherit; cursor: pointer; border: 0; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  /* Modern browsers: balance line lengths so two-line headings read evenly. */
  text-wrap: balance;
}
h1 { font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

/* Warm the italic display (Fraunces italic is expressive) */
em { font-style: italic; }
h1 em, h2 em { color: var(--gold); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

/* Two-line heading rhythm: the italic continuation sits on its own line
   (we insert <br> in the HTML). Give it a tiny breath above so the
   serif/italic shift reads as a deliberate pivot rather than a wrap. */
h1 br + em,
h2 br + em {
  display: inline-block;
  margin-top: 0.06em;
}

/* Vertical-outcome cards on home: cleaner hover state in the design system,
   replacing inline event handlers (Loop 4). */
.outcome-card { transition: border-color .15s, transform .15s, box-shadow .15s; }
.outcome-card:hover {
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43,182,101,0.10);
}
.outcome-card:hover span[aria-hidden="true"] { opacity: 1; }

/* -------- Layout primitives -------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section   { padding: var(--section-y) var(--gutter); }
.section--white { background: var(--white); }
.section--light { background: var(--gray-light); }
.section--navy  {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(43, 182, 101,0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(79, 232, 131,0.10) 0%, transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><circle cx='60' cy='60' r='0.6' fill='%23ffffff' opacity='0.05'/><circle cx='15' cy='25' r='0.4' fill='%23ffffff' opacity='0.035'/><circle cx='95' cy='85' r='0.5' fill='%23ffffff' opacity='0.04'/><circle cx='30' cy='100' r='0.3' fill='%23ffffff' opacity='0.03'/><circle cx='100' cy='20' r='0.4' fill='%23ffffff' opacity='0.035'/></svg>");
  position: relative;
}
.section--navy::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 232, 131,0.4), transparent);
  pointer-events: none;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--text-dim); }

.section-title {
  font-family: 'Fraunces', 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 2.8vw, 30px);
  margin-bottom: 6px;
  position: relative;
  padding-top: 18px;
}
.section-title::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.section--navy .section-title::before {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 680px;
}
.section--navy .section-sub { color: #64748B; }

/* -------- Header / Nav -------- */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand__logo { height: 56px; width: auto; display: block; flex-shrink: 0; } /* square PNG with baked-in tagline */
.brand__mark { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 26px; color: var(--white); letter-spacing: .5px; } /* legacy fallback */
.nav {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.nav a {
  color: #CBD5E1; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a.nav__cta {
  background: var(--gold); color: var(--navy); padding: 9px 18px;
  border-radius: var(--radius-pill); font-weight: 600;
}
.nav a.nav__cta:hover { background: var(--gold-hover); color: var(--navy); }
/* v8.0-hotfix: Client Login demoted from pill to plain text link. Free consult (.nav__cta) stays the persistent pill CTA. */
.nav a.nav__login {
  border: 0;
  padding: 8px 4px; border-radius: 0;
  font-size: 13px;
}
.nav a.nav__login:hover { color: var(--white); }

/* -------- Promo banner -------- */
.promo-banner {
  background: linear-gradient(90deg, #0A1F14 0%, #14241B 50%, #0A1F14 100%);
  color: rgba(255,255,255,0.92);
  text-align: center; padding: 13px 20px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(79,232,131,0.18);
  position: relative;
}
.promo-banner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,232,131,0.45), transparent);
}
.promo-banner span { opacity: .75; font-weight: 400; }
@media (max-width: 480px) {
  .promo-banner { font-size: 12px; padding: 10px 14px; line-height: 1.4; }
}

/* ====== v7.12 polish ====== */

/* Visible focus rings on all interactive elements */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #4FE883;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Pulsing glow on primary CTAs */
@keyframes seod-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,232,131,0.45), 0 4px 14px rgba(43,182,101,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(79,232,131,0.00), 0 6px 18px rgba(43,182,101,0.28); }
}
.btn--primary, .nav__cta, .wdev-btn-primary, .ops-btn-primary {
  animation: seod-pulse 2.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn--primary, .nav__cta, .wdev-btn-primary, .ops-btn-primary { animation: none; }
}

/* Card hover lift + soft shadow grow on every card-like surface */
.pkg, .why-card, .price-col, .deliverable-item,
.sizing-card, .receipt-card, .quote, .tool-card,
.metric-card, .who-list li, .pair-list li {
  transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
  will-change: transform;
}
.pkg:hover, .why-card:hover, .price-col:hover, .deliverable-item:hover,
.sizing-card:hover, .receipt-card:hover, .tool-card:hover, .metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10,10,10,0.10), 0 0 0 1px rgba(43,182,101,0.18);
}

/* Highlighted tier cards get a stronger ambient green glow */
.pkg--highlighted, .price-col--flagship, .tier-card--highlighted, .sizing-card--mid {
  box-shadow: 0 18px 40px rgba(43,182,101,0.16), 0 0 0 1px rgba(79,232,131,0.20), inset 0 0 0 1px rgba(255,255,255,0.65);
}
.pkg--highlighted:hover, .price-col--flagship:hover, .tier-card--highlighted:hover, .sizing-card--mid:hover {
  box-shadow: 0 22px 52px rgba(43,182,101,0.22), 0 0 0 1px rgba(79,232,131,0.32), inset 0 0 0 1px rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

/* Hero ambient slow-drift glow */
@keyframes seod-orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  50%      { transform: translate3d(2%, -1%, 0) scale(1.04); opacity: 0.92; }
}
.hero::before, .ops-hero::before, .wdev-hero::before, .pricing-hero::before {
  animation: seod-orb-drift 12s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .ops-hero::before, .wdev-hero::before, .pricing-hero::before { animation: none; }
}

/* Smooth nav link underline grow on hover */
.nav--v71 .nav__primary > a, .nav--v71 .nav__primary > details > summary {
  position: relative;
}
.nav--v71 .nav__primary > a::after,
.nav--v71 .nav__primary > details > summary::after {
  bottom: -4px; left: 0; right: auto;
}

/* Tighten muted text weight on small captions for readability */
.metric-card__sub, .pkg__footer, .price-col__sub, .deliverable-item small,
.line-item__name small, .sizing-card__desc, .why-card p {
  font-weight: 450;
}

/* Mobile micro-adjustments */
@media (max-width: 480px) {
  .section { padding-block: 40px; }
  .hero { padding-block: 60px 40px; }
  .section-title { font-size: clamp(26px, 6vw, 32px); }
  .pkg__price { font-size: 32px; }
  .promo-banner { letter-spacing: 0.1px; }
  .btn { padding: 11px 18px; font-size: 14px; }
}

/* Page speed: smooth scroll anchored navigation */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Reveal animation polish: replace any bounce with clean ease-out */
.reveal, .fade-up, .fade-in {
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary  { background: var(--gold); color: var(--navy); }
.btn--primary:hover  { background: var(--gold-hover); color: var(--navy); }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--blue-hover); color: var(--white); }
.btn--ghost    { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn--ghost:hover    { background: var(--gold); color: var(--navy); }

/* -------- Hero -------- */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(43, 182, 101,0.22) 0%, transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(79, 232, 131,0.12) 0%, transparent 50%);
  padding: 72px var(--gutter) 56px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(43, 182, 101,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gray-light));
  pointer-events: none; opacity: 0.35;
}

/* Hero with illustration layout (home page) */
.hero--split .hero__inner {
  max-width: 1100px;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center;
  gap: 48px; text-align: left;
}
.hero--split .hero__pills { justify-content: flex-start; }
.hero--split .hero__cta-row { justify-content: flex-start; }
.hero__illo {
  display: flex; align-items: center; justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero__illo svg { width: 100%; max-width: 480px; height: auto; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 880px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero--split .hero__pills { justify-content: center; }
  .hero--split .hero__cta-row { justify-content: center; }
  .hero__illo svg { max-width: 320px; }
}
.hero__inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-block; background: rgba(43, 182, 101,.25);
  color: var(--blue-mid); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 20px; border: 1px solid rgba(43, 182, 101,.3);
}
.hero h1 {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white); line-height: 1.18; margin-bottom: 18px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__sub {
  font-size: 16px; color: var(--text-dim);
  max-width: 640px; margin: 0 auto 28px; font-weight: 300;
}
.hero__cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #CBD5E1; font-size: 12px;
  padding: 5px 13px; border-radius: var(--radius-pill);
}
.pill strong { color: var(--white); font-weight: 600; }

/* -------- Metric cards -------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.metric-card {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius-md);
  padding: 20px 14px; text-align: center;
  transition: transform .2s;
}
.metric-card:hover { transform: translateY(-2px); }
.metric-card__value {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 30px; color: var(--blue); line-height: 1;
  margin-bottom: 6px;
}
.metric-card__label {
  font-size: 11px; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px;
}
.metric-card__sub { font-size: 11px; color: var(--text-muted); font-weight: 300; }

/* -------- Package cards -------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-bottom: 18px;
}
.pkg {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pkg__head {
  padding: 18px 22px 14px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.pkg__num { font-size: 10px; font-weight: 600; letter-spacing: 1px; opacity: .65; text-transform: uppercase; }
.pkg__name { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 22px; line-height: 1.1; margin: 3px 0 2px; }
.pkg__sub { font-size: 12px; opacity: .75; }
.pkg__price-wrap { text-align: right; flex-shrink: 0; }
.pkg__price { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 28px; line-height: 1; font-weight: 600; }
.pkg__price span { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; }
.pkg__price-was {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(181, 32, 13,0.55);
  text-decoration-thickness: 1.5px;
  margin-bottom: 2px;
  opacity: 0.7;
}
.pkg__setup { font-size: 11px; opacity: .75; margin-top: 4px; }
.pkg__intro-badge {
  display: inline-block;
  margin-top: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 9.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 10px;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.pkg__divider { height: 1px; background: var(--gray-mid); margin: 0 22px; }
.pkg__items { padding: 16px 22px; flex: 1; }
.pkg__item { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 10px; }
.pkg__item:last-child { margin-bottom: 0; }
.pkg__check {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 10px; font-weight: 700;
}
.pkg__footer {
  padding: 12px 22px 18px;
  font-size: 12px; display: flex; gap: 6px;
}
.pkg__footer-label {
  opacity: .7; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; font-size: 10px; white-space: nowrap;
}

.pkg--blue  { border-color: var(--blue-mid); }
.pkg--blue .pkg__head,
.pkg--blue .pkg__footer { background: var(--blue-light); color: var(--blue); }
.pkg--blue .pkg__check { background: var(--blue); color: var(--white); }

.pkg--teal  { border-color: #9FE1CB; }
.pkg--teal .pkg__head,
.pkg--teal .pkg__footer { background: var(--teal-light); color: var(--teal); }
.pkg--teal .pkg__check { background: var(--teal); color: var(--white); }

.pkg--amber { border-color: #FAC775; }
.pkg--amber .pkg__head,
.pkg--amber .pkg__footer { background: var(--amber-light); color: var(--amber); }
.pkg--amber .pkg__check { background: var(--amber); color: var(--white); }

/* -------- Bundle banner -------- */
.bundle {
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}
.bundle__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.bundle__tag { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.bundle__title { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 24px; color: var(--white); margin-bottom: 8px; }
.bundle__desc  { font-size: 14px; color: var(--text-dim); font-weight: 300; max-width: 520px; line-height: 1.6; }
.bundle__cta   { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.bundle__note  { font-size: 12px; color: #64748B; text-align: right; }

/* -------- Why grid (navy cards), fixed 3×2 on desktop -------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,.09); }
.why-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
}
.why-card h3 { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 17px; color: var(--white); margin-bottom: 6px; }
.why-card p  { font-size: 13.5px; color: var(--text-dim); font-weight: 300; line-height: 1.6; }

/* -------- Comparison table -------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-mid);
  position: relative;
  /* Soft right-edge fade hints "scroll right for more" on mobile */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
}
@media (min-width: 880px) {
  /* On desktop the table fits without scroll, so drop the fade so the right border looks crisp */
  .table-scroll {
    -webkit-mask-image: none;
            mask-image: none;
  }
}
.comp-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13px; }
.comp-table thead th {
  background: var(--navy); color: var(--white);
  padding: 12px 14px; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; white-space: nowrap;
}
.comp-table th.center { text-align: center; }
.comp-table tbody tr { border-bottom: 1px solid var(--gray-mid); transition: background .15s; }
.comp-table tbody tr:last-child { border-bottom: 0; }
.comp-table tbody tr:hover { background: var(--gray-light); }
.comp-table tbody tr.is-seod { background: var(--blue-light); }
.comp-table tbody tr.is-seod:hover { background: #D6E9F9; }
.comp-table td { padding: 11px 14px; vertical-align: middle; }
.co-name { font-weight: 600; font-size: 13px; }
.co-url  { font-size: 11px; color: var(--text-muted); font-weight: 400; display: block; }
.is-seod .co-name { color: var(--blue); }
.is-seod .co-url  { color: var(--blue); opacity: .7; }
.price-cell { font-weight: 600; white-space: nowrap; }
.is-seod .price-cell { color: var(--red); }
.price-note { font-size: 10px; color: var(--text-muted); font-weight: 400; display: block; }
.check-cell { text-align: center; }
.icon-yes, .icon-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
.icon-yes { background: var(--green-light); color: var(--green); }
.icon-no  { background: #FCEBEB; color: #E24B4A; }
.is-seod .icon-yes { background: var(--blue); color: var(--white); }
.best-badge {
  display: inline-block; background: var(--blue); color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 2px 7px;
  border-radius: var(--radius-pill); margin-bottom: 3px;
}

/* -------- Icon utility -------- */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.125em;
  fill: none; stroke: currentColor;
  flex-shrink: 0;
}
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }

/* Feature-icon wrapper (replaces emoji bullets) */
.feat-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.feat-row:last-child { margin-bottom: 0; }
.feat-row__icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: var(--blue-light); color: var(--blue);
}
.feat-row__icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.feat-row__text { flex: 1; line-height: 1.6; font-size: 14.5px; }
.feat-row__text strong { color: var(--navy); }

/* Scroll reveal (paired with ui.js; CSS works without JS, just shows instantly) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible, .no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal-1 { transition-delay: .05s; }
.reveal-2 { transition-delay: .12s; }
.reveal-3 { transition-delay: .2s; }

/* Button press / interactive upgrades */
.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,0.12); }
.btn--primary::after, .btn--secondary::after, .btn--ghost::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(100%); }

/* Card lift polish, applies everywhere */
.pkg, .metric-card, .why-card, .quote, .step, .cred, .related__card {
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s, border-color .2s;
}

/* -------- Testimonials -------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: -14px; left: 18px;
  font-family: 'Fraunces', 'DM Serif Display', Georgia, serif;
  font-size: 86px; line-height: 1;
  color: var(--gold); opacity: 0.85;
  font-style: italic;
  text-shadow: 0 4px 16px rgba(79, 232, 131,0.12);
}
.quote__stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.quote__text  { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 12px; }
.quote__by    { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* -------- Final CTA -------- */
.cta-box {
  background: var(--navy);
  border: 1.5px solid rgba(79, 232, 131,.35);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center; max-width: 820px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79, 232, 131,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.cta-title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.cta-sub {
  font-size: 15px; color: var(--text-dim);
  margin: 0 auto 28px; max-width: 560px; font-weight: 300;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy);
  color: var(--text-dim);
  border-top: 1px solid var(--navy-2);
  padding: 40px var(--gutter) 28px;
}
.site-footer__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a  { color: #94A3B8; font-size: 13px; }
.site-footer a:hover { color: var(--white); }
.site-footer__brand { font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 22px; color: var(--white); margin-bottom: 8px; }
.site-footer__about { font-size: 13px; color: #94A3B8; line-height: 1.6; margin-bottom: 14px; max-width: 320px; }
.site-footer__bottom {
  max-width: var(--container); margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid var(--navy-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: #64748B;
}
.site-footer__bottom a { color: #64748B; }
.site-footer__bottom a:hover { color: var(--white); }

/* -------- Floating sticky CTA -------- */
.float-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy); border-top: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.float-cta__label { font-size: 12px; color: #64748B; white-space: nowrap; }

/* -------- Inline hamburger helper (printed only on mobile) -------- */
.menu-icon {
  display: inline-block; width: 18px; height: 12px;
  position: relative;
}
.menu-icon::before, .menu-icon::after, .menu-icon span {
  content: ''; position: absolute; left: 0; width: 100%;
  height: 2px; background: currentColor; border-radius: 2px;
}
.menu-icon::before { top: 0; }
.menu-icon span    { top: 5px; display: block; }
.menu-icon::after  { bottom: 0; }

/* -------- Animations -------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .55s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------- Breadcrumbs -------- */
.crumbs {
  font-size: 13px; color: var(--text-muted);
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.crumbs .sep { margin: 0 8px; color: var(--gray-mid); }

/* -------- Prose (article body) -------- */
.prose {
  max-width: 740px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
}
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 40px 0 14px; }
.prose h3 { font-size: clamp(18px, 2vw, 22px); margin: 28px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 20px; margin: 24px 0;
  font-style: italic; color: var(--navy);
  background: var(--blue-light);
  border-radius: 4px;
}
.prose strong { color: var(--navy); }

/* -------- Split two-column -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.split--reverse { grid-template-columns: 1.4fr 1fr; }

/* -------- FAQ accordion -------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-weight: 300; font-size: 24px;
  color: var(--blue); line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '–'; transform: rotate(0); }
.faq details > *:not(summary) {
  margin-top: 14px;
  font-size: 15px; color: var(--text);
  line-height: 1.7;
}

/* -------- Timeline / process -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .steps--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps--3 { grid-template-columns: 1fr; }
}
.step {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -14px; left: 22px;
  width: 32px; height: 32px;
  background: var(--gold); color: var(--navy);
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 18px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h3 {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 18px; margin: 8px 0 8px;
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* -------- Credential list -------- */
.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.cred {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 18px;
}
.cred__value {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 28px; color: var(--blue); line-height: 1;
  margin-bottom: 6px;
}
.cred__label { font-size: 13px; color: var(--text); font-weight: 500; }

/* -------- Contact form -------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row--full { grid-template-columns: 1fr; }
.field { display: block; }
.field label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--navy); letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 182, 101,.15);
}
.field textarea { min-height: 140px; resize: vertical; }

/* -------- Trust logo strip -------- */
.trust-strip {
  background: var(--white);
  padding: 28px var(--gutter);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.trust-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.trust-strip__label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  white-space: nowrap;
}
.trust-strip__logos {
  display: flex; gap: 36px; flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.trust-logo {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 18px; color: var(--text-muted);
  opacity: 0.7; transition: opacity .2s, color .2s;
  letter-spacing: .5px;
}
.trust-logo:hover { opacity: 1; color: var(--navy); }

/* -------- Guarantee / risk reversal box -------- */
.guarantee {
  background: linear-gradient(135deg, var(--green-light), #C8E3A7);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.guarantee__seal {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; flex-shrink: 0;
  font-family: 'Fraunces', 'DM Serif Display', serif;
  box-shadow: var(--shadow-md);
}
.guarantee__seal span:first-child { font-size: 22px; line-height: 1; }
.guarantee__seal span:last-child  { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.guarantee__text { flex: 1; min-width: 240px; }
.guarantee__title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 22px; color: var(--green);
  line-height: 1.15; margin-bottom: 6px;
}
.guarantee__body { font-size: 14px; color: var(--navy); line-height: 1.6; }

/* -------- Mobile hamburger -------- */
.nav__toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: var(--white); padding: 8px 12px;
  border-radius: var(--radius-sm); font-size: 14px;
  cursor: pointer;
}
.nav__toggle:hover { border-color: var(--gold); color: var(--gold); }

/* -------- Related services cross-sell -------- */
.related {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 32px;
}
.related__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.related__title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 22px; color: var(--navy);
  margin-bottom: 18px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.related__card {
  display: block; padding: 18px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  color: var(--text);
}
.related__card-title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 16px; color: var(--navy); margin-bottom: 4px;
}
.related__card-desc {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.5;
}
.related__card-arrow {
  display: inline-block; margin-top: 8px;
  font-size: 12px; color: var(--blue); font-weight: 600;
}

/* -------- Mini testimonial strip -------- */
.tm-strip {
  background: var(--blue-light);
  padding: 24px var(--gutter);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; border: 1px solid var(--blue-mid);
}
.tm-strip__stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; flex-shrink: 0; }
.tm-strip__quote {
  flex: 1; min-width: 260px;
  font-size: 15px; line-height: 1.6;
  color: var(--navy); font-style: italic;
}
.tm-strip__by {
  font-size: 12px; color: var(--blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}

/* -------- Case study specific -------- */
.cs-hero {
  padding: 56px var(--gutter) 44px;
  color: var(--white); position: relative; overflow: hidden;
}
.cs-hero::before {
  content:''; position: absolute; top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cs-hero__inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.cs-hero__industry {
  display: inline-block;
  background: rgba(255,255,255,.12); color: var(--white);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.15);
}
.cs-hero h1 {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--white); line-height: 1.15;
  margin-bottom: 14px;
}
.cs-hero__tag {
  font-size: 16px; color: rgba(255,255,255,.8);
  font-weight: 300; max-width: 640px; margin-bottom: 28px;
}
.cs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.cs-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 18px;
}
.cs-stat__value {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 30px; color: var(--white); line-height: 1;
  margin-bottom: 4px;
}
.cs-stat__label {
  font-size: 11px; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .8px;
}

.cs-nav {
  background: var(--gray-light);
  padding: 24px var(--gutter);
  border-top: 1px solid var(--gray-mid);
}
.cs-nav__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
}
.cs-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-pill);
  font-size: 13px; color: var(--navy); font-weight: 500;
  transition: border-color .2s, transform .2s;
}
.cs-nav a:hover { border-color: var(--blue); transform: translateX(2px); }
.cs-nav a.prev:hover { transform: translateX(-2px); }

/* -------- Lead magnet CTA -------- */
.lead-magnet {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.lead-magnet__icon {
  width: 68px; height: 68px; border-radius: var(--radius-md);
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', 'DM Serif Display', serif; font-size: 28px;
  flex-shrink: 0;
}
.lead-magnet__text { flex: 1; min-width: 220px; }
.lead-magnet__title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 22px; color: var(--white);
  margin-bottom: 6px;
}
.lead-magnet__desc { font-size: 14px; color: rgba(255,255,255,.75); }

/* =============================================================
   VALUE DOSSIER, data-driven "why us" dissection
   ============================================================= */

.dossier {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  border: 1.5px solid var(--navy-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dossier__head {
  background: var(--navy);
  color: var(--white);
  padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 14px;
}
.dossier__eyebrow {
  font-size: 11px; font-weight: 700;
  color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 6px;
}
.dossier__title {
  font-family: 'Fraunces','DM Serif Display', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--white); line-height: 1.2;
  margin: 0;
}
.dossier__sub {
  font-size: 13px; color: var(--text-dim);
  margin-top: 6px; max-width: 580px;
}
.dossier__verdict {
  background: var(--gold); color: var(--navy);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79, 232, 131,0.32);
  flex-shrink: 0;
}
.dossier__body { padding: 28px; }

/* Math row, line-by-line receipt */
.math-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 12px; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px dashed var(--gray-mid);
}
.math-row:last-child { border-bottom: 0; }
.math-row--head {
  border-bottom: 2px solid var(--navy);
  padding-bottom: 10px;
}
.math-row--total {
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue-mid);
  margin-top: 10px;
  padding: 16px;
}
.math-row--total .math-row__label { font-weight: 700; color: var(--navy); }
.math-row--total .math-num { font-size: 18px; font-weight: 700; }
.math-row__label {
  font-size: 13.5px; color: var(--text);
  font-weight: 500;
}
.math-row--head .math-row__label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.math-num {
  font-family: 'Fraunces','DM Serif Display', serif;
  font-size: 15px; color: var(--navy);
  text-align: right;
}
.math-num--strike {
  text-decoration: line-through;
  text-decoration-color: rgba(181, 32, 13,0.6);
  color: var(--text-muted);
}
.math-num--seod { color: var(--blue); font-weight: 700; }
.math-num--savings { color: var(--green); font-weight: 700; }
.math-row--head .math-num { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.dossier__footnote {
  font-size: 11px; color: var(--text-muted);
  margin-top: 14px; line-height: 1.6;
  padding: 0 16px;
}
.dossier__footnote a { color: var(--blue); }

@media (max-width: 640px) {
  .math-row { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 12px; }
  .math-row__label { grid-column: 1 / -1; font-weight: 600; font-size: 13px; }
  .math-num { font-size: 14px; }
}

/* =============================================================
   TRUST SIGNALS, proof bar, credentials, receipts
   ============================================================= */

/* Trust bar, numeric receipts, runs at top of home and key pages */
.proof-bar {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  padding: 28px var(--gutter);
}
.proof-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.proof-stat {
  text-align: center;
  position: relative;
}
.proof-stat:not(:last-child)::after {
  content: ''; position: absolute; right: -10px; top: 20%; bottom: 20%;
  width: 1px; background: var(--gray-mid);
}
.proof-stat__value {
  font-family: 'Fraunces','DM Serif Display', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy); line-height: 1.05;
  font-weight: 600;
}
.proof-stat__label {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 4px;
}
.proof-stat__sub {
  font-size: 11px; color: var(--text-muted);
  font-weight: 400; margin-top: 2px;
}

/* Credential strip, certifications, memberships, partner badges */
.cred-strip {
  background: var(--white);
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--gray-mid);
}
.cred-strip__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.cred-strip__label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  padding-right: 12px;
  border-right: 1px solid var(--gray-mid);
}
.cred-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--navy);
}
.cred-badge .icon {
  width: 16px; height: 16px;
  color: var(--gold);
  stroke-width: 2.5;
}
.cred-badge__verified {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 9px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  margin-left: 4px;
}

/* Before/after stat card, for case studies */
.ba-stat {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.ba-stat__label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.ba-stat__row {
  display: flex; align-items: center; gap: 14px;
}
.ba-stat__before, .ba-stat__after {
  flex: 1; text-align: center;
}
.ba-stat__num {
  font-family: 'Fraunces','DM Serif Display', serif;
  font-size: 22px; line-height: 1.05;
  font-weight: 600;
}
.ba-stat__before .ba-stat__num { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(107,114,128,0.4); }
.ba-stat__after  .ba-stat__num { color: var(--blue); }
.ba-stat__tag {
  font-size: 10px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .7px;
  margin-top: 2px;
}
.ba-stat__arrow {
  color: var(--gold); font-size: 18px;
}

/* =============================================================
   CTA SHARPENING, clearer, bigger, more conversion-focused
   ============================================================= */

/* Primary action button, bigger, more magnetic */
.btn--xl {
  font-size: 16px;
  padding: 16px 28px;
  font-weight: 700;
  letter-spacing: .2px;
  min-height: 52px;
  box-shadow: 0 6px 20px rgba(79, 232, 131,0.25), 0 2px 0 rgba(0,0,0,0.08);
}
.btn--xl:hover { box-shadow: 0 10px 28px rgba(79, 232, 131,0.35), 0 2px 0 rgba(0,0,0,0.08); }

/* CTA with benefit under primary label */
.btn-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.btn-stack__micro {
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .3px;
}
.section--navy .btn-stack__micro { color: rgba(255,255,255,.6); }

/* Consultation ribbon, visible trust signal near CTAs */
.consult-ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}
.consult-ribbon .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134,239,172,0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(134,239,172,0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(134,239,172,0); }
}

/* Click-to-call / click-to-text / click-to-email triptych for mobile */
.contact-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.contact-triad__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--navy);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  min-height: 78px;
}
.contact-triad__btn:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  color: var(--navy);
}
.contact-triad__btn .icon {
  width: 22px; height: 22px; color: var(--blue);
}
.contact-triad__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .3px;
}
.contact-triad__sub {
  font-size: 10.5px; color: var(--text-muted);
  font-weight: 400;
}

/* Floating CTA rail, mobile-optimized, bigger targets, real-time status */
.float-cta {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.35);
  padding: 12px 16px;
}
.float-cta__label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #94A3B8;
  white-space: nowrap;
}
.float-cta__label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134,239,172,0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

/* =============================================================
   MOBILE POLISH, touch targets, scaling, stacking, safe-area
   ============================================================= */

/* Give all interactive elements proper touch area on mobile */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; padding: 14px 22px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .pkg a, .related__card { min-height: 44px; }
}

/* -------- Responsive -------- */
@media (max-width: 880px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-y: 36px; --gutter: 16px; }
  
  /* Trust + credential bars adapt to narrow screens */
  .proof-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .proof-stat:nth-child(2n)::after { display: none; }
  .cred-strip__inner { gap: 14px; }
  .cred-strip__label { border-right: 0; padding-right: 0; }

  /* Bigger touch targets, full-width CTAs */
  .hero__cta-row { flex-direction: column; width: 100%; }
  .hero__cta-row .btn { width: 100%; min-height: 52px; font-size: 15px; }
  .hero h1 { font-size: clamp(26px, 8vw, 34px); }
  .hero__sub { font-size: 15px; }

  /* Package cards, breathe on mobile */
  .pkg__head { flex-direction: column; gap: 10px; }
  .pkg__price-wrap { text-align: left; }
  .pkg__items { padding: 16px 20px; }
  .pkg__item { font-size: 14px; }

  /* Guarantee + lead-magnet full-width action */
  .guarantee .btn, .lead-magnet .btn { width: 100%; }

  /* Testimonial strip, stack cleanly */
  .tm-strip { flex-direction: column; text-align: center; }
  .tm-strip__stars { margin: 0 auto; }

  /* Contact form: bigger inputs for fingers */
  .field input, .field select, .field textarea {
    font-size: 16px;  /* prevents iOS zoom on focus */
    padding: 14px 14px;
    min-height: 48px;
  }
  .field textarea { min-height: 160px; }

  /* Contact triptych adapts */
  .contact-triad__btn { min-height: 92px; padding: 16px 6px; }
  .contact-triad__label { font-size: 13px; }

  /* Final CTA box, tighter, bolder */
  .cta-box { padding: 36px 20px; }
  .cta-title { font-size: clamp(24px, 7vw, 32px); }
  .cta-box .btn { width: 100%; }

  /* Float CTA bar: safe-area aware, stacked if needed */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .float-cta {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  /* Section title decorative bar stays visible */
  .section-title { padding-top: 14px; }
  .section-title::before { width: 36px; }

  /* Header: tighter padding + smaller logo on mobile to reduce sticky-bar height */
  .site-header__inner { padding: 10px var(--gutter); gap: 12px; }
  .brand__logo { height: 44px; }
  .brand__mark { font-size: 22px; }

  /* Mobile hamburger nav */
  .nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 12px;
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-size: 15px; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    width: 100%;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a.nav__cta { margin-top: 8px; text-align: center; padding: 12px; }
  .nav a.nav__login { text-align: center; padding: 10px; }

  .guarantee { flex-direction: column; text-align: center; }
  .guarantee__seal { margin: 0 auto; }
  .lead-magnet { flex-direction: column; text-align: center; }
  .lead-magnet__icon { margin: 0 auto; }
  .hero { padding: 40px 16px 32px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .bundle__inner { flex-direction: column; align-items: flex-start; }
  .bundle__cta { align-items: flex-start; width: 100%; }
  .cta-box { padding: 40px 20px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .float-cta { gap: 6px; padding: 8px 12px; }
  .float-cta__label { display: none; }
  .float-cta .btn { font-size: 12px; padding: 10px 14px; flex: 1; }
}

/* ============================================================
   CONVERSION MODULE: Announcement bar (countdown to Jun 30)
   ============================================================ */
.announce-bar {
  position: relative; z-index: 1100;
  background: linear-gradient(90deg, #0A0A0A 0%, #1A1A1A 60%, #2BB665 100%);
  color: #fff;
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  border-bottom: 1px solid rgba(79, 232, 131,0.35);
  animation: announce-in 360ms cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}
.announce-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 50% 100%, rgba(79, 232, 131,0.18), transparent);
  pointer-events: none;
}
.announce-bar.is-closing { animation: announce-out 260ms ease-in forwards; }
.announce-bar__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 9px 18px 9px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; line-height: 1.3;
  position: relative;
}
.announce-bar__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4FE883; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(79, 232, 131,0.7);
  animation: pulseGold 2s infinite;
}
@keyframes pulseGold {
  0%   { box-shadow: 0 0 0 0    rgba(79, 232, 131,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(79, 232, 131,0); }
  100% { box-shadow: 0 0 0 0    rgba(79, 232, 131,0); }
}
.announce-bar__text { flex: 1; min-width: 0; }
.announce-bar__time {
  display: inline-block; margin-left: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
}
.announce-bar__time b {
  display: inline-block; min-width: 22px; text-align: center;
  background: rgba(255,255,255,0.1); border-radius: 4px;
  padding: 1px 4px; font-weight: 700;
  color: #FFD58A;
}
.announce-bar__cta {
  display: inline-block; flex-shrink: 0;
  padding: 6px 14px; border-radius: 50px;
  background: #4FE883; color: #0A0A0A !important;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2px;
  text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.announce-bar__cta:hover { background: #6FF098; transform: translateY(-1px); }
.announce-bar__close {
  flex-shrink: 0;
  background: transparent; border: 0; color: rgba(255,255,255,0.6);
  font-size: 22px; line-height: 1; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, system-ui, sans-serif;
  transition: background .15s ease, color .15s ease;
}
.announce-bar__close:hover { background: rgba(255,255,255,0.1); color: #fff; }

@keyframes announce-in  { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes announce-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }

@media (max-width: 720px) {
  .announce-bar__inner { padding: 8px 12px; gap: 8px; font-size: 11.5px; flex-wrap: wrap; }
  .announce-bar__cta { font-size: 11px; padding: 5px 10px; }
  .announce-bar__time b { min-width: 19px; padding: 1px 3px; font-size: 11px; }
}
@media (max-width: 480px) {
  .announce-bar__cta { display: none; } /* tap the bar OR use float CTA on mobile */
  .announce-bar__inner { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .announce-bar { animation: none; }
  .announce-bar__pulse { animation: none; }
}

/* ============================================================
   CONVERSION MODULE: Free SEO audit modal
   ============================================================ */
.audit-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.audit-modal.is-open { opacity: 1; pointer-events: auto; }
.audit-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 10,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.audit-modal__card {
  position: relative; z-index: 1;
  background: #fff; color: var(--navy);
  width: 100%; max-width: 480px;
  border-radius: 16px;
  padding: 30px 28px 26px;
  box-shadow: 0 20px 70px rgba(10, 10, 10,0.4), 0 4px 12px rgba(10, 10, 10,0.2);
  transform: translateY(12px) scale(0.98);
  transition: transform 280ms cubic-bezier(0.16,1,0.3,1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.audit-modal.is-open .audit-modal__card { transform: translateY(0) scale(1); }
.audit-modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0;
  font-size: 28px; line-height: 1;
  color: var(--text-muted); cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: -apple-system, system-ui, sans-serif;
  transition: background .15s ease;
}
.audit-modal__close:hover { background: rgba(10, 10, 10,0.06); color: var(--navy); }
.audit-modal__eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--red);
  background: rgba(181, 32, 13,0.08);
  padding: 4px 10px; border-radius: 10px;
  margin-bottom: 14px;
}
.audit-modal__title {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 24px; line-height: 1.2; font-weight: 600;
  color: var(--navy); margin: 0 0 10px;
}
.audit-modal__sub {
  font-size: 13.5px; line-height: 1.5; color: var(--text-muted);
  margin-bottom: 18px;
}
.audit-modal__field {
  display: block; margin-bottom: 12px;
}
.audit-modal__field span {
  display: block; font-size: 11.5px; font-weight: 600; color: var(--navy);
  margin-bottom: 5px; letter-spacing: 0.2px;
}
.audit-modal__field input {
  width: 100%; padding: 10px 12px;
  font-family: inherit; font-size: 14px;
  background: #F8F4EA; color: var(--navy);
  border: 1px solid rgba(10, 10, 10,0.12); border-radius: 8px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.audit-modal__field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 182, 101,0.18);
}
.audit-modal__submit {
  width: 100%;
  padding: 12px 18px;
  background: var(--navy); color: #fff;
  border: 0; border-radius: 50px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  margin-top: 4px;
}
.audit-modal__submit:hover { background: #1A2B40; transform: translateY(-1px); }
.audit-modal__fineprint {
  font-size: 11px; color: var(--text-muted);
  margin-top: 10px; text-align: center; line-height: 1.4;
}
.audit-modal__success { text-align: center; padding: 16px 0 8px; }
.audit-modal__success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(45,138,62,0.12); color: #2D8A3E;
  font-size: 32px; line-height: 56px;
  margin: 0 auto 14px;
  font-weight: 700;
}
.audit-modal__success h3 {
  font-family: 'Fraunces', serif; font-size: 22px; color: var(--navy);
  margin: 0 0 8px;
}
.audit-modal__success p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.audit-modal__success a { color: var(--blue); }

@media (max-width: 480px) {
  .audit-modal__card { padding: 26px 20px 22px; border-radius: 14px; }
  .audit-modal__title { font-size: 21px; }
}

/* ============================================================
   CONVERSION MODULE: Live activity proof toasts
   ============================================================ */
.toast-stack {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 8500;
  display: flex; flex-direction: column-reverse; gap: 10px;
  max-width: calc(100vw - 36px);
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; color: var(--navy);
  border: 1px solid rgba(10, 10, 10,0.08);
  box-shadow: 0 10px 30px rgba(10, 10, 10,0.16), 0 2px 6px rgba(10, 10, 10,0.08);
  border-radius: 12px;
  padding: 12px 12px 12px 14px;
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  font-size: 13px; line-height: 1.35;
  width: 320px; max-width: 100%;
  pointer-events: auto;
  transform: translateY(20px); opacity: 0;
  transition: transform 360ms cubic-bezier(0.16,1,0.3,1), opacity 280ms ease;
}
.toast.is-in  { transform: translateY(0); opacity: 1; }
.toast.is-out { transform: translateX(-30px); opacity: 0; }
.toast__avatar {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #0A0A0A 0%, #4FE883 100%);
  color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.toast__body { flex: 1; min-width: 0; }
.toast__line strong { font-weight: 600; color: var(--navy); }
.toast__sub {
  font-size: 11.5px; color: var(--text-muted);
  margin-top: 2px;
}
.toast__close {
  flex-shrink: 0;
  background: transparent; border: 0;
  color: var(--text-muted); cursor: pointer;
  font-size: 18px; line-height: 1;
  width: 22px; height: 22px;
  font-family: -apple-system, system-ui, sans-serif;
  border-radius: 50%; transition: background .15s ease;
  margin: -2px -2px 0 0;
}
.toast__close:hover { background: rgba(10, 10, 10,0.06); color: var(--navy); }

@media (max-width: 540px) {
  .toast-stack { left: 12px; right: 12px; bottom: 12px; }
  .toast { width: 100%; }
  /* Don't double-stack on top of float-cta */
  body.has-float-cta .toast-stack { bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 220ms ease; transform: none; }
  .toast.is-in { transform: none; }
  .toast.is-out { transform: none; }
}

/* ============================================================
   REBRAND v3, Contextual contrast override
   ------------------------------------------------------------
   Neon green (#4FE883) on white = ~1.6:1 contrast (fails AA).
   Solution: in light contexts, redefine --gold to a deeper green
   (#2BB665, ~3.6:1 on white, AA-large). In dark contexts, snap
   back to neon. Button rules continue to use var(--gold) and
   inherit the right shade per context.
   ============================================================ */

/* Light contexts → deep green */
body,
.section--white,
.section--light,
.section--cream,
.fyf-card,
.audit-modal__card,
.toast {
  --gold: #2BB665;
  --gold-hover: #1F9E54;
}

/* Dark contexts → bright neon. Place *after* the light rule so cascade wins. */
.site-header,
.site-header *,
.site-footer,
.site-footer *,
.section--navy,
.section--navy *,
.hero,
.hero *,
.fyf-result,
.fyf-result *,
.announce-bar,
.announce-bar *,
.bundle--dark,
.bundle--dark *,
.cred-strip--dark,
.cred-strip--dark * {
  --gold: #4FE883;
  --gold-hover: #6FF098;
}

/* Float CTA still on cream bg → deep green if it has a green accent */
.float-cta { --gold: #2BB665; }

/* ========================================================================
   v7.15.2 — Type-based nav wordmark (replaces SVG logo image)
   Reason: every PNG/SVG logo export lacks alpha channel, creating an
   awkward white box around the mark. Type-based mark has zero file
   overhead, scales perfectly to any density, and matches the operator
   aesthetic (Stripe/Linear/Substack wordmark pattern).
   ======================================================================== */
.nav--v71 .nav__brand { gap: 0; }
.nav--v71 .nav__brand-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #4FE883;
  display: inline-block;
}
.nav--v71 .nav__brand-mark::after {
  content: ".";
  color: #2BB665;
  margin-left: 1px;
}
/* Mobile: scale down for tighter mobile bar */
@media (max-width: 640px) {
  .nav--v71 .nav__brand-mark { font-size: 22px; }
}
/* Hover: subtle lift, no underline */
.nav--v71 .nav__brand:hover .nav__brand-mark { color: #76FF9C; }
.nav--v71 .nav__brand:focus-visible {
  outline: 2px solid rgba(79, 232, 131, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ========================================================================
   v7.17 — Design polish pass (Gemini-informed)
   ======================================================================== */

/* Problem A: Typographic Monolith hero with Technical Ledger Split */
.hero--monolith {
  background: linear-gradient(180deg, #0A0A0A 0%, #0F1410 60%, #0A1F14 100%);
  color: #fff;
  padding: clamp(56px, 9vh, 96px) 24px clamp(48px, 8vh, 88px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(43,182,101,0.18);
}
.hero__inner--ledger {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero__copy .hero__eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4FE883;
  background: rgba(79,232,131,0.08);
  border: 1px solid rgba(79,232,131,0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__h {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 22px;
}
.hero__h em {
  font-style: italic;
  font-weight: 400;
  color: #4FE883;
}
.hero--monolith .hero__sub {
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px;
  max-width: 580px;
}
.hero--monolith .hero__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Technical ledger column */
.hero__ledger {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(43,182,101,0.20);
  border-bottom: 1px solid rgba(43,182,101,0.20);
  padding: 6px 0;
  margin: 0;
  align-self: stretch;
  justify-content: center;
}
.hero__ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 4px;
  border-top: 1px solid rgba(43,182,101,0.10);
}
.hero__ledger-row:first-child { border-top: 0; }
.hero__ledger-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.hero__ledger-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  text-align: right;
  line-height: 1.3;
}
.hero__ledger-row--accent .hero__ledger-num { color: #4FE883; }
.hero__ledger-row--accent .hero__ledger-lbl { color: rgba(79,232,131,0.85); }

@media (max-width: 880px) {
  .hero__inner--ledger { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero__inner--ledger .hero__copy { text-align: center; }
  .hero__inner--ledger .hero__copy .hero__eyebrow { display: inline-block; }
  .hero--monolith .hero__sub { margin-left: auto; margin-right: auto; max-width: 56ch; }
  .hero--monolith .hero__cta-row { justify-content: center; }
  .hero__ledger { margin-top: 8px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero__ledger-num { font-size: 22px; }
}

/* Problem B: Inline Definition Manifest (homepage 6-card replacement) */
.manifest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(20px, 3.5vw, 48px);
  margin-top: 36px;
}
.manifest-slot {
  position: relative;
  padding: 22px 0 8px;
  border-top: 1px solid #2BB665;
}
.manifest-slot__num {
  position: absolute;
  top: 14px;
  right: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  color: rgba(79,232,131,0.10);
  pointer-events: none;
  letter-spacing: -0.04em;
}
.manifest-slot__h {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.manifest-slot__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  padding-left: 14px;
  text-indent: -14px;
  position: relative;
  z-index: 1;
  max-width: 38ch;
}

/* Problem C: Asymmetric Frame Focus on pricing Most Popular */
.tier-card--popular {
  background: #0A1F14 !important;
  border-color: rgba(79, 232, 131, 0.18) !important;
  color: #fff !important;
}
.tier-card--popular h3,
.tier-card--popular .pkg__price,
.tier-card--popular strong { color: #fff !important; }
.tier-card--popular .tier-kicker {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: #4FE883;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* Problem D: Editorial Portfolio Ledger Line (trust strip operator brands) */
.trust-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: 14px;
  border-top: 1px dashed rgba(43,182,101,0.45);
  border-bottom: 1px dashed rgba(43,182,101,0.45);
  padding: 22px 16px;
  margin: 16px auto 0;
  max-width: 920px;
  align-items: baseline;
}
.trust-ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}
.trust-ledger__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #4FE883;
  flex-shrink: 0;
  margin-right: 10px;
}
.trust-ledger__tag::after {
  content: " ";
  white-space: pre;
}
.trust-ledger__name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink);
}
@media (max-width: 600px) {
  .trust-ledger { grid-template-columns: 1fr; row-gap: 10px; padding: 18px 12px; }
  .trust-ledger__row { justify-content: flex-start; flex-wrap: wrap; white-space: normal; }
  .trust-ledger__name { font-size: 17px; }
}

/* Problem G: Service page atmospheric intensity variance */
.hero--marketing::before { opacity: 1.0; }
.hero--web::before { opacity: 0.72; }
.hero--operations::before { opacity: 0.42; }
.hero--ai-agents::before { opacity: 1.15; }

/* Problem I: Mobile pricing segmented tab deck */
.mobile-pricing-tabs { display: none; }
.mobile-pricing-tabs__radio { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .mobile-pricing-tabs__radio { pointer-events: auto; }
  .mobile-pricing-tabs {
    display: flex;
    gap: 0;
    margin: 0 auto 18px;
    max-width: 480px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(43,182,101,0.22);
    border-radius: 999px;
    padding: 4px;
    overflow: hidden;
  }
  .mobile-pricing-tabs__radio { position: absolute; left: -9999px; }
  .mobile-pricing-tabs__label {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    user-select: none;
  }
  /* Toggle visibility on stacked cards */
  body:has(#mpt-marketing:checked) .v714-grid-target > article:nth-of-type(1) { display: flex; }
  body:has(#mpt-marketing:checked) .v714-grid-target > article:nth-of-type(2),
  body:has(#mpt-marketing:checked) .v714-grid-target > article:nth-of-type(3) { display: none; }
  body:has(#mpt-web:checked) .v714-grid-target > article:nth-of-type(2) { display: flex; }
  body:has(#mpt-web:checked) .v714-grid-target > article:nth-of-type(1),
  body:has(#mpt-web:checked) .v714-grid-target > article:nth-of-type(3) { display: none; }
  body:has(#mpt-ops:checked) .v714-grid-target > article:nth-of-type(3) { display: flex; }
  body:has(#mpt-ops:checked) .v714-grid-target > article:nth-of-type(1),
  body:has(#mpt-ops:checked) .v714-grid-target > article:nth-of-type(2) { display: none; }
  #mpt-marketing:checked ~ .mobile-pricing-tabs label[for=mpt-marketing],
  #mpt-web:checked ~ .mobile-pricing-tabs label[for=mpt-web],
  #mpt-ops:checked ~ .mobile-pricing-tabs label[for=mpt-ops] {
    background: #2BB665;
    color: #fff;
  }
}


/* ========================================================================
   v7.19b MOBILE RESPONSIVE FIXES
   Catches inline grid-template-columns patterns that lack media queries.
   Applies aggressive 1-column collapse at <760px and 2-column at <1024px.
   ======================================================================== */
@media (max-width: 1024px) {
  /* Generic catch-all: any inline 2-3 col grid that's already declared but lacks responsive handling */
  section[aria-labelledby="metrics-heading"] .metrics-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 760px) {
  /* Homepage: operator background + verified partnered 2-col → stack */
  section[aria-label="Operator background and partnerships"] > div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Homepage: AI search emphasis 2-col → stack */
  section[aria-label="Built for AI search"] > div > div[style*="grid-template-columns:1fr 1.4fr"],
  section[style*="background:linear-gradient(135deg,#0A0A0A 0%,#1A1A1A 70%,#27500A 100%)"] > .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* Internal AI search 4 stat cards stay 2-col on mobile, that's fine */

  /* Homepage: tools wrap → stack */
  #tools-wrap, section[aria-labelledby="tools-heading"] > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* About page receipts → stack */
  body.about-page main section .container[style*="grid-template-columns:1fr 1.2fr"],
  body main section .container[style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* AI Audit: tier-comparison 2-col → stack */
  section.tier-comparison > div[style*="grid-template-columns:1fr 1fr"],
  div[style*="display:grid;grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Web Dev tier matrix 3-col → 1-col */
  section.wdev-section > div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Same for tighter declaration */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* All inline 2-col patterns collapse: 1fr 1fr, 1fr 1.4fr, 1.4fr 1fr, repeat(2,1fr) */
  div[style*="grid-template-columns:1fr 1fr"]:not([style*="repeat(2,1fr)"]):not(.proc-phase):not(.hero__inner--ledger) {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr 1.4fr"],
  div[style*="grid-template-columns:1.4fr 1fr"],
  div[style*="grid-template-columns:1fr 1.2fr"],
  div[style*="grid-template-columns:1.2fr 1fr"],
  div[style*="grid-template-columns:1fr 1.4fr 1fr"],
  div[style*="grid-template-columns:1.4fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Pricing dialog table grids stack */
  .price-dialog div[style*="grid-template-columns:1.4fr"] { grid-template-columns: 1fr !important; }

  /* Tools sub-grids (calc, scorecard inputs) */
  div[style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; gap: 8px !important; }

  /* Trust strip names rows: already collapses via .trust-strip--v713 rules */
  /* No-op here */

  /* Footer columns */
  .site-footer__grid { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Pair-strip / pair-list grids stay auto-fit, OK */

  /* Hero CTA row stack better on tiny phones */
  .hero--monolith .hero__cta-row { gap: 10px; }
  .hero--monolith .btn--xl { width: 100%; justify-content: center; }
  .hero--monolith .btn--ghost { width: 100%; justify-content: center; }

  /* Float CTA: make smaller and ensure tap targets */
  .float-cta { padding: 8px 14px !important; }
  .float-cta__btn { padding: 9px 14px !important; font-size: 13px !important; }

  /* Section padding tighten */
  .proc-hero, .proc-phases, .proc-principles, .proc-team, .proc-cta { padding-left: 18px !important; padding-right: 18px !important; }
  .hero--monolith { padding-left: 18px !important; padding-right: 18px !important; }
}

@media (max-width: 520px) {
  /* Very small phones: collapse remaining 2-col grids */
  .metrics-grid { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }

  /* Pricing tier cards in dialog footer */
  .price-dialog { max-width: 92vw !important; padding: 18px !important; }

  /* Hero ledger row gap tighter */
  .hero__ledger-row { padding: 11px 4px; }
  .hero__ledger-num { font-size: 20px !important; }
  .hero__ledger-lbl { font-size: 9.5px !important; }

  /* Receipt strip - already a small-caps line, prevent overflow */
  .hero__receipt { line-height: 1.7 !important; }

  /* Trust ledger: ensure rows aren't too wide */
  .trust-ledger__name { font-size: 14.5px !important; }
  .trust-ledger__tag { font-size: 9px !important; letter-spacing: 0.06em !important; }
}


/* ========================================================================
   v7.19d - Center the nav logo on mobile
   ======================================================================== */
@media (max-width: 760px) {
  .nav--v71 {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 16px;
    row-gap: 10px;
  }
  .nav--v71 .nav__brand {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
    order: 0;
  }
  .nav--v71 .nav__brand img {
    height: 44px;
    width: auto;
    max-width: 210px;
  }
  .nav--v71 .nav__primary { width: 100%; justify-content: center; }
  .nav--v71 .nav__login { order: 3; }
  .nav--v71 .nav__cta { order: 4; }
  .nav--v71 .nav__spacer { display: none; }
}


/* ========================================================================
   v7.19d - Trust chips, Verified pill 2x2 grid, metrics-grid mobile fix
   ======================================================================== */

/* Trust strip clients as chip pills */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-chip {
  font-family: 'Fraunces', 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: border-color 0.15s, color 0.15s;
}
.trust-chip:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
@media (max-width: 600px) {
  .trust-chip { font-size: 14.5px; padding: 6px 12px; }
}

/* Verified pill: 2 per row on mobile (4 items = 2 rows) */
.verif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.verif-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .verif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .verif-pill { font-size: 12.5px; padding: 8px 10px; justify-content: center; text-align: center; white-space: normal; }
}

/* Metrics-grid: force 2-col on small screens, prevent overflow */
@media (max-width: 760px) {
  .metrics-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .metric-card { padding: 16px 12px !important; min-width: 0; }
  .metric-card__value { font-size: clamp(22px, 6vw, 30px) !important; word-break: break-word; }
  .metric-card__label { font-size: 11px !important; }
  .metric-card__sub { font-size: 12px !important; line-height: 1.45 !important; }
}
@media (max-width: 420px) {
  .metric-card__value { font-size: 20px !important; }
}

/* Section padding tighter to prevent overflow at very small widths */
@media (max-width: 420px) {
  .section { padding-left: 14px !important; padding-right: 14px !important; }
  .container { padding-left: 0 !important; padding-right: 0 !important; }
}


/* ========================================================================
   v7.19d - Extended mobile selectors for spaced grid-template-columns syntax
   Catches inline styles like "grid-template-columns: 1fr 1fr" (with space)
   that the original v7.19b rules missed.
   ======================================================================== */
@media (max-width: 760px) {
  /* 2-column inline patterns with SPACE syntax */
  div[style*="grid-template-columns: 1fr 1fr"]:not([style*="repeat(2, 1fr)"]):not(.proc-phase):not(.hero__inner--ledger) {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: 1fr 1.4fr"],
  div[style*="grid-template-columns: 1.4fr 1fr"],
  div[style*="grid-template-columns: 1fr 1.2fr"],
  div[style*="grid-template-columns: 1.2fr 1fr"],
  div[style*="grid-template-columns: 1fr 1.4fr 1fr"],
  div[style*="grid-template-columns: 1.4fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: 1fr auto"] { grid-template-columns: 1fr !important; gap: 8px !important; }

  /* Bundle banner 3-col grid */
  .pkg--bundle-banner { grid-template-columns: 1fr !important; padding: 28px 22px !important; }

  /* Tools section card padding tighten on mobile so the AI ROI card fits */
  section[style*="padding: 56px 24px"] > div > div[style*="grid-template-columns"] > div { padding: 18px 16px !important; }

  /* AI ROI card buttons full width on mobile */
  section[style*="padding: 56px 24px"] a[href*="ai-agent-roi-calculator"],
  section[style*="padding: 56px 24px"] a[href="#grader"] {
    width: 100% !important;
    align-self: stretch !important;
    justify-content: center !important;
  }

  /* Universal: prevent any inline-grid 3-col patterns from overflowing */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Calc page calc-grid + output-row already handled at 880px in tool page CSS */
  /* But tighten container padding so sliders fit */
  body main section.calc-section,
  section.roi-hero { padding-left: 14px !important; padding-right: 14px !important; }
}

@media (max-width: 520px) {
  /* Internal 2-col stat grids inside cards */
  div[style*="grid-template-columns:repeat(2,1fr)"],
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Bundle banner CTA inside the 1fr 1.4fr auto grid */
  .pkg--bundle-banner > * { width: 100% !important; }
}


/* v7.20.1 — Pricing hero centering reinforcement */
.pricing-hero__inner { text-align: center; }
.pricing-hero h1 { text-align: center; }
.pricing-hero__sub { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-hero__note { text-align: center; }
.pricing-hero__cta-row { justify-content: center !important; }
