/* ═══════════════════════════════════════════════
   DISTRIBUTE: styles.css
   Inter + JetBrains Mono · OKLCH · light + dark
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:wght@400;500;600&display=swap');


/* ═══════════════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════════════ */
:root {
  /* ── Color ── */
  --bg:          oklch(7.5%  0.010 264);
  --bg-alt:      oklch(10%   0.012 264);
  --surface:     oklch(12%   0.012 264);
  --surface-hi:  oklch(15%   0.014 264);
  --border:      oklch(100%  0     0   / 0.07);
  --border-hi:   oklch(100%  0     0   / 0.12);
  --text:        oklch(96%   0.005 264);
  --muted:       oklch(52%   0.016 264);
  --sub:         oklch(68%   0.016 264);
  --accent:      oklch(64%   0.220 264);
  --accent-hi:   oklch(72%   0.200 264);
  --accent-dim:  oklch(64%   0.220 264 / 0.12);
  --accent-brd:  oklch(64%   0.220 264 / 0.28);
  --nav-bg:      oklch(8%    0.010 264 / 0.88);
  --green:       oklch(68%   0.180 145);
  --green-dim:   oklch(68%   0.180 145 / 0.12);
  --green-brd:   oklch(68%   0.180 145 / 0.28);
  --amber:       oklch(72%   0.180  70);
  --amber-dim:   oklch(72%   0.180  70 / 0.12);
  --amber-brd:   oklch(72%   0.180  70 / 0.28);
  --red:         oklch(63%   0.220  25);
  --red-dim:     oklch(63%   0.220  25 / 0.12);
  --red-brd:     oklch(63%   0.220  25 / 0.28);
  --purple:      oklch(64%   0.200 295);
  --purple-dim:  oklch(64%   0.200 295 / 0.12);
  --purple-brd:  oklch(64%   0.200 295 / 0.28);
  --teal:        oklch(68%   0.160 190);
  --teal-dim:    oklch(68%   0.160 190 / 0.12);
  --teal-brd:    oklch(68%   0.160 190 / 0.28);

  /* ── Shadow ── */
  --shadow:      0 1px 3px oklch(0% 0 0 / 0.5),  0 4px 16px oklch(0% 0 0 / 0.4);
  --shadow-lg:   0 8px 48px oklch(0% 0 0 / 0.7), 0 2px 8px oklch(0% 0 0 / 0.5);
  --shadow-card: 0 1px 4px oklch(0% 0 0 / 0.35), 0 6px 20px oklch(0% 0 0 / 0.22);

  /* ── Radius ── */
  --r-sm:   0.375rem;
  --r-md:   0.625rem;
  --r-lg:   0.875rem;
  --r-xl:   1rem;
  --r-pill: 100px;

  /* ── Type scale ── */
  --fs-2xs:  0.625rem;
  --fs-xs:   0.7rem;
  --fs-sm:   0.8rem;
  --fs-base: 0.9rem;
  --fs-md:   1rem;
  --fs-lg:   1.1rem;

  /* ── Motion ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.15s;
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg:          oklch(99%   0.002 264);
  --bg-alt:      oklch(97.5% 0.003 264);
  --surface:     oklch(100%  0.001 264);
  --surface-hi:  oklch(98%   0.002 264);
  --border:      oklch(0%    0     0   / 0.06);
  --border-hi:   oklch(0%    0     0   / 0.10);
  --text:        oklch(12%   0.012 264);
  --muted:       oklch(48%   0.018 264);
  --sub:         oklch(36%   0.022 264);
  --accent:      oklch(50%   0.250 264);
  --accent-hi:   oklch(60%   0.230 264);
  --accent-dim:  oklch(50%   0.250 264 / 0.08);
  --accent-brd:  oklch(50%   0.250 264 / 0.18);
  --nav-bg:      oklch(100%  0.001 264 / 0.92);
  --shadow:      0 1px 2px oklch(0% 0 0 / 0.04), 0 4px 16px oklch(0% 0 0 / 0.05);
  --shadow-lg:   0 8px 40px oklch(0% 0 0 / 0.07), 0 2px 8px oklch(0% 0 0 / 0.04);
  --shadow-card: 0 1px 3px oklch(0% 0 0 / 0.06), 0 6px 20px oklch(0% 0 0 / 0.05);
  --green:       oklch(48%   0.200 145);
  --green-dim:   oklch(48%   0.200 145 / 0.10);
  --green-brd:   oklch(48%   0.200 145 / 0.22);
  --amber:       oklch(52%   0.190  70);
  --amber-dim:   oklch(52%   0.190  70 / 0.10);
  --amber-brd:   oklch(52%   0.190  70 / 0.22);
  --red:         oklch(48%   0.240  25);
  --red-dim:     oklch(48%   0.240  25 / 0.10);
  --red-brd:     oklch(48%   0.240  25 / 0.22);
  --purple:      oklch(50%   0.220 295);
  --purple-dim:  oklch(50%   0.220 295 / 0.10);
  --purple-brd:  oklch(50%   0.220 295 / 0.22);
  --teal:        oklch(48%   0.180 190);
  --teal-dim:    oklch(48%   0.180 190 / 0.10);
  --teal-brd:    oklch(48%   0.180 190 / 0.22);
}


/* ═══════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--fs-md);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img    { max-width: 100%; display: block; }
a      { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.wrap        { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.wrap-sm     { max-width: 700px;  margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 920px;  margin: 0 auto; padding: 0 2rem; }
.wrap-faq    { max-width: 760px;  margin: 0 auto; padding: 0 2rem; }
section  { padding: 6rem 0; }
.post-body section { padding: 0; }


/* ── TYPOGRAPHY ── */
.t-hero    { font-size: clamp(2.8rem, 6.5vw, 5.25rem);   font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.t-display { font-size: clamp(2.25rem, 5vw, 3.5rem);    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.t-h2      { font-size: clamp(1.75rem, 3vw, 2.5rem);    font-weight: 800; line-height: 1.1;  letter-spacing: -0.03em; }
.t-h3   { font-size: var(--fs-lg);   font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.t-body { font-size: var(--fs-md);   line-height: 1.72; }
.t-sm   { font-size: var(--fs-base); line-height: 1.65; }
.t-lbl  { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.t-mono { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-base); }


/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hi);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}
#nav.scrolled {
  padding: 0.875rem 1.5rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  transition:
    background    0.5s var(--ease),
    border-radius 0.5s var(--ease),
    box-shadow    0.5s var(--ease),
    max-width     0.5s var(--ease),
    padding       0.5s var(--ease);
}
#nav.scrolled .nav-inner {
  max-width: 880px;
  border-radius: var(--r-xl);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px var(--border), 0 4px 20px oklch(0% 0 0 / 0.18);
  padding: 0 0.8rem 0 1.2rem;
}

.nav-logo {
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-img { width: 1.5rem; height: 1.5rem; border-radius: 0.3rem; flex-shrink: 0; }

.nav-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); font-weight: 500;
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  color: var(--accent); padding: 0.1rem 0.4rem;
  border-radius: var(--r-sm); letter-spacing: 0.04em;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-size: var(--fs-base); font-weight: 500;
  color: var(--sub); text-decoration: none;
  transition: color var(--dur);
}
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 0.625rem; }


/* ── BUTTONS ── */
.btn {
  font-size: var(--fs-base); font-weight: 600;
  padding: 0.5rem 1.125rem; border-radius: var(--r-md);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: all var(--dur); border: none; letter-spacing: -0.01em;
}
.btn-p { background: var(--accent); color: oklch(100% 0 0); }
.btn-p:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-brd); }
.btn-g { background: transparent; color: var(--sub); border: 1px solid var(--border-hi); }
.btn-g:hover { color: var(--text); border-color: var(--border-hi); background: var(--surface); }
.btn-lg { padding: 0.8rem 1.75rem; font-size: var(--fs-md); }


/* ── THEME TOGGLE ── */
.nav-toggle {
  width: 2.125rem; height: 2.125rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--sub);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
  flex-shrink: 0;
}
.nav-toggle:hover { color: var(--accent); border-color: var(--accent-brd); }
.nav-toggle svg   { width: 0.9375rem; height: 0.9375rem; pointer-events: none; }
.i-sun            { display: none; }
.i-moon           { display: block; }
[data-theme="light"] .i-sun  { display: block; }
[data-theme="light"] .i-moon { display: none; }


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero { padding: 9rem 0 0; position: relative; overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50%  -5%, oklch(64% 0.22 264 / 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 85%  65%, oklch(64% 0.20 295 / 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 10%  75%, oklch(64% 0.18 220 / 0.08) 0%, transparent 55%);
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}
.hero-content { position: relative; z-index: 1; padding-bottom: 4rem; max-width: 660px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-pill); padding: 0.3rem 0.875rem 0.3rem 0.625rem;
  color: var(--sub); margin-bottom: 2rem;
}
.hero-dot {
  width: 0.375rem; height: 0.375rem;
  background: var(--green); border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } }

.hero h1      { color: var(--text); margin-bottom: 1.5rem; }
.hero-sub     { font-size: var(--fs-lg); line-height: 1.7; color: var(--sub); max-width: 32rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.875rem; }
.hero-note    { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--muted); }


/* ── Hero dashboard ── */
.hero-dash-wrap { height: 560px; }
.hero-ui-outer  { position: relative; z-index: 1; margin-top: 0; height: 100%; }

.hero-ui-glow {
  position: absolute; top: -6%;
  width: 110%; height: 85%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 30% 55%, oklch(64% 0.22 264 / 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 45% 50% at 72% 35%, oklch(64% 0.20 295 / 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 55% 80%, oklch(64% 0.16 220 / 0.12) 0%, transparent 55%);
}
.hero-ui {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-bottom: none;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px oklch(0% 0 0 / 0.5), 0 0 0 1px var(--border-hi);
  display: flex;
  height: 100%;
}
[data-theme="light"] .hero-ui {
  box-shadow: 0 -2px 24px oklch(0% 0 0 / 0.07), 0 0 0 1px var(--border-hi);
}
.hero-ui-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  pointer-events: none; z-index: 10;
}


/* ── Dashboard sidebar ── */
.uid-sidebar {
  width: 172px; flex-shrink: 0;
  background: oklch(9% 0.012 264);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 1rem 0;
}
[data-theme="light"] .uid-sidebar { background: oklch(97.5% 0.003 264); border-right-color: var(--border-hi); }

.uid-logo {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.625rem;
}
.uid-logo-img  { width: 1.25rem; height: 1.25rem; border-radius: 0.25rem; }
.uid-logo-name { font-size: var(--fs-sm); font-weight: 800; letter-spacing: -0.03em; color: var(--text); }

.uid-nav { list-style: none; padding: 0 0.5rem; flex: 1; }
.uid-nav li {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.625rem; border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: all 0.12s;
}
.uid-nav li:hover  { color: var(--sub); background: var(--surface-hi); }
.uid-nav li.active { color: var(--accent); background: var(--accent-dim); font-weight: 600; }
.uid-nav li svg    { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

.uid-badge-count {
  margin-left: auto;
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  color: var(--accent); font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); padding: 0 0.3rem; border-radius: 0.2rem;
}
.uid-sidebar-footer { padding: 0.625rem 0.5rem 0; border-top: 1px solid var(--border); }
.uid-sidebar-footer li { color: var(--muted); }

.uid-upgrade {
  margin: 0.5rem; padding: 0.75rem;
  border-radius: var(--r-md);
  background: oklch(64% 0.22 264 / 0.1);
  border: 1px solid var(--accent-brd);
}
.uid-upgrade-title { font-size: var(--fs-xs); font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.uid-upgrade-sub   { font-size: var(--fs-2xs); color: var(--sub); line-height: 1.4; margin-bottom: 0.5rem; }
.uid-upgrade-btn {
  width: 100%; padding: 0.3rem 0.5rem;
  background: var(--accent); color: oklch(100% 0 0);
  border: none; border-radius: 0.3rem;
  font-size: var(--fs-2xs); font-weight: 600;
}


/* ── Dashboard main ── */
.uid-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

.uid-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
.uid-topbar-title { font-size: var(--fs-md); font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.uid-topbar-right { display: flex; align-items: center; gap: 0.5rem; }

.uid-date-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); color: var(--sub);
  background: var(--surface-hi); border: 1px solid var(--border-hi);
  padding: 0.25rem 0.6rem; border-radius: 0.3rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.uid-tb-btn {
  font-size: var(--fs-xs); font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: 0.3rem;
  border: 1px solid var(--border-hi); background: transparent; color: var(--sub);
}
.uid-tb-btn.primary { background: var(--accent); border-color: var(--accent); color: oklch(100% 0 0); }

.uid-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.uid-kpi { padding: 0.875rem 1.25rem; border-right: 1px solid var(--border); }
.uid-kpi:last-child { border-right: none; }
.uid-kpi-lbl  { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0.25rem; }
.uid-kpi-row  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.2rem; }
.uid-kpi-n    { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.uid-kpi-icon { width: 1.375rem; height: 1.375rem; border-radius: 0.3rem; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); }
.uid-kpi-icon svg  { width: 0.75rem; height: 0.75rem; color: var(--accent); }
.uid-kpi-delta {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); font-weight: 600;
  padding: 0.1rem 0.3rem; border-radius: 0.2rem;
}
.uid-kpi-delta.up   { color: var(--green); background: var(--green-dim); }
.uid-kpi-delta.down { color: var(--red);   background: var(--red-dim); }
.uid-kpi-vs         { font-size: var(--fs-2xs); color: var(--muted); margin-left: 0.25rem; }

.uid-body {
  display: grid; grid-template-columns: 1fr 200px;
  border-bottom: 1px solid var(--border);
  flex: 1; min-height: 0; overflow: hidden;
}
.uid-chart-area {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.uid-chart-head   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.uid-chart-title  { font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
.uid-chart-total  { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--muted); }
.uid-chart-tooltip {
  background: var(--surface-hi); border: 1px solid var(--border-hi);
  border-radius: var(--r-sm); padding: 0.4rem 0.625rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--sub);
  display: inline-block; margin-bottom: 0.375rem; align-self: flex-start;
}
.uid-chart-tooltip strong { color: var(--text); }
.uid-chart-svg { flex: 1; width: 100%; overflow: visible; }
.uid-chart-x {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--muted);
  margin-top: 0.25rem;
}

.uid-right  { display: flex; flex-direction: column; overflow: hidden; }
.uid-widget { padding: 0.875rem; border-bottom: 1px solid var(--border); flex: 1; }
.uid-widget:last-child { border-bottom: none; }
.uid-widget-title {
  font-size: var(--fs-xs); font-weight: 700; color: var(--text);
  margin-bottom: 0.625rem;
  display: flex; align-items: center; justify-content: space-between;
}
.uid-widget-title span { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); font-weight: 400; color: var(--muted); }

.uid-bars      { display: flex; flex-direction: column; gap: 0.425rem; }
.uid-bar-row   { display: flex; align-items: center; gap: 0.375rem; font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--sub); }
.uid-bar-label { width: 3.5rem; flex-shrink: 0; }
.uid-bar-track { flex: 1; height: 0.3rem; background: var(--border-hi); border-radius: var(--r-pill); overflow: hidden; }
.uid-bar-fill  { height: 100%; background: var(--accent); border-radius: var(--r-pill); transition: width 1s ease; }
.uid-bar-fill.green  { background: var(--green); }
.uid-bar-fill.purple { background: var(--purple); }
.uid-bar-val   { width: 1.75rem; text-align: right; flex-shrink: 0; }

.uid-gauge-wrap { text-align: center; }
.uid-gauge-svg  { width: 100%; max-width: 90px; margin: 0 auto; }
.uid-gauge-val  { font-size: 1.25rem; font-weight: 800; color: var(--text); line-height: 1; margin-top: 0.25rem; }
.uid-gauge-sub  { font-size: var(--fs-2xs); color: var(--muted); margin-top: 0.2rem; line-height: 1.3; }
.uid-gauge-btn  {
  margin-top: 0.5rem;
  background: var(--surface-hi); border: 1px solid var(--border-hi);
  color: var(--sub); font-size: var(--fs-2xs); padding: 0.2rem 0.5rem;
  border-radius: var(--r-sm); font-weight: 500;
}

.uid-table-wrap { flex-shrink: 0; overflow: hidden; }
.uid-table      { width: 100%; border-collapse: collapse; }
.uid-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  padding: 0.5rem 1.25rem; text-align: left;
  background: var(--surface-hi); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.uid-table td {
  padding: 0.55rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm); color: var(--sub); white-space: nowrap;
}
.uid-table tbody tr:last-child td { border-bottom: none; }
.uid-table tbody tr:hover td      { background: var(--surface-hi); }

.uid-product { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); }
.uid-val     { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--text); font-weight: 600; }
.uid-meta    { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); }

.uid-status {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.125rem 0.5rem; border-radius: var(--r-pill); display: inline-block;
}
.uid-status.green  { background: var(--green-dim);  color: var(--green);  border: 1px solid var(--green-brd); }
.uid-status.amber  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid var(--amber-brd); }
.uid-status.red    { background: var(--red-dim);    color: var(--red);    border: 1px solid var(--red-brd); }

/* Sidebar brand section */
.uid-brand { padding: 0.5rem 0.875rem 0.625rem; border-bottom: 1px solid var(--border); margin-bottom: 0.375rem; }
.uid-brand-label { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.1rem; }
.uid-brand-name  { font-size: var(--fs-xs); font-weight: 700; color: var(--text); line-height: 1.2; }
.uid-brand-url   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--accent); }

/* Budget KPI progress bar */
.uid-kpi-progress { height: 4px; background: var(--surface-hi); border-radius: 99px; margin-top: 0.5rem; overflow: hidden; }
.uid-kpi-progress-fill { height: 100%; border-radius: 99px; background: var(--accent); transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1); }

/* Bar chart — grow from bottom */
.uid-chart-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Table rows — fade + slide */
.uid-table tbody tr {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.uid-table tbody tr.dash-row-in {
  opacity: 1;
  transform: none;
}

/* ROI side panel */
.uid-roi { display: flex; flex-direction: column; overflow: hidden; }
.uid-roi-section { flex: 1; padding: 0.75rem 0.875rem; display: flex; flex-direction: column; justify-content: center; }
.uid-roi-divider { height: 1px; background: var(--border); flex-shrink: 0; }
.uid-roi-lbl  { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.uid-roi-val  { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.15rem; }
.uid-roi-meta { font-size: var(--fs-2xs); color: var(--muted); }

.uid-live {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--green); font-weight: 500;
}
.uid-live-dot { width: 0.3rem; height: 0.3rem; background: var(--green); border-radius: 50%; animation: pulse 1.8s infinite; }


/* ═══════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════ */
.stats-band { background: var(--bg); padding: 5rem 0 3.5rem; }

.stats-card {
  background: oklch(9% 0.012 264);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
[data-theme="light"] .stats-card { background: var(--surface); }

.stats-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 10% 50%, oklch(64% 0.20 295 / 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 88% 25%, oklch(64% 0.22 264 / 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 55% 90%, oklch(64% 0.18 220 / 0.08) 0%, transparent 55%);
}
[data-theme="light"] .stats-card::before { opacity: 0.5; }

.stats-inner { display: flex; align-items: stretch; position: relative; z-index: 1; }
.stat {
  flex: 1; padding: 3rem 2.5rem;
  border-right: 1px solid oklch(100% 0 0 / 0.07);
  text-align: center;
}
[data-theme="light"] .stat { border-right-color: var(--border-hi); }
.stat:last-child { border-right: none; }

.stat-val {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--text); display: block; margin-bottom: 0.375rem; line-height: 1;
}
.stat-val.accent { color: var(--accent); }
.stat-lbl        { font-size: var(--fs-base); color: oklch(55% 0.016 264); }
[data-theme="light"] .stat-lbl { color: var(--muted); }


/* ── Section intro ── */
.sec-intro         { margin-bottom: 3.5rem; }
.sec-intro .t-lbl  { color: var(--accent); display: block; margin-bottom: 0.875rem; }
.sec-intro .t-h2   { color: var(--text); margin-bottom: 1rem; }
.sec-intro .t-body { color: var(--sub); max-width: 34rem; }


/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.s-how { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.step {
  background: var(--surface); padding: 2.5rem 2rem;
  transition: background var(--dur); position: relative;
}
.step:hover { background: var(--surface-hi); }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 1.5rem; display: block; text-transform: uppercase;
}
.step h3 { margin-bottom: 0.625rem; }
.step p  { font-size: var(--fs-base); line-height: 1.72; color: var(--sub); }

.step:not(:last-child)::after {
  content: '';
  position: absolute; right: -0.75rem; top: 50%; transform: translateY(-50%);
  width: 1.5rem; height: 1px; background: var(--border-hi); z-index: 2;
}


/* ═══════════════════════════════════════════════
   PLATFORM BENTO
   ═══════════════════════════════════════════════ */
.s-platform { background: var(--bg-alt); }

.platform-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.875rem;
}
.pb-tile {
  background: oklch(16% 0.015 264);
  border: 1px solid oklch(100% 0 0 / 0.14);
  border-radius: var(--r-lg);
  padding: 2rem; overflow: hidden; position: relative;
  transition: border-color 0.2s, background 0.2s;
  box-shadow: var(--shadow-card);
}
.pb-tile:hover { border-color: var(--accent-brd); }
[data-theme="light"] .pb-tile { background: var(--surface); border-color: var(--border-hi); }

/* Layout: step1 top-left | step3 right spanning | step2 bottom-left */
.pb-url    { grid-column: 1; grid-row: 1; }
.pb-email  { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; }
.pb-prospt { grid-column: 1; grid-row: 2; }

/* Step 2: text left, illustration right */
.pb-prospt-row  { display: flex; gap: 1.5rem; align-items: flex-start; height: 100%; }
.pb-prospt-text { flex: 1; min-width: 0; }
.pb-prospt-illus { width: 170px; flex-shrink: 0; margin-top: 0; height: 140px; }

/* Step 3: feature list */
.pb-feat-list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pb-feat-list li {
  font-size: var(--fs-base); color: var(--sub); line-height: 1.5;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.pb-feat-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-size: var(--fs-xs); margin-top: 0.15rem; }

.pb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 0.875rem; display: block;
}
.pb-tile h3 { margin-bottom: 0.5rem; }
.pb-tile p  { font-size: var(--fs-base); line-height: 1.65; color: var(--sub); }

.pb-illus {
  margin-top: 1.5rem; border-radius: var(--r-md);
  overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border);
}
.pb-url .pb-illus    { height: 130px; }
.pb-prospt .pb-illus { height: 110px; }
.pb-email .pb-illus  { flex: 1; min-height: 120px; margin-top: 1.25rem; }

.illus-url { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.illus-url-input {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-sm); padding: 0.5rem 0.75rem;
}
.illus-url-prefix { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--accent); }
.illus-url-text   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--text); }
.illus-url-arrow  {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); padding-left: 0.5rem;
}
.illus-url-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.illus-tag {
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  color: var(--accent); font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); padding: 0.15rem 0.5rem; border-radius: 0.25rem;
}
.illus-tag.green  { background: var(--green-dim);  border-color: var(--green-brd);  color: var(--green); }
.illus-tag.purple { background: var(--purple-dim); border-color: var(--purple-brd); color: var(--purple); }

.illus-nodes     { padding: 1rem; position: relative; height: 100%; }
.illus-nodes svg { width: 100%; height: 100%; }

.illus-email { padding: 0.875rem 1rem; }
.illus-email-line { height: 0.45rem; border-radius: var(--r-pill); background: var(--border-hi); margin-bottom: 0.375rem; }
.illus-email-line.accent { background: var(--accent-dim); width: 70%; }
.illus-email-line.short  { width: 50%; }
.illus-email-line.med    { width: 80%; }
.illus-email-line.long   { width: 95%; }
.illus-email-line.hl     { background: oklch(64% 0.22 264 / 0.25); border: 1px solid var(--accent-brd); height: 0.7rem; }


/* ═══════════════════════════════════════════════
   ICP
   ═══════════════════════════════════════════════ */
.s-icp { background: oklch(6.5% 0.012 264); position: relative; overflow: hidden; }
.s-icp::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at  8% 50%, oklch(64% 0.20 295 / 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, oklch(64% 0.22 264 / 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 55% 95%, oklch(64% 0.18 220 / 0.09) 0%, transparent 55%);
}
.s-icp .wrap { position: relative; z-index: 1; }

.icp-bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: oklch(100% 0 0 / 0.10);
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: var(--r-xl); overflow: hidden;
}
.icp-tile { background: oklch(13.5% 0.014 264); padding: 2rem 1.75rem; position: relative; transition: background var(--dur); }
.icp-tile:hover { background: oklch(16% 0.016 264); }

.icp-glyph {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-base); font-weight: 600;
  color: oklch(72% 0.200 264); display: block; margin-bottom: 1.25rem;
}
.icp-tile h3 { color: oklch(96% 0.005 264); margin-bottom: 0.625rem; }
.icp-tile p  { font-size: var(--fs-base); line-height: 1.65; color: oklch(65% 0.016 264); }


/* ═══════════════════════════════════════════════
   CHANNELS BENTO
   ═══════════════════════════════════════════════ */
.s-channels { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.channels-bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ch-tile       { background: var(--surface); padding: 1.875rem 1.625rem; transition: background var(--dur); display: flex; flex-direction: column; align-items: flex-start; }
.ch-tile:hover { background: var(--surface-hi); }

.ch-cat {
  display: inline-block; margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem; border-radius: var(--r-pill);
}
.cat-blue   { background: oklch(64% 0.22 264 / 0.1);  color: var(--accent);  border: 1px solid var(--accent-brd); }
.cat-amber  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid var(--amber-brd); }
.cat-green  { background: var(--green-dim);  color: var(--green);  border: 1px solid var(--green-brd); }
.cat-purple { background: var(--purple-dim); color: var(--purple); border: 1px solid var(--purple-brd); }
.cat-teal   { background: var(--teal-dim);   color: var(--teal);   border: 1px solid var(--teal-brd); }
.cat-muted  { background: var(--surface-hi); color: var(--sub);    border: 1px solid var(--border-hi); }

.ch-tile h3 { margin-bottom: 0.5rem; }
.ch-tile p  { font-size: var(--fs-base); line-height: 1.65; color: var(--sub); margin-bottom: 0; }
.ch-stack   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); margin-top: auto; padding-top: 1rem; }

.ch-illus {
  margin: 1.5rem 0 0;
  display: flex;
  align-items: center;
}
.ch-illus svg { width: 40px; height: 40px; flex-shrink: 0; }


/* ═══════════════════════════════════════════════
   AI EMAIL GENERATOR
   ═══════════════════════════════════════════════ */
.s-email { background: oklch(6.5% 0.012 264); position: relative; overflow: hidden; }
.s-email::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 65% at  0% 60%, oklch(64% 0.20 295 / 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 95% 30%, oklch(64% 0.22 264 / 0.12) 0%, transparent 55%);
}
.s-email .wrap { position: relative; z-index: 1; }

.email-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.email-split-left .t-lbl  { color: oklch(72% 0.200 264); margin-bottom: 1rem; display: block; }
.email-split-left .t-h2   { color: oklch(96% 0.005 264); margin-bottom: 1rem; }
.email-split-left .t-body { color: oklch(65% 0.016 264); margin-bottom: 2rem; max-width: 28rem; }

.email-features  { display: flex; flex-direction: column; gap: 1rem; }
.email-feat      { display: flex; align-items: flex-start; gap: 0.875rem; }
.email-feat-icon {
  width: 1.75rem; height: 1.75rem; border-radius: 0.4rem; flex-shrink: 0;
  background: oklch(64% 0.22 264 / 0.12); border: 1px solid var(--accent-brd);
  display: flex; align-items: center; justify-content: center; margin-top: 0.1rem;
}
.email-feat-icon svg { width: 0.875rem; height: 0.875rem; color: var(--accent); }
.email-feat-text h4  { font-size: var(--fs-base); font-weight: 700; color: oklch(96% 0.005 264); margin-bottom: 0.25rem; }
.email-feat-text p   { font-size: var(--fs-base); line-height: 1.6; color: oklch(60% 0.014 264); }

.email-compose {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.email-compose-bar {
  background: var(--surface-hi); padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.email-compose-bar-l  { display: flex; gap: 0.375rem; }
.ec-dot               { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--border-hi); }
.email-compose-title  { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); }
.email-compose-field  {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border);
}
.email-compose-field-label { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); width: 2.5rem; flex-shrink: 0; padding-top: 0.1rem; }
.email-compose-field-val   { font-size: var(--fs-base); color: var(--text); flex: 1; }
.email-compose-body        { padding: 1rem 1.25rem; min-height: 160px; font-size: var(--fs-base); line-height: 1.75; color: var(--text); position: relative; }

.email-typing-cursor {
  display: inline-block; width: 0.125rem; height: 1rem;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink-cursor 1s step-end infinite;
}
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.email-compose-footer {
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-hi);
}
.email-ai-badge {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  padding: 0.2rem 0.6rem; border-radius: var(--r-pill);
}
.email-stats { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); }


/* ═══════════════════════════════════════════════
   COMPARE
   ═══════════════════════════════════════════════ */
.s-compare { background: var(--bg); }
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow);
}
.compare .cmp-bad  { padding: 2rem; border-right: 1px solid var(--border-hi); }
.compare .cmp-good { padding: 2rem; background: oklch(64% 0.22 264 / 0.05); display: flex; flex-direction: column; }

.cmp-head {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}
.compare .cmp-bad  .cmp-head { color: var(--red); }
.compare .cmp-good .cmp-head { color: var(--green); }

.cmp-list { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.cmp-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-base); line-height: 1.55; }
.cmp-icon { flex-shrink: 0; margin-top: 0.125rem; font-size: var(--fs-base); }
.compare .cmp-bad  .cmp-list li { color: var(--sub); }
.compare .cmp-bad  .cmp-icon    { color: var(--red); opacity: 0.5; }
.compare .cmp-good .cmp-list li { color: var(--text); font-weight: 500; }
.compare .cmp-good .cmp-icon    { color: var(--green); }

.cmp-foot { margin-top: auto; padding-top: 2rem; }
.cmp-note { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--sub); margin-bottom: 1rem; }


/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.s-pricing { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: stretch; }
.price-layout > div:last-child { display: flex; flex-direction: column; }
.price-layout > div:last-child .price-card { flex: 1; }

.price-checks { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }
.price-check  { display: flex; align-items: flex-start; gap: 0.75rem; }
.price-check-icon { color: var(--green); font-size: var(--fs-base); flex-shrink: 0; margin-top: 0.15rem; }
.price-check-text { font-size: var(--fs-base); line-height: 1.55; color: var(--sub); }

.price-card {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.price-card-head {
  background: var(--surface-hi); padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--sub);
}
.price-card-head em { color: var(--accent); font-style: normal; }

.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem; border-bottom: 1px solid var(--border);
}
.price-row:last-of-type { border-bottom: none; }
.price-label, .price-value { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); }
.price-label { color: var(--sub); }
.price-value { color: var(--text); }

.price-card-foot {
  background: var(--surface-hi); padding: 1rem 1.375rem;
  border-top: 1px solid var(--border-hi);
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
}
.price-foot-l   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--sub); }
.price-foot-sub { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); margin-top: 0.2rem; }
.price-foot-v   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-lg); font-weight: 600; color: var(--accent); }
.price-actions  { display: flex; gap: 0.625rem; margin-top: 1rem; }


/* ═══════════════════════════════════════════════
   INTEGRATIONS
   ═══════════════════════════════════════════════ */
.s-integrations { background: var(--bg); }
.int-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.int-tile       { background: var(--surface); padding: 2.25rem 2rem; transition: background var(--dur); }
.int-tile:hover { background: var(--surface-hi); }

.int-type {
  display: inline-block; margin-bottom: 0.875rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem; border-radius: var(--r-pill);
  background: var(--surface-hi); border: 1px solid var(--border-hi); color: var(--sub);
}
.int-tile h3 { margin-bottom: 0.625rem; }
.int-tile p  { font-size: var(--fs-base); line-height: 1.65; color: var(--sub); margin-bottom: 1.25rem; }

.code-block {
  background: var(--bg); border: 1px solid var(--border-hi);
  border-radius: var(--r-md); padding: 0.875rem 1rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm);
  line-height: 1.75; color: var(--sub); overflow-x: auto;
}
.kw  { color: var(--accent); }
.str { color: oklch(64% 0.18 220); }
.cm  { color: var(--muted); }


/* ═══════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════ */
.s-cta { background: oklch(6.5% 0.012 264); position: relative; overflow: hidden; text-align: center; }
.s-cta::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 50% 60%, oklch(64% 0.22 264 / 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 20%, oklch(64% 0.20 295 / 0.12) 0%, transparent 55%);
}
.s-cta .wrap   { position: relative; z-index: 1; }
.s-cta .t-hero { font-size: clamp(2.25rem, 5vw, 3.5rem); color: oklch(96% 0.005 264); margin-bottom: 1.5rem; }
.s-cta p       { font-size: var(--fs-md); color: oklch(58% 0.016 264); margin-bottom: 2rem; }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer    { border-top: 1px solid var(--border); padding: 3.5rem 0 0; background: var(--bg); }
.ft-grid  { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.ft-brand p { font-size: var(--fs-base); line-height: 1.7; color: var(--muted); margin-top: 0.75rem; max-width: 18rem; }
.ft-by    { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--sub); margin-top: 0.625rem; }
.ft-by a  { color: var(--accent); text-decoration: none; }
.ft-col h4 { font-size: var(--fs-base); font-weight: 700; color: var(--text); margin-bottom: 0.875rem; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.ft-col ul a { font-size: var(--fs-base); color: var(--sub); text-decoration: none; transition: color var(--dur); }
.ft-col ul a:hover { color: var(--text); }
.ft-bottom {
  margin-top: 3rem; padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.ft-copy    { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); }
.ft-links   { display: flex; gap: 1.5rem; }
.ft-links a { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); text-decoration: none; transition: color var(--dur); }
.ft-links a:hover { color: var(--text); }


/* ═══════════════════════════════════════════════
   PERFORMANCE PAGE
   ═══════════════════════════════════════════════ */

/* ── Nav: active link ── */
.nav-links a.active { color: var(--text); font-weight: 600; }

/* ── Dark ghost button (dark-background heroes) ── */
.btn-g-dark { border-color: oklch(100% 0 0 / 0.12); color: oklch(65% 0.016 264); }
.btn-g-dark:hover { color: oklch(88% 0 0); border-color: oklch(100% 0 0 / 0.22); background: oklch(100% 0 0 / 0.06); }

/* ── Page-perf: stats overlap + unified section background ── */
.page-perf .perf-hero { padding-bottom: 9rem; }
.page-perf .stats-band {
  margin-top: -5rem;
  padding-top: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 3rem, var(--bg-alt) 3rem);
  position: relative;
  z-index: 1;
}
.page-perf .s-proof { background: var(--bg-alt); border-top: none; padding-top: 4rem; }

/* ── Hero ── */
.perf-hero {
  background: oklch(6.5% 0.012 264);
  padding: 10rem 0 7rem;
  position: relative; overflow: hidden; text-align: center;
}
.perf-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 80% at 50% 55%, oklch(64% 0.22 264 / 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 60% at 12% 25%, oklch(64% 0.20 295 / 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 88% 80%, oklch(64% 0.18 220 / 0.10) 0%, transparent 55%);
}
.perf-hero .wrap         { position: relative; z-index: 1; }
.perf-hero .t-hero       { color: oklch(96% 0.005 264); margin-bottom: 1.5rem; max-width: 860px; margin-inline: auto; }
.perf-hero .hero-eyebrow {
  display: inline-flex; margin-bottom: 2.5rem;
  background: oklch(14% 0.013 264);
  border-color: oklch(100% 0 0 / 0.12);
  color: oklch(65% 0.016 264);
}
.perf-hero .hero-actions { justify-content: center; }
.perf-hero .hero-note    { text-align: center; color: oklch(42% 0.014 264); }
.perf-sub { font-size: var(--fs-lg); color: oklch(55% 0.016 264); max-width: 32rem; margin: 0 auto 2.5rem; line-height: 1.75; }

/* ── Proof slider ── */
.s-proof { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 6rem 0 4rem; }

.proof-track-outer           { overflow: hidden; }
.proof-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem max(1.5rem, calc((100vw - 1100px) / 2 + 2rem)) 2rem;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.proof-track:active             { cursor: grabbing; }
.proof-track::-webkit-scrollbar { display: none; }

.proof-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.proof-card:hover { border-color: var(--accent-brd); transform: translateY(-3px); }

.proof-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.15rem 0.55rem; border-radius: var(--r-pill);
  display: inline-block; margin-bottom: 1.75rem; align-self: flex-start;
  background: var(--accent-dim); border: 1px solid var(--accent-brd); color: var(--accent);
}
.proof-tag.green  { background: var(--green-dim);  border-color: var(--green-brd);  color: var(--green); }
.proof-tag.purple { background: var(--purple-dim); border-color: var(--purple-brd); color: var(--purple); }
.proof-tag.amber  { background: var(--amber-dim);  border-color: var(--amber-brd);  color: var(--amber); }
.proof-tag.teal   { background: var(--teal-dim);   border-color: var(--teal-brd);   color: var(--teal); }

.proof-big     { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.045em; color: var(--text); line-height: 1; margin-bottom: 0.375rem; }
.proof-big-lbl { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); display: block; margin-bottom: 1.5rem; }
.proof-quote   { font-size: var(--fs-base); line-height: 1.7; color: var(--sub); flex: 1; margin-bottom: 1.75rem; }
.proof-person  { display: flex; align-items: center; gap: 0.625rem; border-top: 1px solid var(--border); padding-top: 1.125rem; }

.proof-avatar {
  width: 2rem; height: 2rem; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 700; color: var(--accent);
}
.proof-avatar.green  { background: var(--green-dim);  border-color: var(--green-brd);  color: var(--green); }
.proof-avatar.purple { background: var(--purple-dim); border-color: var(--purple-brd); color: var(--purple); }
.proof-avatar.amber  { background: var(--amber-dim);  border-color: var(--amber-brd);  color: var(--amber); }
.proof-avatar.teal   { background: var(--teal-dim);   border-color: var(--teal-brd);   color: var(--teal); }

.proof-name { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.proof-role { font-size: var(--fs-xs); color: var(--muted); }

.proof-controls {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0 max(1.5rem, calc((100vw - 1100px) / 2 + 2rem));
  margin-top: 2rem;
}
.proof-ctrl-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--border-hi); background: var(--surface); color: var(--sub);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--dur);
}
.proof-ctrl-btn:hover { color: var(--text); border-color: var(--accent-brd); background: var(--accent-dim); }
.proof-ctrl-btn svg   { width: 0.875rem; height: 0.875rem; pointer-events: none; }
.proof-ctrl-hint      { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--muted); }

/* ── Pull quote ── */
.s-pullquote {
  background: oklch(6.5% 0.012 264);
  position: relative; overflow: hidden;
  padding: 6rem 0;
}
.s-pullquote::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 100% at 30% 50%, oklch(64% 0.22 264 / 0.12) 0%, transparent 60%);
}
.s-pullquote .wrap { position: relative; z-index: 1; }

.pq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.pq-left  { display: flex; flex-direction: column; }
.pq-right { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }

.pq-eyebrow { color: var(--accent); display: block; margin-bottom: 1.25rem; }
.pq-number {
  font-size: clamp(4rem, 10vw, 7.5rem); font-weight: 800;
  letter-spacing: -0.06em; line-height: 1;
  color: var(--accent); display: block; margin-bottom: 1rem;
}
.pq-label { font-size: var(--fs-lg); color: oklch(55% 0.016 264); max-width: 26rem; line-height: 1.6; }

.pq-comps {
  display: flex; gap: 0; flex-direction: column; width: 100%;
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: var(--r-xl); overflow: hidden;
}
.pq-comp-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; padding: 1rem 1.5rem;
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}
.pq-comp-row:last-child { border-bottom: none; }
.pq-comp-who { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: oklch(50% 0.014 264); }
.pq-comp-val { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-md); font-weight: 700; color: oklch(38% 0.012 264); }
.pq-comp-row.you { background: oklch(64% 0.22 264 / 0.10); }
.pq-comp-row.you .pq-comp-who { color: oklch(75% 0.020 264); }
.pq-comp-row.you .pq-comp-val { color: var(--accent); font-size: 1.25rem; }

/* ── Funnel ── */
.s-funnel         { background: var(--bg); border-top: 1px solid var(--border); }
.funnel-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.funnel-right-card {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.funnel-rows { display: flex; flex-direction: column; gap: 1.5rem; }
.funnel-row  { display: flex; flex-direction: column; gap: 0.5rem; }
.funnel-row-top { display: flex; justify-content: space-between; align-items: baseline; }
.funnel-label   { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.funnel-pct     { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); font-weight: 600; }
.funnel-pct.sent              { color: var(--accent); }
.funnel-pct.opened            { color: var(--purple); }
.funnel-pct.replied,
.funnel-pct.you-read          { color: var(--green); }
.funnel-bar-track { height: 0.5rem; background: var(--surface-hi); border-radius: var(--r-pill); overflow: hidden; }
.funnel-bar-fill {
  height: 100%; border-radius: var(--r-pill); width: 0;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.funnel-bar-fill.sent              { background: var(--accent); }
.funnel-bar-fill.opened            { background: var(--purple); }
.funnel-bar-fill.replied,
.funnel-bar-fill.you-read          { background: var(--green); }
.funnel-desc                       { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm); color: var(--muted); }
.funnel-copy .t-lbl  { color: var(--accent); display: block; margin-bottom: 0.875rem; }
.funnel-copy .t-h2   { margin-bottom: 1rem; }
.funnel-copy .t-body { color: var(--sub); margin-bottom: 2rem; }
.funnel-note {
  padding: 1.25rem 1.5rem;
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  border-radius: var(--r-lg);
  font-size: var(--fs-base); color: var(--sub); line-height: 1.65;
}
.funnel-note strong { color: var(--text); font-weight: 600; }

/* ── Compare table ── */
.s-compare-alt      { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th {
  background: var(--surface-hi);
  padding: 1.125rem 1.5rem; text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--sub);
  border-bottom: 1px solid var(--border-hi);
}
.compare-table th.col-hl  { color: var(--accent); background: oklch(64% 0.22 264 / 0.07); }
.compare-table td {
  padding: 1.125rem 1.5rem;
  font-size: var(--fs-base); color: var(--sub);
  border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.5;
}
.compare-table td.col-hl      { background: oklch(64% 0.22 264 / 0.04); color: var(--text); font-weight: 500; }
.compare-table td:first-child  { font-weight: 600; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.val-good { color: var(--green); font-weight: 700; }
.val-bad  { color: var(--muted); }


/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
.r    { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.r.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }

@keyframes up-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
.a1 { animation: up-in 0.55s var(--ease) 0.05s both; }
.a2 { animation: up-in 0.55s var(--ease) 0.15s both; }
.a3 { animation: up-in 0.55s var(--ease) 0.25s both; }
.a4 { animation: up-in 0.55s var(--ease) 0.35s both; }
.a5 { animation: up-in 0.55s var(--ease) 0.5s  both; }

@keyframes slide-in { from { opacity: 0; transform: translateX(-0.75rem); } to { opacity: 1; transform: none; } }
.dr1 { animation: slide-in 0.4s var(--ease) 0.6s  both; }
.dr2 { animation: slide-in 0.4s var(--ease) 0.75s both; }
.dr3 { animation: slide-in 0.4s var(--ease) 0.9s  both; }
.dr4 { animation: slide-in 0.4s var(--ease) 1.05s both; }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .uid-table-wrap { display: none; }
  .platform-bento { grid-template-columns: 1fr 1fr; }
  .pb-email { grid-row: 1; grid-column: 2; }
}
@media (max-width: 900px) {
  .steps-grid,
  .int-grid       { grid-template-columns: 1fr; }
  .compare        { grid-template-columns: 1fr; }
  .compare .cmp-bad { border-right: none; border-bottom: 1px solid var(--border-hi); }
  .icp-bento      { grid-template-columns: 1fr 1fr; }
  .channels-bento { grid-template-columns: 1fr 1fr; }
  .price-layout   { grid-template-columns: 1fr; gap: 3rem; }
  .email-split    { grid-template-columns: 1fr; gap: 3rem; }
  .ft-grid        { grid-template-columns: 1fr 1fr; }
  .stat           { padding: 2rem 1.5rem; }
  .platform-bento { grid-template-columns: 1fr; }
  .pb-email       { grid-column: 1; grid-row: auto; }
  .funnel-right-card { padding: 1.75rem; }
  .funnel-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .proof-card     { flex: 0 0 300px; }
  .pq-number      { font-size: clamp(4rem, 18vw, 7rem); }
  .pq-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .pq-right       { width: 100%; }
  .pq-comps       { width: 100%; }
}
@media (max-width: 700px) {
  .hero-ui { display: none; }
  .hero    { padding-bottom: 5rem; }
}
@media (max-width: 640px) {
  .icp-bento,
  .channels-bento { grid-template-columns: 1fr; }
  .hero           { padding-top: 7.5rem; padding-bottom: 3rem; }
  .nav-links      { display: none; }
  .ft-grid        { grid-template-columns: 1fr; }
  .wrap, .wrap-sm { padding: 0 1rem; }
  .hero-ui-outer  { display: none; }
  .hero-dash-wrap { display: none; }

  /* 2×2 stats grid */
  .stats-inner { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-band  { padding: 2.5rem 0 2rem; }
  .stat {
    padding: 1.5rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  }
  [data-theme="light"] .stat { border-bottom-color: var(--border-hi); }
  .stat:nth-child(1), .stat:nth-child(3) { border-right: 1px solid oklch(100% 0 0 / 0.07); }
  [data-theme="light"] .stat:nth-child(1),
  [data-theme="light"] .stat:nth-child(3) { border-right-color: var(--border-hi); }
  .stat:nth-child(3), .stat:nth-child(4)  { border-bottom: none; }
  .stat-val { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  /* Reduce section padding */
  .s-how, .s-platform, .s-email, .s-icp, .s-channels, .s-pricing, .s-integration, .s-compare { padding: 3rem 0; }
  .sec-intro { margin-bottom: 2rem; }
  .steps-grid .step { padding: 1.25rem; }
  .hero-actions { flex-direction: column; gap: 0.5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Performance page */
  .perf-hero  { padding: 7.5rem 0 4rem; }
  .proof-card { flex: 0 0 270px; padding: 1.5rem; }
  .proof-big  { font-size: 2.25rem; }
  .compare-table td,
  .compare-table th { padding: 0.875rem 1rem; }
}

/* Burger menu */
.nav-burger {
  display: none;
  width: 2.25rem; height: 2.25rem;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--text); border-radius: var(--r-md);
  transition: background var(--dur);
}
.nav-burger:hover { background: var(--surface-hi); }
.nav-mobile-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 210;
  flex-direction: column;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 3.5rem; border-bottom: 1px solid var(--border-hi);
  flex-shrink: 0;
}
.nav-mobile-logo {
  font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.04em;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-mobile-logo img { width: 1.5rem; height: 1.5rem; border-radius: 0.3rem; }
.nav-mobile-close {
  width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--text); border-radius: var(--r-md);
}
.nav-mobile-links {
  flex: 1; overflow-y: auto; padding: 1.25rem 1.25rem 0; list-style: none;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.nav-mobile-links a {
  display: block; padding: 0.75rem 1rem; border-radius: var(--r-md);
  font-size: var(--fs-md); font-weight: 500; color: var(--sub);
  text-decoration: none; transition: all var(--dur);
}
.nav-mobile-links a:hover { color: var(--text); background: var(--surface-hi); }
.nav-mobile-actions {
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; flex-shrink: 0;
  border-top: 1px solid var(--border-hi);
}
.nav-mobile-actions .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }
}


/* ═══════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════ */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: oklch(100% 0 0);
  padding: 0.5rem 1.25rem; border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; font-size: var(--fs-base);
  text-decoration: none; z-index: 9999;
  transition: top 0.2s ease; white-space: nowrap;
}
.skip-link:focus { top: 0; outline: 2px solid oklch(100% 0 0); outline-offset: 2px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .r { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════
   HOW IT WORKS PAGE
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.hiw-hero {
  background: oklch(6.5% 0.012 264);
  padding: 9rem 0 6rem;
  position: relative; overflow: hidden; text-align: center;
}
.hiw-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 50% 60%, oklch(64% 0.22 264 / 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 15% 20%, oklch(64% 0.20 295 / 0.10) 0%, transparent 55%);
}
.hiw-hero .wrap { position: relative; z-index: 1; }
.hiw-hero .t-hero       { color: oklch(96% 0.005 264); margin-bottom: 1.5rem; max-width: 820px; margin-inline: auto; }
.hiw-hero .hero-eyebrow {
  display: inline-flex; margin-bottom: 2.5rem;
  background: oklch(14% 0.013 264);
  border-color: oklch(100% 0 0 / 0.12);
  color: oklch(65% 0.016 264);
}
.hiw-hero .hero-actions { justify-content: center; }
.hiw-sub {
  font-size: var(--fs-lg); color: oklch(55% 0.016 264);
  max-width: 34rem; margin: 0 auto 2.5rem; line-height: 1.75;
}

/* ── Steps ── */
.s-hiw-steps { background: var(--bg); }

.hiw-step { padding: 5rem 0; }
.hiw-step-divider {
  max-width: 1100px; margin: 0 auto;
  height: 1px; background: var(--border-hi);
  padding: 0 2rem;
}

.hiw-step-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hiw-step-left { display: flex; flex-direction: column; gap: 1.25rem; }
.hiw-step-eyebrow { color: var(--accent); }
.hiw-step-left .t-h2 { margin: 0; }
.hiw-step-left .t-body { color: var(--sub); }

.hiw-step-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
  padding: 0; margin-top: 0.25rem;
}
.hiw-step-list li {
  font-size: var(--fs-base); color: var(--sub); padding-left: 1.25rem;
  position: relative; line-height: 1.5;
}
.hiw-step-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.45em;
  width: 0.45rem; height: 0.45rem;
  background: var(--accent); border-radius: 50%;
}

/* ── Mock UI ── */
.hiw-step-right { display: flex; justify-content: center; }

.hiw-mock {
  background: oklch(10% 0.012 264);
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 360px;
}
[data-theme="light"] .hiw-mock {
  background: oklch(97.5% 0.003 264);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-card);
}

.hiw-mock-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: oklch(8% 0.010 264);
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}
[data-theme="light"] .hiw-mock-chrome {
  background: oklch(95% 0.004 264);
  border-bottom-color: var(--border-hi);
}
.hiw-mock-chrome-gmail { gap: 0.5rem; }
.hiw-mock-chrome-gmail svg { color: var(--sub); flex-shrink: 0; }
.hiw-mock-chrome-gmail span { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); }

.hiw-mock-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: oklch(100% 0 0 / 0.15); flex-shrink: 0;
}
[data-theme="light"] .hiw-mock-dot { background: var(--border-hi); }

.hiw-mock-url {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: oklch(42% 0.012 264); margin-left: 0.25rem;
}
[data-theme="light"] .hiw-mock-url { color: var(--muted); }

.hiw-mock-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

.hiw-mock-label { color: var(--accent); margin-bottom: 0.4rem; display: block; }

.hiw-mock-input {
  display: flex; align-items: center; gap: 0.5rem;
  background: oklch(14% 0.013 264);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--r-md); padding: 0.6rem 0.875rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: var(--sub);
}
[data-theme="light"] .hiw-mock-input {
  background: var(--surface); border-color: var(--border-hi);
}
.hiw-mock-input svg { color: var(--accent); flex-shrink: 0; }

.hiw-mock-checks { display: flex; flex-direction: column; gap: 0.55rem; }
.hiw-mock-check {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub);
}
.hiw-mock-check svg { color: var(--green); flex-shrink: 0; }

.hiw-mock-campaign-header {
  display: flex; justify-content: space-between; align-items: center;
}
.hiw-mock-campaign-name {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  font-weight: 700; color: var(--accent);
}
.hiw-mock-status {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--green);
}
.hiw-mock-pulse {
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--green);
  animation: mock-pulse 1.8s ease-in-out infinite;
}
@keyframes mock-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hiw-mock-progress-lbl {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--sub);
}
.hiw-mock-progress-count { color: var(--text); font-weight: 600; }
.hiw-mock-progress-track {
  height: 4px; background: oklch(100% 0 0 / 0.08);
  border-radius: var(--r-pill); overflow: hidden;
}
[data-theme="light"] .hiw-mock-progress-track { background: var(--border-hi); }
.hiw-mock-progress-fill {
  height: 100%; background: var(--accent); border-radius: var(--r-pill);
}

.hiw-mock-rows { display: flex; flex-direction: column; gap: 0; }
.hiw-mock-row {
  display: flex; gap: 0.5rem; align-items: center;
  padding: 0.4rem 0;
  border-top: 1px solid oklch(100% 0 0 / 0.06);
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
}
[data-theme="light"] .hiw-mock-row { border-top-color: var(--border); }
.hiw-mock-name { color: var(--text); font-weight: 600; flex: 0 0 6rem; }
.hiw-mock-role { color: var(--muted); flex: 0 0 3.5rem; }
.hiw-mock-co   { color: var(--accent); }
.hiw-mock-more {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--muted); padding-top: 0.4rem;
  border-top: 1px solid oklch(100% 0 0 / 0.06);
}
[data-theme="light"] .hiw-mock-more { border-top-color: var(--border); }

.hiw-mock-email-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.hiw-mock-email-tag {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  background: var(--green-dim); border: 1px solid var(--green-brd);
  color: var(--green); padding: 0.15rem 0.5rem; border-radius: var(--r-pill);
}
.hiw-mock-tag-dot {
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.hiw-mock-email-time {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); color: var(--muted);
}
.hiw-mock-email-from {
  font-size: var(--fs-sm); font-weight: 600; color: var(--text);
  margin-bottom: 0.625rem; line-height: 1.4;
}
.hiw-mock-email-preview {
  font-size: var(--fs-sm); color: var(--sub); line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}
.hiw-mock-email-actions {
  display: flex; gap: 0.5rem;
}
.hiw-mock-btn {
  font-size: var(--fs-xs); font-weight: 600;
  padding: 0.35rem 0.75rem; border-radius: var(--r-md);
  background: oklch(100% 0 0 / 0.07); border: 1px solid oklch(100% 0 0 / 0.12);
  color: var(--sub); cursor: default;
}
[data-theme="light"] .hiw-mock-btn {
  background: var(--surface-hi); border-color: var(--border-hi);
}
.hiw-mock-btn-accent {
  background: var(--accent-dim); border-color: var(--accent-brd); color: var(--accent);
}

/* ── Under the hood ── */
.s-hiw-under { background: var(--bg-alt); border-top: 1px solid var(--border); }

.hiw-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; background: var(--border-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hiw-feature {
  background: var(--surface);
  padding: 2rem 2rem 2.25rem;
  border-right: 1px solid var(--border-hi);
  border-bottom: 1px solid var(--border-hi);
  display: flex; flex-direction: column; gap: 0.625rem;
}
.hiw-feature:nth-child(3n) { border-right: none; }
.hiw-feature:nth-child(n+4) { border-bottom: none; }

.hiw-feature-icon {
  width: 2.25rem; height: 2.25rem; border-radius: var(--r-md);
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 0.25rem;
}
.hiw-feature .t-h3 { font-size: var(--fs-base); font-weight: 700; }
.hiw-feature p { font-size: var(--fs-sm); color: var(--sub); line-height: 1.65; }

/* ── Internal links ── */
.s-hiw-links { background: var(--bg); border-top: 1px solid var(--border); }
.s-hiw-links .sec-intro { margin-bottom: 2.5rem; }

.hiw-link-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.hiw-link-card {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.75rem;
  text-decoration: none; display: flex; flex-direction: column; gap: 0.625rem;
  transition: border-color var(--dur), box-shadow var(--dur), transform 0.2s var(--ease);
  box-shadow: var(--shadow-card);
}
.hiw-link-card:hover {
  border-color: var(--accent-brd);
  box-shadow: 0 4px 24px var(--accent-dim);
  transform: translateY(-2px);
}
.hiw-link-icon {
  width: 2.25rem; height: 2.25rem; border-radius: var(--r-md);
  background: var(--bg-alt); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--sub); margin-bottom: 0.25rem;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.hiw-link-card:hover .hiw-link-icon {
  background: var(--accent-dim); border-color: var(--accent-brd); color: var(--accent);
}
.hiw-link-card .t-h3 { font-size: var(--fs-base); font-weight: 700; color: var(--text); }
.hiw-link-card p { font-size: var(--fs-sm); color: var(--sub); line-height: 1.65; flex: 1; }
.hiw-link-arrow {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: var(--accent); font-weight: 600; margin-top: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hiw-step-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .hiw-step-right  { justify-content: flex-start; }
  .hiw-mock        { max-width: 100%; }
  .hiw-features    { grid-template-columns: 1fr 1fr; }
  .hiw-feature:nth-child(3n)   { border-right: 1px solid var(--border-hi); }
  .hiw-feature:nth-child(2n)   { border-right: none; }
  .hiw-feature:nth-child(n+4)  { border-bottom: 1px solid var(--border-hi); }
  .hiw-feature:nth-child(n+5)  { border-bottom: none; }
  .hiw-link-cards  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hiw-hero   { padding: 7.5rem 0 4rem; }
  .hiw-step   { padding: 3.5rem 0; }
  .hiw-features { grid-template-columns: 1fr; }
  .hiw-feature:nth-child(n)    { border-right: none; border-bottom: 1px solid var(--border-hi); }
  .hiw-feature:last-child      { border-bottom: none; }
}


/* ═══════════════════════════════════════════════
   USE CASES PAGE
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.uc-hero {
  background: oklch(6.5% 0.012 264);
  padding: 9rem 0 5rem;
  position: relative; overflow: hidden; text-align: center;
}
.uc-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 85% at 50% 55%, oklch(64% 0.22 264 / 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 85% 20%, oklch(68% 0.18 145 / 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 10% 80%, oklch(64% 0.20 295 / 0.09) 0%, transparent 55%);
}
.uc-hero .wrap { position: relative; z-index: 1; }
.uc-hero .t-hero       { color: oklch(96% 0.005 264); margin-bottom: 1.5rem; max-width: 820px; margin-inline: auto; }
.uc-hero .hero-eyebrow {
  display: inline-flex; margin-bottom: 2.5rem;
  background: oklch(14% 0.013 264);
  border-color: oklch(100% 0 0 / 0.12);
  color: oklch(65% 0.016 264);
}
.uc-sub {
  font-size: var(--fs-lg); color: oklch(50% 0.016 264);
  max-width: 38rem; margin: 0 auto 2.5rem; line-height: 1.75;
}

/* ── Persona tab anchors ── */
.uc-tabs {
  display: flex; justify-content: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.uc-tab {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.35rem 0.875rem; border-radius: var(--r-pill);
  background: oklch(100% 0 0 / 0.06); border: 1px solid oklch(100% 0 0 / 0.10);
  color: oklch(58% 0.014 264); text-decoration: none;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.uc-tab:hover {
  background: oklch(100% 0 0 / 0.10); border-color: oklch(100% 0 0 / 0.18);
  color: oklch(80% 0.010 264);
}

/* ── Sticky subnav ── */
.uc-subnav {
  position: sticky;
  top: 3.5rem;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px oklch(0% 0 0 / 0.06);
}
.uc-subnav-inner {
  display: flex;
  gap: 0;
  height: 2.75rem;
  align-items: stretch;
}
.uc-subnav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--sub);
  text-decoration: none;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  position: relative;
  transition: color var(--dur);
  white-space: nowrap;
}
.uc-subnav-link:hover { color: var(--text); }
.uc-subnav-link.active {
  color: var(--text);
  font-weight: 700;
}
.uc-subnav-link.active::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

/* ── Case sections ── */
.uc-case     { background: var(--bg); padding: 5.5rem 0; border-top: 1px solid var(--border); }
.uc-case-alt { background: var(--bg-alt); }

.uc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.uc-grid-flip .uc-proof-card { order: -1; }

.uc-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-copy .t-h2 { margin: 0; }
.uc-copy .t-body { color: var(--sub); }

.uc-tag {
  display: inline-block; align-self: flex-start;
  padding: 0.2rem 0.75rem; border-radius: var(--r-pill);
  margin-bottom: 0.25rem;
}
.uc-tag-accent { background: var(--accent-dim); border: 1px solid var(--accent-brd); color: var(--accent); }
.uc-tag-green  { background: var(--green-dim);  border: 1px solid var(--green-brd);  color: var(--green); }
.uc-tag-purple { background: var(--purple-dim); border: 1px solid var(--purple-brd); color: var(--purple); }
.uc-tag-teal   { background: var(--teal-dim);   border: 1px solid var(--teal-brd);   color: var(--teal); }

.uc-list {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem;
}
.uc-list li {
  font-size: var(--fs-base); color: var(--sub); padding-left: 1.25rem;
  position: relative; line-height: 1.5;
}
.uc-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.45em;
  width: 0.45rem; height: 0.45rem;
  background: var(--accent); border-radius: 50%;
}
.uc-case:nth-child(3) .uc-list li::before { background: var(--green); }
.uc-case:nth-child(4) .uc-list li::before { background: var(--purple); }
.uc-case:nth-child(5) .uc-list li::before { background: var(--teal); }

.uc-pillar-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent); text-decoration: none;
  transition: gap var(--dur);
}
.uc-pillar-link:hover { gap: 0.65rem; }

/* ── Proof cards ── */
.uc-proof-card {
  border-radius: var(--r-xl); padding: 2.25rem;
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative; overflow: hidden;
}
.uc-proof-card-accent { background: var(--surface); }
.uc-proof-card-green  { background: var(--surface); }
.uc-proof-card-purple { background: var(--surface); }
.uc-proof-card-teal   { background: var(--surface); }

.uc-proof-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.uc-proof-big  {
  font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1; color: var(--text);
}
.uc-proof-card-accent .uc-proof-big { color: var(--accent); }
.uc-proof-card-green  .uc-proof-big { color: var(--green); }
.uc-proof-card-purple .uc-proof-big { color: var(--purple); }
.uc-proof-card-teal   .uc-proof-big { color: var(--teal); }

.uc-proof-label { font-size: var(--fs-sm); color: var(--muted); }

.uc-quote {
  font-size: var(--fs-base); color: var(--sub); line-height: 1.7;
  font-style: italic; border: none; padding: 0; margin: 0;
  flex: 1;
}

.uc-person { display: flex; align-items: center; gap: 0.875rem; }
.uc-avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  font-weight: 700; flex-shrink: 0;
}
.uc-avatar-accent { background: var(--accent-dim); border: 1px solid var(--accent-brd); color: var(--accent); }
.uc-avatar-green  { background: var(--green-dim);  border: 1px solid var(--green-brd);  color: var(--green); }
.uc-avatar-purple { background: var(--purple-dim); border: 1px solid var(--purple-brd); color: var(--purple); }
.uc-avatar-teal   { background: var(--teal-dim);   border: 1px solid var(--teal-brd);   color: var(--teal); }

.uc-name { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.uc-role { font-size: var(--fs-sm); color: var(--muted); }

/* ── Visual cards (shared) ── */
.uc-visual {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative; overflow: hidden;
}

.uc-visual-header {
  display: flex; justify-content: space-between; align-items: center;
}
.uc-visual-title { color: var(--muted); }
.uc-visual-live  {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--accent);
}
.uc-pulse {
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--accent);
  animation: mock-pulse 1.8s ease-in-out infinite;
}
.uc-vis-badge {
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  color: var(--teal); padding: 0.15rem 0.5rem; border-radius: var(--r-pill);
}
.uc-visual-divider { height: 1px; background: var(--border-hi); margin: 0.25rem 0; }
.uc-vis-quote {
  font-size: var(--fs-sm); font-style: italic;
  color: var(--sub); line-height: 1.65;
  border: none; padding: 0; margin: 0;
}

/* ── Bar colors ── */
.uc-bar-accent { background: var(--accent); }
.uc-bar-purple { background: var(--purple); }
.uc-bar-teal   { background: var(--teal); }
.uc-bar-dim    { background: var(--border-hi); }

/* ── Funnel (SaaS) ── */
.uc-funnel { display: flex; flex-direction: column; gap: 0.625rem; }
.uc-funnel-track {
  flex: 1; height: 0.5rem; background: var(--surface-hi);
  border-radius: var(--r-pill); overflow: hidden;
}
.uc-funnel-row {
  display: grid; grid-template-columns: 5.5rem 1fr 4rem;
  align-items: center; gap: 0.625rem;
}
.uc-funnel-label {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: var(--sub); white-space: nowrap;
}
.uc-funnel-val {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: var(--text); font-weight: 600; text-align: right; white-space: nowrap;
}
.uc-funnel-val em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: 0.25rem; }
.uc-funnel-highlight .uc-funnel-label { color: var(--accent); font-weight: 600; }
.uc-funnel-val-hl { color: var(--accent); }

/* ── Timeline (Agency) ── */
.uc-timeline { display: flex; flex-direction: column; }
.uc-tl-item  { display: flex; align-items: flex-start; gap: 0.875rem; }
.uc-tl-node  {
  width: 0.75rem; height: 0.75rem; border-radius: 50%; flex-shrink: 0; margin-top: 0.2rem;
  border: 2px solid var(--green); background: var(--surface);
}
.uc-tl-node-filled { background: var(--green); }
.uc-tl-content { display: flex; flex-direction: column; gap: 0.15rem; padding-bottom: 0.25rem; }
.uc-tl-time  {
  color: var(--muted); font-size: var(--fs-2xs);
}
.uc-tl-label { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.uc-tl-label-hl { color: var(--green); }
.uc-tl-sub   { font-size: var(--fs-sm); color: var(--sub); font-style: italic; }
.uc-tl-gap   {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.375rem 0 0.375rem calc(0.375rem + 0px);
  margin-left: 0.375rem;
}
.uc-tl-line  {
  width: 1px; height: 2rem; background: var(--border-hi); flex-shrink: 0;
}
.uc-tl-gap-lbl {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--muted); padding-left: 0.25rem;
}

/* ── Cost comparison (Freelance) ── */
.uc-cost-bars { display: flex; flex-direction: column; gap: 0.625rem; }
.uc-cost-row  {
  display: grid; grid-template-columns: 4.5rem 1fr 3.5rem;
  align-items: center; gap: 0.625rem;
}
.uc-cost-label {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); color: var(--sub); white-space: nowrap;
}
.uc-cost-track {
  height: 0.5rem; background: var(--surface-hi);
  border-radius: var(--r-pill); overflow: hidden; position: relative;
}
.uc-cost-fill {
  height: 100%; border-radius: var(--r-pill);
  transition: width 0s;
}
.uc-cost-dim  { background: var(--border-hi); }
.uc-cost-val  {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  font-weight: 700; text-align: right; white-space: nowrap;
}
.uc-cost-bad  { color: var(--muted); }
.uc-cost-good { color: var(--purple); font-size: var(--fs-sm); }
.uc-cost-you .uc-cost-label { color: var(--purple); font-weight: 600; }

.uc-visual-callout {
  background: var(--purple-dim); border: 1px solid var(--purple-brd);
  border-radius: var(--r-lg); padding: 0.875rem 1rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.uc-callout-big  {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--purple); line-height: 1;
}
.uc-callout-sub  { font-size: var(--fs-xs); color: var(--sub); }

/* ── Stats grid + compare (B2B) ── */
.uc-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border-hi); border-radius: var(--r-lg); overflow: hidden;
}
.uc-stat-box {
  padding: 0.875rem 1rem; border-right: 1px solid var(--border-hi);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.uc-stat-box:last-child { border-right: none; }
.uc-stat-n      { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.uc-stat-teal   { color: var(--teal); }
.uc-stat-l      { font-size: var(--fs-xs); color: var(--muted); }

.uc-compare-strip { display: flex; flex-direction: column; gap: 0.4rem; }
.uc-compare-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
}
.uc-compare-lbl  { color: var(--sub); }
.uc-compare-val  { font-weight: 700; }
.uc-compare-dim  { color: var(--muted); }
.uc-compare-teal { color: var(--teal); }
.uc-compare-bar-wrap { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.25rem; }
.uc-compare-bar-track {
  height: 6px; background: var(--surface-hi);
  border-radius: var(--r-pill); overflow: hidden;
}

/* ── 4/6 grid variant (SaaS) ── */
.uc-grid-46 { grid-template-columns: 4fr 6fr; }
.uc-saas-bottom { display: flex; flex-direction: column; gap: 0.875rem; }

/* ── Agency: vertical timeline left + copy right ── */
.uc-agency-grid {
  display: grid; grid-template-columns: 22rem 1fr;
  gap: 5rem; align-items: start;
}
.uc-agency-tl {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
/* ── Agency timeline (node + connector in same axis column) ── */
.uc-atl { display: flex; flex-direction: column; }

.uc-atl-step {
  display: flex; align-items: stretch; gap: 1rem;
}
.uc-atl-axis {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 1.125rem;
}
.uc-atl-node {
  width: 1.125rem; height: 1.125rem; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--green); background: var(--surface-hi);
}
.uc-atl-node-filled { background: var(--green); border-color: var(--green); }
.uc-atl-connector {
  flex: 1; width: 2px; background: var(--green-brd); min-height: 0.5rem;
}
.uc-atl-body {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding-bottom: 1.5rem;
}
.uc-atl-step:last-child .uc-atl-body { padding-bottom: 0; }
.uc-atl-label    { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.uc-atl-label-hl { color: var(--green); }
.uc-atl-dur {
  display: inline-flex; width: fit-content; margin-top: 0.625rem;
  background: var(--green-dim); border: 1px solid var(--green-brd);
  border-radius: var(--r-pill); padding: 0.15rem 0.5rem;
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--green);
}
.uc-agency-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-agency-copy .t-h2   { margin: 0; }
.uc-agency-copy .t-body { color: var(--sub); }
.uc-tl-quote {
  border-top: 1px solid var(--border-hi); padding-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.875rem;
}
.uc-tl-quote blockquote {
  font-size: var(--fs-sm); font-style: italic;
  color: var(--sub); line-height: 1.6;
  border: none; padding: 0; margin: 0;
}

/* ── Freelance: text + 3 blocks ── */
.uc-freelance-blocks {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1.75rem;
}
.uc-freelance-kpis-block {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: var(--shadow-card);
}
.uc-cost-wide {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  box-shadow: var(--shadow-card);
}
.uc-freelance-testimonial {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--shadow-card);
}

/* ── Agency: editorial two-column header ── */
.uc-editorial-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; margin-bottom: 3.5rem;
}
.uc-editorial-header { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-editorial-header .t-h2 { margin: 0; }
.uc-editorial-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-editorial-aside .t-body { color: var(--sub); }

/* ── Horizontal timeline (Agency) ── */
.uc-htl {
  display: flex; align-items: flex-start; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
}
.uc-htl-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 0.375rem;
}
.uc-htl-node {
  width: 0.875rem; height: 0.875rem; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border-hi); background: var(--surface);
  position: relative; z-index: 1;
}
.uc-htl-node-green  { border-color: var(--green); }
.uc-htl-node-filled { background: var(--green); }
.uc-htl-line        { display: none; }
.uc-htl-line-hidden { display: none; }
.uc-htl-time        { color: var(--muted); margin-top: 0.5rem; }
.uc-htl-label       { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.uc-htl-label-hl    { color: var(--green); }
.uc-htl-sub         { font-size: var(--fs-sm); color: var(--sub); font-style: italic; }
.uc-htl-gap {
  flex: 0 0 4.5rem; display: flex; flex-direction: column;
  align-items: center; gap: 0.3rem; padding-top: 0.35rem;
}
.uc-htl-connector {
  width: 100%; height: 1px; background: var(--border-hi);
}
.uc-htl-duration {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs);
  color: var(--muted); white-space: nowrap;
}
.uc-htl-quote {
  flex: 0 0 13rem; padding-left: 2rem;
  border-left: 1px solid var(--border-hi);
  display: flex; flex-direction: column; gap: 0.875rem;
  align-self: center;
}
.uc-htl-quote blockquote {
  font-size: var(--fs-sm); font-style: italic;
  color: var(--sub); line-height: 1.6;
  border: none; padding: 0; margin: 0;
}
.uc-person-sm .uc-avatar { width: 1.75rem; height: 1.75rem; font-size: 0.45rem; }

/* ── Freelance layout ── */
.uc-freelance-wrap { display: flex; flex-direction: column; gap: 2.5rem; }
.uc-freelance-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: start;
}
.uc-freelance-header { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-freelance-header .t-h2 { margin: 0; }
.uc-freelance-header .t-body { color: var(--sub); }
.uc-freelance-kpis {
  display: flex; flex-direction: column; gap: 1rem;
  border-left: 1px solid var(--border-hi); padding-left: 2.25rem;
}
.uc-kpi  { display: flex; flex-direction: column; gap: 0.15rem; }
.uc-kpi-n {
  font-size: 1.875rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
}
.uc-kpi-l      { font-size: var(--fs-xs); color: var(--muted); }
.uc-kpi-purple { color: var(--purple); }

/* ── Wide cost chart (Freelance) ── */
.uc-cost-wide-row {
  display: grid; grid-template-columns: 5.5rem 1fr 5rem;
  align-items: center; gap: 0.75rem;
}
.uc-cost-wide-lbl {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  color: var(--sub); white-space: nowrap;
}
.uc-cost-wide-track {
  height: 0.625rem; background: var(--surface-hi);
  border-radius: var(--r-pill); overflow: hidden;
}
.uc-cost-wide-val {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  font-weight: 700; text-align: right; white-space: nowrap;
  color: var(--muted);
}
.uc-cost-you-wide .uc-cost-wide-lbl { color: var(--purple); font-weight: 600; }
.uc-cost-you-wide .uc-cost-wide-val { color: var(--purple); font-size: var(--fs-sm); }

.uc-freelance-footer {
  border-top: 1px solid var(--border-hi); padding-top: 1.5rem;
}

/* ── Compare highlight row ── */
.uc-compare-highlight {
  display: flex; align-items: center; gap: 0.625rem;
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  border-radius: var(--r-md); padding: 0.5rem 0.75rem;
  margin-top: 0.125rem;
}
.uc-compare-hl-n {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-sm);
  font-weight: 700; color: var(--teal); white-space: nowrap;
}
.uc-compare-hl-l {
  font-size: var(--fs-xs); color: var(--sub); line-height: 1.4;
}

/* ── 2-col layout (B2B) ── */
.uc-3col {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem; align-items: start;
}
.uc-3col-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.uc-3col-copy .t-h2   { margin: 0; }
.uc-3col-copy .t-body { color: var(--sub); }
.uc-3col-stats {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.uc-3col-hero-stat {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.875rem;
}
.uc-hero-big-n {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1; color: var(--text);
}
.uc-hero-teal  { color: var(--teal); }
.uc-hero-big-l {
  font-size: var(--fs-xs); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .uc-agency-grid { grid-template-columns: 18rem 1fr; gap: 3.5rem; }
}
@media (max-width: 900px) {
  .uc-grid          { grid-template-columns: 1fr; gap: 3rem; }
  .uc-grid-46       { grid-template-columns: 1fr; }
  .uc-grid-flip .uc-proof-card { order: 0; }
  .uc-grid-flip .uc-visual     { order: 0; }
  .uc-case          { padding: 4rem 0; }

  .uc-agency-grid   { grid-template-columns: 1fr; gap: 2.5rem; }

  .uc-freelance-blocks { grid-template-columns: 1fr 1fr; }
  .uc-freelance-testimonial { grid-column: 1 / -1; }

  .uc-3col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .uc-hero  { padding: 7.5rem 0 4rem; }
  .uc-tabs  { gap: 0.375rem; }
  .uc-tab   { font-size: var(--fs-2xs); padding: 0.3rem 0.625rem; }
  .uc-funnel-row    { grid-template-columns: 4rem 1fr 3.5rem; }
  .uc-cost-row      { grid-template-columns: 4rem 1fr 3rem; }
  .uc-cost-wide-row { grid-template-columns: 4.5rem 1fr 4.5rem; }
  .uc-freelance-blocks { grid-template-columns: 1fr; }
  .uc-stats-grid { grid-template-columns: 1fr 1fr; }
  .uc-stat-box:nth-child(2n) { border-right: none; }
  .uc-stat-box:nth-child(-n+2) { border-bottom: 1px solid var(--border-hi); }
}


/* ═══════════════════════════════════════════════
   PILLAR / GUIDE PAGES
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.pillar-hero {
  background: oklch(6.5% 0.012 264);
  padding: 9rem 0 5.5rem;
  position: relative; overflow: hidden; text-align: center;
}
.pillar-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, oklch(64% 0.22 264 / 0.12), transparent);
}
.pillar-hero .wrap { position: relative; z-index: 1; }
.pillar-hero .t-hero { color: oklch(96% 0.005 264); margin-bottom: 1.5rem; max-width: 18ch; margin-left: auto; margin-right: auto; }
.pillar-hero .hero-eyebrow {
  display: inline-flex; margin-bottom: 2.5rem;
  background: oklch(14% 0.013 264);
  border-color: oklch(100% 0 0 / 0.12);
  color: oklch(65% 0.016 264);
}
.pillar-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: oklch(68% 0.016 264);
  max-width: 52ch; margin: 0 auto; line-height: 1.7;
}

/* ── Guide section ── */
.guide-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.guide-section-alt { background: var(--bg-alt); }
.guide-section .t-h2 { margin-bottom: 1rem; }
.guide-section .t-body { color: var(--sub); max-width: 70ch; }
.guide-intro { max-width: 65ch; margin-bottom: 3rem; }
.guide-intro p { color: var(--sub); line-height: 1.75; margin-top: 0.75rem; }

.guide-2col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.guide-2col-wide {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 4rem; align-items: start;
}

/* ── Channel cost cards ── */
.guide-channels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.guide-channel {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.625rem;
  box-shadow: var(--shadow-card);
}
.guide-ch-name { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.guide-ch-n {
  font-size: 1.625rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
}
.guide-ch-l  { font-size: var(--fs-xs); color: var(--muted); }
.guide-ch-sub { font-size: var(--fs-sm); color: var(--sub); line-height: 1.5; margin-top: 0.25rem; }
.guide-channel-hl { background: var(--accent-dim); border-color: var(--accent-brd); }
.guide-channel-hl .guide-ch-n { color: var(--accent); }
.guide-channel-hl .guide-ch-name { color: var(--accent); }

/* ── Comparison table ── */
.guide-cmp-wrap {
  border: 1px solid var(--border-hi); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.guide-cmp {
  width: 100%; border-collapse: collapse; font-size: var(--fs-sm);
}
.guide-cmp thead th {
  padding: 0.875rem 1.25rem; text-align: left;
  font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 500; background: var(--surface);
  border-bottom: 1px solid var(--border-hi);
  border-right: 1px solid var(--border-hi);
}
.guide-cmp thead th:last-child { border-right: none; }
.guide-cmp thead th:not(:first-child) { text-align: center; }
.guide-cmp tbody td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-hi);
  border-right: 1px solid var(--border-hi);
  color: var(--sub); vertical-align: middle;
}
.guide-cmp tbody td:last-child { border-right: none; }
.guide-cmp tbody tr:last-child td { border-bottom: none; }
.guide-cmp tbody td:first-child { color: var(--text); font-weight: 500; }
.guide-cmp tbody td:not(:first-child) { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs); }
.guide-cmp .cmp-row-hl td {
  background: var(--accent-dim);
  border-bottom: 1px solid var(--accent-brd);
  border-right: 1px solid var(--accent-brd);
}
.guide-cmp .cmp-row-hl td:first-child { color: var(--accent); }
.guide-cmp .cmp-row-hl td:last-child  { border-right: none; }
.guide-cmp .cmp-good { color: var(--green); font-weight: 700; }
.guide-cmp .cmp-ok   { color: var(--amber); }
.guide-cmp .cmp-bad  { color: var(--muted); }
.guide-cmp .cmp-hl   { color: var(--accent); font-weight: 700; }

/* ── Callout ── */
.guide-callout {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.625rem;
  box-shadow: var(--shadow-card);
}
.guide-callout-n {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1; color: var(--accent);
}
.guide-callout-l { font-size: var(--fs-sm); color: var(--sub); }
.guide-callout-accent { background: var(--accent-dim); border-color: var(--accent-brd); }
.guide-callout-green  { background: var(--green-dim);  border-color: var(--green-brd); }
.guide-callout-green .guide-callout-n { color: var(--green); }

/* ── FAQ Accordion (details/summary) ── */
.guide-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.guide-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px oklch(0% 0 0 / 0.05), 0 1px 2px oklch(0% 0 0 / 0.03);
}
.guide-faq-item[open] {
  box-shadow: 0 2px 12px oklch(0% 0 0 / 0.07), 0 1px 3px oklch(0% 0 0 / 0.04);
}
.guide-faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.125rem 1.375rem; cursor: pointer; user-select: none;
}
.guide-faq-item summary::-webkit-details-marker { display: none; }
.guide-faq-item[open] summary { border-bottom: 1px solid var(--border); }
.guide-faq-q {
  font-size: var(--fs-base); font-weight: 600; color: var(--text); margin: 0; flex: 1;
}
.guide-faq-chevron {
  width: 1.125rem; height: 1.125rem; flex-shrink: 0;
  color: var(--accent); transition: transform var(--dur);
}
.guide-faq-item[open] .guide-faq-chevron { transform: rotate(180deg); }
.guide-faq-a {
  font-size: var(--fs-sm); color: var(--sub); line-height: 1.75;
  max-width: 68ch; padding: 1.125rem 1.375rem; margin: 0;
}
.guide-faq-a a { color: var(--accent); text-decoration: none; }
.guide-faq-a a:hover { text-decoration: underline; }

/* ── Guide vertical timeline ── */
.guide-tl { display: flex; flex-direction: column; }
.guide-tl-step { display: flex; align-items: stretch; gap: 2rem; }
.guide-tl-axis {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 3rem;
}
.guide-tl-node {
  width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.guide-tl-connector {
  flex: 1; width: 2px; background: var(--border-hi); min-height: 0.5rem;
}
.guide-tl-body {
  display: flex; flex-direction: column; gap: 0.25rem; padding-bottom: 2.5rem;
}
.guide-tl-step:last-child .guide-tl-body { padding-bottom: 0; }
.guide-tl-num   { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2xs); font-weight: 700; color: var(--muted); letter-spacing: 0.06em; padding-top: 0.5rem; }
.guide-tl-title { font-weight: 600; color: var(--text); font-size: var(--fs-base); }
.guide-tl-desc  { font-size: var(--fs-sm); color: var(--sub); line-height: 1.6; }

/* ── Gmail-style email mockup ── */
.guide-email-mock {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-hi); box-shadow: var(--shadow-card);
  background: var(--surface);
}
.guide-email-chrome {
  background: var(--surface-hi); padding: 0.625rem 0.875rem;
  display: flex; align-items: center; gap: 0.625rem;
  border-bottom: 1px solid var(--border-hi);
}
.guide-email-dots { display: flex; gap: 0.35rem; }
.guide-email-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.guide-email-url {
  flex: 1; background: var(--surface); border-radius: var(--r-sm);
  padding: 0.2rem 0.625rem; font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xs); color: var(--muted); text-align: center;
}
.guide-email-body { padding: 1.5rem; }
.guide-email-subject {
  font-size: var(--fs-base); font-weight: 600; color: var(--text); margin-bottom: 0.625rem;
}
.guide-email-meta {
  font-size: var(--fs-xs); color: var(--muted);
  font-family: 'JetBrains Mono', monospace; margin-bottom: 1.25rem;
  padding-bottom: 0.875rem; border-bottom: 1px solid var(--border);
}
.guide-email-content {
  font-size: var(--fs-sm); color: var(--sub); line-height: 1.85;
}
.guide-email-content p { margin-bottom: 0.875rem; }
.guide-email-content p:last-child { margin-bottom: 0; }
.guide-email-content .hl { color: var(--accent); }

/* ── Steps ── */
.guide-steps { display: flex; flex-direction: column; gap: 2rem; }
.guide-step  { display: flex; gap: 1.25rem; align-items: flex-start; }
.guide-step-n {
  font-family: 'JetBrains Mono', monospace; font-size: var(--fs-xs);
  font-weight: 700; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  border-radius: var(--r-pill); padding: 0.2rem 0.625rem;
  flex-shrink: 0; margin-top: 0.15rem; white-space: nowrap;
}
.guide-step-body { display: flex; flex-direction: column; gap: 0.375rem; }
.guide-step-title { font-weight: 600; color: var(--text); }
.guide-step-desc  { font-size: var(--fs-sm); color: var(--sub); line-height: 1.65; }

/* ── Verdict cards (vs page) ── */
.guide-verdict {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.guide-verdict-card {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-card);
}
.guide-verdict-label {
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.guide-verdict-label-accent { color: var(--accent); }
.guide-verdict-label-teal   { color: var(--teal); }
.guide-verdict-title { font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.guide-verdict-list { display: flex; flex-direction: column; gap: 0.4rem; }
.guide-verdict-list li {
  font-size: var(--fs-sm); color: var(--sub); list-style: none;
  padding-left: 1.1rem; position: relative;
}
.guide-verdict-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: var(--accent);
}
.guide-verdict-card-teal .guide-verdict-list li::before { background: var(--teal); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .guide-channels   { grid-template-columns: 1fr 1fr; }
  .guide-2col       { grid-template-columns: 1fr; gap: 2.5rem; }
  .guide-2col-wide  { grid-template-columns: 1fr; gap: 2.5rem; }
  .guide-verdict    { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pillar-hero { padding: 7.5rem 0 4rem; }
  .guide-section { padding: 3.5rem 0; }
  .guide-channels { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════════════
   ARTICLE / POST TEMPLATE  (.page-post)
   ═══════════════════════════════════════════════ */

.post-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; background: var(--accent); width: 0;
  pointer-events: none;
}

/* ── Breadcrumb ── */
.post-breadcrumb { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.post-breadcrumb-inner {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  font-size: 0.85rem; color: var(--muted);
}
.post-breadcrumb-inner a { color: var(--muted); text-decoration: none; transition: color var(--dur); }
.post-breadcrumb-inner a:hover { color: var(--text); }
.post-bc-sep { opacity: 0.4; }

/* ── Two-column layout (header + body share left column) ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 252px;
  gap: 3rem;
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  align-items: start;
}
.post-main { min-width: 0; }

/* ── Article header (inside left column) ── */
.post-header { padding: 2.75rem 0 2rem; border-bottom: 1px solid var(--border); }
.post-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.post-kicker a { color: var(--accent); text-decoration: none; }
.post-kicker a:hover { text-decoration: underline; }
.post-kicker-sep, .post-kicker-sub { color: var(--muted); }
.post-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12;
  color: var(--text); margin: 0 0 0.875rem;
}
.post-lede { font-size: var(--fs-md); color: var(--sub); line-height: 1.75; margin: 0 0 1.125rem; }
.post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.post-meta-sep { opacity: 0.4; }

/* ── Article body ── */
.post-body { padding: 1.75rem 0 4rem; }

/* ── Sticky sidebar (aligned with top of article) ── */
.post-sidebar {
  position: sticky; top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto; scrollbar-width: none;
  padding-top: 2.75rem; /* align with header top padding */
}
.post-sidebar::-webkit-scrollbar { display: none; }

.post-toc {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.25rem 1rem;
  box-shadow: var(--shadow-card);
}
.post-toc-title {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); margin: 0 0 0.75rem; padding: 0 0.5rem;
}
.post-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.post-toc-list a {
  display: block; font-size: 0.85rem; color: var(--sub);
  text-decoration: none; line-height: 1.4; padding: 0.375rem 0.625rem;
  border-radius: var(--r-sm); transition: color var(--dur), background var(--dur);
}
.post-toc-list a:hover { color: var(--text); background: var(--surface-hi); }
.post-toc-list a.toc-active {
  color: var(--accent); font-weight: 600; background: var(--accent-dim);
}

/* ── Sections ── */
.post-section { margin-bottom: 0.5rem; padding: 0.5rem 0; }
.post-section:last-child { margin-bottom: 0; }
.post-section h2 {
  font-size: 1.375rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2;
  color: var(--text); margin: 2rem 0 0.75rem; scroll-margin-top: 5.5rem;
}
.post-section:first-child h2 { margin-top: 0; }
.post-section h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin: 1.5rem 0 0.5rem; scroll-margin-top: 5.5rem;
}
.post-section p { font-size: var(--fs-md); color: var(--sub); line-height: 1.8; margin: 0 0 0.75rem; }
.post-section p:last-child { margin-bottom: 0; }
.post-section ul, .post-section ol { padding-left: 1.375rem; margin: 0 0 0.75rem; }
.post-section li { font-size: var(--fs-md); color: var(--sub); line-height: 1.7; margin-bottom: 0.375rem; }
.post-section a { color: var(--accent); text-decoration: none; }
.post-section a:hover { text-decoration: underline; }
.post-section strong { color: var(--text); font-weight: 600; }
.post-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ── Pull stat (white card) ── */
.post-stat {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: var(--shadow-card);
}
.post-stat-n {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.05em; line-height: 1; color: var(--accent);
}
.post-stat-l { font-size: 0.85rem; color: var(--sub); line-height: 1.45; }
.post-stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.875rem; margin: 1.25rem 0;
}
.post-stat-row .post-stat { margin: 0; }

/* ── Key point callout (blue, no side border) ── */
.post-key {
  background: var(--accent-dim); border: 1px solid var(--accent-brd);
  border-radius: var(--r-lg); padding: 1rem 1.25rem;
  margin-top: 2.5rem; margin-bottom: 0.75rem;
  font-size: 0.85rem; color: var(--sub); line-height: 1.7;
}
.post-key-label {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--accent); margin: 0 0 0.375rem;
}
.post-key strong { color: var(--text); }

/* ── Pro tip callout (green, no side border) ── */
.post-tip {
  background: var(--green-dim); border: 1px solid var(--green-brd);
  border-radius: var(--r-lg); padding: 1rem 1.25rem;
  margin: 1rem 0; font-size: 0.85rem; color: var(--sub); line-height: 1.7;
}
.post-tip-label {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--green); margin: 0 0 0.375rem;
}
.post-tip strong { color: var(--text); }

/* ── Neutral callout ── */
.post-callout {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); padding: 1rem 1.25rem;
  margin: 1rem 0; font-size: 0.85rem; color: var(--sub); line-height: 1.7;
}
.post-callout strong { color: var(--text); }

/* ── Inline article table ── */
.post-table-wrap {
  border: 1px solid var(--border-hi); border-radius: var(--r-xl);
  overflow: hidden; margin: 1.25rem 0; box-shadow: var(--shadow-card);
}
.post-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.post-table thead th {
  padding: 0.875rem 1.125rem; text-align: left;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); background: var(--surface); font-weight: 600;
  border-bottom: 1px solid var(--border-hi); border-right: 1px solid var(--border-hi);
}
.post-table thead th:last-child { border-right: none; }
.post-table tbody td {
  padding: 0.875rem 1.125rem; border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border); color: var(--sub);
  vertical-align: top; line-height: 1.55;
}
.post-table tbody td:last-child { border-right: none; }
.post-table tbody tr:last-child td { border-bottom: none; }
.post-table tbody td:first-child { color: var(--text); font-weight: 500; }
.post-table .pt-good { color: var(--green); font-weight: 600; }
.post-table .pt-ok   { color: var(--amber); }
.post-table .pt-bad  { color: var(--muted); }
.post-table .pt-hl   { color: var(--accent); font-weight: 700; }

/* ── Mid-article CTA ── */
.post-cta-inline {
  background: oklch(6.5% 0.012 264); border-radius: var(--r-xl);
  padding: 2rem; margin: 2rem 0;
  position: relative; overflow: hidden;
}
.post-cta-inline::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 0 50%, oklch(64% 0.22 264 / 0.1), transparent);
}
.post-cta-inline > * { position: relative; z-index: 1; }
.post-cta-inline h3 {
  font-size: 1.375rem; font-weight: 800;
  color: oklch(96% 0.005 264); margin: 0 0 0.375rem; line-height: 1.25;
}
.post-cta-inline p {
  font-size: 0.85rem; color: oklch(55% 0.016 264);
  margin: 0 0 1.125rem; line-height: 1.65;
}

/* ── Related articles ── */
.post-related { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 3rem 0; }
.post-related-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.post-related-label {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); margin: 0 0 0.25rem;
}
.post-related-heading {
  font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin: 0 0 1.25rem; line-height: 1.2;
}
.post-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.post-related-card {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: 1.25rem;
  text-decoration: none; display: flex; flex-direction: column; gap: 0.5rem;
  box-shadow: var(--shadow-card); transition: border-color var(--dur), transform var(--dur);
}
.post-related-card:hover { border-color: var(--accent-brd); transform: translateY(-2px); }
.post-related-tag {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--accent);
}
.post-related-title { font-size: 0.85rem; font-weight: 700; color: var(--text); line-height: 1.3; margin: 0; }
.post-related-desc { font-size: 0.85rem; color: var(--sub); line-height: 1.55; flex: 1; }
.post-related-arrow { font-size: 0.85rem; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 0; padding: 0 1.25rem; }
  .post-sidebar { position: static; padding-top: 1.25rem; max-height: none; border-top: 1px solid var(--border); }
  .post-body { padding: 1.75rem 0 3rem; }
  .post-related-grid { grid-template-columns: 1fr 1fr; }
  .post-breadcrumb-inner { padding: 0 1.25rem; }
}
@media (max-width: 540px) {
  .post-header { padding: 2rem 0 1.5rem; }
  .post-cta-inline { padding: 1.5rem; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-related-inner { padding: 0 1.25rem; }
}

/* ── Legal pages (privacy, terms) ── */
.legal-wrap { padding: 4rem 0 6rem; }
.legal-inner { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.legal-header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.legal-header h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 0 0 0.5rem; }
.legal-date { font-size: 0.85rem; color: var(--muted); margin: 0; }
.legal-section { margin-bottom: 2.5rem; padding: 0; }
.legal-section h2 { font-size: var(--fs-lg); font-weight: 700; color: var(--text); margin: 0 0 0.75rem; padding-top: 0.25rem; }
.legal-section h3 { font-size: var(--fs-md); font-weight: 600; color: var(--text); margin: 1.25rem 0 0.5rem; }
.legal-section p { font-size: var(--fs-md); color: var(--body); line-height: 1.7; margin: 0 0 0.75rem; }
.legal-section ul { padding-left: 1.25rem; margin: 0 0 0.75rem; }
.legal-section li { font-size: var(--fs-md); color: var(--body); line-height: 1.7; margin-bottom: 0.35rem; }
.legal-section a { color: var(--accent); text-decoration: underline; }
@media (max-width: 540px) {
  .legal-inner { padding: 0 1.25rem; }
  .legal-wrap { padding: 2.5rem 0 4rem; }
}
