/* =====================================================================
   Holistic Radar — production styles
   No frameworks. ~14KB minified target. Loads once, caches forever.
   ===================================================================== */

:root {
  --ink: oklch(0.16 0.012 250);
  --ink-2: oklch(0.20 0.015 250);
  --ink-3: oklch(0.25 0.018 250);
  --bone: oklch(0.94 0.012 80);
  --bone-2: oklch(0.84 0.015 80);
  --muted: oklch(0.62 0.015 250);
  --line: oklch(0.32 0.02 250);
  --line-soft: oklch(0.26 0.018 250);
  --signal: oklch(0.82 0.17 67);
  --signal-2: oklch(0.68 0.15 42);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--ink); color: var(--bone);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.mono  { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
::selection { background: var(--signal); color: var(--ink); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--signal); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 12px var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--ink) 80%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; color: var(--bone); }
.logo-mark { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bone); position: relative; display: grid; place-items: center; flex-shrink: 0; }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--bone); }
.logo-mark::before { width: 16px; height: 16px; }
.logo-mark::after { width: 5px; height: 5px; background: var(--signal); border-color: var(--signal); box-shadow: 0 0 8px var(--signal); }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--bone-2); }
.nav-links a { color: inherit; text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--signal); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--bone); padding: 8px 12px; border-radius: 8px; cursor: pointer; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500; border: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit; text-decoration: none;
}
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); background: oklch(0.86 0.17 67); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-lg { padding: 14px 24px; font-size: 14px; }
.btn svg { flex-shrink: 0; }

/* ---- HERO ---- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 78% 18%, color-mix(in oklch, var(--signal) 18%, transparent), transparent 65%),
    radial-gradient(ellipse 500px 400px at 12% 90%, color-mix(in oklch, var(--signal-2) 14%, transparent), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.12; font-weight: 400; letter-spacing: -0.03em;
  margin: 24px 0 0;
}
.hero h1 em { font-style: italic; color: var(--signal); }
.hl {
  font-style: normal; color: var(--ink); background: var(--signal);
  padding: 0.02em 0.22em 0.14em; border-radius: 10px;
  display: inline-block; line-height: 1; margin: 0 0.02em;
  box-shadow: 0 8px 30px color-mix(in oklch, var(--signal) 35%, transparent);
}
.hl-soft {
  font-style: normal; color: var(--bone);
  background: linear-gradient(180deg, transparent 62%, color-mix(in oklch, var(--signal) 55%, transparent) 62%, color-mix(in oklch, var(--signal) 55%, transparent) 95%, transparent 95%);
  padding: 0 0.06em;
}
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 4px; }
.hero-sub { margin: 28px 0 36px; color: var(--bone-2); font-size: 18px; line-height: 1.55; max-width: 560px; }
.hero-sub em { color: var(--signal); font-style: normal; font-weight: 500; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 48px; border-top: 1px solid var(--line-soft); padding-top: 24px; flex-wrap: wrap; }
.hero-meta .stat-num { font-family: "Instrument Serif", Georgia, serif; font-size: 38px; color: var(--bone); line-height: 1; }
.hero-meta .stat-num span { color: var(--signal); }
.hero-meta .stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 8px; font-family: ui-monospace, monospace; }

/* ---- HERO RADAR CARD ---- */
.hero-radar-card {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklch, var(--ink-2) 80%, transparent), var(--ink));
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 80px color-mix(in oklch, var(--signal) 10%, transparent);
  max-width: 540px; margin-left: auto;
}
.hero-card-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  font-size: 10px; letter-spacing: 0.18em; color: var(--bone-2);
  font-family: ui-monospace, monospace;
}
.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); margin-right: 8px; animation: pulse 2s infinite; vertical-align: middle; }
.radar-wrap { padding: 18px 18px 8px; aspect-ratio: 1; max-width: 540px; position: relative; }
.radar-svg { width: 100%; height: auto; }
.radar-sweep { transform-origin: center; animation: radarSpin 4s linear infinite; }
@keyframes radarSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.radar-ping { transform-origin: center; animation: pingExpand 2.8s ease-out infinite; }
.radar-ping:nth-child(2) { animation-delay: 0.9s; }
.radar-ping:nth-child(3) { animation-delay: 1.8s; }
@keyframes pingExpand { 0% { r: 6; opacity: 0.9; } 100% { r: 90; opacity: 0; } }
.hero-signals { border-top: 1px solid var(--line-soft); padding: 16px 20px 18px; background: color-mix(in oklch, var(--ink) 50%, transparent); }
.hero-signals-label { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 10px; font-family: ui-monospace, monospace; }
.hero-signal-row { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 6px 0; font-size: 12px; align-items: baseline; }
.hero-signal-tag { font-family: ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.15em; color: var(--signal); padding: 2px 8px; border: 1px solid color-mix(in oklch, var(--signal) 30%, transparent); border-radius: 4px; text-align: center; }
.hero-signal-msg { color: var(--bone-2); font-family: ui-monospace, monospace; }

/* ---- LOGO STRIP ---- */
.logo-strip { padding: 40px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--ink-2); }
.logo-strip-label { font-size: 10px; color: var(--muted); letter-spacing: 0.2em; text-align: center; margin-bottom: 24px; font-family: ui-monospace, monospace; }
.logo-strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 56px; }
.logo-strip-item { font-size: 12px; color: var(--bone-2); letter-spacing: 0.15em; opacity: 0.65; transition: opacity 0.2s; font-family: ui-monospace, monospace; }
.logo-strip-item:hover { opacity: 1; color: var(--signal); }

/* ---- SECTIONS ---- */
.section-pad { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 64px; margin-bottom: 80px; align-items: start; }
.section-head-num {
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.1em;
  padding-top: 12px; border-top: 1px solid var(--bone); width: fit-content;
}
.section-head h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02; margin: 0; font-weight: 400; letter-spacing: -0.018em;
}
.section-head h2 em { font-style: italic; color: var(--signal); }
.section-head p { color: var(--bone-2); font-size: 17px; line-height: 1.55; margin: 24px 0 0; max-width: 720px; }

/* ---- MYTHS ---- */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.problem-card { background: var(--ink); padding: 44px 32px; transition: background 0.2s; }
.problem-card:hover { background: var(--ink-2); }
.problem-card .num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.15em; }
.problem-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; line-height: 1.15; margin: 24px 0 14px; font-weight: 400; }
.problem-card p { color: var(--bone-2); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---- PYRAMID ---- */
.pyramid-section { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pyramid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pyramid-svg { width: 100%; }
.pyramid-trap { cursor: pointer; transition: opacity 0.2s; }
.pyramid-trap.dim { opacity: 0.4; }
.pyramid-trap-label { font-family: ui-monospace, monospace; font-size: 11px; pointer-events: none; }
.pyramid-detail h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 56px; line-height: 1; margin: 16px 0 8px; font-weight: 400; }
.pyramid-detail p { color: var(--bone-2); font-size: 16px; line-height: 1.6; margin: 0; }
.cialdini-lens { border-left: 2px solid var(--signal); padding: 4px 0 4px 16px; margin: 24px 0 0; }
.bullet-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--bone); }
.pyramid-quote {
  margin-top: 96px; padding: 48px; border: 1px solid var(--line-soft); border-radius: 18px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  text-align: center;
}
.pyramid-quote p { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; margin: 0 auto 24px; max-width: 880px; font-style: italic; }
.quote-attr { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.18em; }

/* ---- SERVICES ---- */
.services-section { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.service-card {
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 36px;
  background: var(--ink); display: flex; flex-direction: column;
  position: relative; transition: transform 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card.featured {
  border-color: var(--signal);
  background: linear-gradient(180deg, color-mix(in oklch, var(--signal) 6%, var(--ink)), var(--ink));
  box-shadow: 0 0 60px color-mix(in oklch, var(--signal) 12%, transparent);
}
.service-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--signal); color: var(--ink);
  font-size: 10px; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.15em;
  font-family: ui-monospace, monospace;
}
.service-tier { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; }
.service-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 32px; margin: 8px 0 12px; font-weight: 400; line-height: 1.1; }
.service-pitch { color: var(--bone-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 28px; }
.service-includes-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.service-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.service-card li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; font-size: 14px; color: var(--bone);
  border-bottom: 1px solid var(--line-soft);
}
.service-card li:last-child { border-bottom: 0; }
.arrow-bullet { color: var(--signal); flex-shrink: 0; }
.service-cta { width: 100%; justify-content: center; }

/* ---- COMPARE ---- */
.compare-table { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; }
.compare-row + .compare-row { border-top: 1px solid var(--line-soft); }
.compare-head { background: var(--ink-2); }
.compare-head > div { padding: 18px 24px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.compare-row > div { padding: 22px 24px; font-size: 15px; line-height: 1.5; }
.compare-label { color: var(--bone); border-right: 1px solid var(--line-soft); }
.compare-them { color: var(--bone-2); border-right: 1px solid var(--line-soft); opacity: 0.75; }
.compare-us { color: var(--bone); display: flex; align-items: flex-start; gap: 8px; background: color-mix(in oklch, var(--signal) 6%, transparent); }
.check-tiny { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); color: var(--ink); font-size: 8px; margin-right: 6px; flex-shrink: 0; }

/* ---- CASES ---- */
.case-card {
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 40px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  margin-bottom: 24px;
}
.case-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); margin-bottom: 28px; font-family: ui-monospace, monospace; font-size: 11px; }
.case-tag { color: var(--bone-2); letter-spacing: 0.15em; }
.case-badge { color: var(--signal); letter-spacing: 0.15em; display: flex; align-items: center; gap: 6px; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.case-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; margin-bottom: 12px; }
.case-body p { color: var(--bone-2); font-size: 15px; line-height: 1.6; margin: 0; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.case-stat { background: var(--ink); padding: 24px; }
.case-stat-num { font-family: "Instrument Serif", Georgia, serif; font-size: 40px; color: var(--signal); line-height: 1; font-weight: 400; }
.case-stat-label { font-size: 12px; color: var(--bone-2); margin-top: 8px; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 100px 0; background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.testimonials-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.testimonials-head h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; margin: 0 0 16px; font-weight: 400; letter-spacing: -0.018em; }
.testimonials-head p { color: var(--bone-2); font-size: 16px; line-height: 1.55; max-width: 640px; margin: 0 auto; }
.testimonials-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--signal); padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--signal) 40%, transparent); background: color-mix(in oklch, var(--signal) 6%, transparent); margin-bottom: 24px; }
.testimonials-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; }

.testimonial-featured {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  padding: 48px; margin-bottom: 32px;
  border: 1px solid var(--signal); border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--signal) 7%, var(--ink)), var(--ink));
  box-shadow: 0 0 80px color-mix(in oklch, var(--signal) 12%, transparent);
  text-decoration: none; color: inherit;
}
.testimonial-source { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--signal); padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--signal) 40%, transparent); width: fit-content; margin-bottom: 12px; }
.testimonial-source .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.testimonial-quote-mark { font-family: "Instrument Serif", Georgia, serif; font-size: 96px; color: color-mix(in oklch, var(--signal) 30%, transparent); line-height: 0.5; height: 32px; }
.testimonial-featured-right p { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.5; color: var(--bone); margin: 16px 0; font-style: italic; }
.testimonial-attr { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.testimonial-who { font-size: 20px; color: var(--bone); font-family: "Instrument Serif", Georgia, serif; }
.testimonial-role { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; margin-top: 4px; }
.testimonial-meta { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--bone-2); margin-top: 8px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial { padding: 28px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--ink); display: flex; flex-direction: column; }
.stars { color: var(--signal); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial > p { font-size: 16px; line-height: 1.5; color: var(--bone); margin: 0 0 20px; font-style: italic; }

/* ---- STATS ---- */
.stats-section { padding: 120px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-block { background: var(--ink); padding: 48px 32px; }
.stat-block-num { font-family: "Instrument Serif", Georgia, serif; font-size: 72px; color: var(--signal); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.stat-block-label { font-size: 13px; color: var(--bone-2); margin-top: 14px; max-width: 240px; line-height: 1.4; }

/* ---- ABOUT ---- */
.about-section { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.about-layout { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
.about-portrait { aspect-ratio: 4/5; border-radius: 18px; position: relative; overflow: hidden; border: 1px solid var(--line-soft); background: var(--ink); }
.about-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: contrast(1.05) saturate(1.05); }
.about-portrait-tag { position: absolute; left: 18px; bottom: 18px; z-index: 3; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--bone); padding: 8px 12px; border-radius: 999px; background: color-mix(in oklch, var(--ink) 70%, transparent); backdrop-filter: blur(8px); border: 1px solid color-mix(in oklch, var(--bone) 12%, transparent); }
.about-section h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 44px; line-height: 1.05; margin: 0 0 24px; font-weight: 400; }
.about-section p { color: var(--bone-2); font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.signature { font-family: "Instrument Serif", Georgia, serif; margin-top: 32px; font-style: italic; font-size: 24px; color: var(--bone); }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.credential .num { font-family: "Instrument Serif", Georgia, serif; font-size: 44px; color: var(--signal); line-height: 1; }
.credential .label { font-size: 13px; color: var(--bone-2); margin-top: 8px; line-height: 1.4; }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-row { padding: 28px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; transition: padding 0.2s; }
.faq-row:hover { padding-left: 12px; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(20px, 2.2vw, 28px); }
.faq-toggle { font-size: 28px; color: var(--signal); width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: background 0.2s, color 0.2s, transform 0.2s; }
.faq-row.open .faq-toggle { background: var(--signal); color: var(--ink); border-color: var(--signal); transform: rotate(45deg); }
.faq-a { color: var(--bone-2); font-size: 16px; line-height: 1.6; margin-top: 0; max-width: 880px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, margin-top 0.3s ease; }
.faq-row.open .faq-a { max-height: 600px; margin-top: 18px; }

/* ---- CTA ---- */
.cta { padding: 140px 0; text-align: center; border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, color-mix(in oklch, var(--signal) 14%, transparent), transparent 60%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.cta h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(48px, 6.4vw, 92px); line-height: 1.0; margin: 24px 0; font-weight: 400; letter-spacing: -0.02em; }
.cta h2 em { font-style: italic; color: var(--signal); }
.cta > .container > .cta-content > p { color: var(--bone-2); font-size: 18px; margin: 0 0 40px; line-height: 1.55; }

/* ---- FOOTER ---- */
footer { padding: 64px 0 40px; border-top: 1px solid var(--line-soft); color: var(--bone-2); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; margin-bottom: 56px; }
.footer-tag { color: var(--bone-2); font-size: 14px; line-height: 1.55; max-width: 380px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer-cols a { display: block; padding: 6px 0; color: var(--bone-2); text-decoration: none; transition: color 0.15s; font-size: 14px; }
.footer-cols a:hover { color: var(--signal); }
.footer-col-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 32px; border-top: 1px solid var(--line-soft); font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; }

/* ---- STICKY CTA ---- */
.sticky-cta { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60; pointer-events: none; transform: translateY(80px); opacity: 0; transition: transform 0.3s, opacity 0.3s; }
.sticky-cta.show { transform: translateY(0); opacity: 1; }
.sticky-cta-inner {
  pointer-events: auto;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 20px;
  background: color-mix(in oklch, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--signal);
  border-radius: 999px;
  box-shadow: 0 16px 60px color-mix(in oklch, var(--signal) 16%, transparent);
}
.sticky-cta-msg { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.sticky-cta-msg .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; flex-shrink: 0; }
.sticky-cta-msg .mono { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--bone-2); white-space: nowrap; }
.sticky-cta-headline { font-family: "Instrument Serif", Georgia, serif; font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- BLOG INDEX ---- */
.blog-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.blog-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, color-mix(in oklch, var(--signal) 10%, transparent), transparent 65%); pointer-events: none; }
.blog-hero-inner { position: relative; }
.blog-hero h1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(48px, 6vw, 88px); line-height: 1; margin: 24px 0 24px; font-weight: 400; letter-spacing: -0.025em; }
.blog-hero h1 em { color: var(--signal); font-style: italic; }
.blog-hero p { color: var(--bone-2); font-size: 18px; line-height: 1.55; max-width: 640px; margin: 0; }

.blog-search { display: flex; align-items: center; gap: 12px; padding: 0 20px; margin-top: 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-2); max-width: 520px; }
.blog-search svg { color: var(--muted); flex-shrink: 0; }
.blog-search input { flex: 1; background: transparent; border: none; outline: none; padding: 16px 0; color: var(--bone); font-family: inherit; font-size: 15px; }
.blog-search kbd { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; }

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--line-soft); }
.blog-cat {
  font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--bone-2); cursor: pointer; text-decoration: none;
  transition: all 0.15s;
}
.blog-cat:hover { border-color: var(--bone); color: var(--bone); }
.blog-cat.active { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.blog-cat .count { opacity: 0.6; margin-left: 6px; }

.blog-featured { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.blog-featured-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.blog-featured-card {
  display: grid; grid-template-rows: auto 1fr;
  border: 1px solid var(--signal); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklch, var(--signal) 5%, var(--ink)), var(--ink));
  box-shadow: 0 0 80px color-mix(in oklch, var(--signal) 10%, transparent);
  text-decoration: none; color: inherit;
  transition: transform 0.2s;
}
.blog-featured-card:hover { transform: translateY(-2px); }
.blog-cover {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.blog-cover-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 24px, color-mix(in oklch, var(--signal) 8%, transparent) 24px 25px);
}
.blog-cover-glyph {
  position: relative; font-family: "Instrument Serif", Georgia, serif;
  font-size: 80px; color: var(--signal); font-style: italic; opacity: 0.5;
}
.blog-featured-body { padding: 32px 36px; }
.blog-eyebrow { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--signal); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-eyebrow .dot-tiny { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.blog-eyebrow .read-time { color: var(--muted); }
.blog-featured-card h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 16px; font-weight: 400; letter-spacing: -0.018em; }
.blog-featured-card p { color: var(--bone-2); font-size: 16px; line-height: 1.6; margin: 0 0 24px; }

.blog-side { display: flex; flex-direction: column; gap: 20px; }
.blog-side-card {
  padding: 24px; border: 1px solid var(--line-soft); border-radius: 16px;
  background: var(--ink-2); text-decoration: none; color: inherit;
  transition: border-color 0.15s, transform 0.15s;
  display: flex; flex-direction: column;
}
.blog-side-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.blog-side-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.15; margin: 8px 0 10px; font-weight: 400; }
.blog-side-card .blog-meta { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.15em; }

.author-chip { display: flex; align-items: center; gap: 10px; }
.author-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-chip .name { font-size: 13px; color: var(--bone); }
.author-chip .date { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-top: 2px; }

.blog-list { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
  background: var(--ink); transition: border-color 0.15s, transform 0.15s;
}
.blog-card:hover { border-color: var(--signal); transform: translateY(-3px); }
.blog-card .blog-cover { aspect-ratio: 16/10; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; line-height: 1.15; margin: 8px 0 12px; font-weight: 400; }
.blog-card p { color: var(--bone-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 20px; flex: 1; }
.blog-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); margin-top: auto; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span {
  font-family: ui-monospace, monospace; font-size: 12px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--bone-2); text-decoration: none;
  transition: all 0.15s; min-width: 40px; text-align: center;
}
.pagination a:hover { border-color: var(--bone); color: var(--bone); }
.pagination .current { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.pagination .dots { border: 0; }

/* ---- SINGLE POST ---- */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: transparent; pointer-events: none;
}
.progress-bar-fill {
  height: 100%; width: 0%;
  background: var(--signal); box-shadow: 0 0 10px var(--signal);
  transition: width 0.05s linear;
}

.post-hero { padding: 64px 0 48px; }
.post-breadcrumb { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; margin-bottom: 32px; }
.post-breadcrumb a { color: var(--bone-2); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--signal); }
.post-cat { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--signal); padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--signal) 40%, transparent); background: color-mix(in oklch, var(--signal) 6%, transparent); margin-bottom: 24px; }
.post-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04; margin: 0 0 24px; font-weight: 400; letter-spacing: -0.022em;
  max-width: 980px;
}
.post-hero h1 em { color: var(--signal); font-style: italic; }
.post-dek { color: var(--bone-2); font-size: 20px; line-height: 1.55; max-width: 760px; margin: 0 0 40px; }
.post-meta { display: flex; gap: 32px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); align-items: center; }
.post-meta-author { display: flex; align-items: center; gap: 12px; }
.post-meta-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.post-meta-author .name { font-family: "Instrument Serif", Georgia, serif; font-size: 18px; }
.post-meta-author .role { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.15em; }
.post-meta-stat { display: flex; flex-direction: column; gap: 2px; font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.15em; }
.post-meta-stat .v { color: var(--bone); font-size: 14px; letter-spacing: 0; font-family: "Instrument Serif", Georgia, serif; }

.post-feature {
  aspect-ratio: 16/8; margin: 48px 0 64px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  display: grid; place-items: center; position: relative;
  border: 1px solid var(--line-soft);
}

.post-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px) 240px;
  gap: 48px;
  align-items: start;
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
}
.post-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.post-toc-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.post-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.post-toc li { font-size: 13px; line-height: 1.4; }
.post-toc a { display: block; padding: 8px 0 8px 14px; color: var(--bone-2); text-decoration: none; border-left: 2px solid var(--line-soft); transition: all 0.15s; }
.post-toc a:hover, .post-toc a.active { color: var(--signal); border-left-color: var(--signal); }
.post-toc li.h3 a { padding-left: 28px; font-size: 12.5px; color: var(--muted); }

.post-share { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; }
.post-share-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 8px; }
.post-share a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--line-soft); border-radius: 10px;
  font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.15em;
  color: var(--bone-2); text-decoration: none; transition: all 0.15s;
}
.post-share a:hover { border-color: var(--signal); color: var(--signal); }

.post-body { font-size: 18px; line-height: 1.75; color: var(--bone); }
.post-body > p { margin: 0 0 1.4em; }
.post-body > p:first-of-type::first-letter { font-family: "Instrument Serif", Georgia, serif; font-size: 4.5em; line-height: 0.85; float: left; padding: 4px 12px 0 0; color: var(--signal); }
.post-body h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 400;
  margin: 2.2em 0 0.6em; letter-spacing: -0.015em; scroll-margin-top: 96px;
}
.post-body h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px; line-height: 1.2; font-weight: 400;
  margin: 1.8em 0 0.5em; scroll-margin-top: 96px;
}
.post-body strong { color: var(--bone); font-weight: 600; }
.post-body em { font-style: italic; color: var(--bone); }
.post-body a { color: var(--signal); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--signal) 40%, transparent); text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
.post-body a:hover { text-decoration-color: var(--signal); }
.post-body ul, .post-body ol { padding-left: 24px; margin: 0 0 1.4em; }
.post-body li { margin: 0.4em 0; }
.post-body blockquote {
  margin: 2em 0; padding: 24px 28px;
  border-left: 3px solid var(--signal);
  background: color-mix(in oklch, var(--ink-2) 70%, transparent);
  border-radius: 0 12px 12px 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px; line-height: 1.5; color: var(--bone); font-style: italic;
}
.post-body blockquote cite { display: block; font-family: ui-monospace, monospace; font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; margin-top: 12px; }
.post-body code { font-family: ui-monospace, monospace; font-size: 0.9em; padding: 2px 6px; border-radius: 4px; background: var(--ink-2); border: 1px solid var(--line-soft); color: var(--signal); }
.post-body pre {
  font-family: ui-monospace, monospace; font-size: 13px; line-height: 1.6;
  padding: 20px 24px; border-radius: 12px;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  overflow-x: auto; margin: 1.6em 0;
}
.post-body pre code { background: transparent; border: 0; padding: 0; color: var(--bone); }
.callout {
  margin: 2em 0; padding: 24px 28px;
  border: 1px solid color-mix(in oklch, var(--signal) 40%, transparent);
  background: color-mix(in oklch, var(--signal) 5%, transparent);
  border-radius: 12px;
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
}
.callout-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--signal); color: var(--ink);
  display: grid; place-items: center; font-family: ui-monospace, monospace; font-size: 14px; font-weight: 600;
}
.callout h4 { font-family: "Instrument Serif", Georgia, serif; font-size: 20px; margin: 4px 0 6px; font-weight: 400; }
.callout p { font-size: 16px; line-height: 1.55; margin: 0; color: var(--bone-2); }

.post-inline-cta {
  margin: 3em 0; padding: 40px;
  border: 1px solid var(--signal); border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--signal) 8%, var(--ink)), var(--ink));
  box-shadow: 0 0 60px color-mix(in oklch, var(--signal) 12%, transparent);
  text-align: center;
}
.post-inline-cta h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 32px; margin: 0 0 12px; font-weight: 400; line-height: 1.15; }
.post-inline-cta p { color: var(--bone-2); margin: 0 0 24px; font-size: 16px; line-height: 1.55; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 32px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.post-tag {
  font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  color: var(--bone-2); text-decoration: none;
}
.post-tag:hover { border-color: var(--signal); color: var(--signal); }

.author-bio {
  margin-top: 56px; padding: 36px;
  border: 1px solid var(--line-soft); border-radius: 18px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
}
.author-bio img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1px solid var(--line); }
.author-bio-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.2em; margin-bottom: 8px; }
.author-bio h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; margin: 0 0 4px; font-weight: 400; }
.author-bio .role { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; margin-bottom: 14px; }
.author-bio p { color: var(--bone-2); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.author-bio-links { display: flex; gap: 14px; }
.author-bio-links a { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.15em; color: var(--signal); text-decoration: none; }
.author-bio-links a:hover { text-decoration: underline; }

.newsletter-cta {
  margin: 56px 0; padding: 48px;
  border: 1px solid var(--signal); border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--signal) 8%, var(--ink)), var(--ink));
  text-align: center;
}
.newsletter-cta h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 36px; margin: 0 0 12px; font-weight: 400; }
.newsletter-cta p { color: var(--bone-2); max-width: 480px; margin: 0 auto 28px; font-size: 16px; line-height: 1.55; }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: var(--bone); font-family: inherit; font-size: 14px; }
.newsletter-form input:focus { outline: none; border-color: var(--signal); }
.newsletter-form button { flex-shrink: 0; }
.newsletter-fine { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; margin-top: 16px; }

.related-posts { padding: 80px 0; border-top: 1px solid var(--line-soft); background: var(--ink-2); }
.related-posts h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(32px, 4vw, 52px); margin: 0 0 32px; font-weight: 400; line-height: 1.05; }

.comments { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.comments h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 36px; margin: 0 0 24px; font-weight: 400; }
.comment-empty {
  padding: 48px; border: 1px dashed var(--line); border-radius: 14px;
  text-align: center; color: var(--bone-2);
}
.comment-empty p { margin: 0 0 16px; font-size: 16px; }

/* ---- SETUP GUIDE ---- */
.setup-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--line-soft); background: var(--ink-2); }
.setup-hero h1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; margin: 16px 0 16px; font-weight: 400; letter-spacing: -0.02em; }
.setup-hero p { color: var(--bone-2); font-size: 18px; line-height: 1.55; max-width: 720px; }

.setup-body { padding: 64px 0; }
.setup-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.setup-toc { position: sticky; top: 96px; }
.setup-toc-label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.setup-toc ol { list-style: none; counter-reset: setup-step; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.setup-toc li { counter-increment: setup-step; }
.setup-toc a { display: flex; gap: 12px; padding: 10px 14px 10px 0; color: var(--bone-2); text-decoration: none; border-left: 2px solid var(--line-soft); padding-left: 14px; font-size: 13px; transition: all 0.15s; }
.setup-toc a::before { content: counter(setup-step, decimal-leading-zero); font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.12em; }
.setup-toc a:hover, .setup-toc a.active { color: var(--signal); border-left-color: var(--signal); }

.setup-section { padding: 32px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 96px; }
.setup-section:last-child { border-bottom: 0; }
.setup-step-num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; margin-bottom: 8px; }
.setup-section h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 16px; font-weight: 400; letter-spacing: -0.018em; }
.setup-section h2 em { color: var(--signal); font-style: italic; }
.setup-section p { color: var(--bone-2); font-size: 16px; line-height: 1.65; margin: 0 0 16px; max-width: 760px; }
.setup-section ul, .setup-section ol { padding-left: 24px; margin: 0 0 16px; max-width: 760px; color: var(--bone-2); font-size: 16px; line-height: 1.65; }
.setup-section li { margin: 8px 0; }
.setup-section strong { color: var(--bone); }
.setup-section code { font-family: ui-monospace, monospace; font-size: 0.9em; padding: 2px 8px; border-radius: 4px; background: var(--ink-2); border: 1px solid var(--line-soft); color: var(--signal); }

.plugin-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.plugin-table th, .plugin-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14px; vertical-align: top; }
.plugin-table th { background: var(--ink-2); font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; font-weight: 500; }
.plugin-table tr:last-child td { border-bottom: 0; }
.plugin-table td:first-child { color: var(--bone); font-weight: 500; }
.plugin-table td:last-child { color: var(--bone-2); }
.badge-pill { display: inline-block; font-family: ui-monospace, monospace; font-size: 10px; padding: 3px 8px; border-radius: 999px; letter-spacing: 0.12em; }
.badge-pill.req { background: var(--signal); color: var(--ink); }
.badge-pill.opt { background: color-mix(in oklch, var(--bone) 12%, transparent); color: var(--bone-2); border: 1px solid var(--line-soft); }
.badge-pill.crit { background: oklch(0.6 0.18 25); color: var(--ink); }

.score-card {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  margin: 24px 0; padding: 24px;
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--ink-2);
}
.score-cell { text-align: center; }
.score-cell .label { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; margin-bottom: 8px; }
.score-cell .v { font-family: "Instrument Serif", Georgia, serif; font-size: 48px; line-height: 1; }
.score-cell .v.bad { color: oklch(0.62 0.18 25); }
.score-cell .v.ok { color: var(--signal); }
.score-cell .v.warn { color: oklch(0.78 0.14 80); }
.score-cell .arrow { font-family: ui-monospace, monospace; font-size: 11px; color: var(--bone-2); letter-spacing: 0.12em; margin-top: 6px; }

.checklist { list-style: none; padding: 0; margin: 24px 0; }
.checklist li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 15px; line-height: 1.55; color: var(--bone);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .check-tiny { margin-top: 3px; }

/* ---- SEMANTIC SHOWPIECE ---- */
.semantic-section { background: var(--ink); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.semantic-stack { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.semantic-callout { border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.sem-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); background: color-mix(in oklch, var(--ink-2) 80%, transparent); }
.sem-head .mono { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--bone-2); display: flex; align-items: center; gap: 8px; }
.sem-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; }
.sem-body { padding: 24px 24px 28px; }
.sem-row { display: grid; grid-template-columns: 86px 1fr 90px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); }
.sem-row:last-child { border-bottom: 0; }
.sem-row-label { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); line-height: 1.3; }
.sem-bar { position: relative; height: 8px; border-radius: 999px; background: color-mix(in oklch, var(--bone) 8%, transparent); overflow: hidden; }
.sem-bar > i { position: absolute; inset: 0; right: auto; border-radius: 999px; background: var(--signal); box-shadow: 0 0 12px color-mix(in oklch, var(--signal) 50%, transparent); transition: width 0.6s cubic-bezier(.4,1.4,.5,1); }
.sem-bar.them > i { background: oklch(0.45 0.04 30); box-shadow: none; }
.sem-row-num { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; color: var(--bone); text-align: right; }
.sem-row.us .sem-row-num { color: var(--signal); }
.sem-divider { padding: 14px 0 6px; border-top: 1px solid var(--line-soft); margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-family: ui-monospace, monospace; }
.sem-divider .mono { font-size: 9px; letter-spacing: 0.2em; color: var(--muted); }
.sem-divider .signal { color: var(--signal); }
.frame-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 24px 24px; }
.frame-cell { aspect-ratio: 1; border: 1px solid var(--line-soft); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.1em; color: var(--muted); position: relative; overflow: hidden; transition: all 0.25s; }
.frame-cell.filled { background: color-mix(in oklch, var(--signal) 12%, transparent); border-color: color-mix(in oklch, var(--signal) 50%, transparent); color: var(--signal); }
.frame-cell.filled::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, color-mix(in oklch, var(--signal) 30%, transparent), transparent 70%); }
.frame-cell .label { font-size: 8.5px; opacity: 0.85; position: relative; z-index: 1; }
.frame-cell .check { font-family: "Instrument Serif", Georgia, serif; font-size: 16px; letter-spacing: 0; color: inherit; position: relative; z-index: 1; }
.semantic-text h3 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 12px 0 18px; font-weight: 400; letter-spacing: -0.018em; }
.semantic-text > p { color: var(--bone-2); font-size: 17px; line-height: 1.6; max-width: 540px; margin: 0 0 28px; }
.semantic-points { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line-soft); }
.semantic-points li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.semantic-points .num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); padding-top: 4px; letter-spacing: 0.1em; }
.semantic-points .t { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.semantic-points .b { color: var(--bone-2); font-size: 14.5px; line-height: 1.55; }
.semantic-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.sem-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-2); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklch, var(--ink-2) 80%, transparent); }
.sem-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }

/* ---- CIALDINI ---- */
.cialdini-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.cialdini-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.cialdini-row { all: unset; display: grid; grid-template-columns: 56px 1fr auto 24px; align-items: center; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--line-soft); cursor: pointer; color: var(--bone-2); transition: color 0.2s, padding 0.2s; }
.cialdini-row:hover, .cialdini-row.active { color: var(--bone); padding-left: 16px; }
.cialdini-row.active { color: var(--signal); }
.cialdini-row.active .cialdini-arrow { color: var(--signal); transform: translateX(4px); }
.cialdini-num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.15em; }
.cialdini-row.active .cialdini-num { color: var(--signal); }
.cialdini-name { font-family: "Instrument Serif", Georgia, serif; font-size: 32px; line-height: 1; }
.cialdini-row.deepest .cialdini-name { font-style: italic; }
.cialdini-tag { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.18em; padding: 4px 10px; border-radius: 999px; background: var(--signal); color: var(--ink); }
.cialdini-arrow { color: var(--muted); transition: transform 0.2s, color 0.2s; display: grid; place-items: center; }
.cialdini-detail-card { position: sticky; top: 96px; padding: 36px; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.cialdini-detail-card .label { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; }
.cialdini-detail-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 52px; line-height: 1.05; margin: 12px 0 20px; font-weight: 400; }
.cialdini-detail-card p { font-size: 16px; color: var(--bone-2); line-height: 1.6; margin: 0 0 24px; }
.placement-block { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.15em; line-height: 1.6; padding: 16px; border: 1px dashed color-mix(in oklch, var(--signal) 40%, transparent); border-radius: 8px; color: var(--signal); }

/* ---- DEEP TECH ---- */
.dt-section { padding: 120px 0; }
.dt-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; margin-bottom: 48px; }
.dt-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--signal) 40%, transparent); background: color-mix(in oklch, var(--signal) 6%, transparent); margin-bottom: 24px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--signal); }
.dt-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; }
.dt-h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 0 0 20px; font-weight: 400; letter-spacing: -0.018em; }
.dt-h2 em { color: var(--signal); font-style: italic; }
.dt-h2-sub { color: var(--bone-2); font-size: 16px; line-height: 1.55; margin: 0; max-width: 480px; }
.dt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dt-tab { all: unset; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--ink); transition: all 0.2s; }
.dt-tab:hover { border-color: var(--bone); }
.dt-tab.active { border-color: var(--signal); background: color-mix(in oklch, var(--signal) 8%, var(--ink)); box-shadow: 0 0 24px color-mix(in oklch, var(--signal) 14%, transparent); }
.dt-tab-num { grid-row: 1 / span 2; font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; padding-top: 3px; }
.dt-tab-label { font-family: "Instrument Serif", Georgia, serif; font-size: 18px; line-height: 1.1; color: var(--bone); }
.dt-tab.active .dt-tab-label { color: var(--signal); }
.dt-tab-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; line-height: 1.4; margin-top: 4px; }
.dt-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.dt-frame-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); background: color-mix(in oklch, var(--ink) 70%, transparent); }
.dt-frame-bar-dots { display: flex; gap: 6px; }
.dt-frame-bar-dots span { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dt-frame-title { flex: 1; text-align: center; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--bone-2); }
.dt-frame-status { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; display: inline-flex; align-items: center; gap: 6px; }
.dt-frame-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: pulse 2s infinite; }
.dt-pane { padding: 28px; }
.dt-pane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dt-pane-head { display: flex; justify-content: space-between; padding: 0 0 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--bone-2); }
.dt-label { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 8px; }
.dt-mono { font-family: ui-monospace, monospace; }
.dt-muted { color: var(--muted); }
.dt-textarea { width: 100%; background: var(--ink); border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px; color: var(--bone); font-family: ui-monospace, monospace; font-size: 12.5px; line-height: 1.6; resize: vertical; }
.dt-textarea:focus { outline: none; border-color: var(--signal); }
.dt-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.dt-stat-cell { padding: 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: color-mix(in oklch, var(--ink-2) 60%, transparent); }
.dt-stat-num { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; color: var(--bone); line-height: 1; }
.dt-stat-label { font-family: ui-monospace, monospace; font-size: 9px; color: var(--muted); letter-spacing: 0.18em; margin-top: 8px; }
.dt-good { color: var(--signal); }
.dt-bad { color: oklch(0.62 0.18 25); }
.dt-yours-top { margin-top: 16px; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dt-chip { font-family: ui-monospace, monospace; font-size: 11px; padding: 4px 10px; border-radius: 4px; background: color-mix(in oklch, var(--signal) 12%, transparent); color: var(--signal); border: 1px solid color-mix(in oklch, var(--signal) 30%, transparent); }
.dt-bars { display: flex; flex-direction: column; gap: 6px; max-height: 480px; overflow-y: auto; }
.dt-bar-row { display: grid; grid-template-columns: 28px 1fr 100px 80px; gap: 12px; align-items: center; padding: 6px 4px; border-radius: 6px; }
.dt-bar-row.miss { background: color-mix(in oklch, oklch(0.5 0.12 25) 6%, transparent); }
.dt-bar-rank { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }
.dt-bar-term { font-family: ui-monospace, monospace; font-size: 12px; color: var(--bone); }
.dt-bar-row.miss .dt-bar-term { color: var(--bone-2); }
.dt-bar-track { position: relative; height: 6px; border-radius: 999px; background: color-mix(in oklch, var(--bone) 6%, transparent); overflow: hidden; }
.dt-bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--signal); border-radius: 999px; transition: width 0.4s cubic-bezier(.4,1.4,.5,1); }
.dt-bar-row.miss .dt-bar-fill { background: oklch(0.5 0.12 25); opacity: 0.45; }
.dt-bar-state { font-family: ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.15em; text-align: right; }
.dt-bar-state.ok { color: var(--signal); }
.dt-bar-state.miss { color: oklch(0.62 0.16 25); }
.dt-note { padding: 14px 28px; border-top: 1px solid var(--line-soft); background: color-mix(in oklch, var(--ink) 80%, transparent); font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; margin: 14px -28px -28px; }
.dt-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding: 18px 24px; border: 1px dashed color-mix(in oklch, var(--signal) 30%, transparent); border-radius: 14px; }
.dt-foot p { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; margin: 0; color: var(--signal); }
.dt-graph-controls { display: flex; align-items: center; gap: 8px; padding: 0 0 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; flex-wrap: wrap; }
.dt-chip-btn { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-soft); font-family: ui-monospace, monospace; font-size: 11px; color: var(--bone-2); }
.dt-chip-btn.active { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.dt-graph-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.dt-graph { width: 100%; height: auto; }
.dt-side-body { font-size: 14px; line-height: 1.6; color: var(--bone-2); margin: 8px 0 20px; }
.dt-side-body em { color: var(--signal); font-style: normal; }
.dt-legend { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.dt-legend-row { display: flex; align-items: center; gap: 10px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--bone-2); }
.dt-legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.dt-hovered-card { margin-top: 14px; padding: 14px; border-radius: 10px; background: color-mix(in oklch, var(--signal) 8%, var(--ink)); border: 1px solid color-mix(in oklch, var(--signal) 30%, transparent); }
.dt-hovered-name { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; margin: 4px 0; color: var(--bone); }
.dt-hovered-meta { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--bone-2); }
.dt-hovered-action { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; margin-top: 8px; }
.dt-path-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dt-path-persona { font-family: "Instrument Serif", Georgia, serif; font-size: 20px; color: var(--bone); }
.dt-path-rail { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.dt-path-node-wrap { display: flex; align-items: center; flex-shrink: 0; }
.dt-path-node { width: 200px; padding: 14px 14px; border: 1px solid var(--line-soft); border-radius: 12px; cursor: pointer; transition: all 0.2s; background: var(--ink); }
.dt-path-node.passed { border-color: color-mix(in oklch, var(--signal) 30%, var(--line-soft)); opacity: 0.7; }
.dt-path-node.active { border-color: var(--signal); background: color-mix(in oklch, var(--signal) 10%, var(--ink)); box-shadow: 0 0 24px color-mix(in oklch, var(--signal) 18%, transparent); transform: translateY(-3px); }
.dt-path-num { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; }
.dt-path-node.active .dt-path-num { color: var(--signal); }
.dt-path-q { font-family: "Instrument Serif", Georgia, serif; font-size: 16px; line-height: 1.2; margin: 6px 0 8px; color: var(--bone); font-style: italic; }
.dt-path-layer { font-family: ui-monospace, monospace; font-size: 9.5px; color: var(--bone-2); letter-spacing: 0.15em; }
.dt-path-node.active .dt-path-layer { color: var(--signal); }
.dt-path-arrow { padding: 0 8px; color: var(--line); }
.dt-path-node.active + .dt-path-arrow, .dt-path-node.passed + .dt-path-arrow { color: var(--signal); }
.dt-path-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 24px; }
.dt-path-detail-q { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; line-height: 1.15; margin: 8px 0 12px; color: var(--signal); font-style: italic; }
.dt-path-detail-note { font-size: 14px; line-height: 1.6; color: var(--bone-2); margin: 0; }
.dt-asset-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.dt-asset-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: color-mix(in oklch, var(--ink-2) 50%, transparent); font-size: 13px; line-height: 1.5; color: var(--bone); align-items: center; }
.dt-asset-list .dt-tag { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.1em; padding: 3px 6px; border: 1px solid color-mix(in oklch, var(--signal) 30%, transparent); border-radius: 4px; text-align: center; }
.dt-matrix { display: grid; gap: 2px; }
.dt-matrix-header { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.05em; text-align: center; padding: 6px 0; }
.dt-matrix-row-label { text-align: right; padding-right: 10px; }
.dt-matrix-cell { display: grid; place-items: center; aspect-ratio: 1; font-family: ui-monospace, monospace; font-size: 11px; border-radius: 4px; cursor: pointer; transition: transform 0.15s, outline 0.15s; }
.dt-matrix-cell:hover, .dt-matrix-cell.active { outline: 2px solid var(--signal); transform: scale(1.08); z-index: 2; }
.dt-matrix-cell.axis { outline: 1px solid color-mix(in oklch, var(--signal) 40%, transparent); }
.dt-hover-prompt { margin-top: 14px; font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; }

/* ---- DIAGNOSTIC ---- */
.diag-section { padding: 0 0 80px; }
.diag-card { border: 1px solid var(--signal); border-radius: 20px; padding: 48px; background: linear-gradient(180deg, color-mix(in oklch, var(--signal) 4%, var(--ink)), var(--ink)); box-shadow: 0 0 80px color-mix(in oklch, var(--signal) 10%, transparent); }
.diag-tag { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.diag-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; }
.diag-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; font-weight: 400; margin: 0 0 24px; }
.diag-progress { font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; margin-bottom: 32px; }
.diag-bar { height: 2px; background: var(--line-soft); margin-top: 8px; max-width: 280px; }
.diag-bar-fill { height: 100%; background: var(--signal); transition: width 0.3s; }
.diag-q { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(22px, 2.6vw, 32px); font-style: italic; color: var(--bone); margin-bottom: 28px; max-width: 720px; }
.diag-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.diag-opt { all: unset; cursor: pointer; display: grid; grid-template-columns: 32px 1fr 24px; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--ink); transition: border-color 0.2s, transform 0.2s; font-size: 15px; color: var(--bone); }
.diag-opt:hover { border-color: var(--signal); transform: translateX(4px); }
.diag-opt-num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.1em; }
.diag-opt-arrow { color: var(--muted); justify-self: end; }
.diag-opt:hover .diag-opt-arrow { color: var(--signal); }

/* ---- MID CTA ---- */
.mid-cta { padding: 60px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--ink); }
.mid-cta.quote { background: var(--ink-2); }
.mid-cta-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mid-cta p { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; margin: 0; max-width: 760px; font-style: italic; }

/* ---- INTERSECTION ---- */
.intersection-grid { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; align-items: stretch; }
.intersection-card { border: 1px solid var(--line-soft); border-radius: 18px; padding: 40px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.intersection-tag { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; }
.intersection-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 48px; margin: 12px 0 4px; font-weight: 400; line-height: 1; }
.intersection-card .sub { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--bone-2); font-size: 20px; margin-bottom: 28px; }
.intersection-divider { display: flex; align-items: center; justify-content: center; }
.intersection-fuse { width: 64px; height: 64px; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; font-family: "Instrument Serif", Georgia, serif; font-size: 14px; font-style: italic; box-shadow: 0 0 32px color-mix(in oklch, var(--signal) 50%, transparent); }
.pillar { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.pillar h4 { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; margin: 0 0 6px; font-weight: 400; }
.pillar p { color: var(--bone-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.intersection-delivers { margin-top: 24px; padding: 20px; border-radius: 12px; background: color-mix(in oklch, var(--signal) 8%, transparent); border: 1px solid color-mix(in oklch, var(--signal) 30%, transparent); }
.intersection-delivers .l { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; margin-bottom: 8px; }
.intersection-delivers p { font-size: 14.5px; line-height: 1.6; color: var(--bone); margin: 0; }

/* ---- RESPONSIVE ---- */
.responsive-section { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.resp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.resp-col { padding: 32px; border-radius: 18px; border: 1px solid var(--line-soft); position: relative; }
.resp-col.them { background: color-mix(in oklch, var(--ink) 92%, transparent); }
.resp-col.us { background: linear-gradient(180deg, color-mix(in oklch, var(--signal) 7%, var(--ink)), var(--ink)); border-color: color-mix(in oklch, var(--signal) 50%, transparent); box-shadow: 0 0 60px color-mix(in oklch, var(--signal) 14%, transparent); }
.resp-col-tag { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; padding: 6px 12px; border-radius: 999px; }
.resp-col.them .resp-col-tag { color: var(--bone-2); border: 1px solid var(--line); }
.resp-col.us .resp-col-tag { color: var(--signal); border: 1px solid color-mix(in oklch, var(--signal) 50%, transparent); background: color-mix(in oklch, var(--signal) 8%, transparent); }
.resp-col h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 30px; line-height: 1.15; margin: 18px 0 8px; font-weight: 400; }
.resp-col.them h3 { color: var(--bone-2); }
.resp-col-sub { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.resp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.resp-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; }
.resp-list .ico { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; flex-shrink: 0; margin-top: 2px; }
.resp-col.them .resp-list .ico { background: color-mix(in oklch, var(--bone) 6%, transparent); color: var(--muted); border: 1px solid var(--line-soft); }
.resp-col.us .resp-list .ico { background: var(--signal); color: var(--ink); }
.resp-col.them .resp-list li { color: var(--bone-2); }
.resp-col.us .resp-list li { color: var(--bone); }
.resp-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.resp-foot .signal { color: var(--signal); }

/* ---- RISK ---- */
.risk-section { padding: 100px 0; background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.risk-head { text-align: center; margin-bottom: 56px; }
.risk-head h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin: 12px 0 0; font-weight: 400; }
.risk-head h2 em { color: var(--signal); font-style: italic; }
.risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.risk-card { padding: 28px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--ink); }
.risk-num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; margin-bottom: 16px; }
.risk-t { font-family: "Instrument Serif", Georgia, serif; font-size: 30px; line-height: 1; margin-bottom: 10px; }
.risk-b { color: var(--bone-2); font-size: 14px; line-height: 1.55; }

/* ---- CAPACITY ---- */
.capacity-board { padding: 40px; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.capacity-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--bone-2); margin-bottom: 28px; }
.capacity-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; vertical-align: middle; }
.capacity-slots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; margin-bottom: 32px; }
.capacity-slot { padding: 18px 8px; border-radius: 10px; text-align: center; border: 1px solid var(--line-soft); transition: transform 0.2s; }
.capacity-slot:hover { transform: translateY(-2px); }
.capacity-slot.filled { background: var(--ink-3); color: var(--muted); }
.capacity-slot.open { background: color-mix(in oklch, var(--signal) 12%, var(--ink)); border-color: var(--signal); color: var(--signal); }
.capacity-slot .num { font-family: ui-monospace, monospace; font-size: 16px; font-weight: 500; }
.capacity-slot-label { font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: 0.18em; margin-top: 4px; }
.capacity-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- OFF-PAGE ---- */
.offpage-section { background: var(--ink); }
.offpage-callout { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 24px; margin-bottom: 40px; border: 1px dashed color-mix(in oklch, var(--signal) 40%, transparent); border-radius: 999px; font-family: ui-monospace, monospace; font-size: 11px; color: var(--bone-2); letter-spacing: 0.15em; text-align: center; }
.offpage-callout .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; flex-shrink: 0; }
.offpage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.offpage-card { background: var(--ink-2); padding: 32px 28px; transition: background 0.2s; }
.offpage-card:hover { background: var(--ink-3); }
.offpage-num { font-family: ui-monospace, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.18em; margin-bottom: 16px; }
.offpage-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 30px; line-height: 1.1; margin: 0 0 10px; font-weight: 400; }
.offpage-pitch { color: var(--bone-2); font-size: 14px; line-height: 1.55; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.offpage-card ul { list-style: none; padding: 0; margin: 0; }
.offpage-card li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 13.5px; color: var(--bone); line-height: 1.5; }

/* ---- HERO LEAD FORM ---- */
.hero-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 80px color-mix(in oklch, var(--signal) 8%, transparent); max-width: 480px; margin: 56px auto 0; }
.hero-card-tag { font-family: ui-monospace, monospace; font-size: 10px; color: var(--signal); letter-spacing: 0.18em; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hero-card-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 2s infinite; }
.hero-card h3 { font-family: "Instrument Serif", Georgia, serif; font-size: 32px; line-height: 1.1; margin: 0 0 12px; font-weight: 400; }
.hero-card p { color: var(--bone-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 24px; }
.hero-form { display: flex; flex-direction: column; gap: 10px; }
.hero-form input, .hero-form select { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 14px; color: var(--bone); font-family: inherit; transition: border-color 0.15s; }
.hero-form input:focus, .hero-form select:focus { outline: none; border-color: var(--signal); }
.hero-form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.hero-form-fine { font-family: ui-monospace, monospace; font-size: 9.5px; color: var(--muted); letter-spacing: 0.18em; text-align: center; margin-top: 10px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .post-share { display: none; }
  .setup-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .dt-pane-grid, .dt-graph-wrap, .dt-path-detail { grid-template-columns: 1fr; }
  .dt-head { grid-template-columns: 1fr; gap: 32px; }
  .semantic-stack { grid-template-columns: 1fr; gap: 32px; }
  .frame-grid { grid-template-columns: repeat(5, 1fr); }
  .resp-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .pyramid-layout, .about-layout, .footer-top, .blog-featured-grid, .intersection-grid { grid-template-columns: 1fr; gap: 48px; }
  .intersection-divider { padding: 16px 0; }
  .cialdini-grid { grid-template-columns: 1fr; gap: 32px; }
  .cialdini-detail-card { position: static; }
  .cialdini-name { font-size: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
  .problem-grid, .services-grid, .testimonials-grid, .stats-grid, .credentials, .case-body, .blog-grid, .offpage-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .risk-grid { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-right: 0 !important; padding: 14px 20px; }
  .compare-head { display: none; }
  .compare-them::before { content: "GENERIC: "; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); display: block; margin-bottom: 4px; }
  .compare-us::before { content: "HOLISTIC RADAR: "; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--signal); display: block; margin-bottom: 4px; }
  .section-pad, .dt-section { padding: 80px 0; }
  .post-layout { grid-template-columns: 1fr; padding: 0 24px; }
  .post-toc { position: relative; top: 0; max-height: none; margin-bottom: 32px; padding: 20px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--ink-2); }
  .setup-grid { grid-template-columns: 1fr; }
  .setup-toc { position: relative; top: 0; padding: 20px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--ink-2); margin-bottom: 24px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .author-bio { grid-template-columns: 1fr; }
  .author-bio img { width: 120px; }
  .dt-tabs { grid-template-columns: 1fr; }
  .capacity-slots { grid-template-columns: repeat(6, 1fr); }
  .diag-opts { grid-template-columns: 1fr; }
  .frame-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-meta { gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial-featured { grid-template-columns: 1fr; padding: 32px; }
  .stats-grid, .risk-grid { grid-template-columns: 1fr; }
  .sticky-cta-msg .mono { display: none; }
  .sticky-cta-headline { font-size: 14px; }
  .score-card { grid-template-columns: 1fr; }
  .frame-grid { grid-template-columns: repeat(3, 1fr); }
  .capacity-slots { grid-template-columns: repeat(4, 1fr); }
}
/* ---- WordPress layout override: break sections out of theme content-width ---- */
.entry-content.is-layout-constrained > .nav,
.entry-content.is-layout-constrained > section,
.entry-content.is-layout-constrained > .hero,
.entry-content.is-layout-constrained > .logo-strip,
.entry-content.is-layout-constrained > .dt-section,
.entry-content.is-layout-constrained > .diag-section,
.entry-content.is-layout-constrained > .section-pad,
.entry-content.is-layout-constrained > .mid-cta,
.entry-content.is-layout-constrained > .pyramid-section,
.entry-content.is-layout-constrained > .semantic-section,
.entry-content.is-layout-constrained > .responsive-section {
  max-width: none !important;
  width: 100%;
}

/* Make .entry-content itself full-width so its children can stretch */
.entry-content.is-layout-constrained {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
