/*
 * IDpulse — marketing site stylesheet (single source)
 * Loaded by index.html and blog post pages.
 * Blog layout is scoped under body.page-blog (+ page-blog--strategy | page-blog--interview).
 */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --brand-300: #6ff7ed;
  --brand-400: #2ee8dc;
  --brand-500: #0ED5CA;
  --brand-600: #0aada3;
  --accent-400: #f472b6;
  --accent-500: #ec4899;
  --danger-400: #fb7185;
  --danger-500: #f43f5e;
  --warn-400:   #fbbf24;
  --info-400:   #60a5fa;
  --s50:  #f8fafc; --s100: #f1f5f9; --s200: #e2e8f0; --s300: #cbd5e1;
  --s400: #94a3b8; --s500: #64748b; --s600: #475569; --s700: #334155;
  --s800: #1e293b; --s850: #141c27; --s900: #0c1117; --s950: #060a0e;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body:    'DM Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  /* Horizontal inset shared by nav, sections, footer (aligns content to ~1360px column) */
  --content-gutter: max(28px, calc((100vw - 1360px) / 2));
  --section-pad: 0 var(--content-gutter);
  /* Blog: nav matches site column; article column narrower */
  --site-gutter: var(--content-gutter);
  --article-gutter: max(28px, calc((100vw - 780px) / 2));
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--s950);
  color: var(--s200);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Fixed atmosphere ───────────────────────────────────────────────────── */
.bg-base { position: fixed; inset: 0; background: var(--s950); z-index: 0; }
.bg-mesh {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(at 22% 12%, rgba(14,213,202,.07) 0, transparent 50%),
    radial-gradient(at 80% 70%, rgba(236,72,153,.05) 0, transparent 48%),
    radial-gradient(at 6% 90%,  rgba(59,130,246,.04) 0, transparent 44%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift { 0% { transform: scale(1); } 100% { transform: scale(1.06) rotate(1deg); } }
.bg-glow-tr {
  position: fixed; top: -300px; right: -350px; width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,213,202,.09) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
  animation: glow 9s ease-in-out infinite alternate;
}
.bg-glow-bl {
  position: fixed; bottom: -200px; left: -150px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236,72,153,.06) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
  animation: glow 12s ease-in-out infinite alternate-reverse;
}
@keyframes glow { 0% { opacity:.65; transform:scale(1); } 100% { opacity:1; transform:scale(1.1); } }
.grid-noise {
  position: fixed; inset: 0; z-index: 0; opacity: .028;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.bg-vignette { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, transparent 25%, rgba(0,0,0,.65) 100%); }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
/* Fixed bar + spacer — hide on scroll down, show on scroll up (see script) */
nav.site-nav {
  position: fixed;
  top: 20px;
  left: var(--content-gutter);
  right: var(--content-gutter);
  z-index: 100;
  margin: 0;
  border-radius: 20px;
  backdrop-filter: blur(28px) saturate(160%);
  border-bottom: 1px solid rgba(14,213,202,.08);
  background: linear-gradient(90deg, rgba(14,213,202,0.8), rgba(14,213,202,.28), rgba(14,213,202,.05));
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.38s cubic-bezier(.25, .46, .45, .94),
    opacity 0.28s ease,
    visibility 0.28s ease,
    border-color 0.3s,
    background 0.3s;
}
nav.site-nav.nav-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  nav.site-nav { transition-duration: 0.12s; }
}
nav.site-nav.scrolled { border-bottom-color: rgba(14,213,202,.18); background: rgba(6,10,14,.88); }
/* Reserves layout height so content does not jump under fixed nav */
.nav-spacer { height: 92px; pointer-events: none; }
/* Vertical padding only — horizontal alignment matches section gutters via nav margin */
.nav-inner { padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 24px; }
.logo-row  { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo-svg  { height: 28px; width: auto; display: block; }
.logo-name { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; color: var(--s100); font-family: var(--display); }
.logo-sub  { font-size: 9px; color: var(--s600); text-transform: uppercase; letter-spacing: .14em; font-family: var(--mono); display: block; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--s400); text-decoration: none; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--s100); background: rgba(255,255,255,.05); }
.nav-cta { font-size: 13px; font-weight: 700; color: var(--s950) !important; background: var(--brand-500) !important; padding: 8px 20px !important; border-radius: 10px !important; transition: background .2s, box-shadow .2s !important; }
.nav-cta:hover { background: var(--brand-400) !important; box-shadow: 0 0 24px rgba(14,213,202,.38) !important; }
.nav-left { display: flex; flex-direction:row;align-items:center; gap: 35px; }
.tagline {font-family: var(--mono); font-size: 11px;letter-spacing: .18em; text-transform: uppercase; color: var(--brand-400);}

/* ─── Hero — full viewport, edge-to-edge ─────────────────────────────────── */
.hero-outer {
  position: relative; z-index: 1;
  min-height: calc(100vh - 64px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 80px 0 80px 0;
  max-width: 70%;
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: rgba(14,213,202,.1); border: 1px solid rgba(14,213,202,.24); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-400); font-family: var(--mono); width: fit-content; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 8px var(--brand-500); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.3; transform:scale(.6); } }

.hero-h1 {
  font-family: var(--display); font-size: clamp(3.6rem, 7.5vw, 5.6rem);
  font-weight: 800; line-height: .93; letter-spacing: -.04em;
  color: var(--s50);
}
.hero-h1 .dim { color: var(--s500); }
.grad { background: linear-gradient(135deg, #6ff7ed 0%, var(--brand-500) 40%, var(--accent-400) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-lead { font-size: 1.12rem; color: var(--s400); max-width: 60ch; line-height: 1.75; }
.hero-lead strong { color: var(--s200); font-weight: 600; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 12px; border: none; cursor: pointer; font-size: 14px; font-weight: 700; font-family: var(--body); background: var(--brand-500); color: var(--s950); text-decoration: none; transition: background .2s, box-shadow .25s, transform .15s; box-shadow: 0 4px 24px rgba(14,213,202,.28); }
.btn-primary:hover { background: var(--brand-400); box-shadow: 0 6px 36px rgba(14,213,202,.45); transform: translateY(-1px); }
.btn-ghost  { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600; font-family: var(--body); background: transparent; border: 1px solid rgba(100,116,139,.28); color: var(--s300); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.btn-ghost:hover { border-color: rgba(14,213,202,.35); color: var(--brand-400); background: rgba(14,213,202,.05); }

.hero-trust { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--s600); font-family: var(--mono); flex-wrap: wrap; }
.trust-sep { width: 1px; height: 12px; background: var(--s700); }

/* Hero canvas — full-bleed background layer */
.hero-visual {
  position: absolute; inset: 0; z-index: 0;
}
/* Left-side text readability gradient */
.hero-visual::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(6,10,14,0.82) 0%,
    rgba(6,10,14,0.55) 45%,
    rgba(6,10,14,0.0) 75%
  );
  pointer-events: none;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero-legend {
  position: absolute; bottom: 28px; right: 48px;
  display: flex; gap: 22px; z-index: 3; pointer-events: none;
}
.legend-pill { display: flex; align-items: center; gap: 7px; font-size: 10px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.legend-line { width: 22px; height: 2px; border-radius: 2px; }

/* ─── Content sections — full-width approach ─────────────────────────────── */
.section { position: relative; z-index: 1; padding: 110px var(--content-gutter); }
.section-sm { padding-top: 70px; padding-bottom: 70px; }
.section-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 16px; }
.section-label::after { content: ''; flex: 0 0 32px; height: 1px; background: rgba(14,213,202,.35); }

.display-h2 { font-family: var(--display); font-size: clamp(2.6rem, 4.5vw, 4.2rem); font-weight: 800; color: var(--s50); letter-spacing: -.04em; line-height: 1.0; margin-bottom: 20px; }
.display-h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height:1.3em; color: var(--s100); letter-spacing: -.03em; margin-bottom: 10px; }
.section-lead { font-size: 1.08rem; color: var(--s400); max-width: 56ch; line-height: 1.8; margin-bottom: 48px; }
.section-lead strong { color: var(--s200); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ─── Problem stats ───────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-bottom: 60px; }
.stat-block { padding: 36px 28px; background: rgba(14,28,39,.5); border: 1px solid rgba(100,116,139,.1); }
.stat-block:first-child { border-radius: 16px 0 0 16px; }
.stat-block:last-child  { border-radius: 0 16px 16px 0; }
.stat-block:hover { background: rgba(20,36,50,.6); }
.stat-num { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: var(--brand-400); letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.stat-txt strong { color: var(--s200); display: block; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.stat-txt { font-size: .88rem; color: var(--s500); line-height: 1.6; }

/* Paired callouts in Competitive intelligence (not the three-up .stat-grid strip). */
.competitive-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 100%;
}
.competitive-stat-row > .stat-block:first-child,
.competitive-stat-row > .stat-block:last-child {
  border-radius: 14px;
}

/* Competitive intelligence: right column stretches to left; radar is a true square (regular heptagon). */
.two-col-competitive {
  align-items: stretch;
}
.competitive-radar-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.competitive-radar {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.competitive-radar-title {
  margin-bottom: 10px;
}
/* Slot grows with the column so chart height tracks the left stack (~label + headline + stats). */
.competitive-radar-chart-slot {
  flex: 1 1 auto;
  min-height: 238px; /* ~280px at 85% — matches radar visual scale */
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Square side length is set in JS (min of slot width/height) so the heptagon is geometrically regular. */
.competitive-radar-chart-square {
  margin-inline: auto;
  position: relative;
  flex-shrink: 0;
}
.competitive-radar-chart-square canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: crosshair;
  touch-action: none;
}
.competitive-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 10px;
}
.competitive-radar-legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(100,116,139,.2);
  border-radius: 999px;
  background: rgba(14,28,39,.35);
  font: inherit;
  font-size: 11px;
  color: var(--s400);
  cursor: pointer;
  transition: opacity .2s, border-color .2s, background .2s;
}
.competitive-radar-legend-btn:hover {
  border-color: rgba(100,116,139,.35);
  color: var(--s300);
}
.competitive-radar-legend-btn.is-off {
  opacity: 0.4;
}
.competitive-radar-legend-btn .clegend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Framework strip ────────────────────────────────────────────────────── */
.framework-strip {
  position: relative; z-index: 1;
  padding: 120px var(--content-gutter);
  border-top: 1px solid rgba(100,116,139,.09);
  border-bottom: 1px solid rgba(100,116,139,.09);
  text-align: center;
  overflow: hidden;
  margin-top:50px;
}
.framework-strip .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('images/approach-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.framework-strip .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,10,14,.78) 0%,
    rgba(6,10,14,.62) 40%,
    rgba(6,10,14,.62) 60%,
    rgba(6,10,14,.78) 100%);
}
.framework-strip > *:not(.parallax-bg) { position: relative; z-index: 1; }

/* ── Core signal section parallax ──────────────────────────────────────────── */
.core-signal-section { overflow: hidden; }
.core-signal-section .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('images/core-signal-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.core-signal-section .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(6,10,14,.88) 0%,
    rgba(6,10,14,.72) 35%,
    rgba(6,10,14,.60) 55%,
    rgba(6,10,14,.86) 100%);
}
.core-signal-section > *:not(.parallax-bg) { position: relative; z-index: 1; }

/* Core signal: CRI hero + three stacked glass cards (overrides global .stat-block corner rules). */
.cri-aside-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(200px, 0.95fr);
  gap: 16px;
  align-items: stretch;
  max-width: 720px;
}
.cri-aside-main { min-width: 0; }
.cri-aside-wrap .stat-block.cri-aside-stat {
  height: 100%;
  border-radius: 14px !important;
  backdrop-filter: blur(10px);
}
.cri-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.cri-aside-card {
  flex: 1;
  padding: 18px 16px;
  background: rgba(14, 28, 39, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cri-aside-card:hover {
  background: rgba(20, 36, 50, 0.62);
  border-color: rgba(100, 116, 139, 0.2);
}
.cri-aside-card-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--danger-400);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.cri-aside-card-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--s500);
  line-height: 1.55;
}
.manifesto {
  font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--s100); letter-spacing: -.03em; line-height: 1.25;
  max-width: 780px; margin: 0 auto 24px;
}
.manifesto-sub { font-size: 1.05rem; color: var(--s400); max-width: 58ch; margin: 0 auto; line-height: 1.8; }
.manifesto-sub strong { color: var(--s200); }

/* ─── Pillar cards ───────────────────────────────────────────────────────── */
.pillar-card {
  position: relative; padding: 40px 32px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(16,24,36,.85), rgba(10,15,22,.95));
  border: 1px solid rgba(100,116,139,.12);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.18) 0%, transparent 55%, rgba(236,72,153,.08) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 60px rgba(0,0,0,.55), 0 0 48px rgba(14,213,202,.07); }
.pillar-num  { font-family: var(--mono); font-size: 10px; color: var(--brand-600); letter-spacing: .18em; margin-bottom: 20px; }
.pillar-icon-wrap { width: 54px; height: 54px; margin-bottom: 24px; }
.pillar-icon-wrap svg { width: 100%; height: 100%; }
.pillar-p    { font-size: .95rem; color: var(--s400); line-height: 1.75; margin-bottom: 24px; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar-list li { font-size: .85rem; color: var(--s500); display: flex; align-items: center; gap: 9px; }
.pillar-list li i { font-size: 9px; color: var(--brand-500); flex-shrink: 0; }
.pillar-card:nth-child(2) .pillar-list li i { color: var(--accent-500); }
.pillar-card:nth-child(3) .pillar-list li i { color: var(--danger-400); }

/* Animated SVG icons */
.icon-scan { animation: scanY 3s ease-in-out infinite alternate; }
@keyframes scanY { 0% { transform: translateY(-8px); opacity:.35; } 100% { transform: translateY(8px); opacity:.85; } }
.icon-oa { animation: overA 2.8s ease-in-out infinite; }
.icon-ob { animation: overA 2.8s ease-in-out .55s infinite; }
@keyframes overA { 0%,100% { opacity:.5; } 50% { opacity:.9; } }
.icon-of { animation: overF 2.8s ease-in-out .25s infinite; }
@keyframes overF { 0%,100% { opacity:.08; } 50% { opacity:.25; } }
/* ECG trace: pathLength on polyline normalizes length so dash-offset matches geometry (no stray segments). */
.icon-wave {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawECG 3s ease-in-out infinite;
}
@keyframes drawECG {
  0%   { stroke-dashoffset: 100; opacity: .72; }
  40%  { stroke-dashoffset: 0; opacity: 1; }
  62%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 100; opacity: .72; }
}

/* ─── Persona section ────────────────────────────────────────────────────── */
.persona-band {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(236,72,153,.04) 0%, rgba(6,10,14,.95) 55%);
  border-top: 1px solid rgba(236,72,153,.1); border-bottom: 1px solid rgba(236,72,153,.08);
  padding: 100px var(--content-gutter);
}
.persona-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
/* Persona band: copy left, chart + capability cards stacked on the right. */
.two-col-persona { align-items: stretch !important; align-content: start; }
.persona-copy-col { min-width: 0; }
.persona-visual-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  align-self: stretch;
}
.persona-visual-col .persona-features { margin-top: 0; }
.mini-card { padding: 22px; border-radius: 14px; background: rgba(12,17,23,.75); border: 1px solid rgba(100,116,139,.1); }
.mini-card i { font-size: 16px; color: var(--accent-400); margin-bottom: 12px; display: block; }
.mini-card h4 { font-size: .88rem; font-weight: 700; color: var(--s200); margin-bottom: 6px; font-family: var(--display); }
.mini-card p  { font-size: .82rem; color: var(--s500); line-height: 1.6; }

/* ─── Feature tabs ───────────────────────────────────────────────────────── */
.feature-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(100,116,139,.14);
}
.feature-tab {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--s400);
  cursor: pointer;
  border: 1px solid rgba(100,116,139,.2);
  border-radius: 12px;
  background: rgba(12,17,23,.85);
  font-family: var(--body);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.feature-tab:hover:not(.active) {
  color: var(--s100);
  background: rgba(100,116,139,.1);
  border-color: rgba(100,116,139,.28);
}
/* Active tab fill matches the dominant icon / badge accent of that panel’s cards. */
.feature-tab.active {
  color: var(--s50);
}
.feature-tab[data-tab="align"].active,
.feature-tab[data-tab="create"].active {
  background: rgba(14,213,202,.26);
  border-color: rgba(14,213,202,.45);
  box-shadow: 0 0 0 1px rgba(14,213,202,.12), 0 6px 24px rgba(14,213,202,.1);
}
.feature-tab[data-tab="align"].active:hover,
.feature-tab[data-tab="create"].active:hover {
  background: rgba(14,213,202,.34);
  border-color: rgba(14,213,202,.55);
}
.feature-tab[data-tab="compete"].active {
  background: rgba(236,72,153,.24);
  border-color: rgba(236,72,153,.48);
  box-shadow: 0 0 0 1px rgba(236,72,153,.14), 0 6px 24px rgba(236,72,153,.12);
}
.feature-tab[data-tab="compete"].active:hover {
  background: rgba(236,72,153,.32);
  border-color: rgba(244,114,182,.6);
}
.feature-tab[data-tab="evolve"].active {
  background: rgba(251,191,36,.2);
  border-color: rgba(251,191,36,.45);
  box-shadow: 0 0 0 1px rgba(251,191,36,.12), 0 6px 24px rgba(251,191,36,.08);
}
.feature-tab[data-tab="evolve"].active:hover {
  background: rgba(251,191,36,.28);
  border-color: rgba(251,191,36,.55);
}
.feature-tab[data-tab="anticipate"].active {
  background: rgba(244,63,94,.22);
  border-color: rgba(244,63,94,.45);
  box-shadow: 0 0 0 1px rgba(244,63,94,.12), 0 6px 24px rgba(244,63,94,.1);
}
.feature-tab[data-tab="anticipate"].active:hover {
  background: rgba(244,63,94,.3);
  border-color: rgba(251,113,133,.55);
}
.feature-tab:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}
.feature-tab[data-tab="compete"]:focus-visible { outline-color: var(--accent-400); }
.feature-tab[data-tab="evolve"]:focus-visible { outline-color: var(--warn-400); }
.feature-tab[data-tab="anticipate"]:focus-visible { outline-color: var(--danger-400); }
.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feat-card { padding: 24px; border-radius: 16px; background: rgba(10,15,22,.8); border: 1px solid rgba(100,116,139,.1); transition: border-color .2s, transform .22s; }
.feat-card:hover { border-color: rgba(14,213,202,.18); transform: translateY(-3px); }
.feat-card-header {width:100%; display: flex; align-items:center; justify-content:space-between;}
.feat-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.feat-h4   { font-size: .88rem; font-weight: 700; color: var(--s100); letter-spacing: -.01em; margin-bottom: 6px; font-family: var(--display); }
.feat-tag  { display: inline-block; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; margin-bottom: 8px; background: rgba(14,213,202,.09); color: var(--brand-400); border: 1px solid rgba(14,213,202,.16); }
.feat-tag.a { background: rgba(236,72,153,.09); color: var(--accent-400); border-color: rgba(236,72,153,.16); }
.feat-tag.d { background: rgba(244,63,94,.09);  color: var(--danger-400); border-color: rgba(244,63,94,.18); }
.feat-tag.i { background: rgba(96,165,250,.09); color: var(--info-400);   border-color: rgba(96,165,250,.16); }
.feat-tag.w { background: rgba(251,191,36,.09); color: var(--warn-400);   border-color: rgba(251,191,36,.16); }
.feat-p    { font-size: .83rem; color: var(--s500); line-height: 1.65; }
.fi-t { color: var(--brand-400); } .fi-p { color: var(--accent-400); } .fi-r { color: var(--danger-400); } .fi-b { color: var(--info-400); } .fi-a { color: var(--warn-400); }

/* ─── Charts ─────────────────────────────────────────────────────────────── */
.chart-panel { padding: 24px; border-radius: 18px; background: none; border: 1px solid rgba(100,116,139,.1); box-shadow: 0 6px 40px rgba(0,0,0,.45); }
.chart-panel canvas { display: block; height: 280px !important; }
/* Simulator: chart fills stretched right column (overrides fixed canvas height). */
.chart-panel.sim-chart-panel .sim-chart-canvas-slot canvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px;
}
.chart-radar-hint {
  font-size: 10px; font-family: var(--mono); color: var(--s600);
  letter-spacing: .06em; text-align: center; margin: 8px 0 0;
}
.chart-title { font-size: 11px; font-family: var(--mono); color: var(--s600); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.clegend { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.clegend-item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--s400); }
.clegend-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── Simulator ──────────────────────────────────────────────────────────── */
.simulator-band {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(14,213,202,.1); border-bottom: 1px solid rgba(14,213,202,.08);
  padding: 100px var(--content-gutter);
  overflow: hidden;
}
.simulator-band .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('images/simulator-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.simulator-band .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(6,10,14,.92) 0%,
    rgba(6,10,14,.75) 40%,
    rgba(6,10,14,.60) 65%,
    rgba(6,10,14,.85) 100%);
}
.simulator-band > *:not(.parallax-bg) { position: relative; z-index: 1; }
.pipeline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.pipe-step { flex: 1; min-width: 80px; padding: 11px 14px; border-radius: 10px; background: rgba(14,213,202,.07); border: 1px solid rgba(14,213,202,.18); font-size: 11px; font-weight: 600; color: var(--s200); text-align: center; font-family: var(--mono); }
.pipe-arrow { color: var(--s700); font-size: 11px; flex-shrink: 0; }
.sim-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.sim-metric { padding: 28px; border-radius: 16px; background: rgba(10,15,22,.85); border: 1px solid rgba(100,116,139,.1); text-align: center; }
.sim-val   { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--brand-400); letter-spacing: -.05em; }
.sim-label { font-size: .82rem; color: var(--s500); margin-top: 8px; line-height: 1.5; }

/* Simulator band: chart column fills row height (override .two-col align-items: center). */
.two-col.two-col-simulator {
  align-items: stretch !important;
  align-content: start;
}
.sim-copy-col { min-width: 0; }
.sim-chart-col {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.chart-panel.sim-chart-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.chart-panel.sim-chart-panel .chart-title { flex-shrink: 0; }
.sim-chart-canvas-slot {
  flex: 1 1 auto;
  min-height: 220px;
  min-width: 0;
  position: relative;
}

/* ─── Platform strip ─────────────────────────────────────────────────────── */
.platform-strip { position: relative; z-index: 1; padding: 80px 0; overflow: hidden; }
.platform-label { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--s600); margin-bottom: 40px; }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Expression corpus — double-scale pills, two marquees (opposite scroll). */
.corpus-marquee-stack { margin-top: 0; display: flex; flex-direction: column; gap: 20px; }
.corpus-marquee-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.corpus-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.corpus-marquee-track--rev { animation-duration: 56s; animation-direction: reverse; }
.corpus-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  padding: 28px 52px;
  border-radius: 28px;
  background: rgba(16,24,36,.88);
  border: 1px solid rgba(100,116,139,.16);
  font-size: 30px;
  font-weight: 600;
  color: var(--s300);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.corpus-pill:hover { border-color: rgba(14,213,202,.28); color: var(--s100); }
.corpus-pill i { font-size: 36px; width: 1.1em; text-align: center; }
.platform-label--corpus-marquee { margin-top: 0; margin-bottom: 36px; }
@media (prefers-reduced-motion: reduce) {
  .corpus-marquee-track { animation: none !important; }
}

/* ─── AI callout ─────────────────────────────────────────────────────────── */
.ai-callout {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(145deg, rgba(14,213,202,.06), rgba(6,10,14,.92) 60%);
  border: 1px solid rgba(14,213,202,.16);
  box-shadow: 0 8px 60px rgba(0,0,0,.5), 0 0 100px rgba(14,213,202,.05);
}
.ai-callout::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.3) 0%, transparent 45%, rgba(236,72,153,.12) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none;
}
.ai-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 56px; }
.ai-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 20px; }
.ai-callout h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--s50); letter-spacing: -.04em; line-height: 1.1; margin-bottom: 18px; }
.ai-callout p  { font-size: 1rem; color: var(--s400); line-height: 1.8; max-width: 52ch; margin-bottom: 28px; }
.ai-callout p strong { color: var(--s200); }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-section {
  position: relative; z-index: 1;
  padding: 100px var(--content-gutter) 80px;
  border-top: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
/* Ambient glows behind the section */
.blog-section::before {
  content: '';
  position: absolute; pointer-events: none;
  top: -60px; left: -80px;
  width: 680px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(14,213,202,.09) 0%, transparent 65%);
}
.blog-section::after {
  content: '';
  position: absolute; pointer-events: none;
  top: 0; right: -60px;
  width: 500px; height: 380px;
  background: radial-gradient(ellipse at top right, rgba(236,72,153,.07) 0%, transparent 65%);
}
.blog-intro { position: relative; z-index: 1; margin-bottom: 52px; }
.blog-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none; color: inherit;
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.blog-card-img {
  display: block;
  width: calc(100% + 64px);
  margin: -36px -32px 24px;
  height: 210px;
  object-fit: cover;
  object-position: center 30%;
  flex-shrink: 0;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-strategy:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 48px rgba(14,213,202,.08);
  border-color: rgba(14,213,202,.22);
}
.blog-card-interview:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 48px rgba(236,72,153,.08);
  border-color: rgba(236,72,153,.22);
}
/* Accent top-edge bar on each card */
.blog-card-strategy { border-top: 2px solid rgba(14,213,202,.35); }
.blog-card-interview { border-top: 2px solid rgba(236,72,153,.35); }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.blog-tag {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 6px; border: 1px solid;
}
.blog-tag-strategy { color: var(--brand-500); border-color: rgba(14,213,202,.22); background: rgba(14,213,202,.06); }
.blog-tag-interview { color: var(--accent-500); border-color: rgba(236,72,153,.22); background: rgba(236,72,153,.06); }
.blog-read-time { font-size: .76rem; color: var(--s500); }
.blog-card-title {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  color: var(--s50); line-height: 1.35; margin-bottom: 14px;
}
.blog-card-excerpt {
  font-size: .88rem; color: var(--s400); line-height: 1.78;
  flex: 1; margin-bottom: 28px;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px;
}
.blog-card-date { font-size: .76rem; color: var(--s600); }
.blog-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none; letter-spacing: .03em;
  transition: gap .18s ease;
}
.blog-card-strategy .blog-card-cta { color: var(--brand-500); }
.blog-card-interview .blog-card-cta { color: var(--accent-500); }
.blog-card:hover .blog-card-cta { gap: 11px; }
.blog-all-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 36px; font-size: .86rem; font-weight: 600;
  color: var(--s500); text-decoration: none;
  transition: color .18s ease;
}
.blog-all-link:hover { color: var(--s200); }

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-band { position: relative; z-index: 1; text-align: center; padding: 120px var(--content-gutter); }
.cta-band .display-h2 { max-width: 700px; margin: 0 auto 18px; }
.cta-band .section-lead { margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer { position: relative; z-index: 1; border-top: 1px solid rgba(100,116,139,.07); padding: 56px var(--content-gutter) 40px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.foot-brand p { font-size: 13px; color: var(--s600); margin-top: 10px; max-width: 26ch; line-height: 1.6; }
.foot-col h4 { font-size: 10px; font-weight: 700; color: var(--s600); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-family: var(--mono); }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul a { font-size: 13px; color: var(--s600); text-decoration: none; transition: color .2s; }
.foot-col ul a:hover { color: var(--brand-400); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(100,116,139,.07); padding-top: 22px; font-size: 11px; color: var(--s700); font-family: var(--mono); }

/* ─── Scroll reveal (disabled — animations handled elsewhere) ────────────── */
.reveal, .will-reveal { opacity: 1; transform: none; }
.d1,.d2,.d3,.d4 {}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual::after { background: linear-gradient(to bottom, rgba(6,10,14,0.7) 0%, rgba(6,10,14,0.3) 60%, rgba(6,10,14,0.0) 100%); }
  .hero-content { max-width: 100%; }
  .hero-content { padding: 80px var(--content-gutter) 60px; }
  .two-col { grid-template-columns: 1fr; }
  .cri-aside-wrap { grid-template-columns: 1fr; max-width: 100%; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 2px; }
  .stat-block:first-child { border-radius: 16px 16px 0 0; }
  .stat-block:last-child  { border-radius: 0 0 16px 16px; }
  .competitive-stat-row > .stat-block:first-child,
  .competitive-stat-row > .stat-block:last-child { border-radius: 14px; }
  .competitive-radar-chart-slot { min-height: 255px; }
  .two-col-simulator .sim-chart-col { min-height: 300px; }
  .two-col-simulator .sim-chart-canvas-slot { min-height: 240px; }
  .sim-metrics { grid-template-columns: 1fr 1fr; }
  .persona-features { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: 2.8rem; }
  .three-col { grid-template-columns: 1fr; }
  .feature-panel.active { grid-template-columns: 1fr; }
  .sim-metrics { grid-template-columns: 1fr; }
  .competitive-stat-row { grid-template-columns: 1fr; }
  .corpus-pill { font-size: 17px; padding: 16px 24px; border-radius: 16px; gap: 14px; }
  .corpus-pill i { font-size: 20px; }
  .corpus-marquee-track { gap: 14px; }
}

/* ── Packages section ──────────────────────────────────────── */
.packages-section { padding: var(--section-pad); }
.packages-intro { max-width: 660px; margin-bottom: 64px; }
.packages-intro p { color: var(--s400); font-size: 1.05rem; line-height: 1.8; margin-top: 16px; }
.pkgs-slider { position: relative; overflow: hidden; }
.cases-track-wrap, .pkgs-track-wrap { touch-action: pan-y pinch-zoom; }
.pkgs-track-wrap { overflow: visible; }
.pkgs-track {
  display: flex;
  gap: 20px;
  transition: transform 0.48s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.pkgs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.pkgs-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(14,213,202,0.22);
  background: rgba(14,213,202,0.05); color: var(--brand-400);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.pkgs-btn:hover:not(:disabled) { background: rgba(14,213,202,0.14); border-color: rgba(14,213,202,0.5); transform: scale(1.08); }
.pkgs-btn:disabled { opacity: 0.28; cursor: not-allowed; }
.pkgs-dots { display: flex; gap: 8px; align-items: center; }
.pkgs-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--s700);
  border: none; cursor: pointer; padding: 0;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.pkgs-dot.active { width: 22px; border-radius: 4px; background: var(--brand-500); }
.pkg-card {
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(100,116,139,0.12);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.pkg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,213,202,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pkg-card:hover { border-color: rgba(14,213,202,0.2); background: rgba(14,213,202,0.02); }
.pkg-card:hover::before { opacity: 1; }
.pkg-card.pkg-featured {
  border-color: rgba(14,213,202,0.18);
  background: linear-gradient(145deg, rgba(14,213,202,0.06) 0%, rgba(6,10,14,0.6) 60%);
}
.pkg-card.pkg-featured::before { opacity: 1; background: linear-gradient(90deg, transparent, rgba(14,213,202,0.5), transparent); }
.pkg-index {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--s600); margin-bottom: 20px;
}
.pkg-featured .pkg-index { color: var(--b500); }
.pkg-type-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  width: fit-content; margin-bottom: 14px;
}
.badge-consultancy { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.badge-saas { background: rgba(14,213,202,0.1); color: var(--b400); border: 1px solid rgba(14,213,202,0.2); }
.badge-intelligence { background: rgba(96,165,250,0.1); color: #93c5fd; border: 1px solid rgba(96,165,250,0.2); }
.pkg-name {
  font-family: var(--display); font-size: 1.45rem; font-weight: 800;
  line-height: 1.2; letter-spacing: -0.03em; color: var(--s50);
  margin-bottom: 10px;
}
.pkg-desc {
  font-size: 0.88rem; color: var(--s400); line-height: 1.65;
  margin-bottom: 28px;
}
.pkg-list-label {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--s600); margin-bottom: 12px; margin-top: 4px;
}
.pkg-list-label.label-core { color: var(--b500); }
.pkg-list-label.label-addon { color: var(--s600); margin-top: 20px; }
.pkg-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 0; list-style: none; padding: 0; }
.pkg-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.85rem; color: var(--s300); line-height: 1.5;
  padding: 2px 0 2px 2px;
  border-radius: 8px;
  margin-left: -2px;
  transition: background 0.2s ease;
}
.pkg-item:hover { background: rgba(14,213,202,0.04); }
.pkg-item-dot {
  flex-shrink: 0;
  margin-top: 6px;
  box-sizing: border-box;
}
/* Core deliverables — filled “signal” with crisp outer ring (no glow blur) */
.pkg-item.included .pkg-item-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-300), var(--brand-500));
  border: 1px solid rgba(14,213,202,0.45);
  box-shadow:
    0 0 0 2px rgba(6,10,14,0.95),
    0 0 0 3px rgba(14,213,202,0.22);
}
/* Optional modules — hollow diamond, reads as “add-on” vs core signal */
.pkg-item.addon .pkg-item-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(14,213,202,0.06);
  border: 1.5px solid rgba(148,163,184,0.45);
  box-shadow: inset 0 0 0 1px rgba(6,10,14,0.5);
}
.pkg-item.addon { color: var(--s500); }
.pkg-item.addon:hover { background: rgba(100,116,139,0.06); }
.addon-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgba(100,116,139,0.15);
  color: var(--s500); padding: 2px 6px; border-radius: 4px;
  flex-shrink: 0; margin-top: 2px; align-self: flex-start;
}
.pkg-divider { height: 1px; background: rgba(100,116,139,0.1); margin: 24px 0; }
.pkg-footer { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; }
.pkg-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; font-family: var(--body);
  padding: 11px 20px; border-radius: 10px; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.pkg-cta-primary { background: var(--brand-500); color: var(--s950); box-shadow: 0 2px 16px rgba(14,213,202,0.2); }
.pkg-cta-primary:hover { background: var(--brand-400); box-shadow: 0 4px 24px rgba(14,213,202,0.35); transform: translateY(-1px); }
.pkg-cta-ghost { background: transparent; color: var(--s300); border: 1px solid rgba(100,116,139,0.22); }
.pkg-cta-ghost:hover { border-color: rgba(14,213,202,0.3); color: var(--brand-400); background: rgba(14,213,202,0.04); }
.pkg-note { font-size: 0.75rem; color: var(--s600); font-style: italic; }

/* ── Case evidence section ─────────────────────────────────── */
.cases-section { position: relative; z-index: 1; padding: var(--section-pad); padding-top: 0; }
.cases-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.cases-intro p { color: var(--s400); font-size: 1.05rem; line-height: 1.8; }
.cases-slider { position: relative; overflow: hidden; }
.cases-track-wrap { overflow: visible; }
.cases-track {
  display: flex;
  gap: 20px;
  transition: transform 0.48s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.cases-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.cases-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(14,213,202,0.22);
  background: rgba(14,213,202,0.05);
  color: var(--brand-400);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.cases-btn:hover:not(:disabled) { background: rgba(14,213,202,0.14); border-color: rgba(14,213,202,0.5); transform: scale(1.08); }
.cases-btn:disabled { opacity: 0.28; cursor: not-allowed; }
.cases-dots { display: flex; gap: 8px; align-items: center; }
.cases-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s700);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.cases-dot.active { width: 22px; border-radius: 4px; background: var(--brand-500); }
.case-card {
  flex-shrink: 0;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover { transform: translateY(-4px); }
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
}
.case-drift {
  background: linear-gradient(145deg, rgba(244,63,94,0.08) 0%, rgba(20,10,16,0.95) 60%);
  box-shadow: 0 2px 40px rgba(244,63,94,0.12), inset 0 1px 0 rgba(244,63,94,0.15);
}
.case-drift::before { border-color: rgba(244,63,94,0.2); }
.case-drift:hover { box-shadow: 0 8px 60px rgba(244,63,94,0.2), inset 0 1px 0 rgba(244,63,94,0.25); }
.case-hold {
  background: linear-gradient(145deg, rgba(14,213,202,0.08) 0%, rgba(6,20,18,0.95) 60%);
  box-shadow: 0 2px 40px rgba(14,213,202,0.1), inset 0 1px 0 rgba(14,213,202,0.12);
}
.case-hold::before { border-color: rgba(14,213,202,0.18); }
.case-hold:hover { box-shadow: 0 8px 60px rgba(14,213,202,0.18), inset 0 1px 0 rgba(14,213,202,0.2); }
.case-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}
.case-drift .case-type-badge {
  background: rgba(244,63,94,0.15);
  color: #f87171;
  border: 1px solid rgba(244,63,94,0.25);
}
.case-hold .case-type-badge {
  background: rgba(14,213,202,0.12);
  color: var(--b400);
  border: 1px solid rgba(14,213,202,0.2);
}
.case-descriptor {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--s100);
  line-height: 1.35;
  font-family: var(--font-display);
}
.case-rows { display: flex; flex-direction: column; gap: 12px; }
.case-row { display: flex; flex-direction: column; gap: 4px; }
.case-key {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s500);
}
.case-drift .case-key-before { color: rgba(244,63,94,0.7); }
.case-drift .case-key-after  { color: rgba(244,63,94,0.9); }
.case-hold .case-key-before  { color: rgba(14,213,202,0.6); }
.case-hold .case-key-after   { color: rgba(14,213,202,0.85); }
.case-val {
  font-size: 0.82rem;
  color: var(--s300);
  line-height: 1.5;
}
.case-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.case-outcome { display: flex; flex-direction: column; gap: 6px; }
.case-outcome-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-drift .case-outcome-label { color: rgba(244,63,94,0.7); }
.case-hold .case-outcome-label  { color: rgba(14,213,202,0.7); }
.case-outcome-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--s100);
  line-height: 1.5;
}
.case-drift .case-outcome-val strong { color: #f87171; }
.case-hold .case-outcome-val strong  { color: var(--b400); }
.cases-footnote {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--s500);
  font-style: italic;
}
.cases-footnote strong { color: var(--s400); font-style: normal; }


/* ═══ Blog post pages (scoped) ═══════════════════════════════════════════════ */
body.page-blog {
  font-family: var(--body);
  background: var(--s950);
  color: var(--s200);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Nav — floating pill (matches homepage) ─────────────────────────────── */
body.page-blog .site-nav {
  position: fixed;
  top: 20px;
  left: var(--site-gutter);
  right: var(--site-gutter);
  z-index: 100;
  border-radius: 20px;
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(14, 213, 202, 0.08);
  background: linear-gradient(90deg, rgba(14, 213, 202, 0.08), rgba(14, 213, 202, 0.03), rgba(6, 10, 14, 0.88));
  transition: border-color 0.3s, background 0.3s;
}
body.page-blog .nav-inner {
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 24px;
}
body.page-blog .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
body.page-blog .logo-svg { height: 26px; width: auto; display: block; }
body.page-blog .nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--s400);
  text-decoration: none;
  transition: color 0.18s ease;
}
body.page-blog .nav-back:hover { color: var(--s100); }
body.page-blog .nav-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}
body.page-blog--strategy .nav-tag {
  color: var(--brand-500);
  border: 1px solid rgba(14, 213, 202, 0.22);
  background: rgba(14, 213, 202, 0.06);
}
body.page-blog--interview .nav-tag {
  color: var(--accent-500);
  border: 1px solid rgba(236, 72, 153, 0.22);
  background: rgba(236, 72, 153, 0.06);
}

/* ─── Article hero (full-width cinematic) ────────────────────────────────── */
body.page-blog .article-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
/* Bottom fade dissolves image into the page background */
body.page-blog .article-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--s950));
  z-index: 1;
}

body.page-blog--strategy .article-hero {
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
body.page-blog--strategy .article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,10,14,0.25) 0%, rgba(6,10,14,0.55) 55%, rgba(6,10,14,0.92) 100%),
    linear-gradient(to right, rgba(6,10,14,0.45) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 20%, rgba(14,213,202,0.07) 0%, transparent 48%);
}
body.page-blog--interview .article-hero {
  background-size: auto 115%;
  background-position: right center;
  background-repeat: no-repeat;
}
body.page-blog--interview .article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,10,14,0.15) 0%, rgba(6,10,14,0.55) 55%, rgba(6,10,14,0.97) 100%),
    linear-gradient(to right, rgba(6,10,14,0.95) 0%, rgba(6,10,14,0.7) 35%, rgba(6,10,14,0.15) 65%, transparent 100%),
    radial-gradient(ellipse at 78% 30%, rgba(236,72,153,0.12) 0%, transparent 50%);
}

body.page-blog .hero-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  right: clamp(24px, 6vw, 80px);
  top: 50%;
  transform: translateY(-60%);
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 2;
}
body.page-blog--strategy .hero-deco {
  font-size: clamp(7rem, 18vw, 14rem);
  color: rgba(14, 213, 202, 0.05);
}
body.page-blog--interview .hero-deco {
  font-size: clamp(5rem, 14vw, 12rem);
  color: rgba(236, 72, 153, 0.05);
  white-space: nowrap;
}

body.page-blog .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  padding: 150px clamp(24px, 6vw, 72px) 72px;
}
body.page-blog .hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
body.page-blog .hero-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
}
body.page-blog--strategy .hero-tag {
  color: var(--brand-500);
  border: 1px solid rgba(14, 213, 202, 0.3);
  background: rgba(14, 213, 202, 0.08);
}
body.page-blog--interview .hero-tag {
  color: var(--accent-500);
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.1);
}
body.page-blog .hero-read-time { font-size: 0.8rem; color: var(--s400); }
body.page-blog .hero-date { font-size: 0.8rem; color: var(--s500); }
body.page-blog .hero-title {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
body.page-blog .hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.78;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* ─── Article body ───────────────────────────────────────────────────────── */
/* ─── Article layout ─────────────────────────────────────────────────────── */
body.page-blog .article-wrap {
  padding: 64px var(--article-gutter) 80px;
}
/* On wide screens: two-column grid — TOC sidebar + article body */
@media (min-width: 1080px) {
  body.page-blog .article-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 780px);
    column-gap: 60px;
    /* Center the 200 + 60 + 780 = 1040px content block */
    padding-left: max(24px, calc((100vw - 1040px) / 2));
    padding-right: max(24px, calc((100vw - 1040px) / 2));
  }
}

/* ─── TOC sidebar ────────────────────────────────────────────────────────── */
body.page-blog .article-toc {
  display: none;
}
@media (min-width: 1080px) {
  body.page-blog .article-toc {
    display: block;
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 4px;
  }
  body.page-blog .article-toc::-webkit-scrollbar { display: none; }
}
.toc-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s600);
  margin-bottom: 18px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.toc-link {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  color: var(--s500);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.5;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}
.toc-link:hover { color: var(--s200); }
.toc-link.is-active {
  color: var(--s50);
  padding-left: 18px;
}
body.page-blog--strategy .toc-link.is-active { border-left-color: var(--brand-500); }
body.page-blog--interview .toc-link.is-active { border-left-color: var(--accent-500); }

body.page-blog .article-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0 0 48px;
}
body.page-blog .article-body { max-width: 100%; }
body.page-blog .article-body p {
  font-size: 1rem;
  color: var(--s300);
  line-height: 1.85;
  margin-bottom: 24px;
}
body.page-blog .article-body p:last-child { margin-bottom: 0; }
body.page-blog .article-body strong { color: var(--s100); font-weight: 600; }
body.page-blog .article-body em { font-style: italic; color: var(--s400); }
body.page-blog .article-body h2,
body.page-blog .qa-block {
  scroll-margin-top: 100px;
}
body.page-blog .article-body h2 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--s50);
  margin: 48px 0 16px;
  line-height: 1.3;
}
body.page-blog .article-body h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--s100);
  margin: 36px 0 12px;
}

/* Interview Q&A */
body.page-blog .qa-block { margin-bottom: 44px; }
body.page-blog .qa-q {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--s50);
  line-height: 1.45;
  padding-left: 18px;
  border-left: 2px solid var(--accent-500);
  margin-bottom: 16px;
}
body.page-blog .qa-a p { color: var(--s300); }

/* Pull quote */
body.page-blog .pull-quote {
  margin: 44px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--brand-500);
  background: rgba(14, 213, 202, 0.04);
  border-radius: 0 12px 12px 0;
}
body.page-blog .pull-quote p {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--s100);
  line-height: 1.55;
  margin: 0 !important;
}

/* Callout box (essay posts) */
body.page-blog .callout {
  margin: 40px 0;
  padding: 24px 28px;
  background: var(--s900);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}
body.page-blog .callout p { margin-bottom: 8px; font-size: 0.92rem; }
body.page-blog .callout p:last-child { margin-bottom: 0; }
body.page-blog .callout-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 12px;
  display: block;
}

/* ─── Footer CTA + buttons ───────────────────────────────────────────────── */
body.page-blog .article-footer-cta {
  margin-top: 80px;
  padding: 52px 40px;
  background: var(--s900);
  border: 1px solid rgba(14, 213, 202, 0.12);
  border-radius: 20px;
  text-align: center;
}
body.page-blog .article-footer-cta h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--s50);
  margin-bottom: 12px;
}
body.page-blog .article-footer-cta p {
  font-size: 0.95rem;
  color: var(--s400);
  margin-bottom: 28px;
}
body.page-blog .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 10px;
  background: var(--brand-500);
  color: var(--s950);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
body.page-blog .btn-primary:hover {
  background: var(--brand-300);
  transform: translateY(-2px);
}
body.page-blog .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--s200);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-left: 12px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
body.page-blog .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--s50);
}

body.page-blog .site-footer {
  margin-top: 80px;
  padding: 32px var(--site-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
body.page-blog .site-footer span { font-size: 0.8rem; color: var(--s600); }
body.page-blog .site-footer a { color: var(--s400); text-decoration: none; }
body.page-blog .site-footer a:hover { color: var(--s100); }
