:root {
  --paper: #F7F8FA;
  --surface: #FFFFFF;
  --surface-alt: #EEF2F6;
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --muted: #475569;
  --accent: #0B4F6C;
  --accent-hover: #083D54;
  --accent-soft: #E6F0F5;
  --signal: #B45309;
  --signal-soft: #FEF3C7;
  --green: #0F766E;
  --green-soft: #E6F6F4;
  --code-bg: #0F172A;
  --code-border: #1E293B;
  --code-text: #E2E8F0;
  --code-accent: #38BDF8;
  --rule: #CBD5E1;
  --rule-strong: #94A3B8;
  --font-sans: 'Segoe UI Variable Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Cascadia Code', 'JetBrains Mono', 'SFMono-Regular', Consolas, ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: var(--font-mono);
  font-size: 0.87em;
  background: var(--surface-alt);
  color: var(--ink);
  padding: 0.12em 0.38em;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 0.65rem 1rem;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.35rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.brand-host {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
}

.nav-spec {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.24rem 0.58rem;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink) !important;
}

.nav-cta {
  padding: 0.34rem 0.72rem;
  background: var(--accent);
  color: var(--surface) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.68rem 1.15rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.42rem 0.8rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-block {
  width: 100%;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 0.62rem 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-sep {
  color: var(--rule-strong);
}

/* Hero & Ledger */
.hero {
  padding: 3rem 0 2.75rem;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 2.25rem;
  align-items: start;
}

.kicker-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 79, 108, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.3vw, 2.72rem);
  line-height: 1.13;
  letter-spacing: -0.028em;
}

.hero-lead {
  margin: 0 0 1.45rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ledger-card {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--ink);
  padding: 1.25rem 1.35rem;
  min-width: 0;
}

.ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.35rem;
}

.ledger-title {
  font-weight: 700;
  font-size: 0.94rem;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 79, 108, 0.25);
  padding: 0.16rem 0.52rem;
  border-radius: 3px;
}

.status-pill-green {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(15, 118, 110, 0.25);
}

.status-pill-signal {
  color: var(--signal);
  background: var(--signal-soft);
  border-color: rgba(180, 83, 9, 0.25);
}

.ledger-rows {
  margin: 0;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--surface-alt);
  font-size: 0.89rem;
}

.ledger-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

.ledger-row dt {
  color: var(--muted);
}

.ledger-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.ledger-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hub Sections & Filters */
.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
}

.section-tinted {
  background: rgba(255, 255, 255, 0.76);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.65rem;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.44rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--surface-alt);
}

.filter-btn.is-active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.45rem;
  min-width: 0;
}

.guide-card[hidden] {
  display: none;
}

.guide-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.guide-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}

.guide-tier-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}

.guide-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.guide-bullets li + li {
  margin-top: 0.35rem;
}

.guide-card-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.guide-meta-mini {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Sprint Direct Bar */
.sprint-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.sprint-tile {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
}

.sprint-tile-featured {
  border-color: var(--accent);
  border-top: 3px solid var(--accent);
}

.sprint-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.sprint-tile h3 {
  margin: 0;
  font-size: 1.02rem;
}

.sprint-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sprint-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* Article 2-Column Layout */
.article-shell {
  padding: 2.5rem 0 3.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.25rem;
  align-items: start;
}

.article-prose {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tldr-box {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.4rem;
}

.tldr-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.tldr-box p {
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.tldr-box ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.tldr-box li + li {
  margin-top: 0.35rem;
}

.prose-section {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.6rem 1.65rem;
  min-width: 0;
}

.prose-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.42rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  scroll-margin-top: 84px;
}

.prose-section h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.prose-section p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.prose-section p:last-child {
  margin-bottom: 0;
}

.prose-section ul,
.prose-section ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.prose-section li + li {
  margin-top: 0.42rem;
}

/* Dark Technical Code Blocks */
.code-block {
  margin: 1.1rem 0;
  border: 1px solid var(--code-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--code-bg);
  min-width: 0;
}

.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: #020617;
  border-bottom: 1px solid var(--code-border);
  color: #CBD5E1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.copy-code-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--code-accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}

.copy-code-btn:hover {
  background: rgba(56, 189, 248, 0.2);
}

.code-pre {
  margin: 0;
  padding: 0.95rem 1rem;
  overflow-x: auto;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.81rem;
  line-height: 1.5;
  color: var(--code-text);
  tab-size: 2;
}

.code-pre code {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0;
  font-size: inherit;
}

/* Schematic Flow Strip */
.schematic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.schematic-node {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-top: 2px solid var(--ink);
  padding: 0.85rem;
  min-width: 0;
}

.schematic-step {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.schematic-node strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.3rem;
}

.schematic-node p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Data Tables */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  margin: 1rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.data-table thead th {
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody td:first-child {
  font-weight: 600;
}

/* Interactive Guide Workbench Widgets */
.guide-widget {
  background: var(--surface);
  border: 1px solid var(--ink);
  border-top: 4px solid var(--accent);
  padding: 1.5rem;
  min-width: 0;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.2rem;
}

.widget-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.widget-header h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.widget-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.widget-controls {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}

.widget-output {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}

.check-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.58rem 0.72rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
}

.check-item:hover {
  border-color: var(--accent);
}

.check-item input {
  margin-top: 0.22rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.field-input,
.field-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.52rem 0.7rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
}

.field-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.kpi-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.75rem 0.85rem;
  min-width: 0;
}

.kpi-card-accent {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.kpi-card-green {
  border-color: var(--green);
  background: var(--green-soft);
}

.kpi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.kpi-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.15rem;
}

.kpi-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.12rem;
}

.widget-pre-wrap {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 4px;
  overflow: hidden;
}

.widget-pre {
  margin: 0;
  padding: 0.8rem 0.9rem;
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-x: auto;
  max-height: 220px;
  white-space: pre;
}

.widget-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  min-height: 1.2em;
}

/* Video Storyboard Preview Bar */
.scene-stage {
  background: var(--code-bg);
  color: var(--code-text);
  border: 1px solid var(--code-border);
  padding: 0.9rem 1rem;
  border-radius: 4px;
}

.scene-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--code-accent);
  margin-bottom: 0.45rem;
}

.scene-title {
  margin: 0 0 0.25rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
}

.scene-desc {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: #CBD5E1;
}

.scene-progress-track {
  width: 100%;
  height: 6px;
  background: #1E293B;
  border-radius: 3px;
  overflow: hidden;
}

.scene-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--code-accent);
  transition: width 120ms linear;
}

/* ROI Dual Bar */
.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.roi-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.roi-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.roi-bar-track {
  width: 100%;
  height: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  width: 10%;
  transition: width 200ms ease;
}

.roi-bar-evsm {
  background: var(--accent);
}

.roi-bar-agency {
  background: var(--signal);
}

/* FAQ & Conversion Banner */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.2rem;
}

.faq-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.faq-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cta-banner {
  background: var(--ink);
  color: var(--surface);
  padding: 1.75rem;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cta-banner h2 {
  margin: 0;
  font-size: 1.38rem;
  color: #FFFFFF;
}

.cta-banner p {
  margin: 0;
  color: #CBD5E1;
  max-width: 66ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-banner .btn-secondary {
  background: #1E293B;
  color: #F8FAFC;
  border-color: #475569;
}

.cta-banner .btn-secondary:hover {
  background: #334155;
  border-color: #94A3B8;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.side-panel {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  padding: 1.15rem 1.2rem;
}

.side-panel-accent {
  border-top: 3px solid var(--accent);
}

.side-title {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.toc-list,
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-list a,
.related-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.89rem;
  line-height: 1.35;
  display: block;
}

.toc-list a:hover,
.related-list a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.side-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.25rem 0;
}

.side-copy {
  margin: 0 0 0.95rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Footer */
.site-footer {
  padding: 2.1rem 0;
  background: var(--surface);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0 0 0.22rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.87rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 1020px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .sprint-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .guides-grid,
  .widget-grid,
  .schematic-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }
  .prose-section,
  .guide-widget,
  .guide-card {
    padding: 1.15rem;
  }
  .kpi-pair {
    grid-template-columns: 1fr;
  }
}
