/* ============================================================
   BUILDER GROWTH OS — Inference.ai design system
   Tokens pulled from inference.ai production CSS.
   Near-black blue canvas, hairline borders, magenta accent,
   NVIDIA green reserved for GPU/Engine fleet chips only.
   ============================================================ */

:root {
  --bg: #0a0a14;
  --surface: #14141c;
  --elevated: #1c1c26;
  --line: #ffffff14;
  --line-strong: #ffffff29;
  --text: #ffffff;
  --muted: #ffffff9e;
  --dim: #ffffff6b;
  --pink: #e91e8c;
  --pink-hi: #ff4ba8;
  --pink-lo: #be185d;
  --pink-glow: #e91e8c59;
  --pink-soft: #e91e8c1f;
  --nv-green: #76b900;
  --display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1240px;
  --gutter: 32px;
  --section-y: 140px;
}

@media (max-width: 900px) { :root { --section-y: 96px; } }
@media (max-width: 640px) { :root { --section-y: 72px; --gutter: 20px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pink); color: #fff; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: 0.95em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--pink-hi);
}

/* codename treatment — GHOST / MAESTRO / ENGINE / ACADEMY */
.cn {
  font-family: var(--mono);
  font-size: 0.82em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 1px solid var(--pink);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0a14e6;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--text);
}

.brand-mark { color: var(--pink); font-size: 11px; }
.brand-name { font-weight: 700; }
.brand-dot { color: var(--dim); }
.brand-sep { color: var(--dim); }
.brand-app { color: var(--muted); font-size: 11px; }

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.topbar-clock { color: var(--dim); }

@media (max-width: 720px) {
  .brand-app, .topbar-clock { display: none; }
}

/* ============================================================
   TAB NAV
   ============================================================ */
.tabnav {
  position: sticky;
  top: 49px;
  z-index: 40;
  background: #0a0a14e6;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.tabnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabnav-inner::-webkit-scrollbar { display: none; }

.tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 18px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.tab:hover { color: var(--text); }

.tab[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--pink);
}

.tab-num {
  color: var(--dim);
  margin-right: 7px;
}

.tab[aria-selected="true"] .tab-num { color: var(--pink); }

/* ============================================================
   PANELS — shared
   ============================================================ */
.panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--section-y) * 0.55) var(--gutter) var(--section-y);
  animation: panel-in 0.35s ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.kicker {
  color: var(--dim);
  margin-bottom: 32px;
}

.panel-title {
  font-family: var(--display);
  font-size: clamp(34px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 900px;
}

.panel-sub {
  color: var(--muted);
  max-width: 640px;
  margin-top: 18px;
  margin-bottom: 40px;
}

.accent { color: var(--pink); }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: calc(var(--section-y) * 0.5) 0;
}

.section-label {
  color: var(--dim);
  margin-bottom: 26px;
}

.aside {
  color: var(--dim);
  max-width: 820px;
  line-height: 2;
}

/* callout (assumption notes) */
.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  background: var(--surface);
  color: var(--muted);
  padding: 13px 16px;
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 880px;
}
.callout strong { color: var(--text); }

/* ============================================================
   EDITABLE PLACEHOLDERS — pink underline per brand spec
   ============================================================ */
.ph {
  color: var(--pink-hi);
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px dashed var(--pink-glow);
  padding: 0 2px;
  cursor: text;
  transition: background 0.15s ease;
  word-break: break-word;
}

.ph:hover, .ph:focus {
  background: var(--pink-soft);
  outline: none;
}

.ph.ph-filled {
  color: var(--text);
  border-bottom-color: var(--line-strong);
  border-bottom-style: solid;
}

.edit-hint {
  color: var(--dim);
  margin-top: 32px;
}

.ph-chip {
  display: inline-block;
  border: 1px dashed var(--pink-glow);
  color: var(--pink-hi);
  padding: 0 6px;
  margin-right: 6px;
}

/* ============================================================
   TAB 0 — OPERATOR
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.display {
  font-family: var(--display);
  font-size: clamp(40px, 9.6vw, 88px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-side { padding-bottom: 8px; }

.hero-role {
  color: var(--dim);
  line-height: 1.9;
  margin-bottom: 18px;
}

.hero-positioning {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-contact {
  color: var(--muted);
  line-height: 2.1;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
}

/* proof tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  background: var(--surface);
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  transition: background 0.15s ease;
}

.tile:hover { background: var(--elevated); }

.tile-tag { color: var(--pink); }

.tile-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tile-body { color: var(--muted); font-size: 14.5px; flex: 1; }

.tile-foot {
  color: var(--dim);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* why — two col */
.two-col {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
}

@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.why-list { list-style: none; max-width: 720px; }

.why-list li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.6;
}

.why-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.why-list strong { color: var(--text); font-weight: 600; }

/* memo */
.memo {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.memo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 30px 0;
}

.memo-id { color: var(--pink); margin-bottom: 8px; }

.memo-title {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.memo-date { color: var(--muted); line-height: 2; }

.memo-note {
  color: var(--dim);
  padding: 14px 30px 0;
}

.week {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 30px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.week:first-of-type { margin-top: 18px; }

.week-num {
  color: var(--pink);
  font-size: 15px;
  font-weight: 700;
}

.week-body h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.week-body p { color: var(--muted); font-size: 14.5px; max-width: 720px; }

.kpis {
  color: var(--text);
  margin-top: 12px;
  line-height: 1.8;
}

@media (max-width: 560px) {
  .week { grid-template-columns: 1fr; gap: 8px; }
}

/* scoreboard */
.scoreboard {
  border-top: 1px solid var(--line-strong);
  padding: 26px 30px 30px;
  margin-top: 28px;
  background: var(--bg);
}

.scoreboard-title { color: var(--dim); margin-bottom: 18px; }

.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.score {
  background: var(--surface);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-num {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pink);
}

.score-label { color: var(--dim); font-size: 10px; letter-spacing: 0.1em; }

@media (max-width: 860px) { .scoreboard-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .scoreboard-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   TAB 1 — ROI CALCULATOR
   ============================================================ */
.roi-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 860px) { .roi-layout { grid-template-columns: 1fr; } }

.roi-form {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.field-row { display: flex; gap: 14px; }

.field label, .field .field-label { color: var(--dim); }

.field select,
.field input {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  padding: 11px 12px;
  border-radius: 0;
  width: 100%;
  transition: border-color 0.15s ease;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff9e' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.field select:hover,
.field input:hover { border-color: var(--dim); }

.field select:focus-visible,
.field input:focus-visible {
  outline: none;
  border-color: var(--pink);
}

.field-hint { color: var(--dim); line-height: 1.7; }

/* GPU chips — the ONLY place NVIDIA green appears */
.gpu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gpu-chip {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  cursor: pointer;
  border-radius: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.gpu-chip:hover { border-color: var(--nv-green); color: var(--text); }

.gpu-chip[aria-checked="true"] {
  border-color: var(--nv-green);
  color: var(--nv-green);
  background: #76b90014;
  font-weight: 700;
}

/* results */
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
}

.roi-bar-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.roi-bar-label { color: var(--dim); }

.roi-bar-track {
  height: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.roi-bar {
  height: 100%;
  width: 0%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.roi-bar-engine { background: var(--pink); box-shadow: 0 0 12px var(--pink-glow); }
.roi-bar-cloud  { background: var(--dim); opacity: 0.55; }

.roi-bar-value {
  color: var(--text);
  font-size: 13px;
  min-width: 86px;
  text-align: right;
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.roi-stat {
  background: var(--surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-stat-num {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.roi-stat-label {
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

@media (max-width: 560px) { .roi-stats { grid-template-columns: 1fr; } }

.roi-footnote { color: var(--dim); line-height: 1.9; }

/* ============================================================
   TABLES (pipeline + campuses + playbook)
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

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

.data-table th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.12s ease; }
.data-table tbody tr:hover { background: var(--elevated); }

.data-table td:first-child { color: var(--text); font-weight: 500; }

.data-table.compact { min-width: 560px; }
.data-table.compact td { font-size: 13.5px; }

/* sortable headers */
.th-sort {
  appearance: none;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.th-sort::after {
  content: "↕";
  margin-left: 7px;
  opacity: 0.45;
}

th[aria-sort="ascending"] .th-sort,
th[aria-sort="descending"] .th-sort { color: var(--pink-hi); }
th[aria-sort="ascending"] .th-sort::after  { content: "↑"; opacity: 1; }
th[aria-sort="descending"] .th-sort::after { content: "↓"; opacity: 1; }

/* score bars in campus table */
.score-cell { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.score-cell .mini-track {
  flex: 1;
  height: 4px;
  background: var(--line);
  overflow: hidden;
  max-width: 120px;
}
.score-cell .mini-fill { height: 100%; background: var(--pink); }
.score-cell .mono { color: var(--text); }

/* ============================================================
   PILLS (pipeline stages + tiers)
   ============================================================ */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 3px 9px;
  color: var(--muted);
  white-space: nowrap;
}

.pill.t1 { border-color: var(--pink); color: var(--pink-hi); }
.pill.t2 { border-color: var(--line-strong); color: var(--text); }
.pill.t3 { border-color: var(--line); color: var(--dim); }

/* stage select styled as a pill */
.stage-select {
  appearance: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 4px 22px 4px 9px;
  cursor: pointer;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23ffffff6b' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.stage-select.st-identified { border-color: var(--line-strong); color: var(--muted); }
.stage-select.st-contacted  { border-color: var(--line-strong); color: var(--text); }
.stage-select.st-meeting    { border-color: var(--pink-lo); color: var(--pink-hi); }
.stage-select.st-activated  { border-color: var(--pink); color: var(--pink-hi); background-color: var(--pink-soft); }

.stage-select option { background: var(--surface); color: var(--text); }

/* pipeline summary chips */
.pipeline-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--dim);
}

.sum-chip {
  border: 1px solid var(--line);
  padding: 5px 11px;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.sum-chip b { color: var(--pink-hi); font-weight: 700; }

.pipeline-actions { margin-top: 14px; }

.btn-ghost {
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-ghost:hover {
  color: var(--pink-hi);
  border-color: var(--pink);
  box-shadow: 0 0 14px var(--pink-glow);
}

/* ============================================================
   EMAILS
   ============================================================ */
.emails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.email-card {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.email-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.email-title { color: var(--pink); }

.copy-btn {
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  color: var(--pink-hi);
  border-color: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}
.copy-btn.copied { color: var(--pink-hi); border-color: var(--pink); background: var(--pink-soft); }

.email-subject {
  padding: 14px 18px 0;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.email-body {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-wrap;
  padding: 12px 18px 20px;
  letter-spacing: 0;
}

/* ============================================================
   TAB 3 — PLAYBOOK DOC
   ============================================================ */
.doc { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.doc-phase { background: var(--surface); padding: clamp(26px, 3.5vw, 44px); }

.doc-phase-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.doc-num { color: var(--pink); }

.doc-phase-head h3 {
  font-family: var(--display);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.doc-body { display: flex; flex-direction: column; gap: 22px; }

.doc-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.doc-cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 860px) {
  .doc-cols, .doc-cols.three { grid-template-columns: 1fr; }
}

.doc-label { color: var(--dim); margin-bottom: 10px; }
.doc-label:not(:first-child) { margin-top: 18px; }

.doc-body ul { list-style: none; }
.doc-body li {
  color: var(--muted);
  font-size: 14.5px;
  padding-left: 16px;
  position: relative;
  margin-bottom: 9px;
}
.doc-body li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dim);
}
.doc-body li strong { color: var(--text); font-weight: 600; }
.doc-body li .mono { color: var(--pink); margin-right: 4px; }

.doc-rules li { font-size: 14.5px; }

.doc-check {
  color: var(--dim);
  line-height: 1.9;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.funnel {
  color: var(--text);
  line-height: 2;
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  padding: 13px 16px;
  background: var(--bg);
}

/* ============================================================
   TAB 5 — COMMUNITY GRID
   ============================================================ */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 1020px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.15s ease;
}

.card:hover { background: var(--elevated); }

.card-tag { color: var(--dim); }

.card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}

.card-row { font-size: 14px; color: var(--muted); }
.card-row .card-k {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}

.card-products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

.prod-pill {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 2px 8px;
}

.prod-pill.hot { border-color: var(--pink); color: var(--pink-hi); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-tag { color: var(--dim); }

.footer-disclaimer {
  color: var(--dim);
  font-size: 12.5px;
  max-width: 720px;
  line-height: 1.7;
}
