/* ==========================================================================
   99BinaryLab — Prototype Stylesheet
   Premium dark technical system. Mobile-first.
   Author build for: Saddam Hossen
   ========================================================================== */

/* ---- 1. Design tokens --------------------------------------------------- */
:root {
  /* --- Brand (theme-independent) --- */
  --brand-indigo: #553BFC;
  --brand-mid:    #7636FD;
  --brand-purple: #9E31FE;
  --brand-magenta:#C12CFF;
  --grad: linear-gradient(120deg, #553BFC, #7636FD, #9E31FE, #C12CFF);

  /* Semantic score colours (read on both themes) */
  --good: #10B981;
  --warn: #E0920C;
  --bad:  #EF4444;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(2.75rem, 4.6vw, 5.5rem);
}

/* ===== LIGHT THEME (default) ============================================= */
[data-theme="light"] {
  --bg-base:      #F7F8FC;
  --bg-surface:   #FFFFFF;
  --bg-surface-2: #EEF0F8;
  --bg-elev:      #FFFFFF;

  --text:       #111111;
  --text-muted: #4B4B5A;
  --text-dim:   #5A5A6B;
  --text-faint: #5E5E70;

  --border:        rgba(17,17,17,.07);
  --border-strong: rgba(85,59,252,.28);
  --ring:          rgba(85,59,252,.55);
  --accent-ink:    #553BFC;           /* text accent that passes AA on light */
  --surface-tint:  rgba(17,17,17,.04);

  --grad-soft: linear-gradient(120deg, rgba(85,59,252,.10), rgba(193,44,255,.08));
  --icon-bg:   var(--grad-soft);      /* soft tile + indigo glyph = premium on light */
  --icon-ink:  var(--accent-ink);
  --free-tint: linear-gradient(180deg, rgba(124,55,253,.06), var(--bg-surface));
  --cta-glow:  radial-gradient(80% 120% at 50% -20%, rgba(124,55,253,.10), transparent 70%);

  --shadow:      0 18px 40px -20px rgba(17,17,40,.22);
  --shadow-card: 0 1px 2px rgba(17,17,40,.04), 0 12px 32px -14px rgba(17,17,40,.18);
  --shadow-glow: 0 1px 0 rgba(17,17,17,.03), 0 22px 46px -26px rgba(85,59,252,.28);

  --header-bg:  rgba(247,248,252,.82);
  --overlay-bg: rgba(247,248,252,.98);
  --bar-bg:     rgba(255,255,255,.86);
  color-scheme: light;
}

/* ===== DARK THEME ======================================================== */
[data-theme="dark"] {
  --bg-base:      #0A0A0F;
  --bg-surface:   #14141B;
  --bg-surface-2: #1B1B26;
  --bg-elev:      #20202D;

  --text:       #FFFFFF;
  --text-muted: #E6E6EC;
  --text-dim:   #A6A6B8;
  --text-faint: #80809A;

  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(124,99,252,.30);
  --ring:          rgba(124,99,252,.55);
  --accent-ink:    #C12CFF;
  --surface-tint:  rgba(255,255,255,.04);

  --grad-soft: linear-gradient(120deg, rgba(85,59,252,.18), rgba(193,44,255,.18));
  --icon-bg:   var(--grad-soft);     /* subtle tile (original dark look) */
  --icon-ink:  #fff;
  --free-tint: linear-gradient(180deg, rgba(124,55,253,.12), var(--bg-surface));
  --cta-glow:  radial-gradient(80% 120% at 50% -20%, rgba(124,55,253,.28), transparent 70%);

  --shadow:      0 24px 60px -24px rgba(0,0,0,.7);
  --shadow-card: none;
  --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -40px rgba(124,55,253,.55);

  --header-bg:  rgba(10,10,15,.72);
  --overlay-bg: rgba(8,8,12,.97);
  --bar-bg:     rgba(10,10,15,.85);
  color-scheme: dark;
}

/* ===== ALWAYS-DARK SCOPE (technical dashboard surfaces) =================
   Applied to the SiteProof scorecard, report previews, the SiteProof band,
   and the footer — so they stay product-like dark cards even in Light mode.
   Re-declares the dark token set locally; child components use var() and
   adapt automatically. */
.surface-dark,
.scorecard,
.report,
.section--dark,
.site-footer {
  --bg-base:      #0A0A0F;
  --bg-surface:   #14141B;
  --bg-surface-2: #1B1B26;
  --bg-elev:      #20202D;
  --text:       #FFFFFF;
  --text-muted: #E6E6EC;
  --text-dim:   #A6A6B8;
  --text-faint: #80809A;
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(124,99,252,.30);
  --ring:          rgba(124,99,252,.55);
  --accent-ink:    #C12CFF;
  --surface-tint:  rgba(255,255,255,.04);
  --grad-soft: linear-gradient(120deg, rgba(85,59,252,.18), rgba(193,44,255,.18));
  --icon-bg:   var(--grad-soft);
  --icon-ink:  #fff;
  --free-tint: linear-gradient(180deg, rgba(124,55,253,.12), var(--bg-surface));
  --shadow:      0 24px 60px -24px rgba(0,0,0,.45);
  --shadow-card: 0 18px 44px -26px rgba(17,17,40,.45);
  --shadow-glow: 0 20px 50px -28px rgba(17,17,40,.5);
  color-scheme: dark;
}
/* Full-bleed dark bands need a painted background */
.section--dark { background: var(--bg-base); }
.site-footer   { background: var(--bg-base); }

/* In Dark mode, restore the signature purple glow on the dashboard cards
   (the always-dark scope above uses a neutral lift that reads on Light bg) */
[data-theme="dark"] .scorecard,
[data-theme="dark"] .report {
  --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -40px rgba(124,55,253,.55);
}

/* ---- 2. Reset & base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1rem;            /* 16px floor */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so the sticky header keeps working */
  padding-bottom: 84px; /* clears mobile sticky CTA; reset at >=600px */
  transition: background-color .3s ease, color .3s ease;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

input, select, textarea { font: inherit; color: inherit; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(124,55,253,.45); color: #fff; }

/* Ambient background glows — fixed, cheap, behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity .3s ease;
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(193,44,255,.16), transparent 70%),
    radial-gradient(55% 45% at 8% 8%, rgba(85,59,252,.18), transparent 70%);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(55% 45% at 92% -8%, rgba(193,44,255,.06), transparent 70%),
    radial-gradient(50% 42% at 4% 4%, rgba(85,59,252,.07), transparent 70%);
}

/* ---- 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.08; font-weight: 600; letter-spacing: -.015em; }

.h1 { font-size: clamp(2.1rem, 6.4vw, 3.85rem); font-weight: 700; }
.h2 { font-size: clamp(1.7rem, 4.6vw, 2.7rem); }
.h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

.lede { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-magenta));
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: var(--font-mono); }

/* ---- 4. Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head .h2 { margin-top: .7rem; }
.section-head .lede { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--brand-indigo); color: #fff;
  padding: .6rem 1rem; border-radius: 8px; z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  color: #fff;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -10px rgba(124,55,253,.7);
}
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(155,49,254,.85); transform: translateY(-2px); }

.btn--ghost {
  background: var(--surface-tint);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--ring); }

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: .95rem 1.8rem; font-size: 1.02rem; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .85rem; letter-spacing: .02em;
  color: var(--text); font-weight: 500;
}
.tlink .arrow { transition: transform .2s ease; color: var(--accent-ink); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ---- 6. Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
  transition: min-height .3s ease;
}
.is-scrolled .header-inner { min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
/* Logo URLs come from functions.php as --logo-dark (white wordmark) / --logo-light (black wordmark).
   Single fixed box -> theme swap causes no layout shift. */
.brand-logo {
  display: block; width: 150px; height: 26px;
  background-image: var(--logo-dark);
  background-repeat: no-repeat; background-position: left center; background-size: contain;
}
[data-theme="light"] .brand-logo { background-image: var(--logo-light); }
[data-theme="dark"]  .brand-logo { background-image: var(--logo-dark); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.theme-toggle {
  width: 48px; height: 48px; flex: none;
  display: grid; place-content: center;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-tint); color: var(--text);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); }
.theme-toggle svg { width: 20px; height: 20px; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"]  .theme-toggle .icon-moon { display: none; }

/* ---- WordPress Navigation block (menu support + accessible overlay) ----- */
.site-header .wp-block-navigation { --wp--style--block-gap: 1.9rem; font-weight: 500; }
.site-header .wp-block-navigation .wp-block-navigation-item__content {
  font-size: .94rem; color: var(--text-muted); font-weight: 500;
  position: relative; padding: .3rem 0; text-decoration: none;
}
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--text); }
.site-header .wp-block-navigation .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease;
}
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover::after { width: 100%; }

/* Hamburger + close button (shown < 600px by the block itself) */
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
  color: var(--text); padding: .35rem;
}
.site-header .wp-block-navigation__responsive-container-open svg,
.site-header .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; fill: currentColor; }

/* Full-screen overlay menu (core, themed) */
.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--overlay-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 8vw, 4rem) var(--gutter);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start; justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--text); padding: .55rem 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }

.header-cta { display: none; }

/* Footer wordmark (white, on always-dark footer) */
.footer-logo {
  display: block; width: 160px; height: 26px; margin-bottom: 1rem;
  background-image: var(--logo-dark);
  background-repeat: no-repeat; background-position: left center; background-size: contain;
}

/* Template-part wrappers carry no stray margins */
.wp-block-template-part { margin: 0; }
.site-main { display: block; }

/* ---- 7. Hero ------------------------------------------------------------ */
.hero { padding-top: clamp(1.8rem, 4.5vw, 3.2rem); padding-bottom: var(--section-y); position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.hero-copy .h1 { margin-top: 1.1rem; }
.hero-copy .lede { margin-top: 1.3rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.trust-strip {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .55rem .9rem;
  align-items: center; font-family: var(--font-mono);
  font-size: .74rem; color: var(--text-dim); letter-spacing: .02em;
}
.trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-magenta); }

/* ---- 8. Scorecard (signature element) ----------------------------------- */
.scorecard {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)) padding-box,
    var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  padding: clamp(1.1rem, 3.5vw, 1.6rem);
  position: relative;
  overflow: hidden;
}
.scorecard::after { /* scan sweep */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140%;
  background: linear-gradient(180deg, transparent, rgba(124,99,252,.10), transparent);
  transform: translateY(-100%);
  animation: scan 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan { 0%,100% { transform: translateY(-100%);} 55% { transform: translateY(60%);} }

.scorecard__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.scorecard__brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .8rem; color: var(--text); letter-spacing: .04em; }
.scorecard__brand img,
.scorecard__brand svg { width: 20px; height: 20px; flex: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--good); background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.3); border-radius: 999px; padding: .25rem .6rem;
}
.status-pill .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* Honesty cue: marks the scorecard as a non-live sample */
.sample-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); background: rgba(124,99,252,.10);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: .25rem .6rem;
}
.sample-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ink); }

.scorecard__top { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.3rem; }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring__track { stroke: rgba(255,255,255,.08); }
.ring__fill { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.3,.9,.3,1); }
.ring__num {
  position: absolute; inset: 0; display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; line-height: 1;
}
.scorecard__top-meta .label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.scorecard__top-meta .big { font-family: var(--font-display); color: #fff; font-size: 1.15rem; font-weight: 600; margin-top: .25rem; }
.scorecard__top-meta .sub { font-size: .82rem; color: var(--text-dim); margin-top: .15rem; }

.modules { display: grid; gap: .85rem; }
.module { display: grid; grid-template-columns: 1fr auto; gap: .25rem .8rem; align-items: center; }
.module__label { font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); letter-spacing: .02em; }
.module__val { font-family: var(--font-mono); font-size: .82rem; color: #fff; font-weight: 500; }
.module__track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.module__fill { height: 100%; width: 0; border-radius: 6px; transition: width 1.2s cubic-bezier(.3,.9,.3,1); }
.module__fill[data-tone="good"] { background: linear-gradient(90deg, #34D399, #6EE7B7); }
.module__fill[data-tone="warn"] { background: linear-gradient(90deg, #FBBF24, #FCD34D); }
.module__fill[data-tone="bad"]  { background: linear-gradient(90deg, #F87171, #FCA5A5); }

.scorecard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--border);
}
.scorecard__foot .issues { font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); }
.scorecard__foot .issues b { color: var(--bad); }
.mini-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .76rem; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: .4rem .75rem;
  background: rgba(124,99,252,.08);
}
.mini-btn:hover { background: rgba(124,99,252,.16); }
/* Static preview affordance — reads as a label, not a working button */
.mini-btn--static { cursor: default; color: var(--text-dim); }
.mini-btn--static:hover { background: rgba(124,99,252,.08); }

/* ---- 9. Generic card ---------------------------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.7rem);
  position: relative;
  box-shadow: var(--shadow-card);
  transition: border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

/* ---- 10. Problem -------------------------------------------------------- */
.problem-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.pain {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
}
.pain__icon { width: 38px; height: 38px; flex: none; display: grid; place-content: center; border-radius: 10px; background: rgba(248,113,113,.12); color: var(--bad); }
.pain__icon svg { width: 18px; height: 18px; }
.pain__text { font-family: var(--font-mono); font-size: .85rem; color: var(--text-muted); }

/* ---- 11. Pillars (solution) --------------------------------------------- */
.pillars { display: grid; gap: 1rem; margin-top: 2.3rem; }
.pillar { padding: clamp(1.2rem,3vw,1.5rem); }
.pillar__n { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ink); letter-spacing: .14em; }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; margin: .9rem 0 1rem; background: var(--icon-bg); border: 1px solid var(--border-strong); color: var(--icon-ink); }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.12rem; }
.pillar p { margin-top: .5rem; font-size: .92rem; color: var(--text-dim); }

/* ---- 12. Services (cards / horizontal scroll on mobile) ----------------- */
.services-scroller {
  display: grid; gap: 1rem; margin-top: 2.3rem;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .6rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.service { scroll-snap-align: start; display: flex; flex-direction: column; }
.service--free { border-color: var(--border-strong); background: var(--free-tint); }
.service__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-content: center; background: var(--icon-bg); border: 1px solid var(--border-strong); color: var(--icon-ink); margin-bottom: 1.1rem; }
.service__icon svg { width: 23px; height: 23px; }
.service__tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.service h3 { font-size: 1.18rem; margin: .3rem 0 .6rem; }
.service p { font-size: .92rem; color: var(--text-dim); }
.service__best { margin-top: 1rem; font-size: .82rem; color: var(--text-muted); }
.service__best span { font-family: var(--font-mono); color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; display: block; margin-bottom: .25rem; }
.service__cta { margin-top: auto; padding-top: 1.3rem; }

/* ---- 13. SiteProof report (reusable) ------------------------------------ */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; margin-top: 1.5rem; }
.disclaimer-note { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); margin-top: 1.2rem; display: inline-flex; gap: .5rem; align-items: center; }
.disclaimer-note svg { width: 14px; height: 14px; flex: none; }

.report {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.report__bar { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; background: var(--bg-surface-2); border-bottom: 1px solid var(--border); }
.report__dots { display: flex; gap: .4rem; }
.report__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.report__title { font-family: var(--font-mono); font-size: .76rem; color: var(--text-dim); margin-left: .4rem; }
.report__badge { margin-left: auto; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); border: 1px solid var(--border-strong); border-radius: 999px; padding: .2rem .55rem; }
.report__body { padding: clamp(1.1rem, 3vw, 1.6rem); }

.report__overall { display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.2rem; }
.report__overall .label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.report__overall .grade { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #fff; margin-top: .25rem; }
.report__overall .grade small { color: var(--warn); }

.report__section-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 1.4rem 0 .8rem; }
.report__section-label:first-child { margin-top: 0; }

.issue-list { display: grid; gap: .55rem; }
.issue { display: flex; align-items: flex-start; gap: .65rem; font-size: .86rem; color: var(--text-muted); }
.issue__sev { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; padding: .12rem .4rem; border-radius: 5px; flex: none; margin-top: .15rem; }
.issue__sev--crit { background: rgba(248,113,113,.14); color: var(--bad); }
.issue__sev--warn { background: rgba(251,191,36,.14); color: var(--warn); }
.issue__sev--fix  { background: rgba(52,211,153,.14); color: var(--good); }

.priority { display: grid; gap: .5rem; counter-reset: step; }
.priority li { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--text-muted); }
.priority li::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ink); flex: none; margin-top: .1rem; }

.report__export { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.report__export .meta { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); }

/* ---- 14. Founder -------------------------------------------------------- */
.founder { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.founder__media { position: relative; }
.founder__photo {
  aspect-ratio: 4/5; width: 100%; max-width: 360px; border-radius: var(--radius-lg);
  object-fit: cover; border: 1px solid var(--border); background: var(--bg-surface-2);
}
.avatar-fallback {
  aspect-ratio: 4/5; width: 100%; max-width: 360px; border-radius: var(--radius-lg);
  display: grid; place-content: center; gap: .4rem;
  border: 1px solid transparent;
  background: var(--grad);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.avatar-fallback .ini { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: #fff; }
.avatar-fallback .cap { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.85); letter-spacing: .06em; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.chip {
  font-family: var(--font-mono); font-size: .74rem; color: var(--text-muted);
  background: var(--surface-tint); border: 1px solid var(--border);
  border-radius: 999px; padding: .4rem .8rem;
}
.chip b { color: var(--text); }
.founder__links { display: flex; gap: 1.3rem; margin-top: 1.6rem; }

/* ---- 15. Process -------------------------------------------------------- */
.steps { display: grid; gap: 1rem; margin-top: 2.3rem; counter-reset: pstep; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.2rem; }
.step__n {
  font-family: var(--font-mono); font-weight: 500; font-size: .82rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center;
  border: 1px solid var(--border-strong); color: var(--accent-ink); background: rgba(124,99,252,.06);
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .88rem; color: var(--text-dim); margin-top: .35rem; }

/* ---- 16. Proof ---------------------------------------------------------- */
.proof-grid { display: grid; gap: 1rem; margin-top: 2.3rem; }
.proof { display: flex; flex-direction: column; }
.proof__metric { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: 1; letter-spacing: -.02em; }
.proof__metric .arrow { color: var(--accent-ink); font-weight: 400; padding: 0 .15em; }
.proof__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-top: .9rem; }
.proof p { font-size: .9rem; color: var(--text-dim); margin-top: .5rem; }
.proof__quote { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .86rem; color: var(--text-muted); font-style: italic; }

/* ---- 17. CTA band ------------------------------------------------------- */
.cta-band {
  background:
    var(--cta-glow),
    var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 3.2rem);
  box-shadow: var(--shadow);
}
.cta-band .h2 { max-width: 18ch; }
.cta-band__grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
.cta-band .lede { margin-top: 1rem; max-width: 42ch; }

/* ---- 18. Forms ---------------------------------------------------------- */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--text-muted); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 48px;
  color: var(--text); width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(124,99,252,.18);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A6A6B8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.5rem; }
.field-row { display: grid; gap: 1.05rem; }

.consent { display: flex; gap: .7rem; align-items: flex-start; }
.consent input { width: 20px; height: 20px; min-height: auto; accent-color: var(--brand-indigo); margin-top: .15rem; flex: none; }
.consent label { font-family: var(--font-body); font-size: .85rem; color: var(--text-dim); line-height: 1.5; }
.consent a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

.form-note { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); display: flex; align-items: center; gap: .5rem; }
.form-note svg { width: 14px; height: 14px; flex: none; color: var(--good); }

/* thank-you state */
.thanks { display: none; text-align: center; padding: 1rem 0; }
.thanks.is-visible { display: block; animation: fade-up .5s ease both; }
.thanks__check { width: 60px; height: 60px; border-radius: 50%; display: grid; place-content: center; margin: 0 auto 1.2rem; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: var(--good); }
.thanks__check svg { width: 28px; height: 28px; }
.thanks h3 { font-size: 1.4rem; }
.thanks p { margin-top: .7rem; color: var(--text-dim); max-width: 38ch; margin-inline: auto; }
.is-submitted .form { display: none; }

/* ---- 19. FAQ (native details) ------------------------------------------- */
.faq { display: grid; gap: .8rem; margin-top: 2.3rem; max-width: 760px; }
.faq details { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.2rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--font-mono); color: var(--accent-ink); transition: transform .25s ease; flex: none; font-size: 1.2rem; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details > div { padding: 0 1.2rem 1.2rem; color: var(--text-dim); font-size: .92rem; }

/* ---- 20. Audit-checks grid (free-audit page) ---------------------------- */
.checks { display: grid; gap: 1rem; margin-top: 2.3rem; }
.check { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem; }
.check__icon { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-content: center; background: var(--icon-bg); border: 1px solid var(--border-strong); color: var(--icon-ink); }
.check__icon svg { width: 21px; height: 21px; }
.check h3 { font-size: 1.02rem; }
.check p { font-size: .87rem; color: var(--text-dim); margin-top: .35rem; }

/* ---- 21. After-submit steps (free-audit) -------------------------------- */
.after { display: grid; gap: 1rem; margin-top: 2.3rem; counter-reset: astep; }
.after__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.after__n { font-family: var(--font-mono); width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--border-strong); color: var(--accent-ink); font-size: .82rem; flex: none; }
.after__item h3 { font-size: 1.02rem; }
.after__item p { font-size: .88rem; color: var(--text-dim); margin-top: .3rem; }

/* ---- 22. Footer --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding-top: clamp(2.8rem,6vw,4rem); padding-bottom: 2rem; margin-top: var(--section-y); }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand img { height: 26px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: var(--text-dim); max-width: 34ch; }
.footer-brand .brand-line { font-family: var(--font-mono); font-size: .76rem; color: var(--accent-ink); margin-top: 1rem; letter-spacing: .04em; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; font-weight: 500; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .9rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.socials { display: flex; gap: .7rem; }
.socials a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-content: center; color: var(--text-dim); transition: border-color .2s, color .2s; }
.socials a:hover { color: #fff; border-color: var(--border-strong); }
.socials svg { width: 18px; height: 18px; }

/* ---- 23. Mobile sticky CTA ---------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: var(--bar-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid var(--border);
}
.mobile-cta .btn { width: 100%; }

/* ---- 24. Reveal animation ----------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.3,.9,.3,1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none; } }

/* ---- 25. Breakpoints ---------------------------------------------------- */

/* Small tablet / large phone */
@media (min-width: 600px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  /* WP Navigation shows inline at >=600px, so surface the header CTA and
     retire the bottom sticky CTA here. */
  .header-cta { display: inline-flex; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0 !important; }
}

/* Tablet */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .pillars { grid-template-columns: repeat(5, 1fr); }
  .pillars .pillar { padding: 1.4rem 1.2rem; }
  .services-scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding-inline: 0;
  }
  .split { grid-template-columns: 1fr 1fr; }
  .split--report-left { direction: ltr; }
  .founder { grid-template-columns: .8fr 1.2fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band__grid { grid-template-columns: 1fr 1.1fr; }
  .checks { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  /* report stays first column visually on SiteProof homepage section */
  .split--media-first .report { order: 2; }
  .split--media-first .split__copy { order: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scorecard::after { display: none; }
}

/* ---- 26. Service pages -------------------------------------------------- */
.crumbs { font-family: var(--font-mono); font-size: .75rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.3rem; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: var(--text); }

.svc-hero { padding-top: clamp(2rem, 5vw, 3.2rem); }
.svc-hero .lede { max-width: 56ch; }
.svc-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.svc-meta .chip { background: var(--surface-tint); }
.svc-hero .hero-actions { margin-top: 1.8rem; }

.svc-grid { display: grid; gap: 1.2rem; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

.svc-list { display: grid; gap: .7rem; margin-top: 1.1rem; }
.svc-list li { display: flex; gap: .65rem; align-items: flex-start; list-style: none; }
.svc-list li svg { flex: none; width: 20px; height: 20px; color: var(--accent-ink); margin-top: .12rem; }

.svc-points { margin-top: 1rem; padding-left: 1.1rem; color: var(--text-muted); }
.svc-points li { margin-bottom: .55rem; }

.svc-outcome { background: var(--free-tint); border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); }
.svc-outcome p { color: var(--text-muted); max-width: 64ch; }

/* FAQ — native <details>, accessible, no JS */
.faq { display: grid; gap: .6rem; margin-top: 1.1rem; }
.faq__item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); }
.faq__item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; font-family: var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.25rem; color: var(--accent-ink); line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item .faq__a { padding: 0 1.2rem 1.15rem; color: var(--text-muted); max-width: 70ch; }

.svc-cross { display: grid; gap: 1rem; margin-top: 1.1rem; }
@media (min-width: 600px) { .svc-cross { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-cross { grid-template-columns: repeat(3, 1fr); } }
.svc-cross a.card { display: block; }
.svc-cross a.card h3 { margin-bottom: .35rem; }
.svc-cross a.card:hover { border-color: var(--border-strong); }
.svc-cross .arrow { color: var(--accent-ink); }

/* ============================================================
   PREMIUM REFINEMENTS (v0.2) — appended overrides
   ============================================================ */

/* ---- Typography polish ------------------------------------ */
h1, h2, h3, h4 { letter-spacing: -.022em; text-wrap: balance; }
.h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); line-height: 1.03; }
.h2 { font-size: clamp(1.65rem, 3.3vw, 2.5rem); line-height: 1.08; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
p { text-wrap: pretty; }
.eyebrow { font-size: .72rem; letter-spacing: .16em; }
.section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head .lede { margin-top: .9rem; }

/* ---- Header: premium + aligned ---------------------------- */
.header-inner { gap: 2rem; min-height: 78px; }
.is-scrolled .header-inner { min-height: 64px; }
.brand-logo { width: 168px; height: 30px; }
@media (max-width: 480px) { .brand-logo { width: 140px; height: 25px; } }

/* Always-present soft glass once scrolled; subtle gradient hairline */
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.site-header.is-scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,99,252,.45), rgba(193,44,255,.45), transparent);
  opacity: .8;
}

/* Nav: padded hover pills, better rhythm */
.site-header .wp-block-navigation { --wp--style--block-gap: 1.4rem; align-items: center; }
.site-header .wp-block-navigation ul { margin: 0; align-items: center; }
.site-header .wp-block-navigation .wp-block-navigation-item__content {
  font-size: .92rem; font-weight: 500; padding: .5rem .7rem; border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.site-header .wp-block-navigation .wp-block-navigation-item__content::after { display: none; }
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--text); background: var(--surface-tint);
}

/* Header actions spacing + premium toggle */
.header-actions { gap: .65rem; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-tint); border-color: var(--border);
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--accent-ink); }

/* Premium primary CTA in header */
.header-cta {
  padding: .62rem 1.25rem; border-radius: 12px; font-weight: 600; font-size: .92rem;
  background: var(--grad); color: #fff; border: 0; position: relative;
  box-shadow: 0 8px 22px -10px rgba(124,55,253,.65);
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px -10px rgba(124,55,253,.8); }

/* ---- Services: premium 6-card grid (no horizontal scroll) -- */
.services-scroller {
  display: grid; grid-auto-flow: row; grid-template-columns: 1fr;
  gap: 1.1rem; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none;
}
@media (min-width: 600px) { .services-scroller { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-scroller { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.service.card {
  position: relative; padding: 1.6rem 1.5rem; border-radius: 18px;
  background: var(--bg-surface); border: 1px solid var(--border);
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
  overflow: hidden;
}
.service.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(124,99,252,.55), rgba(193,44,255,.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease;
}
.service.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: transparent; }
.service.card:hover::before { opacity: 1; }
.service--free { background: var(--free-tint); border-color: var(--border-strong); }
.service__icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.1rem;
  background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--icon-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.service h3 { font-size: 1.2rem; line-height: 1.2; margin: .35rem 0 .65rem; }
.service__cta .tlink { font-weight: 600; }

/* ---- Inline audit form (plugin shortcode) premium polish --- */
.cta-band .bl-audit.card, .cta-band .card[data-form-wrap] {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 20px; box-shadow: var(--shadow-card); padding: clamp(1.4rem, 3vw, 2rem);
}
.bl-audit .field input, .bl-audit .field select, .bl-audit .field textarea,
.cta-band .form input, .cta-band .form select, .cta-band .form textarea {
  border-radius: 12px;
}
.bl-audit .btn--block, .cta-band .form .btn--block { box-shadow: 0 12px 28px -12px rgba(124,55,253,.7); }

/* ---- Floating action buttons (back-to-top + chat) --------- */
.to-top {
  position: fixed; left: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 95;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center;
  border: 1px solid var(--border); background: var(--bg-surface); color: var(--text);
  box-shadow: var(--shadow-card); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, border-color .2s, color .2s;
}
.bl-chat { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 96; }
@media (max-width: 599px) {
  .to-top { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .bl-chat { bottom: calc(74px + env(safe-area-inset-bottom)); }
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--border-strong); color: var(--accent-ink); }
.to-top svg { width: 20px; height: 20px; }

/* ---- AI chat widget --------------------------------------- */
.bl-chat-toggle {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-content: center;
  box-shadow: 0 14px 34px -12px rgba(124,55,253,.75); position: relative;
  transition: transform .18s ease, box-shadow .25s ease;
}
.bl-chat-toggle:hover { transform: translateY(-2px) scale(1.03); }
.bl-chat-toggle svg { width: 26px; height: 26px; }
.bl-chat-toggle .bl-chat-toggle__close { display: none; }
.bl-chat[aria-expanded="true"] .bl-chat-toggle__open { display: none; }
.bl-chat[aria-expanded="true"] .bl-chat-toggle__close { display: block; }
.bl-chat-toggle .ping { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #34d399; border: 2px solid var(--bg-base); }

.bl-chat-panel {
  position: absolute; bottom: 70px; right: 0; width: min(360px, calc(100vw - 2rem));
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 70px -28px rgba(8,8,20,.6); overflow: hidden;
  display: flex; flex-direction: column; max-height: min(560px, 72vh);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98);
  transform-origin: bottom right; transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.bl-chat[aria-expanded="true"] .bl-chat-panel { opacity: 1; visibility: visible; transform: none; }

.bl-chat-head { background: var(--grad); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.bl-chat-head__avatar { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-content: center; font-family: var(--font-mono); font-weight: 700; flex: none; }
.bl-chat-head__t strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.bl-chat-head__t span { font-size: .76rem; opacity: .9; display: inline-flex; align-items: center; gap: .35rem; }
.bl-chat-head__t .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; }

.bl-chat-log { padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; background: var(--bg-base); flex: 1; }
.bl-msg { max-width: 85%; padding: .65rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.bl-msg--bot { align-self: flex-start; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; }
.bl-msg--user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.bl-msg a { color: var(--accent-ink); text-decoration: underline; }
.bl-msg--user a { color: #fff; }

.bl-chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .2rem 1rem 0; }
.bl-chip {
  border: 1px solid var(--border-strong); background: var(--surface-tint); color: var(--text);
  border-radius: 999px; padding: .42rem .8rem; font-size: .8rem; cursor: pointer; font: inherit;
  transition: background .18s, border-color .18s, transform .12s;
}
.bl-chip:hover { background: var(--grad-soft); transform: translateY(-1px); }

.bl-chat-foot { padding: .7rem 1rem 1rem; }
.bl-chat-foot__note { font-size: .68rem; color: var(--text-faint); text-align: center; font-family: var(--font-mono); }

@media (prefers-reduced-motion: reduce) {
  .to-top, .bl-chat-panel, .bl-chat-toggle, .service.card, .header-cta { transition: none !important; }
}

/* Chat text input row */
.bl-chat-input { display: flex; gap: .5rem; margin-bottom: .6rem; }
.bl-chat-input input {
  flex: 1; min-width: 0; padding: .6rem .8rem; border-radius: 11px;
  border: 1px solid var(--border); background: var(--bg-base); color: var(--text); font: inherit; font-size: .9rem;
}
.bl-chat-input input:focus { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--border-strong); }
.bl-chat-input button {
  flex: none; width: 42px; height: 42px; border-radius: 11px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-content: center;
}
.bl-chat-input button svg { width: 18px; height: 18px; }
.bl-chat-typing { font-size: .8rem; color: var(--text-faint); font-style: italic; padding-left: .2rem; }

/* ============================================================
   v1.1 — Premium header rebuild + spacing + polish
   ============================================================ */

/* ---- Section rhythm (desktop 72–96 / tablet 56–72 / mobile 44–56) ---- */
:root { --section-y: clamp(2.75rem, 5.2vw, 6rem); }
@media (max-width: 860px) { :root { --section-y: clamp(2.75rem, 6vw, 4.5rem); } }
.section { padding-block: var(--section-y); }

/* ---- Header shell: brand | (nav + actions) ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg-base); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled {
	background: var(--header-bg, color-mix(in srgb, var(--bg-base) 86%, transparent));
	backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
	box-shadow: 0 1px 0 var(--border), 0 10px 30px -22px rgba(10,10,25,.5);
}
.header-shell {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 74px;
}
.is-scrolled .header-shell { min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.header-right { display: flex; align-items: center; gap: 28px; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
	display: inline-flex; align-items: center; height: 40px; padding: 0 .8rem;
	font-size: .93rem; font-weight: 500; color: var(--text-muted); border-radius: 10px;
	text-decoration: none; transition: color .18s ease, background .18s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-tint); }

/* Actions: never wrap */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle {
	width: 42px; height: 42px; border-radius: 11px; display: grid; place-content: center;
	background: var(--surface-tint); border: 1px solid var(--border); color: var(--text); cursor: pointer;
	transition: border-color .18s, color .18s, background .18s;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--accent-ink); }
.theme-toggle svg { width: 19px; height: 19px; }
.header-cta {
	display: inline-flex; align-items: center; height: 42px; padding: 0 1.25rem;
	border-radius: 11px; font-weight: 600; font-size: .92rem; white-space: nowrap;
	background: var(--grad); color: #fff; border: 0;
	box-shadow: 0 8px 22px -10px rgba(124,55,253,.6);
	transition: transform .16s ease, filter .18s ease, box-shadow .22s ease;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px -10px rgba(124,55,253,.8); }

/* Hamburger (mobile only) */
.mobile-menu-toggle {
	display: none; width: 44px; height: 44px; border-radius: 11px; cursor: pointer;
	background: var(--surface-tint); border: 1px solid var(--border); color: var(--text);
	place-content: center;
}
.hamburger { position: relative; width: 20px; height: 14px; display: block; }
.hamburger span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }

/* ---- Mobile overlay nav ---- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(8,8,20,.5); backdrop-filter: blur(2px); }
.mobile-nav__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
	background: var(--bg-surface); border-left: 1px solid var(--border);
	padding: 5rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.4rem;
	transform: translateX(100%); transition: transform .3s cubic-bezier(.22,1,.36,1);
	box-shadow: -30px 0 70px -30px rgba(8,8,20,.55);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__close {
	position: absolute; top: 1.1rem; right: 1.1rem; width: 44px; height: 44px; border-radius: 11px;
	background: var(--surface-tint); border: 1px solid var(--border); color: var(--text); cursor: pointer; display: grid; place-content: center;
}
.mobile-nav__close svg { width: 20px; height: 20px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav__links a {
	display: flex; align-items: center; min-height: 48px; padding: 0 .9rem;
	font-size: 1.05rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 12px;
	border-bottom: 1px solid var(--border);
}
.mobile-nav__links a:last-child { border-bottom: 0; }
.mobile-nav__links a:hover { background: var(--surface-tint); }
.mobile-nav .btn--block { margin-top: auto; }

/* ---- Breakpoint: collapse to mobile header ---- */
@media (max-width: 900px) {
	.main-nav { display: none; }
	.header-cta { display: none; }
	.mobile-menu-toggle { display: grid; }
	.header-right { gap: 10px; }
}

/* Lock scroll when overlay open */
body.bl-nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.mobile-nav, .mobile-nav__panel, .header-cta, .theme-toggle { transition: none !important; }
}

/* ============================================================
   v2.0 PREMIUM DESIGN LAYER (appended — authoritative)
   ============================================================ */
:root {
  --container: 1240px;
  --section-y: clamp(2.75rem, 4.4vw, 4.75rem);   /* 44 -> ~76px */
  --section-y-lg: clamp(3.5rem, 6vw, 6rem);       /* hero/CTA   */
}
.brand-logo { width: 178px; height: 30px; }
@media (max-width: 480px) { .brand-logo { width: 150px; height: 26px; } }

/* ---- Section rhythm + tints for visual cadence ---- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-tint); border-block: 1px solid var(--border); }
.section--cta { padding-block: var(--section-y-lg); }
.section-head { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head .lede { margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---- Typography: stronger scale ---- */
.h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1.06; letter-spacing: -.025em; }
.h3 { font-size: clamp(1.18rem, 2.2vw, 1.4rem); letter-spacing: -.015em; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--text-muted); }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .18em; color: var(--accent-ink); }

/* ---- Buttons: more confident ---- */
.btn { font-weight: 600; border-radius: 12px; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn--primary { background: var(--grad); color: #fff; border: 0; box-shadow: 0 14px 30px -12px rgba(124,55,253,.7); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 20px 40px -14px rgba(124,55,253,.8); }
.btn--ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-tint); border-color: var(--text-faint); transform: translateY(-2px); }

/* ---- HERO ---- */
.hero { padding-top: clamp(2rem, 4.5vw, 3.5rem); padding-bottom: var(--section-y-lg); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(124,99,252,.16), transparent 70%),
    radial-gradient(50% 40% at 0% 10%, rgba(193,44,255,.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy .lede { max-width: 38ch; margin-top: 1.2rem; }
.hero-actions { margin-top: 1.8rem; gap: .8rem; }
.trust-strip {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border);
  font-size: .82rem; font-weight: 500; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; line-height: 1.5;
}
.trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); display: inline-block; }

/* ---- HERO scorecard: premium product frame ---- */
.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; inset: -8% -6% -10% -6%; z-index: -1; border-radius: 32px;
  background: radial-gradient(60% 60% at 70% 20%, rgba(124,99,252,.22), transparent 70%);
  filter: blur(8px);
}
.scorecard {
  background: linear-gradient(180deg, #14141d, #0d0d15); color: #eaeaf2;
  border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 40px 80px -36px rgba(8,8,24,.7), inset 0 1px 0 rgba(255,255,255,.05);
}
.scorecard__issues { display: grid; gap: .5rem; margin: .9rem 0 .2rem; }
.issue-card {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: .82rem;
}
.issue-card__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.issue-card--crit .issue-card__dot { background: #f87171; box-shadow: 0 0 10px #f8717188; }
.issue-card--warn .issue-card__dot { background: #fbbf24; box-shadow: 0 0 10px #fbbf2488; }
.issue-card__txt { flex: 1; color: #d6d6e2; }
.issue-card__tag { font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .12rem .5rem; border-radius: 999px; }
.issue-card--crit .issue-card__tag { background: rgba(248,113,113,.16); color: #fca5a5; }
.issue-card--warn .issue-card__tag { background: rgba(251,191,36,.16); color: #fcd34d; }

/* ---- Generic premium cards ---- */
.card { border-radius: 18px; }
.svc-grid, .proof-grid { display: grid; gap: 1.15rem; }
.svc-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---- Problem cards ---- */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1rem; }
.problem-card {
  display: flex; align-items: flex-start; gap: .85rem; padding: 1.15rem 1.25rem; border-radius: 14px;
  background: var(--bg-surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s;
}
.problem-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.problem-card .ic { width: 30px; height: 30px; flex: none; color: #e0556b; }

/* ---- Services: premium product cards (grid set earlier; refine) ---- */
.service.card { padding: 1.7rem 1.6rem; }
.service.card::after {
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service.card:hover::after { transform: scaleX(1); }
.service__icon { width: 52px; height: 52px; border-radius: 15px; }
.service h3 { font-size: 1.24rem; }
.service__best { font-size: .88rem; color: var(--text-muted); margin-top: .6rem; }
.service__best span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .15rem; }

/* ---- Solution pillars ---- */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 1rem; }
.pillar { padding: 1.4rem 1.3rem; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border); transition: transform .2s, box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pillar__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; background: var(--grad-soft); color: var(--icon-ink); margin-bottom: .9rem; }
.pillar h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.pillar p { font-size: .92rem; color: var(--text-muted); }

/* ---- SiteProof dark band ---- */
.section--dark { background: radial-gradient(80% 120% at 80% 0%, #1a1726, #0c0c14 70%); color: #e9e9f2; border: 0; }
.section--dark .h2 { color: #fff; }
.section--dark .lede { color: #b7b7c9; }
.section--dark .eyebrow { color: #b69cff; }

/* ---- FOUNDER premium card ---- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } }
.founder-card__panel {
  position: relative; border-radius: 22px; padding: 1.5rem; color: #ececf5;
  background: linear-gradient(160deg, #1b1830 0%, #131120 60%, #0e0c18 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 80px -38px rgba(10,8,30,.7), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.founder-card__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(124,99,252,.3), transparent 65%);
}
.founder-card__top, .founder-card__id, .founder-card__creds { position: relative; z-index: 1; }
.founder-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.founder-card__mark { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-content: center; }
.founder-card__mark img { width: 24px; height: 24px; }
.founder-card__tag { font-size: .74rem; color: #c9c9da; display: inline-flex; align-items: center; gap: .4rem; }
.founder-card__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.founder-card__id { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.founder-card__avatar {
  width: 66px; height: 66px; border-radius: 18px; flex: none; display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
  background: var(--grad); box-shadow: 0 12px 26px -10px rgba(124,55,253,.7);
}
.founder-card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.founder-card__role { font-size: .9rem; color: #b9b9cc; }
.founder-card__creds { display: grid; gap: .65rem; }
.founder-card__creds li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: #d4d4e2; }
.founder-card__creds svg { width: 18px; height: 18px; flex: none; color: #8b7bff; margin-top: 1px; }
.founder__copy .founder__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }

/* ---- Proof / case-study metrics ---- */
.proof-grid { grid-template-columns: repeat(auto-fit, minmax(225px,1fr)); }
.proof.card { padding: 1.7rem 1.5rem; }
.proof__metric { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,3.4vw,2.6rem); letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.proof__metric .arrow { -webkit-text-fill-color: var(--text-faint); margin: 0 .25rem; font-size: .7em; }
.proof__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin: .55rem 0 .7rem; }
.proof__quote { font-style: italic; color: var(--text-muted); border-left: 2px solid var(--border-strong); padding-left: .8rem; margin-top: .8rem; }

/* ---- Final CTA panel ---- */
.cta-band { position: relative; border-radius: 26px; padding: clamp(1.8rem, 4vw, 3rem); background: var(--bg-surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(124,99,252,.14), transparent 60%); pointer-events: none; }
.cta-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.6rem); align-items: start; }
@media (max-width: 860px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* ---- Footer premium ---- */
.site-footer { background: #0c0c14; color: #c7c7d6; }
.site-footer a { color: #c7c7d6; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand-line { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }

/* ---- Reveal animation polish ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- v2.0 supplement: align to existing problem/solution markup ---- */
.problem-grid { grid-template-columns: repeat(auto-fit, minmax(248px,1fr)); gap: 1rem; }
.pain { display: flex; align-items: flex-start; gap: .85rem; padding: 1.2rem 1.3rem; border-radius: 14px;
  background: var(--bg-surface); border: 1px solid var(--border); transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease; }
.pain:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.pain__icon { width: 30px; height: 30px; flex: none; color: #e0556b; display: grid; place-content: center; }
.pain__icon svg { width: 22px; height: 22px; }
.pain__text { font-size: .96rem; line-height: 1.5; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px,1fr)); gap: 1rem; }
.pillar.card { padding: 1.5rem 1.35rem; border-radius: 16px; }
.pillar__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-content: center;
  background: var(--grad-soft); color: var(--icon-ink); margin-bottom: .95rem; }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__n { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); }

/* section heads: keep left-aligned variant working when used inside split layouts */
.founder .section-head, .cta-band .section-head { text-align: left; margin-inline: 0; }

/* ============================================================
   v3.0 DESIGN SYSTEM (appended — authoritative)
   Premium SaaS / technical-studio clarity.
   ============================================================ */
:root {
  --container: 1200px;
  --section-y: clamp(2.75rem, 4.6vw, 5rem);     /* 44 -> 80 */
  --section-y-lg: clamp(3.5rem, 5.5vw, 6rem);   /* hero / final CTA */
  --r-card: 18px;
  --r-lg: 24px;
}
.section { padding-block: var(--section-y); }
.section--cta { padding-block: var(--section-y-lg); }
.container { max-width: var(--container); }

/* Type rhythm — confident but not shouty */
.h1 { font-size: clamp(2.55rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.07; letter-spacing: -.025em; }
.lede { font-size: clamp(1.04rem, 1.45vw, 1.2rem); line-height: 1.6; }
.section-head { max-width: 720px; }
.section-head .lede { margin-top: .85rem; }

/* ---- SERVICES: offer ladder ---- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3,1fr); gap: 1.25rem; } }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.55rem;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-card);
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(20,16,50,.35); border-color: var(--border-strong); }
.svc-card--free { background: linear-gradient(180deg, var(--free-tint, rgba(124,99,252,.06)), transparent 70%); border-color: var(--border-strong); }
.svc-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.svc-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-content: center; background: var(--grad-soft); color: var(--icon-ink); border: 1px solid var(--border-strong); }
.svc-card__icon svg { width: 23px; height: 23px; }
.svc-card__tag { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.svc-card h3 { font-size: 1.2rem; line-height: 1.2; margin-bottom: .5rem; letter-spacing: -.01em; }
.svc-card__out { color: var(--text); font-weight: 500; margin-bottom: 1rem; }
.svc-card__incl { display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 1rem 0 0; border-top: 1px solid var(--border); }
.svc-card__incl li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--text-muted); }
.svc-card__incl svg { width: 16px; height: 16px; flex: none; color: #34b27b; margin-top: 2px; }
.svc-card__best { font-size: .86rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.svc-card__best span { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .15rem; }
.svc-card__cta { margin-top: auto; font-weight: 600; color: var(--accent-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.svc-card__cta .arrow { transition: transform .18s ease; }
.svc-card:hover .svc-card__cta .arrow { transform: translateX(4px); }

/* ---- FINAL CTA (no form) ---- */
.cta-final { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(160deg, #15131f, #0e0d17); color: #ecebf4; border: 1px solid rgba(255,255,255,.08); }
.cta-final__glow { position: absolute; inset: -40% -10% auto auto; width: 60%; height: 120%; pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(124,99,252,.35), transparent 60%); }
.cta-final__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.6rem,3vw,3rem); align-items: center; }
@media (max-width: 820px) { .cta-final__inner { grid-template-columns: 1fr; } }
.cta-final .eyebrow { color: #b6a4ff; }
.cta-final .h2 { color: #fff; }
.cta-final .lede { color: #c2c1d4; margin-top: .8rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.7rem; }
.cta-final__actions .tlink { color: #c9c2ff; }
.cta-final__checks { display: grid; gap: .7rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.3rem 1.4rem; }
.cta-final__checks li { display: flex; align-items: flex-start; gap: .6rem; font-size: .94rem; color: #d8d8e6; }
.cta-final__checks svg { width: 18px; height: 18px; flex: none; color: #8b7bff; margin-top: 1px; }
.cta-final__reassure { margin-top: .4rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); color: #a9a9bd !important; font-size: .82rem !important; }
.cta-final__reassure svg { color: #6ee7b7 !important; }

/* ---- Mobile smoothness ---- */
@media (max-width: 600px) {
  .h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Smooth anchor + motion */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
