/* =====================================================================
   Hukd.io — public marketing site
   Warm neutrals + lime accent (#D9FF43) · dark header · light body
   NO shadows, NO glow, NO gradients — subtle borders & transforms only
   ===================================================================== */

:root {
  /* Surfaces — soft, layered neutrals (a hair warm, never stark) */
  --bg: #fcfcfb;
  --bg-2: #f4f4f2;
  --card: #ffffff;
  --card-2: #f8f8f6;
  --card-3: #eeeeec;

  /* Lines — softened hairlines */
  --line: rgba(23, 22, 20, 0.09);
  --line-2: rgba(23, 22, 20, 0.055);
  --line-strong: rgba(23, 22, 20, 0.20);

  /* Text — softened near-black, never pure #000 */
  --ink: #1b1a18;
  --ink-2: #3c3a37;
  --muted: #75726c;
  --faint: #a3a09a;

  /* Primary (dark buttons / structural) */
  --primary: #1b1a18;
  --primary-bright: #38362f;
  --primary-ink: #ffffff;
  --primary-soft: #f1f0ed;
  --primary-line: rgba(23, 22, 20, 0.16);

  /* Lime accent — high-value CTAs & highlights */
  --accent: #D9FF43;
  --accent-dark: #b8d900;
  --accent-ink: #1b1a18;
  --accent-soft: rgba(217, 255, 67, 0.12);
  --accent-line: rgba(217, 255, 67, 0.30);

  /* Dark header surface */
  --nav-bg: #1b1a18;
  --nav-ink: #ffffff;
  --nav-muted: rgba(255, 255, 255, 0.72);
  --nav-line: rgba(255, 255, 255, 0.12);
  --nav-tint: rgba(255, 255, 255, 0.08);
  --nav-tint-2: rgba(255, 255, 255, 0.14);

  /* Subtle tints for hovers / fills */
  --tint: rgba(23, 22, 20, 0.04);
  --tint-2: rgba(23, 22, 20, 0.07);

  /* Radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1300px;
  --gut: 24px;

  /* Inner pages — vertical rhythm & hero stats straddle */
  --hero-stats-height: 112px;
  --hero-stats-overlap: calc(var(--hero-stats-height) / 2);
  --inner-hero-pt: clamp(48px, 6vw, 72px);
  --inner-hero-pb: clamp(36px, 4.5vw, 52px);
  --inner-section-y: 112px;
  --inner-section-sm-y: 80px;

  --t: 0.18s ease;

  color-scheme: light;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 96px 0; background: var(--bg); }
.section-sm { padding: 64px 0; }

/* Inner pages — more breathing room (landing unchanged) */
body:not(.page-home) .section {
  padding-block: var(--inner-section-y);
}
body:not(.page-home) .section-sm:not(.about-stats-band):not(.custom-stats-band):not(.dev-stats-band):not(.plugin-stats-band):not(.blog-featured-section) {
  padding-block: var(--inner-section-sm-y);
}
body:not(.page-home) .page-hero {
  padding-top: var(--inner-hero-pt);
  padding-bottom: var(--inner-hero-pb);
}
body:not(.page-home) .page-hero:has(+ [class*="-stats-band"]) {
  padding-bottom: var(--hero-stats-overlap);
}
body:not(.page-home) .page-hero .breadcrumb {
  margin-bottom: 14px;
}
body:not(.page-home) .page-hero .h1 {
  margin-top: 12px;
}
body:not(.page-home) .page-hero .btn-row {
  margin-top: 20px;
}
body:not(.page-home) .page-hero .hero-trust {
  margin-top: 16px;
}
body:not(.page-home) .page-hero + .section-sm:not([class*="-stats-band"]),
body:not(.page-home) .page-hero + .section:not([class*="-stats-band"]) {
  padding-top: 56px;
}
body:not(.page-home) .sec-head {
  margin-bottom: 56px;
}
body:not(.page-home) .sec-head-lede {
  margin-top: 18px;
}
body:not(.page-home) .split {
  gap: 48px 56px;
}
body:not(.page-home) .grid {
  gap: 22px;
}
body:not(.page-home) .page-hero .btn-row {
  margin-top: 20px;
}
body:not(.page-home) .hero-trust {
  margin-top: 16px;
}

.about-stats-band + .section,
.custom-stats-band + .section,
.dev-stats-band + .section,
.plugin-stats-band + .section,
.plugin-stats-band + .plugin-body {
  padding-top: calc(var(--inner-section-y) - 24px);
}

/* Hero stats — half on dark hero, half on light section below */
.about-stats-band,
.custom-stats-band,
.dev-stats-band,
.plugin-stats-band {
  padding-top: 0;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.about-stats-band .wrap,
.custom-stats-band .wrap,
.dev-stats-band .wrap,
.plugin-stats-band .wrap {
  transform: translateY(-50%);
}
.about-stats-band .stats,
.custom-stats-band .plugin-meta-stats,
.dev-stats-band .plugin-meta-stats,
.plugin-stats-band .plugin-meta-stats {
  min-height: var(--hero-stats-height);
  background: var(--card);
  box-shadow: 0 16px 48px rgba(27, 26, 24, 0.1);
}
.about-stats-band .stat,
.custom-stats-band .plugin-meta-stat,
.dev-stats-band .plugin-meta-stat,
.plugin-stats-band .plugin-meta-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center { text-align: center; }
.stack-lg > * + * { margin-top: 22px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.eyebrow.is-center { justify-content: center; }

/* ---------- Typography ---------- */
/* DM Sans for headings & display numerals; Inter for body */
.display, .h1, .h2, .h3,
.stat .num, .plan .pprice, .foot-word, .quote-card .q {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.display {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; }
.h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* highlighted word in headlines — bordered pill, flat fill (no gradient/glow) */
.mark {
  display: inline-block;
  padding: 0 .28em;
  border-radius: 14px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
}
.mark-solid {
  display: inline-block;
  padding: 0 .28em;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-bright); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--tint); }
.btn-soft { background: var(--tint); border-color: var(--line); color: var(--ink); }
.btn-soft:hover { background: var(--tint-2); border-color: var(--line-strong); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.is-center { justify-content: center; }
.arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav (dark bar) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--nav-line);
  overflow: visible;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--nav-ink);
  line-height: 1.15;
}
.brand-mark {
  width: 28px; height: 28px; display: block; flex: none;
}
.brand small { display:block; font-size: 10px; font-weight: 600; letter-spacing:.12em; text-transform:uppercase; color: var(--nav-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-link,
.nav-mega-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  color: var(--nav-muted); transition: background var(--t), color var(--t);
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  white-space: nowrap; text-decoration: none;
}
.nav-link:hover,
.nav-mega-trigger:hover,
.nav-mega.is-open > .nav-mega-trigger,
.nav-link[aria-current="page"],
.nav-mega-trigger[aria-current="page"] {
  background: var(--nav-tint); color: var(--nav-ink);
}
.nav-caret { flex-shrink: 0; opacity: 0.72; transition: transform var(--t); }
.nav-mega.is-open > .nav-mega-trigger .nav-caret { transform: rotate(180deg); }

/* Mega menu — compact panel, dark glass + page backdrop */
.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(8, 8, 7, 0.42);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.mega-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mega { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 80;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.nav-mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega:last-of-type .mega-panel {
  left: auto;
  right: 0;
  transform: translateY(8px);
}
.nav-mega:last-of-type.is-open .mega-panel {
  transform: translateY(0);
}
.mega-panel-inner {
  width: min(92vw, 380px);
  padding: 12px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.48);
}
.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  transition: background var(--t), color var(--t);
  text-decoration: none;
}
.mega-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.mega-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.mega-item:hover .mega-item-icon {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a;
}
.mega-item-copy { min-width: 0; }
.mega-item-copy strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.25;
}
.mega-item-copy span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
  transition: color var(--t);
}
.mega-item:hover .mega-item-copy span { color: rgba(255, 255, 255, 0.72); }
.mega-item--accent .mega-item-copy strong { color: var(--accent); }
.mega-item--accent:hover .mega-item-copy strong { color: var(--accent-dark); }
.mega-item--accent .mega-item-icon {
  border-color: rgba(217, 255, 67, 0.35);
  color: var(--accent);
}
.mega-item--accent:hover .mega-item-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.nav-spacer { flex: 1; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-head .nav-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding-block: 0;
  line-height: 1;
  flex-shrink: 0;
  vertical-align: middle;
}
.site-head .nav-cta .btn .btn-flip {
  display: inline-flex;
  align-items: center;
}
.site-head .nav-cta .btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.site-head a.btn.btn-flip-ready {
  overflow: hidden;
}
.site-head .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--nav-ink);
}
.site-head .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: var(--nav-tint);
  color: var(--nav-ink);
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--nav-line); color: var(--nav-ink);
  align-items: center; justify-content: center;
}

/* code terminal — black surface, white/grey monochrome syntax */
.term {
  background: #181714; border: 1px solid #2a2926; border-radius: 14px;
  color: #e8e7e3; overflow: hidden;
}
.term .term-bar { padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; gap: 7px; align-items: center; }
.term .term-bar i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: inline-block; }
.term .term-bar span { margin-left: 8px; font-size: 12px; color: #8a8a8a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.term pre, .term .term-body { margin: 0; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.85; white-space: pre-wrap; }
.term .c-key { color: #ffffff; font-weight: 600; }
.term .c-str { color: #bdbdbd; }
.term .c-kw { color: #ffffff; font-weight: 600; }
.term .c-dim { color: #7a7a7a; }
.term .c-label { color: #9cdcfe; }

/* Mac-style terminal (landing callout) */
.term--mac {
  background: #141311;
  border: 1px solid #2e2d2a;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.term--mac .term-bar {
  padding: 10px 14px;
  background: #1c1b18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.term--mac .term-bar-left {
  display: flex;
  align-items: center;
  gap: 7px;
}
.term--mac .term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.term--mac .term-dot--close { background: #ff5f57; border-color: #e0443e; }
.term--mac .term-dot--min { background: #febc2e; border-color: #dea123; }
.term--mac .term-dot--max { background: #28c840; border-color: #1aab29; }
.term--mac .term-tab {
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: #a8a7a3;
  letter-spacing: 0.01em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.term--mac .term-bar-spacer { width: 52px; }
.term--mac .term-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #121110;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  min-height: 38px;
}
.term--mac .term-path-prefix {
  color: #6b6a66;
  flex-shrink: 0;
}
.term--mac .term-path-out {
  color: #7ec699;
  word-break: break-all;
}
.term--mac .term-path-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 1px;
  background: #d9ff43;
  vertical-align: -2px;
  animation: term-cursor-blink 1s step-end infinite;
}
.term--mac .term-path-cursor.is-hidden {
  opacity: 0;
  animation: none;
}
@keyframes term-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.term--mac.term--code-only .term-screen {
  height: 96px;
  padding: 18px 20px;
  background: #141311;
  overflow: hidden;
  box-sizing: border-box;
}
.term--mac.term--code-only .term-code {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.term--mac.term--code-only .term-code code {
  display: block;
  color: #c8c6c0;
}
.term--mac.term--code-only .term-code-line {
  color: #c8c6c0;
}
.term--mac.term--code-only .term-code-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 1px;
  background: #d9ff43;
  vertical-align: -2px;
  animation: term-cursor-blink 1s step-end infinite;
}
.term--mac.term--code-only .term-code-cursor.is-hidden {
  opacity: 0;
  animation: none;
}
.page-home .split:has(.term--code-only) {
  align-items: stretch;
}
.page-home .split-media:has(.term--code-only) {
  aspect-ratio: auto;
  display: flex;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
}
.page-home .split .term--mac.term--code-only {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.page-home .split .term--mac.term--code-only .term-screen {
  flex: 1;
  height: auto;
  min-height: 96px;
  display: flex;
  align-items: center;
}
.page-home .split.reverse .term--mac {
  width: 100%;
}

/* ---------- Hero (dark band — continues from header) ---------- */
.hero,
.page-hero {
  background: var(--nav-bg);
  color: var(--nav-ink);
}
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.page-home .hero {
  min-height: calc(100vh - 75px);
  min-height: calc(100dvh - 75px);
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vh, 64px) 0;
  box-sizing: border-box;
}
.page-home .hero > .wrap {
  width: 100%;
}
.page-home .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px 48px;
  align-items: center;
}
.page-home .hero-copy { text-align: left; }
.page-home .hero-copy .hero-top { justify-content: flex-start; margin-bottom: 20px; }
.page-home .hero-copy .display {
  max-width: 16ch;
  margin: 0;
  text-align: left;
  font-size: clamp(30px, 3.8vw, 65px);
  line-height: 1.06;
  letter-spacing: -0.028em;
}
.page-home .hero-copy .lede {
  margin: 20px 0 0;
  max-width: 42ch;
  text-align: left;
  font-size: clamp(15px, 1.4vw, 17px);
}
.page-home .hero-copy .btn-row { margin-top: 24px; justify-content: flex-start; }

/* Hero marquee — 75px lime band below hero */
.page-home .hero-marquee {
  height: 75px;
  min-height: 75px;
  background: var(--accent);
  border-top: 1px solid rgba(27, 26, 24, 0.08);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee-scroll 72s linear infinite;
}
.hero-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
  padding-right: clamp(18px, 2.5vw, 32px);
  flex-shrink: 0;
}
.hero-marquee-group > span:not(.hero-marquee-sep) {
  font-family: "DM Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.hero-marquee-sep {
  position: relative;
  display: inline-block;
  width: clamp(22px, 2.4vw, 36px);
  height: clamp(6px, 0.6vw, 8px);
  flex-shrink: 0;
  user-select: none;
  vertical-align: middle;
}
.hero-marquee-sep::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(27, 26, 24, 0.42) 0 38%, transparent 40%) center / clamp(5px, 0.5vw, 7px) clamp(5px, 0.5vw, 7px) no-repeat,
    linear-gradient(rgba(27, 26, 24, 0.26), rgba(27, 26, 24, 0.26)) left center / calc(50% - 5px) 1.5px no-repeat,
    linear-gradient(rgba(27, 26, 24, 0.26), rgba(27, 26, 24, 0.26)) right center / calc(50% - 5px) 1.5px no-repeat;
}
@keyframes hero-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero compare stage */
.page-home .hero-stage {
  position: relative;
  min-height: min(420px, 58vh);
  height: min(420px, 58vh);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.page-home .hero-compare {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  min-height: 360px;
}
.page-home .compare-card {
  position: absolute;
  width: min(78%, 280px);
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(32, 31, 28, 0.92);
  color: var(--nav-muted);
  opacity: 1;
  visibility: visible;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, border-color 0.45s ease, background 0.45s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease, box-shadow 0.45s ease;
  transform-origin: 50% 50%;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.page-home .compare-other {
  left: 0;
  top: 14%;
  transform: rotate(-5deg);
  z-index: 1;
}
.page-home .compare-us {
  right: 0;
  bottom: 8%;
  transform: rotate(4deg);
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(40, 39, 36, 0.95);
  color: var(--nav-ink);
}
.page-home .compare-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}
.page-home .compare-eyebrow-accent { color: var(--accent); }
.page-home .compare-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: inherit;
}
.page-home .compare-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.page-home .compare-brand .compare-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.35;
}
.page-home .compare-title-line {
  display: block;
}
.page-home .compare-title-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
}
.page-home .compare-brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}
.page-home .compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.page-home .compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.35;
}
.page-home .compare-x {
  flex: none;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1;
  margin-top: 1px;
}
.page-home .compare-tick {
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  margin-top: 1px;
}
.page-home .compare-us.is-selected {
  z-index: 5;
  transform: rotate(0deg) scale(1.06);
  border-color: var(--accent);
  background: rgba(36, 35, 32, 0.52);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: 0 0 0 1px rgba(217, 255, 67, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.page-home .compare-us.is-selected .compare-title-tagline {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
}
.page-home .compare-other.is-dim {
  opacity: 0.35;
  transform: rotate(-7deg) scale(0.94);
}
.page-home .compare-other.is-hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.page-home .compare-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  opacity: 0;
}
.page-hero { padding: 56px 0 40px; text-align: center; }
.hero-top { display: flex; justify-content: center; margin-bottom: 26px; }
.pill-note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--nav-line); background: var(--nav-tint);
  font-size: 13px; color: var(--nav-muted);
}
.pill-note .tag {
  padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-soft);
  border: 1px solid var(--accent-line); font-size: 12px; font-weight: 600; color: var(--accent-ink);
}
.hero .display,
.page-hero .h1,
.page-hero .display { color: var(--nav-ink); }
.hero .display { max-width: 16ch; margin: 0 auto; }
.hero .lede,
.page-hero .lede { margin: 22px auto 0; color: var(--nav-muted); }
.page-hero .lede { margin: 18px auto 0; }
.hero .btn-row { margin-top: 30px; }
.hero .btn-ghost,
.page-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--nav-ink);
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: var(--nav-tint);
  color: var(--nav-ink);
}
.hero .eyebrow,
.page-hero .eyebrow { color: var(--nav-muted); }
.hero .muted,
.page-hero .muted { color: var(--nav-muted); }
.page-hero .legal-updated { color: var(--nav-muted); }

/* ring graphic on dark hero */
.hero .ring-graphic .ring { border-color: var(--nav-line); }
.hero .ring-graphic .ring.r3 { border-color: rgba(255, 255, 255, 0.22); }
.hero .ring-graphic .core {
  position: absolute; inset: 78px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; color: var(--accent-ink);
}
.ring-graphic { position: relative; width: 220px; height: 220px; margin: 60px auto 0; }
.ring-graphic .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line);
}
.ring-graphic .ring.r2 { inset: 26px; border-color: var(--line); }
.ring-graphic .ring.r3 { inset: 52px; border-color: var(--line-strong); }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; opacity: .8; }
.logos span { font-weight: 650; color: var(--muted); letter-spacing: -0.01em; font-size: 16px; }

/* ---------- Integrations marquee ---------- */
.integrations-section {
  position: relative;
  overflow: hidden;
}
.integrations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(23, 22, 20, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.integrations-wrap { position: relative; z-index: 1; }
.integrations-section .sec-head { margin-bottom: 36px; }
.integrations-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 4px;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.integrations-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.integrations-track-left {
  animation: integrations-scroll-left 42s linear infinite;
}
.integrations-track-right {
  margin-top: 18px;
  animation: integrations-scroll-right 38s linear infinite;
}
.integrations-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}
.integrations-chip {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color var(--t), transform var(--t);
}
.integrations-chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.integrations-chip img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}
@keyframes integrations-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes integrations-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: border-color var(--t), background var(--t), transform var(--t);
}
.card:hover { border-color: var(--line-strong); background: var(--card-2); transform: translateY(-2px); }
.card-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); border: 1px solid var(--primary-line); color: var(--primary-bright);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* section heading block */
.sec-head { max-width: 56ch; margin: 0 auto 48px; text-align: center; }
.sec-head .h2 { margin-top: 14px; }
.sec-head p { margin-top: 14px; }
.sec-head-lede { margin-inline: auto; }

/* ---------- Feature media card (the 3-up row) ---------- */
.media-card { padding: 0; overflow: hidden; }
.media-card .thumb {
  aspect-ratio: 16 / 10; background: var(--card-2);
  border-bottom: 1px solid var(--line); position: relative; display: grid; place-items: center;
}
.media-card .thumb .play {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: #fff;
}
.media-card .meta { padding: 16px 18px; }
.media-card .meta .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tagline-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

/* chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  background: var(--tint); border: 1px solid var(--line); color: var(--ink-2);
}
.chip-primary { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.badge-dot { width:6px; height:6px; border-radius:50%; background: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* 6-up cred stats (hero overlap band — custom, developers, plugin) */
.plugin-meta-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 16px 48px rgba(27, 26, 24, 0.1);
}
.plugin-meta-stat {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.plugin-meta-stat:last-child { border-right: 0; }
.plugin-meta-val {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.plugin-meta-lbl {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px;
}
.split-media:has(.process-board) {
  aspect-ratio: auto;
  place-items: stretch;
  padding: 20px;
}
.process-board {
  width: 100%;
}
.process-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.process-step--future:not(.is-checked) {
  border-style: dashed;
}
.process-step--future:not(.is-checked) .process-step__label {
  color: var(--faint);
}
.process-step__check {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.process-step__box {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.process-step__tick {
  position: absolute;
  inset: 0;
  margin: auto;
  color: var(--accent-ink);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.process-step.is-checked .process-step__box {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1);
}
.process-step.is-checked .process-step__tick {
  opacity: 1;
  transform: scale(1);
}
.process-step__label {
  font-size: 13px;
  color: var(--ink-2);
  min-width: 0;
}
.process-step__status {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.25s ease;
}
.process-step.is-active .process-step__status {
  color: var(--ink-2);
  font-weight: 600;
}
.process-step.is-checked .process-step__status {
  color: var(--primary-bright);
}
.process-step.is-checked .process-step__label {
  color: var(--ink);
}
.process-step.is-checked.process-step--future {
  border-style: solid;
}
.process-step.is-checked.process-step--future .process-step__label {
  color: var(--ink-2);
}
.feature-list { display: grid; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-ink); margin-top: 2px;
}
.feature-list .tx b { font-weight: 600; }
.feature-list .tx p { color: var(--muted); font-size: 14.5px; }

/* ---------- Plugin marketplace cards ---------- */
.plugin-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.plugin-card .pc-head { padding: 22px 22px 0; display: flex; align-items: center; gap: 14px; }
.plugin-card .pc-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: var(--card-3); border: 1px solid var(--line);
}
.plugin-card .pc-body { padding: 16px 22px 0; flex: 1; }
.plugin-card .pc-body p { color: var(--muted); font-size: 14.5px; }
.plugin-card .pc-foot { padding: 18px 22px; margin-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; letter-spacing: -0.02em; }
.price small { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- Featured plugins (landing) — list rows ---------- */
.page-home .plugin-list-block {
  max-width: 820px;
  margin-inline: auto;
}
.page-home .plugin-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.page-home .plugin-list-head-copy .eyebrow { margin-bottom: 12px; }
.page-home .plugin-list-head-copy .h2 { margin: 0; }
.page-home .plugin-list-head-copy .lede {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 15px;
}
.page-home .plugin-list-head-cta {
  flex-shrink: 0;
  margin-top: 4px;
}
.page-home .plugin-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.page-home .plugin-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.page-home .plugin-list-item-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.page-home .plugin-list-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--card-3);
  border: 1px solid var(--line);
}
.page-home .plugin-list-avatar--accent {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.page-home .plugin-list-item-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-home .plugin-list-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.page-home .plugin-list-tag {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
}
.page-home .plugin-list-meta {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.page-home .plugin-list-btn {
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.page-home .plugin-list-btn:hover {
  background: var(--tint);
  border-color: var(--line-strong);
  color: var(--ink);
}
.page-home .plugin-list-foot {
  margin-top: 28px;
}

/* ---------- WordPress.org badges ---------- */
.wp-badges-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.wp-badges-copy .eyebrow {
  margin-bottom: 12px;
}
.wp-badges-copy .h2 {
  margin: 0;
  max-width: 16ch;
}
.wp-badges-copy .lede {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 15px;
}
.wp-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.wp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.wp-badge:hover {
  transform: translateY(-2px);
  border-color: var(--badge-color, var(--line-strong));
  background: var(--bg);
}
.wp-badge-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--badge-color, var(--ink));
  background: color-mix(in srgb, var(--badge-color, var(--ink)) 10%, transparent);
}
.wp-badge-icon svg {
  display: block;
}
.wp-badge-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.wp-badge-year {
  margin-left: auto;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.wp-badge--orange { --badge-color: #d54e21; }
.wp-badge--purple { --badge-color: #674399; }
.wp-badge--magenta { --badge-color: #bc0b69; }
.wp-badge--gold { --badge-color: #996800; }
.wp-badge--pink { --badge-color: #e6537a; }

/* filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.filters button {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background var(--t), border-color var(--t), color var(--t);
}
.filters button:hover { border-color: var(--line-strong); background: var(--tint); }
.filters button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); margin: 0 auto 40px; }
.price-toggle button { padding: 8px 18px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background var(--t), color var(--t); }
.price-toggle button.active { background: var(--accent); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: border-color var(--t), background var(--t), transform var(--t); }
.plan:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.plan.featured { border-color: var(--accent-line); background: var(--accent-soft); }
.plan .pname { font-weight: 650; font-size: 15px; display:flex; align-items:center; justify-content:space-between; }
.plan .pprice { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 4px; }
.plan .pprice small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .pdesc { color: var(--muted); font-size: 14px; min-height: 40px; }
.plan ul { margin: 22px 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li svg { flex: none; color: var(--accent-ink); margin-top: 3px; }

/* ---------- Testimonials (stagger carousel) ---------- */
.testimonial-section .sec-head { margin-bottom: 32px; }
.testimonial-stage {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.testimonial-track {
  position: absolute;
  inset: 0;
}
.testimonial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 32px;
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.5s ease-in-out, border-color 0.5s ease-in-out, background 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, z-index 0s;
  clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
  overflow: hidden;
}
.testimonial-card.is-center {
  z-index: 10;
  background: var(--nav-bg);
  color: #f2f1ed;
  border-color: var(--accent);
  box-shadow: none;
  cursor: default;
}
.testimonial-card.is-center::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}
.testimonial-card:not(.is-center):hover {
  border-color: rgba(217, 255, 67, 0.45);
}
.testimonial-card-notch {
  position: absolute;
  right: -2px;
  top: 48px;
  width: 70.71px;
  height: 2px;
  background: var(--line-strong);
  transform-origin: top right;
  transform: rotate(45deg);
  pointer-events: none;
}
.testimonial-card.is-center .testimonial-card-notch {
  background: var(--accent);
}
.testimonial-card-photo {
  width: 48px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--card-3);
  box-shadow: 3px 3px 0 var(--bg);
}
.testimonial-card.is-center .testimonial-card-photo {
  border-color: var(--accent);
  box-shadow: 3px 3px 0 rgba(217, 255, 67, 0.25);
}
.testimonial-card-quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
  padding-right: 8px;
}
.testimonial-card.is-center .testimonial-card-quote {
  color: #f2f1ed;
}
.testimonial-card-by {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.testimonial-card.is-center .testimonial-card-by {
  color: rgba(242, 241, 237, 0.72);
  font-style: normal;
}
.testimonial-card.is-center .testimonial-card-by::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}
.testimonial-nav {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.testimonial-nav-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.testimonial-nav-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent-dark);
}

/* ---------- Testimonials (legacy quote cards) ---------- */
.quote-card { display: grid; gap: 18px; }
.quote-card .q { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--card-3); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); }
.who .n { font-weight: 600; font-size: 14.5px; }
.who .r { color: var(--muted); font-size: 13px; }
.avatars { display: flex; }
.avatars .avatar { margin-left: -10px; }
.avatars .avatar:first-child { margin-left: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-size: 17px; font-weight: 550; }
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--t), border-color var(--t); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); border-color: var(--accent); background: var(--accent-soft); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--muted); font-size: 15px; max-width: 64ch; }

/* Chat-style FAQ (landing) */
.faq-chat {
  max-width: 620px;
  border: none;
  padding: 4px 0;
}
.faq-chat-ts {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.faq-chat .faq-item {
  border: none;
  margin-bottom: 12px;
}
.faq-chat .faq-q {
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.faq-chat .faq-q-bubble {
  flex: 0 1 auto;
  max-width: min(100%, 420px);
  padding: 11px 16px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: var(--tint);
  border: 1px solid var(--line);
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.faq-chat .faq-q:hover .faq-q-bubble {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.faq-chat .faq-item.open .faq-q-bubble {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-ink);
}
.faq-chat .faq-q-text {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.faq-chat .faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.25s ease;
}
.faq-chat .faq-item.open .faq-icon {
  color: var(--accent-ink);
}
.faq-chat .faq-icon-minus { display: none; }
.faq-chat .faq-item.open .faq-icon-plus { display: none; }
.faq-chat .faq-item.open .faq-icon-minus { display: block; }
.faq-chat .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  max-height: none;
  transition: grid-template-rows 0.4s ease, opacity 0.4s ease;
}
.faq-chat .faq-item.open .faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-chat .faq-a-wrap {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.faq-chat .faq-a-bubble {
  margin: 8px 0 4px;
  max-width: min(100%, 380px);
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-right-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14.5px;
  line-height: 1.55;
  text-align: left;
}
.faq-chat .faq-a-bubble::before {
  content: "Reimagine";
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}
.faq-chat .faq-a-bubble a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-chat .faq-a-bubble a:hover {
  opacity: 0.85;
}

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  padding: 60px 40px; text-align: center;
}
.cta-band .h2 { max-width: 18ch; margin: 0 auto; }
.cta-band .lede { margin: 16px auto 0; }
.cta-band .btn-row { margin-top: 28px; }
.page-home .section-cta,
.page-about .section-cta,
.page-developers .section-cta,
.page-custom .section-cta,
.page-blog .section-cta,
.page-post .section-cta {
  padding-block: 48px 56px;
  background: var(--bg-2);
}
.page-home .site-foot,
.page-about .site-foot,
.page-developers .site-foot,
.page-custom .site-foot,
.page-blog .site-foot,
.page-post .site-foot {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
  color: inherit;
}
.page-home .foot-body,
.page-about .foot-body,
.page-developers .foot-body,
.page-custom .foot-body,
.page-blog .foot-body,
.page-post .foot-body {
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-line);
  padding: 64px 0 0;
  color: var(--nav-ink);
}
.page-home .cta-band--split,
.page-about .cta-band--split,
.page-developers .cta-band--split,
.page-custom .cta-band--split,
.page-blog .cta-band--split,
.page-post .cta-band--split {
  max-width: 960px;
  margin-inline: auto;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 32px;
  align-items: center;
  text-align: left;
}
.page-home .cta-band-copy .eyebrow,
.page-about .cta-band-copy .eyebrow,
.page-developers .cta-band-copy .eyebrow,
.page-custom .cta-band-copy .eyebrow,
.page-blog .cta-band-copy .eyebrow,
.page-post .cta-band-copy .eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
}
.page-home .cta-band-copy .h2,
.page-about .cta-band-copy .h2,
.page-developers .cta-band-copy .h2,
.page-custom .cta-band-copy .h2,
.page-blog .cta-band-copy .h2,
.page-post .cta-band-copy .h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.025em;
}
.page-home .cta-band-copy .lede,
.page-about .cta-band-copy .lede,
.page-developers .cta-band-copy .lede,
.page-custom .cta-band-copy .lede,
.page-blog .cta-band-copy .lede,
.page-post .cta-band-copy .lede {
  max-width: 46ch;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.page-home .cta-band-actions,
.page-about .cta-band-actions,
.page-developers .cta-band-actions,
.page-custom .cta-band-actions,
.page-blog .cta-band-actions,
.page-post .cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; transition: border-color var(--t), background var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-line); background: var(--card); }
.field textarea { min-height: 130px; resize: vertical; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-line);
  padding: 64px 0 0;
  margin-top: 40px;
  color: var(--nav-ink);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 50px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.45); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--nav-muted); font-size: 14.5px; padding: 5px 0; transition: color var(--t); }
.foot-col a:hover { color: var(--nav-ink); }
.foot-about p { color: var(--nav-muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot-word {
  text-align: center; font-size: clamp(60px, 18vw, 230px); font-weight: 800; letter-spacing: -0.04em;
  line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  padding: 10px 0 0; user-select: none;
}
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid var(--nav-line); flex-wrap: wrap; }
.foot-bottom p { color: rgba(255, 255, 255, 0.45); font-size: 13.5px; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--nav-line); display: grid; place-items: center; color: var(--nav-muted); transition: border-color var(--t), color var(--t), background var(--t); }
.social a:hover { border-color: rgba(255, 255, 255, 0.28); color: var(--nav-ink); background: var(--nav-tint); }

/* ---------- Page hero breadcrumbs (dark band) ---------- */
.page-hero .breadcrumb { display:flex; gap:8px; justify-content:center; color: var(--nav-muted); font-size:13px; margin-bottom: 18px; }
.page-hero .breadcrumb a { color: var(--nav-muted); }
.page-hero .breadcrumb a:hover { color: var(--nav-ink); }
.page-hero .breadcrumb span { color: rgba(255, 255, 255, 0.45); }

/* breadcrumbs on light body sections */
.breadcrumb { display:flex; gap:8px; justify-content:center; color: var(--faint); font-size:13px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink-2); }

/* seamless header → dark hero */
.site-head { border-bottom: 0; }

/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-0{margin-top:0}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-40{margin-top:40px}
.tac { text-align: center; }
.hide { display: none !important; }

/* ---------- Reveal on scroll (subtle, no glow) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Landing page: GSAP owns motion — don't hide content via .reveal */
.page-home .reveal { opacity: 1; transform: none; transition: none; }

/* Landing page: button label flip on hover */
.page-home a.btn.btn-flip-ready {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: visible;
}
.page-home a.btn.btn-flip-ready .btn-flip {
  --flip-h: 1em;
  display: block;
  overflow: hidden;
  height: var(--flip-h);
  flex: 0 1 auto;
}
.page-home a.btn.btn-flip-ready .btn-flip-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.page-home a.btn.btn-flip-ready:hover .btn-flip-track,
.page-home a.btn.btn-flip-ready:focus-visible .btn-flip-track {
  transform: translate3d(0, calc(-1 * var(--flip-h)), 0);
}
.page-home a.btn.btn-flip-ready .btn-flip-line {
  display: flex;
  align-items: center;
  height: var(--flip-h);
  line-height: 1;
  white-space: nowrap;
}
.page-home a.btn.btn-flip-ready .btn-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.page-home a.btn.btn-primary:hover,
.page-home a.btn.btn-accent:hover,
.page-home a.btn.btn-flip-ready:active {
  transform: none;
}
.page-home .plugin-card:hover,
.page-home .quote-card:hover {
  transform: none;
}

/* Landing page: hero word reveal */
.page-home .hero .display {
  perspective: 900px;
}
.page-home .hero-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
}
.page-home .hero-word-inner {
  display: inline-block;
  transform-origin: 50% 100%;
}

/* Landing page: premium card tilt hook */
.page-home .plugin-card,
.page-home .quote-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- About page ---------- */
.page-about .page-hero .h1 {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
}
.page-about .hero-trust {
  font-size: 13.5px;
  text-align: center;
}
.page-developers .page-hero .h1 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
}
.page-developers .hero-trust {
  font-size: 13.5px;
  text-align: center;
}
.page-developers .dev-steps .card {
  padding: 24px 22px;
}
.page-developers .dev-steps .about-principle-num {
  margin-bottom: 14px;
}
.page-developers .dev-steps code,
.page-developers .about-band code {
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.page-developers .dev-code-block {
  width: 100%;
  max-width: none;
}
.page-developers .about-band .split .term {
  box-shadow: 0 12px 40px rgba(27, 26, 24, 0.12);
}

/* ---------- Custom builds page ---------- */
.page-custom .page-hero .h1 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
}
.page-custom .hero-trust {
  font-size: 13.5px;
  text-align: center;
}
.page-custom .custom-chip-row {
  margin-top: 16px;
  gap: 10px;
}
.page-custom .custom-stack-note {
  font-size: 14px;
  margin-top: 18px;
}
.page-custom .custom-standards-list .tx b {
  font-weight: 600;
}
.page-custom .custom-form-note {
  font-size: 13.5px;
  margin-top: 20px;
}
.page-custom .custom-form-note a {
  color: var(--accent-ink);
  font-weight: 600;
}
.page-custom .custom-request-form {
  border-color: var(--line);
}
.page-custom .quote-card {
  height: 100%;
}

.page-about .about-stats-band .stat .num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.about-split {
  align-items: start;
}
.about-quote-inline {
  margin: 28px 0 0;
  padding: 20px 0 0 22px;
  border-left: 3px solid var(--accent);
}
.about-quote-inline p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
}
.about-signal-card {
  padding: 28px 26px 32px;
  background: var(--bg-2);
}
.about-signal-card .feature-list {
  margin-top: 20px;
  gap: 18px;
}
.about-signal-card .feature-list .tx b {
  display: block;
  margin-bottom: 4px;
}
.about-band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.about-band .sec-head {
  margin-bottom: 40px;
}
.about-band .card {
  background: var(--card);
}
.about-compare-panel.split-media {
  aspect-ratio: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 0;
  place-items: stretch;
}
.about-compare-col {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-compare-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.about-compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about-compare-col li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.about-compare-col li span[aria-hidden="true"] {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}
.about-compare-col--muted {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
}
.about-compare-col--muted li span[aria-hidden="true"] {
  background: rgba(27, 26, 24, 0.06);
  color: var(--muted);
}
.about-compare-col--accent {
  background: var(--card);
}
.about-compare-col--accent .about-compare-label {
  color: var(--accent-ink);
}
.about-compare-col--accent li span[aria-hidden="true"] {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid var(--accent-line);
}
.about-principles .card {
  padding: 24px 22px 26px;
}
.about-principle-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  border: none;
  margin-bottom: 14px;
}

/* ---------- Plugin single page ---------- */
.page-plugin .plugin-hero {
  background: var(--nav-bg);
  color: var(--nav-ink);
  padding-top: var(--inner-hero-pt);
  padding-bottom: var(--inner-hero-pb);
}
.page-plugin .plugin-hero:has(+ .plugin-stats-band) {
  padding-bottom: var(--hero-stats-overlap);
}
.page-plugin .plugin-hero-copy .tagline-row {
  margin-top: 14px;
  margin-bottom: 0;
}
.page-plugin .plugin-breadcrumb {
  justify-content: flex-start;
  margin-bottom: 24px;
  color: var(--nav-muted);
}
.page-plugin .plugin-breadcrumb a { color: var(--nav-muted); }
.page-plugin .plugin-breadcrumb a:hover { color: var(--nav-ink); }
.page-plugin .plugin-breadcrumb span { color: rgba(255, 255, 255, 0.45); }
.page-plugin .plugin-hero-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.page-plugin .plugin-hero-icon {
  width: 72px;
  height: 72px;
  font-size: 34px;
  flex: none;
  border-radius: 18px;
}
.page-plugin .plugin-hero-copy .eyebrow {
  color: var(--nav-muted);
  margin-bottom: 10px;
}
.page-plugin .plugin-hero-copy .h1 {
  color: var(--nav-ink);
  margin: 0;
  letter-spacing: -0.028em;
}
.page-plugin .plugin-chip-sub {
  font-weight: 500;
  opacity: 0.75;
}
.page-plugin .plugin-body {
  padding-top: var(--inner-section-y);
}
.page-plugin .plugin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.page-plugin .plugin-tabs-wrap {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: var(--bg);
  padding-bottom: 2px;
  margin-bottom: 0;
}
.page-plugin .plugin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.page-plugin .plugin-tab {
  padding: 12px 16px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t), border-color var(--t);
}
.page-plugin .plugin-tab:hover { color: var(--ink-2); }
.page-plugin .plugin-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.page-plugin .plugin-panel {
  padding-top: 32px;
}
.page-plugin .plugin-panel-lede {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.page-plugin .plugin-panel-head {
  margin-bottom: 28px;
}
.page-plugin .plugin-panel-head .h2 { margin: 0 0 8px; }
.page-plugin .plugin-panel-head .lede { margin: 0; max-width: 52ch; }
.page-plugin .plugin-prose .h3 { font-size: 1.15rem; margin: 0; }
.page-plugin .plugin-prose p {
  color: var(--ink-2);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 68ch;
}
.page-plugin .plugin-feature-grid { margin-top: 18px; }
.page-plugin .plugin-feature-card {
  padding: 20px;
}
.page-plugin .plugin-feature-card .card-ico {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.page-plugin .plugin-feature-card .h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.page-plugin .plugin-feature-card p { margin: 0; font-size: 14px; }
.page-plugin .plugin-steps {
  margin: 16px 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 12px;
  max-width: 68ch;
}
.page-plugin .plugin-steps li {
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 15px;
}
.page-plugin .plugin-tags-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-plugin .plugin-tags-list li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.page-plugin .plugin-screenshots {
  display: grid;
  gap: 16px;
}
.page-plugin .plugin-screenshot-main {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
.page-plugin .plugin-screenshot-main .plugin-shot {
  margin: 0;
}
.page-plugin .plugin-screenshot-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-plugin .plugin-screenshot-thumb {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.page-plugin .plugin-screenshot-thumb.is-active,
.page-plugin .plugin-screenshot-thumb:hover {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line);
}
.page-plugin .plugin-shot {
  margin: 0;
  display: block;
}
.page-plugin .plugin-shot-cap {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.page-plugin .plugin-shot-ui {
  padding: 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-plugin .plugin-shot--form .plugin-shot-ui { background: linear-gradient(145deg, #f4f3ef 0%, #e8e6df 100%); }
.page-plugin .plugin-shot--popup .plugin-shot-ui { background: linear-gradient(145deg, #eceae4 0%, #d8d5cc 100%); }
.page-plugin .plugin-shot--cart .plugin-shot-ui { background: linear-gradient(145deg, #f0efe9 0%, #e2e0d8 100%); }
.page-plugin .plugin-shot--admin .plugin-shot-ui {
  background: #f0f0f1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
}
.page-plugin .plugin-shot--license .plugin-shot-ui { background: linear-gradient(145deg, #f6f5f1 0%, #ebe9e2 100%); }
.page-plugin .plugin-shot-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.page-plugin .plugin-shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(27, 26, 24, 0.12);
}
.page-plugin .plugin-shot-body {
  width: min(100%, 360px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(27, 26, 24, 0.08);
}
.page-plugin .plugin-shot-field {
  margin-bottom: 12px;
}
.page-plugin .plugin-shot-field:last-of-type { margin-bottom: 0; }
.page-plugin .plugin-shot-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.page-plugin .plugin-shot-input {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg-2);
}
.page-plugin .plugin-shot-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.page-plugin .plugin-shot-modal {
  width: min(100%, 320px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 16px 40px rgba(27, 26, 24, 0.12);
}
.page-plugin .plugin-shot-modal h4 { margin: 0 0 12px; font-size: 1rem; }
.page-plugin .plugin-shot-modal ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.page-plugin .plugin-shot-modal-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.page-plugin .plugin-shot-modal-btns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.page-plugin .plugin-shot-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.page-plugin .plugin-shot-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.page-plugin .plugin-shot-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  color: var(--ink-2);
}
.page-plugin .plugin-shot-sidebar {
  background: #1d2327;
  min-height: 220px;
}
.page-plugin .plugin-shot-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
}
.page-plugin .plugin-shot--sm {
  width: 112px;
  height: 72px;
  display: block;
  position: relative;
  overflow: hidden;
}
.page-plugin .plugin-shot--sm .plugin-shot-ui {
  min-height: 0;
  padding: 8px;
  transform: scale(0.45);
  transform-origin: top left;
  width: 222%;
  pointer-events: none;
}
.page-plugin .plugin-shot--sm .plugin-shot-cap,
.page-plugin .plugin-shot--sm .plugin-shot-bar { display: none; }
.page-plugin .plugin-shot-cap-sm {
  position: absolute;
  inset: auto 0 0;
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.page-plugin .plugin-changelog {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.page-plugin .plugin-changelog-entry {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.page-plugin .plugin-changelog-entry:last-child { border-bottom: 0; }
.page-plugin .plugin-changelog-entry header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.page-plugin .plugin-changelog-entry strong { font-size: 1rem; }
.page-plugin .plugin-changelog-entry time {
  font-size: 13px;
  color: var(--muted);
}
.page-plugin .plugin-changelog-entry ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 6px;
}
.page-plugin .plugin-changelog-entry li {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.page-plugin .plugin-pricing-note {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
}
.page-plugin .plugin-pricing-note a {
  color: var(--accent-ink);
  font-weight: 600;
}
.page-plugin .plugin-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 88px;
}
.page-plugin .plugin-buy-card {
  padding: 22px;
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.page-plugin .plugin-buy-from {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.page-plugin .plugin-buy-from strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.page-plugin .plugin-buy-from small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.page-plugin .plugin-buy-tagline {
  margin: 6px 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.page-plugin .plugin-buy-card .btn { margin-bottom: 8px; }
.page-plugin .plugin-buy-card .btn:last-child { margin-bottom: 0; }
.page-plugin .plugin-sidebar-card {
  padding: 20px;
}
.page-plugin .plugin-sidebar-card:hover { transform: none; }
.page-plugin .plugin-sidebar-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 14px;
}
.page-plugin .plugin-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.page-plugin .plugin-dl > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  font-size: 13.5px;
}
.page-plugin .plugin-dl dt {
  color: var(--muted);
  font-weight: 500;
}
.page-plugin .plugin-dl dd {
  margin: 0;
  color: var(--ink-2);
  font-weight: 600;
  text-align: right;
}
.page-plugin .plugin-dl a {
  color: var(--accent-ink);
}
.page-plugin .plugin-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-plugin .plugin-link-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.page-plugin .plugin-link-list a:hover { color: var(--accent-ink); }
.page-plugin .plugin-panel .plans { margin-top: 8px; }
.page-plugin .plugin-panel .price-toggle { margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .page-home .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .page-home .hero-copy .display { max-width: none; }
  .page-home .hero-stage { min-height: 360px; height: auto; order: 2; max-width: none; justify-self: center; }
  .page-home .hero-compare { min-height: 340px; height: 360px; }
  .page-home .hero-copy { order: 1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-home .split:has(.term--code-only) { align-items: start; }
  .page-home .split .term--mac.term--code-only { height: auto; }
  .page-home .split .term--mac.term--code-only .term-screen {
    flex: none;
    height: 160px;
  }
  .about-stats-band .wrap,
  .custom-stats-band .wrap,
  .dev-stats-band .wrap,
  .plugin-stats-band .wrap {
    transform: none;
  }
  .about-stats-band,
  .custom-stats-band,
  .dev-stats-band,
  .plugin-stats-band {
    padding-top: 28px;
    padding-bottom: 40px;
  }
  body:not(.page-home) .page-hero:has(+ [class*="-stats-band"]),
  .page-plugin .plugin-hero:has(+ .plugin-stats-band) {
    padding-bottom: var(--inner-hero-pb);
  }
}
@media (max-width: 960px) {
  .nav-end { margin-left: 0; gap: 10px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: relative; flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 70px; z-index: 70;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--nav-bg); border: 1px solid var(--nav-line); border-radius: var(--r);
    max-height: min(78vh, 640px); overflow-y: auto;
  }
  .nav.open .nav-link,
  .nav.open .nav-mega-trigger {
    width: 100%; justify-content: space-between; color: var(--nav-muted);
  }
  .nav.open .nav-link:hover,
  .nav.open .nav-mega-trigger:hover,
  .nav.open .nav-mega.is-open > .nav-mega-trigger {
    color: var(--nav-ink); background: var(--nav-tint);
  }
  .nav.open .mega-panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; display: none;
  }
  .nav.open .nav-mega.is-open .mega-panel { display: block; }
  .nav.open .mega-panel-inner {
    width: 100%; margin-top: 4px;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  body:not(.page-home) .section { padding-block: 88px; }
  body:not(.page-home) .section-sm:not(.about-stats-band):not(.custom-stats-band):not(.dev-stats-band):not(.plugin-stats-band):not(.blog-featured-section) {
    padding-block: 64px;
  }
  :root {
    --hero-stats-height: 128px;
    --inner-section-y: 88px;
    --inner-section-sm-y: 64px;
    --inner-hero-pt: 64px;
    --inner-hero-pb: 56px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .page-home .cta-band--split,
  .page-about .cta-band--split,
  .page-developers .cta-band--split,
  .page-custom .cta-band--split,
  .page-blog .cta-band--split,
  .page-post .cta-band--split {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 18px;
  }
  .page-home .cta-band-actions,
  .page-about .cta-band-actions,
  .page-developers .cta-band-actions,
  .page-custom .cta-band-actions,
  .page-blog .cta-band-actions,
  .page-post .cta-band-actions {
    justify-content: flex-start;
  }
  .hero { padding: 54px 0 40px; }
  .page-home .hero {
    min-height: calc(100vh - 75px);
    min-height: calc(100dvh - 75px);
    padding: clamp(24px, 4vh, 48px) 0;
  }
  .testimonial-stage { height: 520px; }
  .testimonial-card { padding: 24px; }
  .testimonial-card-by { left: 24px; right: 24px; bottom: 24px; }
  .page-home .hero-stage { min-height: 280px; }
  .page-home .hero-compare { height: 340px; width: 100%; max-width: 360px; }
  .page-home .compare-card { width: 82%; padding: 18px 16px; }
  .page-home .plugin-list-head {
    flex-direction: column;
    align-items: stretch;
  }
  .page-home .plugin-list-head-cta {
    align-self: flex-start;
    margin-top: 8px;
  }
  .page-home .plugin-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .page-home .plugin-list-btn {
    align-self: flex-start;
  }
  .wp-badges-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wp-badges-copy .h2 {
    max-width: none;
  }
  .wp-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plugin-meta-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .plugin-meta-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .plugin-meta-stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .plugin-meta-stat:nth-child(n+4) { border-top: 0; }
  .plugin-meta-stat:nth-child(5),
  .plugin-meta-stat:nth-child(6) { border-bottom: 0; }
  .page-plugin .plugin-sidebar {
    grid-template-columns: 1fr;
  }
  .page-plugin .plugin-panel .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .about-compare-panel.split-media {
    grid-template-columns: 1fr;
  }
  .about-compare-col--muted {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .plugin-meta-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .plugin-meta-stat:nth-child(3n) { border-right: 0; }
  .plugin-meta-stat:nth-child(n+4) {
    border-top: 1px solid var(--line);
  }
  .page-plugin .plugin-layout {
    grid-template-columns: 1fr;
  }
  .page-plugin .plugin-sidebar {
    order: -1;
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .page-plugin .plugin-buy-card {
    grid-column: 1 / -1;
  }
  .page-plugin .plugin-tabs-wrap {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .integrations-track-left,
  .integrations-track-right { animation: none; }
  .hero-marquee-track { animation: none; }
  .hero-marquee-viewport { mask-image: none; -webkit-mask-image: none; }
  .integrations-track { flex-wrap: wrap; width: 100%; justify-content: center; gap: 12px; }
  .integrations-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .integrations-marquee { mask-image: none; -webkit-mask-image: none; }
  .faq-chat .faq-a { transition: none; opacity: 1; }
  .faq-chat .faq-item:not(.open) .faq-a { display: none; }
  .faq-chat .faq-item.open .faq-a { display: block; grid-template-rows: 1fr; }
}

/* ---------- Accessibility: skip link + visible focus ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--primary); color: var(--primary-ink);
  padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- Blog listing & posts ---------- */
.page-blog .page-hero .h1 { max-width: 16ch; margin-inline: auto; }

.blog-featured {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
.blog-featured-link {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
  color: inherit;
  text-decoration: none;
  min-height: 280px;
}
.blog-featured-link:hover .blog-read-more { color: var(--primary); }
.blog-featured-thumb {
  position: relative;
  background: linear-gradient(145deg, #1b1a18 0%, #2a2926 45%, rgba(217, 255, 67, 0.18) 100%);
  min-height: 220px;
}
.blog-thumb-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}
.blog-featured-copy {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.blog-featured-copy .h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.blog-featured-copy .lede { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}
.blog-card-meta time { color: var(--muted); }
.blog-read-time { color: var(--faint); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 4px;
  transition: color var(--t);
}

.blog-grid {
  margin-top: 8px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  transition: border-color var(--t);
}
.blog-card:hover {
  border-color: var(--line-strong);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-card-link:hover .blog-read-more { color: var(--primary); }
.blog-card-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  flex: none;
  background: linear-gradient(160deg, var(--bg-2), var(--line));
}
.blog-card-thumb--commerce { background: linear-gradient(160deg, #1b1a18, rgba(217, 255, 67, 0.22)); }
.blog-card-thumb--guides { background: linear-gradient(160deg, #eef0ea, #d9e4c8); }
.blog-card-thumb--studio { background: linear-gradient(160deg, #1b1a18, #3d3a34); }
.blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card-body .h3 { font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.25; }
.blog-card-body p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.blog-card-body .blog-read-more { margin-top: auto; padding-top: 12px; }

/* Single post */
.blog-post-hero {
  background: var(--nav-bg);
  color: var(--nav-ink);
  padding: var(--inner-hero-pt) 0 var(--inner-hero-pb);
  border-bottom: 1px solid var(--nav-line);
}
.blog-post-hero .breadcrumb { justify-content: flex-start; color: var(--nav-muted); margin-bottom: 14px; }
.blog-post-hero .breadcrumb a { color: var(--nav-muted); }
.blog-post-hero .breadcrumb a:hover { color: var(--nav-ink); }
.blog-post-hero .breadcrumb span { color: rgba(255, 255, 255, 0.45); }
.blog-post-hero-inner { max-width: 760px; }
.blog-post-hero .h1 { letter-spacing: -0.03em; line-height: 1.08; }
.blog-post-meta .chip { margin-right: 2px; }

.blog-featured-section {
  padding-block: 48px;
}
.blog-list-section {
  padding-top: 48px;
}
.blog-body {
  padding-top: calc(var(--inner-section-y) - 16px);
  padding-bottom: var(--inner-section-y);
}
.blog-related-section {
  padding-bottom: var(--inner-section-y);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px 48px;
  align-items: start;
}
.blog-layout--single { grid-template-columns: minmax(0, 1fr) 240px; }
.blog-prose { max-width: 720px; }
.blog-prose .blog-lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink); }
.blog-prose h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
  scroll-margin-top: 96px;
}
.blog-prose h3 { font-size: 17px; margin: 28px 0 8px; }
.blog-prose p { color: var(--ink-2); margin-top: 14px; line-height: 1.65; }
.blog-prose ul, .blog-prose ol { margin-top: 14px; padding-left: 22px; color: var(--ink-2); }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li { margin-top: 8px; line-height: 1.55; }
.blog-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.blog-prose code {
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.blog-steps { list-style: none; padding-left: 0; counter-reset: blog-step; }
.blog-steps li {
  position: relative;
  padding-left: 36px;
  margin-top: 14px;
  counter-increment: blog-step;
}
.blog-steps li::before {
  content: counter(blog-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.blog-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}
.blog-callout p { margin: 0; color: var(--ink-2); font-size: 15px; }
.blog-code {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #1b1a18;
  overflow-x: auto;
}
.blog-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #e8e6e1;
  white-space: pre;
  background: none;
  border: 0;
  padding: 0;
}

.blog-author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.blog-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.blog-author-name { font-weight: 700; margin: 0 0 4px; }

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.blog-tags-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.blog-tags .chip { text-decoration: none; }

.blog-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.blog-sidebar-card { padding: 22px; }
.blog-sidebar-card .eyebrow { margin-bottom: 12px; }
.blog-toc { display: grid; gap: 8px; margin-top: 8px; }
.blog-toc a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color var(--t), border-color var(--t);
}
.blog-toc a:hover { color: var(--primary); border-left-color: var(--accent); }
.blog-sidebar-cta p { font-size: 14px; color: var(--ink-2); margin: 8px 0 16px; }

.blog-related-section { padding-top: 0; }
.blog-related-grid { margin-top: 32px; }
.blog-related-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 24px;
  transition: border-color var(--t), box-shadow var(--t);
}
.blog-related-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.blog-related-card:hover .blog-read-more { color: var(--primary); }
.blog-related-card p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }

@media (max-width: 900px) {
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-thumb { min-height: 180px; }
  .page-blog .blog-grid { grid-template-columns: 1fr; }
  .blog-layout,
  .blog-layout--single { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* ---------- Long-form / legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .legal-updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p { color: var(--ink-2); margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; color: var(--ink-2); }
.legal ul li { margin-top: 6px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal-note {
  margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--bg-2); font-size: 14px; color: var(--muted);
}
