/* ==========================================================================
   SitePex — Design System
   --------------------------------------------------------------------------
   All brand colours live in :root below. Change them in ONE place and the
   whole site updates. Dark theme overrides live in [data-theme="dark"].
   Plan prices are NOT here — they live in assets/site.js (SITE.products).
   ========================================================================== */

/* ------------------------------ Fonts ----------------------------------- */
/* Loaded via <link> in each page <head> for performance:
   Space Grotesk (display) · Inter (body) · JetBrains Mono (data/console)   */

/* ------------------------------ Tokens ---------------------------------- */
:root {
  /* Brand — blue scheme (variable names kept so existing rules resolve) */
  --violet:        #2563eb;   /* primary blue */
  --violet-600:    #1d4ed8;   /* deeper blue — text on light surfaces */
  --indigo:        #1e3a8a;   /* deepest blue — gradient depth */
  --violet-bright: #60a5fa;   /* light blue — accents on dark */
  --accent:        #10c7ab;   /* teal — checks, "most popular", positive */
  --accent-bright: #2ee6c8;
  --lime:          #a6e86a;   /* spark — used with restraint (console cursor) */

  /* Gradients */
  --grad-brand:      linear-gradient(135deg, #1d4ed8 0%, #2563eb 52%, #3b82f6 100%);
  --grad-brand-2:    linear-gradient(120deg, #2563eb 0%, #10c7ab 100%);
  --grad-soft:       radial-gradient(1200px 500px at 50% -10%, rgba(37,99,235,.18), transparent 60%);

  /* Neutrals — light theme (default) */
  --bg:        #ffffff;
  --bg-alt:    #f5f6fc;
  --surface:   #ffffff;
  --surface-2: #f2f3fb;
  --text:      #0b1020;
  --text-2:    #39415a;
  --muted:     #6a7186;
  --border:    #e7e9f3;
  --border-2:  #eef0f8;
  --code-bg:   #f4f5fb;

  /* Always-dark hero surface (used regardless of theme) */
  --ink:       #070a16;
  --ink-2:     #0c1122;
  --ink-line:  rgba(255,255,255,.09);
  --ink-text:  #eef1fb;
  --ink-muted: #9aa2ba;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11,16,32,.06), 0 1px 1px rgba(11,16,32,.04);
  --shadow-md: 0 8px 30px rgba(11,16,32,.08), 0 2px 8px rgba(11,16,32,.04);
  --shadow-lg: 0 24px 60px rgba(11,16,32,.12);
  --glow:      0 0 0 1px rgba(37,99,235,.35), 0 12px 40px rgba(37,99,235,.22);
  --ring:      0 0 0 3px rgba(37,99,235,.35);

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-full: 999px;

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

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #070a16;
  --bg-alt:    #0a0f1e;
  --surface:   #0e1426;
  --surface-2: #141b30;
  --text:      #eef1fb;
  --text-2:    #c4cadb;
  --muted:     #8b93aa;
  --border:    rgba(255,255,255,.10);
  --border-2:  rgba(255,255,255,.06);
  --code-bg:   #0c1122;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 34px rgba(0,0,0,.5);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.6);
  --glow:      0 0 0 1px rgba(37,99,235,.5), 0 12px 44px rgba(37,99,235,.35);

  color-scheme: dark;
}

/* ------------------------------ Reset ----------------------------------- */
*, *::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);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection { background: rgba(37,99,235,.24); }

/* ------------------------------ Type ------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p  { color: var(--text-2); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.gradient-text {
  background: var(--grad-brand-2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

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

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--ink-text); }
.section--dark p { color: var(--ink-muted); }

@media (max-width: 720px) { .section { padding: 64px 0; } }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow { color: var(--violet-bright); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.center { text-align: center; }
.stack-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.section-head .stack-cta { justify-content: center; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-full);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,99,235,.42); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--violet); }
.btn-line { background: transparent; color: var(--text); border-color: var(--border); }
.btn-line:hover { border-color: var(--violet); color: var(--violet); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.section--dark .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: var(--ink-line); }
.section--dark .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }

/* ------------------------------ Badges ---------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.badge--accent { background: rgba(16,199,171,.12); color: #0a9c85; border-color: rgba(16,199,171,.28); }
[data-theme="dark"] .badge--accent { color: var(--accent-bright); }
.badge--violet { background: rgba(37,99,235,.12); color: var(--violet-600); border-color: rgba(37,99,235,.28); }
[data-theme="dark"] .badge--violet { color: var(--violet-bright); }
.badge--pop { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(37,99,235,.35); }

.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(16,199,171,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,199,171,.55); }
  70% { box-shadow: 0 0 0 8px rgba(16,199,171,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,199,171,0); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ------------------------------ Cards ----------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.35); }

/* Feature card */
.feature {
  display: flex; flex-direction: column; gap: 12px;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(37,99,235,.1); color: var(--violet);
  border: 1px solid rgba(37,99,235,.2);
}
[data-theme="dark"] .feature__icon { color: var(--violet-bright); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: .95rem; }

/* Product card (home grid) */
.product-card {
  display: flex; flex-direction: column; gap: 14px; height: 100%;
  position: relative; overflow: hidden;
}
.product-card__top { display: flex; align-items: center; justify-content: space-between; }
.product-card__mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--violet);
}
[data-theme="dark"] .product-card__mark { color: var(--violet-bright); }
.product-card__mark svg { width: 22px; height: 22px; }
.product-card h3 { font-size: 1.15rem; }
.product-card p { font-size: .93rem; flex: 1; }
.product-card__from { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.product-card__from b { color: var(--text); font-size: 1.05rem; }
.product-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--violet); }
[data-theme="dark"] .product-card__link { color: var(--violet-bright); }
.product-card__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.product-card:hover .product-card__link svg { transform: translateX(3px); }

/* ------------------------------ Navbar ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-2);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.nav__logo .logo-mark { width: 30px; height: 30px; }
.nav__logo b { color: var(--violet); }
[data-theme="dark"] .nav__logo b { color: var(--violet-bright); }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .93rem; color: var(--text-2);
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--surface-2); }
.nav__link svg { width: 14px; height: 14px; opacity: .7; }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Dropdown */
.nav__dd { position: relative; }
.nav__dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 340px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__dd:hover .nav__dd-menu, .nav__dd.is-open .nav__dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.dd-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background .16s ease; }
.dd-item:hover { background: var(--surface-2); }
.dd-item__ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(37,99,235,.1); color: var(--violet); border: 1px solid rgba(37,99,235,.18); }
[data-theme="dark"] .dd-item__ic { color: var(--violet-bright); }
.dd-item__ic svg { width: 19px; height: 19px; }
.dd-item h4 { font-family: var(--font-body); font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.dd-item p { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.chev { transition: transform .2s ease; }
.nav__dd:hover .chev, .nav__dd.is-open .chev { transform: rotate(180deg); }

/* Theme toggle + hamburger */
.icon-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: border-color .18s, color .18s, background .18s; }
.icon-btn:hover { border-color: var(--violet); color: var(--violet); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav__burger { display: none; }

/* Mobile nav */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 16px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; visibility: hidden;
    box-shadow: var(--shadow-lg);
    transition: max-height .3s ease, visibility .3s, padding .3s;
  }
  .nav__links.is-open { max-height: 90vh; overflow: auto; visibility: visible; padding: 16px; }
  .nav__link { padding: 13px 14px; font-size: 1rem; }
  .nav__dd-menu {
    position: static; width: 100%; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: var(--surface-2); margin: 4px 0 8px; padding: 6px;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav__dd.is-open .nav__dd-menu { max-height: 520px; }
  .nav__dd:hover .nav__dd-menu { max-height: 0; }
  .nav__dd.is-open:hover .nav__dd-menu { max-height: 520px; }
  .nav__burger { display: grid; }
  .nav__cta-desktop { display: none; }
}

/* ------------------------------ Hero ------------------------------------ */
.hero { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; padding: clamp(64px, 9vw, 116px) 0 clamp(72px, 10vw, 120px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 72%);
}
.hero__glow { position: absolute; width: 900px; height: 520px; left: 50%; top: -180px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(37,99,235,.35), rgba(37,99,235,0)); filter: blur(10px); }
.hero__glow--2 { left: 82%; top: 40%; width: 520px; height: 420px; background: radial-gradient(closest-side, rgba(16,199,171,.22), transparent); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; gap: 44px; } }

.hero__eyebrow { color: var(--violet-bright); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #60a5fa 0%, #2ee6c8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: 1.12rem; color: #c3c9de; max-width: 520px; margin-bottom: 28px; }
.hero .stack-cta { margin-bottom: 24px; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-muted); }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .sep { opacity: .3; }
.trust-strip svg { width: 15px; height: 15px; color: var(--accent-bright); }

/* Domain search */
.domain-search { position: relative; }
.domain-search__bar { display: flex; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); border-radius: var(--r-full); padding: 7px 7px 7px 18px; box-shadow: var(--shadow-lg); }
.domain-search__bar:focus-within { border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.domain-search__bar input { flex: 1; background: transparent; border: none; color: #fff; font-size: 1rem; min-width: 0; }
.domain-search__bar input::placeholder { color: #8c93ab; }
.domain-search__bar input:focus { outline: none; }
.domain-search .tlds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tld-chip { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); border-radius: var(--r-full); padding: 5px 11px; }
.tld-chip b { color: #fff; }

/* Results (domain page + hero) */
.domain-results { margin-top: 22px; display: grid; gap: 10px; }
.domain-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.domain-row__name { font-family: var(--font-mono); font-weight: 500; font-size: .98rem; }
.domain-row__status { font-family: var(--font-mono); font-size: .76rem; display: inline-flex; align-items: center; gap: 6px; }
.status-avail { color: #0a9c85; } [data-theme="dark"] .status-avail { color: var(--accent-bright); }
.status-taken { color: var(--muted); }
.domain-row__price { margin-left: auto; font-family: var(--font-mono); font-weight: 600; }
.domain-row__price small { color: var(--muted); font-weight: 400; }

/* ------------------------ Console (signature) --------------------------- */
.console {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  font-family: var(--font-mono);
}
.console--panel { background: var(--surface); border-color: var(--border); }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ink-line); font-size: .76rem; color: var(--ink-muted); }
.console--panel .console__bar { border-color: var(--border); color: var(--muted); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.console--panel .console__dots i { background: var(--border); }
.console__dots i:nth-child(1) { background: #ff5f57; }
.console__dots i:nth-child(2) { background: #febc2e; }
.console__dots i:nth-child(3) { background: #28c840; }
.console__title { margin-left: 4px; }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent-bright); }
.console__body { padding: 18px 20px; display: grid; gap: 11px; }

.node { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 12px; font-size: .84rem; }
.node__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.node__name { color: var(--ink-text); }
.console--panel .node__name { color: var(--text); }
.node__name span { color: var(--ink-muted); }
.console--panel .node__name span { color: var(--muted); }
.node__ping { color: var(--accent-bright); display: inline-flex; align-items: center; gap: 8px; }
.node__bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.node__bars i { width: 3px; background: var(--accent); border-radius: 2px; opacity: .5; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--lime); margin-left: 2px; vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

/* ------------------------ Performance band ------------------------------ */
.perf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .perf { grid-template-columns: repeat(2, 1fr); } }
.perf__cell { text-align: center; padding: 30px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.03); border: 1px solid var(--ink-line); }
.perf__num { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.03em; background: linear-gradient(120deg,#fff,#60a5fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.perf__label { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .1em; }

/* ------------------------ Pricing --------------------------------------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin: 0 auto 20px; padding: 6px; }
.billing-switch { position: relative; width: 56px; height: 30px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border); transition: background .2s; }
.billing-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); transition: transform .22s ease; box-shadow: 0 2px 6px rgba(37,99,235,.4); }
.billing-switch.is-annual::after { transform: translateX(26px); }
.billing-label { font-weight: 500; color: var(--muted); font-size: .95rem; transition: color .2s; }
.billing-label.is-on { color: var(--text); }
.save-pill { font-family: var(--font-mono); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price-card {
  display: flex; flex-direction: column; position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-popular { border-color: transparent; box-shadow: var(--glow); }
.price-card.is-popular::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-card__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.price-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.price-card__desc { font-size: .88rem; color: var(--muted); margin-top: 4px; min-height: 38px; }
.price-card__price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 4px; }
.price-card__cur { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.price-card__amt { font-family: var(--font-display); font-size: 2.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-card__per { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.price-card__note { font-family: var(--font-mono); font-size: .74rem; color: var(--accent); min-height: 18px; margin-bottom: 18px; }
[data-theme="dark"] .price-card__note { color: var(--accent-bright); }
.price-card .btn { margin-bottom: 22px; }
.price-card__feats { display: grid; gap: 11px; }
.price-card__feats li { display: flex; gap: 10px; font-size: .9rem; color: var(--text-2); }
.price-card__feats svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 2px; }
[data-theme="dark"] .price-card__feats svg { color: var(--accent-bright); }
.price-card__feats li.muted { color: var(--muted); }
.price-card__feats li.muted svg { color: var(--muted); opacity: .55; }

/* ------------------------ Spec / comparison table ----------------------- */
.spec-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-2); }
.spec-table thead th { font-family: var(--font-display); font-size: 1rem; font-weight: 600; background: var(--surface-2); position: sticky; top: 0; }
.spec-table thead th:first-child { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec-table tbody th { font-weight: 500; color: var(--text-2); font-family: var(--font-body); }
.spec-table td { font-family: var(--font-mono); font-size: .88rem; color: var(--text); }
.spec-table tbody tr:hover { background: var(--surface-2); }
.spec-table .pop-col { color: var(--violet); }
[data-theme="dark"] .spec-table .pop-col { color: var(--violet-bright); }
.spec-yes { color: var(--accent); } [data-theme="dark"] .spec-yes { color: var(--accent-bright); }
.spec-no { color: var(--muted); opacity: .6; }
.spec-table tbody tr:last-child td, .spec-table tbody tr:last-child th { border-bottom: none; }

/* ------------------------ Use cases ------------------------------------- */
.usecase { display: flex; gap: 16px; align-items: flex-start; }
.usecase__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.usecase__ic svg { width: 21px; height: 21px; }
.usecase h3 { font-size: 1.05rem; margin-bottom: 5px; }
.usecase p { font-size: .92rem; }

/* ------------------------ Testimonials ---------------------------------- */
.tcard { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.tcard__stars { display: flex; gap: 3px; color: #f5b544; }
.tcard__stars svg { width: 17px; height: 17px; }
.tcard__quote { font-size: 1rem; color: var(--text); line-height: 1.6; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1rem; }
.tcard__who b { display: block; font-family: var(--font-body); font-weight: 600; font-size: .94rem; }
.tcard__who span { color: var(--muted); font-size: .84rem; }

/* ------------------------ FAQ accordion --------------------------------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item.is-open { border-color: rgba(37,99,235,.4); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
.faq__q .plus { width: 22px; height: 22px; flex: none; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; inset: 50% 2px auto 2px; height: 2px; background: var(--violet); border-radius: 2px; transition: transform .25s ease; }
.faq__q .plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus::after { transform: rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 22px; font-size: .96rem; }

/* ------------------------ CTA band -------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; background: var(--ink); color: #fff; }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(37,99,235,.4), transparent 62%), radial-gradient(500px 260px at 80% 100%, rgba(16,199,171,.24), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #c3c9de; max-width: 540px; margin: 0 auto 28px; }
.cta-band .stack-cta { justify-content: center; }

/* ------------------------ Footer ---------------------------------------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 34px 24px; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand .nav__logo { margin-bottom: 14px; }
.footer__brand p { font-size: .92rem; max-width: 300px; }
.footer__news { margin-top: 20px; }
.footer__news label { font-size: .82rem; color: var(--text-2); font-weight: 500; display: block; margin-bottom: 8px; }
.footer__news-bar { display: flex; gap: 8px; }
.footer__news-bar input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); padding: 11px 16px; color: var(--text); font-size: .9rem; }
.footer__news-bar input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.footer__col h4 { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: .92rem; color: var(--text-2); transition: color .16s, transform .16s; }
.footer__col a:hover { color: var(--violet); transform: translateX(3px); }

.footer__dc { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); padding: 8px 14px; margin-top: 22px; }
.footer__dc .dot { width: 7px; height: 7px; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.footer__legal a:hover { color: var(--violet); }
.footer__copy { font-size: .84rem; color: var(--muted); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: color .16s, border-color .16s, transform .16s; }
.footer__social a:hover { color: var(--violet); border-color: var(--violet); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-badge { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .03em; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 6px 9px; }

/* ------------------------ Contact / forms ------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text-2); }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 14px; color: var(--text); font-size: .95rem; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.info-card { display: flex; gap: 14px; align-items: flex-start; }
.info-card__ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(37,99,235,.1); color: var(--violet); border: 1px solid rgba(37,99,235,.18); }
[data-theme="dark"] .info-card__ic { color: var(--violet-bright); }
.info-card__ic svg { width: 20px; height: 20px; }
.info-card h4 { font-family: var(--font-body); font-size: .95rem; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: .9rem; color: var(--muted); }
.info-card a:hover { color: var(--violet); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------ Sub hero (non-home pages) --------------------- */
.subhero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(52px,7vw,88px) 0 clamp(56px,8vw,92px); }
.subhero .hero__grid, .subhero .hero__glow { position: absolute; }
.subhero .container { position: relative; z-index: 2; }
.subhero__inner { max-width: 720px; }
.subhero h1 { color: #fff; margin-bottom: 16px; }
.subhero p { color: #c3c9de; font-size: 1.1rem; max-width: 560px; }
.subhero .badge { margin-bottom: 18px; }
.subhero .stack-cta { margin-top: 26px; }
.subhero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-muted); }
.subhero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.subhero__meta svg { width: 15px; height: 15px; color: var(--accent-bright); }

/* ------------------------ Managed toggle (VPS) -------------------------- */
.opt-toggle { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-full); }
.opt-toggle button { padding: 8px 18px; border-radius: var(--r-full); font-weight: 500; font-size: .88rem; color: var(--muted); transition: color .18s, background .18s; }
.opt-toggle button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ------------------------ Pricing page compare -------------------------- */
.plan-groups { display: grid; gap: 40px; }
.plan-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.plan-group__head h3 { font-size: 1.4rem; }

/* ------------------------ 404 ------------------------------------------- */
.err { min-height: 74vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.err__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; background: linear-gradient(120deg,#60a5fa,#2ee6c8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.04em; }
.err p { color: #c3c9de; max-width: 460px; margin: 8px auto 26px; }
.err .console { max-width: 440px; margin: 30px auto 0; text-align: left; }

/* ------------------------ Reveal animation ------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------ Helpers --------------------------------------- */
.hide { display: none !important; }
.muted-text { color: var(--muted); }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.maxw-560 { max-width: 560px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 11px; font-size: .96rem; color: var(--text-2); }
.checklist svg { width: 19px; height: 19px; flex: none; color: var(--accent); margin-top: 2px; }
[data-theme="dark"] .checklist svg { color: var(--accent-bright); }

/* ==========================================================================
   Home v2 — expanded landing sections
   ========================================================================== */

/* Announcement / promo top bar */
.topbar { background: var(--grad-brand); color: #fff; font-size: .84rem; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; text-align: center; }
.topbar b { font-weight: 700; }
.topbar .topbar__tag { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); padding: 1px 9px; border-radius: var(--r-full); font-weight: 600; font-family: var(--font-mono); font-size: .74rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Hero rating strip */
.rating-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; color: var(--ink-muted); font-size: .9rem; }
.rating-row .stars { display: inline-flex; gap: 2px; color: #ffb703; }
.rating-row .stars svg { width: 16px; height: 16px; }
.rating-row b { color: var(--ink-text); }
.sale-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(166,232,106,.16); border: 1px solid rgba(166,232,106,.4); color: #cdeea7; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--r-full); margin-bottom: 18px; }
.sale-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(166,232,106,.25); }

/* 4-up deal pricing */
.pricing--deal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .pricing--deal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing--deal { grid-template-columns: 1fr; } }

/* Money-back guarantee band */
.guarantee { display: flex; align-items: center; gap: 26px; padding: 30px 34px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.guarantee__seal { width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; font-family: var(--font-display); font-weight: 700; line-height: 1.05; background: var(--grad-brand-2); box-shadow: 0 10px 26px rgba(16,199,171,.3); }
.guarantee__seal span { font-size: 1.5rem; }
.guarantee__seal small { display: block; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.guarantee h3 { font-size: 1.3rem; margin-bottom: 4px; }
.guarantee p { color: var(--muted); max-width: 640px; }
@media (max-width: 640px) { .guarantee { flex-direction: column; text-align: center; } }

/* Spotlight testimonial */
.spotlight { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.spotlight__media { background: var(--grad-brand); position: relative; min-height: 260px; display: grid; place-items: center; }
.spotlight__media .avatar { width: 96px; height: 96px; font-size: 2rem; border: 4px solid rgba(255,255,255,.35); }
.spotlight__body { padding: 40px; }
.spotlight__body .tcard__stars { color: #ffb703; margin-bottom: 14px; }
.spotlight__body blockquote { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.5; letter-spacing: -.01em; margin-bottom: 20px; }
.spotlight__who b { display: block; }
.spotlight__who span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } .spotlight__media { min-height: 180px; } .spotlight__body { padding: 28px; } .spotlight__body blockquote { font-size: 1.15rem; } }

/* Review cards (Google / G2) */
.review-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; }
.review-card__src { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.review-card .tcard__stars { color: #ffb703; display: inline-flex; gap: 1px; }
.review-card .tcard__stars svg { width: 15px; height: 15px; }
.review-card__quote { color: var(--text-2); line-height: 1.6; flex: 1; }
.review-card__who b { font-size: .92rem; } .review-card__who span { color: var(--muted); font-size: .84rem; margin-left: 6px; }

/* Dashboard mockup */
.dash { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe8; } .dash__bar i:nth-child(1){background:#ff5f57} .dash__bar i:nth-child(2){background:#febc2e} .dash__bar i:nth-child(3){background:#28c840}
.dash__url { margin-left: 12px; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); padding: 3px 12px; }
.dash__wrap { display: grid; grid-template-columns: 168px 1fr; min-height: 300px; }
.dash__side { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--surface-2); }
.dash__side a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: .82rem; color: var(--text-2); font-weight: 500; }
.dash__side a svg { width: 16px; height: 16px; }
.dash__side a.on { background: var(--grad-brand); color: #fff; }
.dash__main { padding: 20px; }
.dash__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.dash__stat { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; }
.dash__stat span { font-size: .72rem; color: var(--muted); display: block; }
.dash__stat b { font-family: var(--font-display); font-size: 1.35rem; }
.dash__stat b small { font-size: .7rem; color: var(--accent); font-weight: 600; margin-left: 4px; }
.dash__chart { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 16px; }
.dash__chart .lbl { font-size: .74rem; color: var(--muted); margin-bottom: 12px; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.dash__bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--grad-brand); opacity: .85; }
@media (max-width: 560px) { .dash__wrap { grid-template-columns: 1fr; } .dash__side { flex-direction: row; overflow-x: auto; } }

/* SitePex vs others */
.vs-table th.vs-us-h { color: var(--violet-600); }
.vs-table .vs-us { background: rgba(37,99,235,.05); }
.vs-table td.vs-us, .vs-table th.vs-us-h { border-left: 1px solid rgba(37,99,235,.15); border-right: 1px solid rgba(37,99,235,.15); }
.vs-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(120,130,150,.14); color: var(--muted); }
.vs-no svg { width: 13px; height: 13px; }
.vs-txt { color: var(--muted); font-size: .86rem; }

/* Build blocks — everything you need */
.build-grid { display: flex; flex-direction: column; gap: 22px; }
.buildblock { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.buildblock:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.buildblock:nth-child(even) .buildblock__media { order: 2; }
.buildblock__body { padding: 34px 8px 34px 40px; }
.buildblock:nth-child(even) .buildblock__body { padding: 34px 40px 34px 8px; }
.buildblock__body .eyebrow { margin-bottom: 8px; }
.buildblock__body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.buildblock__body p { color: var(--muted); margin-bottom: 16px; }
.buildblock__media { min-height: 240px; margin: 18px; border-radius: var(--r); background: var(--bg-alt); display: grid; place-items: center; position: relative; overflow: hidden; }
.buildblock__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(37,99,235,.14), transparent 70%); }
.buildblock__glyph { width: 84px; height: 84px; border-radius: 20px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(37,99,235,.35); position: relative; }
.buildblock__glyph svg { width: 40px; height: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-600); font-weight: 600; font-size: .92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }
@media (max-width: 760px) { .buildblock, .buildblock:nth-child(even) { grid-template-columns: 1fr; } .buildblock:nth-child(even) .buildblock__media { order: 0; } .buildblock__body, .buildblock:nth-child(even) .buildblock__body { padding: 8px 26px 30px; } }

/* Compact stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-strip__cell h3 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.6rem); letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-strip__cell p { color: var(--muted); font-size: .9rem; margin-top: 2px; }
@media (max-width: 560px) { .stat-strip { grid-template-columns: repeat(2,1fr); gap: 26px; } }

/* Full-bleed blue closing CTA */
.section--blue { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.section--blue::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(500px 260px at 90% 100%, rgba(166,232,106,.2), transparent 60%); }
.section--blue .container { position: relative; z-index: 2; text-align: center; }
.section--blue h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); }
.section--blue p { color: rgba(255,255,255,.9); max-width: 620px; margin: 12px auto 26px; }
.section--blue .btn-primary { background: #fff; color: var(--violet-600); }
.section--blue .btn-primary:hover { background: #f0f3ff; }
.section--blue .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.section--blue .btn-ghost:hover { background: rgba(255,255,255,.12); }
