:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #18181b;
  --text: #f4f4f5;
  --text-2: #d4d4d8;
  --muted: #9898a2;
  --vice: #d91b52;
  --vice-hover: #be123c;
  --vice-soft: rgba(217, 27, 82, 0.14);
  --vice-border: rgba(217, 27, 82, 0.38);
  --amber: #f59e0b;
  --ok: #10b981;
  --info: #38bdf8;
  --bad: #f43f5e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --shadow-card: 0 1px 0 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.72);
  --shadow-vice: 0 1px 0 0 rgba(255, 255, 255, 0.16) inset, 0 10px 28px -8px rgba(217, 27, 82, 0.45);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 75% 420px at 15% -60px, rgba(217, 27, 82, 0.12), transparent 68%),
    radial-gradient(ellipse 55% 360px at 88% -40px, rgba(245, 158, 11, 0.07), transparent 64%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--text-2); }

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.vice-topline {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--vice) 0%, var(--amber) 42%, rgba(255, 255, 255, 0.08) 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover { opacity: 0.92; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--vice);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 18px -6px rgba(217, 27, 82, 0.65);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--vice);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-vice);
}

.header-cta:hover {
  background: var(--vice-hover);
  transform: translateY(-1px);
}

.header-cta.is-active {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Page Shell & Hero */
.page-shell { padding: 28px 0 84px; }
.legal-shell { max-width: 760px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

.page-hero { margin-bottom: 36px; }

.page-hero.has-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bad);
  background: var(--vice-soft);
  border: 1px solid var(--vice-border);
  padding: 5px 11px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vice);
  box-shadow: 0 0 8px var(--vice);
}

.updated-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.updated-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Verdict Banner */
.verdict-banner {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(217, 27, 82, 0.09) 0%, var(--surface) 54%);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--vice);
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--vice);
  color: var(--text);
}

.verdict-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.verdict-text {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Status Panel */
.status-panel {
  padding: 0;
  overflow: hidden;
  border-color: var(--border-strong);
}

.panel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vice);
  box-shadow: 0 0 10px rgba(217, 27, 82, 0.8);
}

.status-panel h2 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  margin: 0;
  letter-spacing: 0;
}

.panel-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bad);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--vice-soft);
  border: 1px solid var(--vice-border);
}

.status-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-row {
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background-color 0.15s ease;
}

.status-row:last-child { border-bottom: none; }
.status-row:hover { background: rgba(255, 255, 255, 0.025); }

.status-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-value {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.status-tag,
.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-tag.is-official,
.timeline-tag.is-official {
  color: var(--info);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.status-tag.is-reported,
.timeline-tag.is-reported {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-tag.is-unverified,
.timeline-tag.is-unverified {
  color: var(--bad);
  background: rgba(244, 63, 94, 0.11);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.status-note {
  margin: 0;
  padding: 10px 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--vice);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--vice);
  color: var(--text);
  box-shadow: var(--shadow-vice);
}

.btn-primary:hover {
  background: var(--vice-hover);
  transform: translateY(-1px);
  color: var(--text);
}

.btn-outline {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-full { width: 100%; }

/* Section Headers */
.section-block { margin-top: 64px; }

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bad);
  margin-bottom: 6px;
}

.section-lead,
.muted {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.section-link,
.qc-full-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bad);
  white-space: nowrap;
}

.section-link:hover,
.qc-full-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* Quick Checker & Tool Shell */
.quick-checker,
.tool-shell {
  padding: 28px;
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.72) 0%, var(--surface) 100%);
  position: relative;
}

.quick-checker::before,
.tool-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--vice) 0%, var(--amber) 45%, transparent 100%);
}

.qc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.qc-head h2 { margin-bottom: 6px; }

.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.field select,
.field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 36px 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239898a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select:hover,
.field input:hover { border-color: rgba(255, 255, 255, 0.32); }

.field select:focus-visible,
.field input:focus-visible {
  outline: none;
  border-color: var(--vice);
  box-shadow: 0 0 0 3px rgba(217, 27, 82, 0.22);
}

.qc-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.qc-result { flex: 1 1 340px; }

.qc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.qc-status-pill.is-ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--ok);
}

.qc-status-pill.is-mid {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: var(--amber);
}

.qc-status-pill.is-bad {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.34);
  color: var(--bad);
}

.qc-meter { margin: 2px 0 10px; max-width: 440px; }

.qc-meter-track {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.qc-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease, background-color 0.2s ease;
}

.qc-meter-fill.is-ok { background: var(--ok); }
.qc-meter-fill.is-mid { background: var(--amber); }
.qc-meter-fill.is-bad { background: var(--vice); }

.qc-meter-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.qc-summary {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.qc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tool-lead {
  max-width: 68ch;
  margin-bottom: 24px;
}

/* Intel Feed Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 2px;
}

.timeline-meta time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.timeline-body h3 { margin: 0 0 6px; font-size: 17px; }
.timeline-body p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.timeline-source {
  margin-top: 10px !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  color: var(--muted) !important;
}

.timeline-source a {
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 3px;
}

.timeline-source a:hover {
  color: var(--bad);
  text-decoration-color: var(--bad);
}

/* Specs Callout */
.specs-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(217, 27, 82, 0.08) 0%, var(--surface) 58%);
  border-color: var(--border-strong);
}

.specs-callout-copy { flex: 1 1 480px; }
.specs-callout-copy p { margin: 0; font-size: 15px; color: var(--text-2); }
.specs-callout-cta { flex-shrink: 0; }

/* Steps Grid */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.step-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--vice-soft);
  border: 1px solid var(--vice-border);
  color: var(--bad);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-item h3 { margin-bottom: 6px; }
.step-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }

/* Tier Cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tier-card {
  padding: 24px;
  border-top: 2px solid var(--vice);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.tier-card:hover { transform: translateY(-2px); border-color: var(--border-strong); border-top-color: var(--vice); }

.tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--bad);
  background: var(--vice-soft);
  border: 1px solid var(--vice-border);
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}

.tier-card h3 { margin-bottom: 8px; }
.tier-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Two-Column Content Layout + Sticky TOC */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 44px;
  align-items: start;
}

.prose { min-width: 0; font-family: var(--font-sans); }

.prose h2 {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}

.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.prose p { font-family: var(--font-sans); font-size: 16.5px; color: var(--text-2); line-height: 1.72; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { font-family: var(--font-sans); font-size: 16px; padding-left: 22px; color: var(--text-2); margin: 0 0 18px; }
.prose li { margin-bottom: 9px; line-height: 1.68; }
.prose li::marker { color: var(--vice); font-weight: 700; }

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--vice-border);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--bad);
  text-decoration-color: var(--bad);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Data Tables & Status Bands */
.status-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 40px;
  padding: 12px 16px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border-strong);
  border-bottom: none;
  background: var(--surface-2);
}

.status-band-head.is-ok {
  border-left: 3px solid var(--ok);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, var(--surface-2) 55%);
}

.status-band-head.is-mid {
  border-left: 3px solid var(--amber);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, var(--surface-2) 55%);
}

.status-band-kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  color: var(--ok);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-band-head.is-mid .status-band-kicker {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
}

.status-band-kicker.is-bad {
  color: var(--bad);
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.32);
}

.status-band-head h3 {
  margin: 0 !important;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}

.status-band-head + .table-wrap {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.status-collapse {
  margin: 40px 0 28px;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--bad);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.status-collapse-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.1) 0%, var(--surface-2) 55%);
}

.status-collapse-summary::-webkit-details-marker { display: none; }

.status-collapse-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.status-collapse-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.status-collapse-chevron::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--bad);
  line-height: 1;
}

.status-collapse[open] .status-collapse-chevron::after { content: "−"; }

.status-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-top: 1px solid var(--border);
}

.status-mini-card {
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.status-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.status-mini-top strong {
  font-size: 14.5px;
  color: var(--text);
}

.status-mini-card p {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--text-2);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.prose thead {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
}

.prose th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.prose td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.5;
}

.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }

/* Sidebar TOC & CTA */
.toc-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toc-card { padding: 18px 20px; }

.toc-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--border-strong);
}

.toc-nav a {
  display: block;
  padding: 7px 8px 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.toc-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.toc-nav a.is-active {
  color: #ffffff;
  border-left-color: var(--vice);
  background: rgba(217, 27, 82, 0.14);
  font-weight: 600;
}

.side-cta-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(217, 27, 82, 0.1) 0%, var(--surface) 60%);
  border-color: var(--vice-border);
}

.side-cta-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bad);
  margin-bottom: 6px;
}

.side-cta-card h3 { font-size: 16px; margin-bottom: 8px; }
.side-cta-card p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 10px; }

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] { border-color: var(--border-strong); }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--vice);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr;
  gap: 32px;
}

.footer-copy {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}

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

/* Responsive */
@media (max-width: 960px) {
  .page-hero.has-split { grid-template-columns: 1fr; gap: 24px; }
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc-sidebar { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { overflow-x: clip; }
  .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 12px;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .site-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    padding: 8px 0 2px;
    border-top: 1px solid var(--border);
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .site-nav a {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 10px;
  }
  .header-cta {
    margin-left: auto;
    padding: 8px 14px;
    font-size: 13px;
  }
  .steps-list,
  .tier-grid,
  .status-card-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-meta { flex-direction: row; align-items: center; }
}

@media (max-width: 640px) {
  .container {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 12px; letter-spacing: 0.04em; }
  .header-cta { padding: 7px 12px; font-size: 12.5px; }
  .header-cta .cta-icon { display: none; }
  .page-shell { padding: 24px 0 60px; }
  .quick-checker, .tool-shell { padding: 20px; }
  .qc-grid { grid-template-columns: 1fr; }
  .qc-actions, .qc-actions .btn, .hero-actions .btn { width: 100%; }
  .specs-callout { padding: 22px; }
  .specs-callout-cta { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
