/* RoleWriter — Role Design & Org Blueprint Platform
   Slate + emerald architectural blueprint theme */

:root {
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --paper: #FFFFFF;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --emerald-soft: rgba(16, 185, 129, 0.1);
  --emerald-mid: rgba(16, 185, 129, 0.18);
  --warn: #F59E0B;
  --warn-soft: rgba(245, 158, 11, 0.12);
  --danger: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --ink: var(--slate-900);
  --ink-muted: var(--slate-600);
  --ink-soft: var(--slate-500);
  --border: var(--slate-200);
  --border-strong: #CBD5E1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 2px 12px rgba(15, 23, 42, 0.05);
  --shadow-emerald: 0 12px 40px rgba(16, 185, 129, 0.15);
  --max: 1280px;
  --rule: 1px solid var(--border);
  --gradient-hero: linear-gradient(165deg, var(--slate-50) 0%, var(--slate-100) 50%, #E8F5F0 100%);
  --gradient-dark: linear-gradient(165deg, var(--slate-900) 0%, var(--slate-800) 100%);
  --gradient-cta: linear-gradient(135deg, var(--slate-900) 0%, #134E4A 100%);
  --grid-line: rgba(16, 185, 129, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea {
  font: inherit; color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 10px 14px; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}
textarea { resize: vertical; min-height: 100px; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

a { color: var(--emerald-dark); text-decoration: none; transition: color 0.15s; }
a:not(.btn):not(.nav-link):not(.announce-cta):not(.lifecycle-node):not(.bento-cell):hover { color: var(--emerald); }

.site-shell { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }
.container { width: min(var(--max), 94vw); margin: 0 auto; }
.container.narrow { max-width: 720px; }

h1, h2 { color: var(--ink); font-family: var(--serif); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { color: var(--ink); font-family: var(--sans); line-height: 1.3; font-weight: 600; font-size: 1.1rem; }
h4 { font-size: 0.92rem; font-weight: 600; color: var(--ink); }

.kicker {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--emerald-dark); margin-bottom: 10px;
}
.kicker--light { color: var(--emerald-light); }
.text-light { color: #fff !important; }

.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--alt { background: var(--paper); border-top: var(--rule); border-bottom: var(--rule); }
.section--dark { background: var(--gradient-dark); color: var(--slate-400); }
.section--dark h2 { color: #fff; }
.section-sub { color: var(--ink-soft); margin-top: 10px; line-height: 1.75; max-width: 640px; font-size: 0.92rem; }
.section-sub--light { color: var(--slate-400); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.page-lead { font-size: 1.05rem; line-height: 1.75; max-width: 56ch; color: var(--ink-muted); margin-top: 14px; }
.page-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.page-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: var(--rule); }

@keyframes rw-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes rw-typing { from { opacity: 0.4; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius-md);
  font-family: var(--sans); font-size: 0.84rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-emerald); }
.btn:active { transform: translateY(0); }
a.btn { text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 0.78rem; }
.btn-lg { padding: 14px 26px; font-size: 0.92rem; }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn-primary { background: var(--emerald); color: #fff; border-color: var(--emerald); }
a.btn-primary, a.btn-primary:hover { color: #fff !important; }
.btn-primary:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); }

.btn-soft { background: var(--emerald-soft); border-color: transparent; color: var(--emerald-dark); }
.btn-soft:hover { background: var(--emerald-mid); }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink-muted); box-shadow: none; }
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald-dark); background: var(--emerald-soft); box-shadow: none; transform: none; }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; box-shadow: none; }

.btn-social { background: var(--paper); border: var(--rule); color: var(--ink); flex: 1; box-shadow: var(--shadow-soft); }
.text-link { font-weight: 600; font-size: 0.88rem; }

.announce-bar { background: var(--slate-900); color: var(--slate-400); font-size: 0.78rem; border-bottom: 1px solid var(--slate-800); }
.announce-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.announce-primary { display: flex; align-items: center; gap: 10px; }
.announce-badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--emerald-soft); color: var(--emerald-light); padding: 3px 8px; border-radius: 999px; }
.announce-slogan { color: #fff; font-weight: 600; }
.announce-detail { display: none; }
.announce-cta { color: var(--emerald-light); font-weight: 600; white-space: nowrap; }
.announce-cta:hover { color: #fff; }

.site-header { background: rgba(248, 250, 252, 0.92); backdrop-filter: blur(12px); border-bottom: var(--rule); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.logo-mark { display: flex; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; font-weight: 700; color: var(--ink); }
.brand-text span { font-size: 0.68rem; color: var(--ink-soft); display: none; }

.nav-main { display: none; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius); font-size: 0.84rem; font-weight: 500; color: var(--ink-muted); transition: background 0.15s, color 0.15s; }
.nav-link:hover { background: var(--emerald-soft); color: var(--emerald-dark); }
.nav-icon { display: flex; opacity: 0.7; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: flex; font-size: 1.2rem; padding: 6px 10px; border-radius: var(--radius); color: var(--ink); }

@media (min-width: 900px) {
  .announce-detail { display: block; }
  .brand-text span { display: block; }
  .nav-main { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .nav-main.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: var(--rule); padding: 12px 3vw; box-shadow: var(--shadow); }
  .site-top { position: relative; }
}

.blueprint-hero { background: var(--gradient-hero); position: relative; overflow: hidden; }
.blueprint-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none; opacity: 0.6;
}
.blueprint-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; }
.blueprint-lead { font-size: 1.05rem; line-height: 1.75; max-width: 52ch; margin: 16px 0 24px; color: var(--ink-muted); }
.blueprint-hero-metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.metric-pill { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 12px 18px; box-shadow: var(--shadow-soft); }
.metric-pill strong { display: block; font-size: 1.3rem; font-family: var(--serif); color: var(--ink); line-height: 1.1; }
.metric-pill span { font-size: 0.75rem; color: var(--ink-soft); }

.blueprint-workbench { background: var(--slate-900); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25); border: 1px solid var(--slate-700); }
.workbench-chrome { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; background: var(--slate-800); border-bottom: 1px solid var(--slate-700); font-size: 0.75rem; color: var(--slate-400); }
.workbench-status { display: flex; align-items: center; gap: 6px; color: var(--emerald-light); font-weight: 600; }
.workbench-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: rw-pulse 1.5s infinite; }
.workbench-role { flex: 1; font-family: var(--mono); }
.workbench-step { color: var(--slate-500); }

.workbench-columns { display: grid; grid-template-columns: 1fr; min-height: 380px; }
.workbench-col { padding: 16px; border-bottom: 1px solid var(--slate-700); }
.workbench-col h3 { color: var(--slate-300); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; font-family: var(--mono); }
.workbench-col--wizard { background: var(--slate-900); }
.workbench-col--charter { background: var(--slate-800); }
.workbench-col--validate { background: var(--slate-900); border-bottom: none; }

.wizard-steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wizard-step { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: var(--radius); font-size: 0.78rem; color: var(--slate-500); border: 1px solid transparent; }
.wizard-step span { color: var(--slate-300); font-weight: 500; }
.wizard-step em { font-style: normal; font-size: 0.7rem; color: var(--slate-500); }
.wizard-step--done { opacity: 0.6; }
.wizard-step--done span::before { content: "✓ "; color: var(--emerald); }
.wizard-step--active { background: var(--emerald-soft); border-color: rgba(16,185,129,0.3); color: var(--emerald-light); }
.wizard-step--active span { color: #fff; }
.wizard-input { background: var(--slate-800); border-radius: var(--radius); padding: 10px; font-size: 0.78rem; }
.wizard-input label { font-size: 0.65rem; color: var(--slate-500); margin-bottom: 4px; }
.wizard-input p { color: var(--slate-300); line-height: 1.5; }

.charter-doc { font-size: 0.8rem; }
.charter-doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--slate-400); font-size: 0.72rem; font-family: var(--mono); }
.charter-badge { background: var(--emerald-soft); color: var(--emerald-light); padding: 2px 8px; border-radius: 999px; font-size: 0.65rem; }
.charter-section { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--slate-700); animation: rw-reveal 0.5s ease both; }
.charter-section h4 { color: var(--slate-400); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.charter-section p, .charter-section li { color: var(--slate-300); line-height: 1.55; font-size: 0.78rem; }
.charter-section ul { padding-left: 14px; list-style: disc; }
.charter-section--live { border-left: 2px solid var(--emerald); padding-left: 10px; }
.charter-section--typing p { animation: rw-typing 1.2s ease infinite alternate; }

.validate-item { display: flex; gap: 10px; padding: 10px; border-radius: var(--radius); margin-bottom: 8px; font-size: 0.78rem; background: var(--slate-800); }
.validate-item strong { color: var(--slate-200); display: block; font-size: 0.8rem; }
.validate-item p { color: var(--slate-500); font-size: 0.72rem; margin-top: 2px; }
.validate-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; font-weight: 700; }
.validate-item--ok .validate-icon { background: var(--emerald-soft); color: var(--emerald); }
.validate-item--warn .validate-icon { background: var(--warn-soft); color: var(--warn); }
.validate-item--conflict .validate-icon { background: var(--danger-soft); color: var(--danger); }

@media (min-width: 900px) {
  .blueprint-hero-grid { grid-template-columns: 1fr 1.15fr; }
  .workbench-columns { grid-template-columns: 200px 1fr 180px; }
  .workbench-col { border-bottom: none; border-right: 1px solid var(--slate-700); }
  .workbench-col--validate { border-right: none; }
}

.lifecycle-track { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; align-items: stretch; }
.lifecycle-node {
  flex: 1; min-width: 140px; padding: 20px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); color: inherit; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lifecycle-node:hover { background: rgba(255,255,255,0.08); border-color: var(--emerald); transform: translateY(-2px); color: inherit; }
.lifecycle-node--active { background: rgba(16,185,129,0.12); border-color: var(--emerald); }
.lifecycle-num { font-family: var(--mono); font-size: 0.65rem; color: var(--emerald-light); letter-spacing: 0.08em; }
.lifecycle-node h3 { color: #fff; font-size: 0.92rem; margin: 8px 0 4px; font-family: var(--sans); font-weight: 600; }
.lifecycle-node p { font-size: 0.75rem; color: var(--slate-500); line-height: 1.45; }
.lifecycle-connector { display: none; }

@media (min-width: 1100px) {
  .lifecycle-track { flex-wrap: nowrap; }
  .lifecycle-connector { display: block; width: 24px; height: 2px; background: var(--emerald); opacity: 0.3; align-self: center; flex-shrink: 0; }
}

.bento-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bento-cell {
  background: var(--paper); border: var(--rule); border-radius: var(--radius-lg);
  padding: 24px; text-decoration: none; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 10px; min-height: 180px;
}
.bento-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--emerald); color: inherit; }
.bento-cell--dark { background: var(--slate-900); border-color: var(--slate-700); color: var(--slate-300); }
.bento-cell--dark h3 { color: #fff; }
.bento-cell--dark:hover { border-color: var(--emerald); }
.bento-cell--wide { grid-column: span 1; }
.bento-cell--tall { min-height: 240px; }
.bento-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald-dark); }
.bento-cell--dark .bento-tag { color: var(--emerald-light); }
.bento-cell h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--ink); line-height: 1.25; }
.bento-cell p { font-size: 0.85rem; line-height: 1.6; flex: 1; }

.org-graph-mini { height: 100px; margin-bottom: 8px; color: var(--slate-500); }
.org-svg { width: 100%; height: 100%; }

.bento-mini-raci { display: flex; gap: 6px; margin-top: auto; }
.raci-pill { width: 28px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; font-family: var(--mono); }
.raci-pill--r { background: var(--emerald-soft); color: var(--emerald-dark); }
.raci-pill--a { background: rgba(99,102,241,0.12); color: #6366F1; }
.raci-pill--c { background: var(--warn-soft); color: var(--warn); }
.raci-pill--i { background: var(--slate-100); color: var(--slate-500); }

.alignment-dots { display: flex; gap: 6px; margin-top: auto; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--ok { background: var(--emerald); }
.dot--pending { background: var(--warn); }
.dot--conflict { background: var(--danger); }

.scorecard-gauge { margin-top: auto; text-align: center; }
.scorecard-gauge svg { width: 100px; margin: 0 auto; color: var(--slate-300); }
.scorecard-gauge span { font-size: 0.72rem; color: var(--ink-soft); }

.brief-split-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.brief-pane { background: var(--slate-100); border-radius: var(--radius); padding: 10px; font-size: 0.72rem; }
.brief-pane span { font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; font-size: 0.68rem; }
.brief-pane--public { background: var(--emerald-soft); }

@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-cell--wide { grid-column: span 2; }
}

.org-preview-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.org-issue-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.org-issue-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.issue-badge { font-family: var(--mono); font-size: 0.62rem; padding: 3px 8px; border-radius: 999px; font-weight: 500; flex-shrink: 0; }
.issue-badge--gap { background: var(--danger-soft); color: var(--danger); }
.issue-badge--overlap { background: var(--warn-soft); color: var(--warn); }
.issue-badge--bottleneck { background: rgba(99,102,241,0.12); color: #6366F1; }

.org-map-panel { background: var(--slate-900); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--slate-700); }
.org-map-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--slate-800); color: var(--slate-400); font-size: 0.78rem; border-bottom: 1px solid var(--slate-700); }
.org-map-canvas { position: relative; height: 280px; padding: 20px; }
.org-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  background: var(--slate-700); color: #fff; padding: 6px 12px; border-radius: var(--radius);
  font-size: 0.72rem; font-weight: 600; border: 1px solid var(--slate-600); z-index: 2;
}
.org-node--hub { background: var(--emerald); border-color: var(--emerald-dark); }
.org-node--warn { border-color: var(--warn); box-shadow: 0 0 0 2px var(--warn-soft); }
.org-node--conflict { border-color: var(--danger); box-shadow: 0 0 0 2px var(--danger-soft); }
.org-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--slate-600); pointer-events: none; }

@media (min-width: 900px) { .org-preview-grid { grid-template-columns: 1fr 1.1fr; } }

.hiring-flow-strip { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.flow-stage { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.flow-stage::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--emerald); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.flow-icon { font-size: 1.5rem; margin-bottom: 12px; }
.flow-stage h3 { margin-bottom: 8px; }
.flow-stage p { font-size: 0.88rem; margin-bottom: 14px; }

@media (min-width: 768px) { .hiring-flow-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hiring-flow-strip { grid-template-columns: repeat(4, 1fr); } }

.integration-orbit { position: relative; width: min(420px, 90vw); height: 420px; margin: 40px auto; }
.integration-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gradient-dark); border: 2px solid var(--emerald);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; z-index: 2; box-shadow: var(--shadow-emerald);
}
.integration-core strong { font-size: 0.85rem; }
.integration-core span { font-size: 0.62rem; color: var(--slate-400); margin-top: 4px; }
.integration-satellite {
  position: absolute; top: 50%; left: 50%;
  transform: rotate(var(--angle)) translateY(-170px) rotate(calc(-1 * var(--angle)));
  background: var(--paper); border: var(--rule); border-radius: var(--radius-md);
  padding: 10px 14px; text-align: center; min-width: 100px; box-shadow: var(--shadow-soft);
}
.integration-satellite span { display: block; font-weight: 600; font-size: 0.78rem; color: var(--ink); }
.integration-satellite em { font-style: normal; font-size: 0.65rem; color: var(--ink-soft); }

.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.proof-stat { text-align: center; padding: 20px; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); }
.proof-stat strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); color: #fff; line-height: 1.1; }
.proof-stat span { font-size: 0.78rem; color: var(--slate-500); margin-top: 6px; display: block; }
.proof-quote { border-left: 3px solid var(--emerald); padding-left: 24px; max-width: 640px; }
.proof-quote p { font-family: var(--serif); font-size: 1.2rem; color: var(--slate-200); line-height: 1.55; font-style: italic; }
.proof-quote cite { display: block; margin-top: 14px; font-size: 0.82rem; color: var(--slate-500); font-style: normal; }

@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }

.cta-band, .blueprint-cta-band { background: var(--gradient-cta); color: var(--slate-400); text-align: center; }
.cta-band-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-band-inner p { max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }
.cta-band-inner .btn-row { justify-content: center; }

.page-hero, .blueprint-page-hero { background: var(--gradient-hero); padding: clamp(48px, 6vw, 72px) 0; border-bottom: var(--rule); position: relative; overflow: hidden; }
.blueprint-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}

.page-feature { padding: clamp(40px, 5vw, 64px) 0; }
.page-feature h2 { margin-bottom: 10px; }
.feature-note { margin-top: 20px; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

.workspace-demo { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.workspace-col { background: var(--slate-100); border-radius: var(--radius-lg); padding: 20px; border: var(--rule); }
.workspace-col h3 { font-size: 0.85rem; margin-bottom: 12px; color: var(--emerald-dark); }
.workspace-col li { font-size: 0.85rem; padding: 4px 0; color: var(--ink-muted); }
.workspace-col--highlight { background: var(--emerald-soft); border-color: rgba(16,185,129,0.25); }
@media (min-width: 768px) { .workspace-demo { grid-template-columns: repeat(3, 1fr); } }

.charter-fields-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.charter-field { background: var(--slate-100); border-radius: var(--radius-md); padding: 16px; border: var(--rule); }
.charter-field h4 { margin-bottom: 6px; }
.charter-field p { font-size: 0.82rem; }

.scorecard-preview { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.scorecard-timeframe, .scorecard-standards { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.scorecard-timeframe h3 { margin-bottom: 12px; font-size: 0.95rem; }
.scorecard-timeframe li { font-size: 0.85rem; padding: 6px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: baseline; }
.indicator-type { font-family: var(--mono); font-size: 0.62rem; background: var(--emerald-soft); color: var(--emerald-dark); padding: 2px 6px; border-radius: 4px; flex-shrink: 0; }
@media (min-width: 768px) { .scorecard-preview { grid-template-columns: 1fr 1fr; } .scorecard-standards { grid-column: span 2; } }

.raci-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 0.82rem; }
.raci-legend span { display: flex; align-items: center; gap: 6px; }

.scenario-tabs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.scenario-tab { padding: 8px 16px; border-radius: var(--radius); border: var(--rule); font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); background: var(--paper); }
.scenario-tab--active { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.impact-list { margin-top: 20px; }
.impact-list li { padding: 10px 0; border-bottom: var(--rule); font-size: 0.88rem; }

.skill-matrix { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.skill-col { border-radius: var(--radius-lg); padding: 20px; border: var(--rule); }
.skill-col--must { background: var(--emerald-soft); }
.skill-col--train { background: var(--slate-100); }
.skill-col h4 { margin-bottom: 10px; }
.skill-col li { font-size: 0.85rem; padding: 4px 0; }
@media (min-width: 600px) { .skill-matrix { grid-template-columns: 1fr 1fr; } }

.interview-stages { margin-top: 20px; counter-reset: stage; }
.interview-stages li { padding: 12px 0 12px 36px; border-bottom: var(--rule); font-size: 0.88rem; position: relative; counter-increment: stage; }
.interview-stages li::before { content: counter(stage); position: absolute; left: 0; top: 12px; width: 24px; height: 24px; background: var(--emerald-soft); color: var(--emerald-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; }

.onboarding-timeline { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.onboard-phase { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.onboard-phase::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--emerald); }
.phase-label { font-family: var(--mono); font-size: 0.68rem; color: var(--emerald-dark); letter-spacing: 0.06em; }
.onboard-phase h3 { margin: 8px 0; }
.onboard-phase li { font-size: 0.85rem; padding: 3px 0; color: var(--ink-muted); list-style: disc; margin-left: 16px; }
@media (min-width: 768px) { .onboarding-timeline { grid-template-columns: repeat(3, 1fr); } }

.alignment-board { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.align-item { display: flex; gap: 12px; padding: 14px; background: var(--paper); border: var(--rule); border-radius: var(--radius-md); align-items: flex-start; }
.align-item span { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 0.85rem; }
.align-item--ok span { background: var(--emerald-soft); color: var(--emerald); }
.align-item--pending span { background: var(--warn-soft); color: var(--warn); }
.align-item--revise span { background: rgba(99,102,241,0.12); color: #6366F1; }
.align-item strong { display: block; color: var(--ink); font-size: 0.88rem; }
.align-item p { font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }

.drift-diff { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.drift-col { background: var(--slate-100); border-radius: var(--radius-lg); padding: 20px; border: var(--rule); }
.drift-col h4 { margin-bottom: 12px; }
.drift-col li { font-size: 0.85rem; padding: 6px 0; }
.drift-col--current { background: var(--paper); }
.drift-add { color: var(--emerald-dark); }
.drift-add span, .drift-remove span { font-family: var(--mono); font-size: 0.62rem; margin-left: 8px; padding: 2px 6px; border-radius: 4px; }
.drift-add span { background: var(--emerald-soft); }
.drift-remove { color: var(--danger); text-decoration: line-through; opacity: 0.7; }
.drift-remove span { background: var(--danger-soft); text-decoration: none; display: inline-block; }
@media (min-width: 600px) { .drift-diff { grid-template-columns: 1fr 1fr; } }

.library-collections { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.collection-chip { background: var(--emerald-soft); color: var(--emerald-dark); padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; }
.collection-chip--planned { background: var(--slate-100); color: var(--slate-600); }

.integration-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.integration-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.integration-card h4 { margin-bottom: 8px; font-size: 0.92rem; }
.integration-card p { font-size: 0.85rem; margin-bottom: 10px; }
.sync-badge { font-family: var(--mono); font-size: 0.62rem; background: var(--slate-100); padding: 4px 8px; border-radius: 4px; color: var(--ink-soft); }
.sync-badge--twoway { background: var(--emerald-soft); color: var(--emerald-dark); }
@media (min-width: 768px) { .integration-cards { grid-template-columns: 1fr 1fr; } }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.pricing-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-xl); padding: 28px; }
.pricing-card--featured { border-color: var(--emerald); box-shadow: var(--shadow-emerald); position: relative; }
.pricing-card--featured::before { content: "Popular"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--emerald); color: #fff; font-size: 0.68rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.pricing-for { font-size: 0.82rem; color: var(--ink-soft); margin: 4px 0 16px; }
.pricing-amount { margin-bottom: 16px; }
.pricing-amount strong { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); }
.pricing-amount span { color: var(--ink-soft); font-size: 0.85rem; }
.pricing-card ul { margin-bottom: 16px; }
.pricing-card li { font-size: 0.85rem; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.pricing-features { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 20px; font-style: italic; }
.pricing-note { margin-top: 24px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.demo-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.demo-role { padding: 10px 16px; border-radius: var(--radius-md); border: var(--rule); font-size: 0.82rem; font-weight: 500; background: var(--paper); color: var(--ink-muted); }
.demo-role--active { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.demo-context { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 480px; }

.about-story-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.about-story-copy h2 { margin-bottom: 16px; }
.about-story-copy p { margin-bottom: 14px; line-height: 1.75; }
.about-story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.story-stat { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.story-stat strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.story-stat span { font-size: 0.72rem; color: var(--ink-soft); margin-top: 4px; display: block; }
@media (min-width: 768px) { .about-story-grid { grid-template-columns: 1.4fr 1fr; } }

.about-principles h2 { margin-bottom: 28px; }
.principles-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.principle-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.principle-num { font-family: var(--mono); font-size: 0.68rem; color: var(--emerald); letter-spacing: 0.08em; }
.principle-card h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.principle-card p { font-size: 0.88rem; line-height: 1.65; }
@media (min-width: 768px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.legal-page h1 { margin-bottom: 24px; }
.legal-page h2 { font-family: var(--sans); font-size: 1.1rem; margin: 24px 0 8px; }
.legal-page p { line-height: 1.75; margin-bottom: 8px; }

.auth-page { min-height: 100dvh; }
.auth-shell--centered { min-height: 100dvh; display: flex; align-items: center; justify-content: center; position: relative; padding: 24px; }
.auth-bg-grid {
  position: fixed; inset: 0; z-index: 0;
  background: var(--gradient-hero);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--gradient-hero);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.auth-panel { position: relative; z-index: 1; width: min(420px, 100%); }
.auth-header { margin-bottom: 24px; }
.auth-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-lead { font-size: 0.88rem; margin-bottom: 24px; color: var(--ink-soft); }
.auth-form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 0.82rem; }
.auth-check { display: flex; align-items: center; gap: 6px; font-weight: 400; color: var(--ink-muted); }
.auth-divider { text-align: center; margin: 20px 0; font-size: 0.78rem; color: var(--ink-soft); position: relative; }
.auth-divider::before, .auth-divider::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-social { display: flex; gap: 10px; margin-bottom: 16px; }
.auth-note { text-align: center; font-size: 0.85rem; color: var(--ink-soft); }

.site-footer { background: var(--slate-900); color: var(--slate-400); margin-top: auto; }
.footer-main { padding: clamp(48px, 6vw, 64px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; font-size: 0.85rem; line-height: 1.7; max-width: 320px; }
.footer-brand .brand-text span { color: var(--slate-500); }
.footer-brand .brand-text strong { color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; font-family: var(--mono); }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--slate-400); font-size: 0.85rem; }
.footer-col a:hover { color: var(--emerald-light); }
.footer-bottom { border-top: 1px solid var(--slate-800); padding: 16px 0; font-size: 0.78rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: var(--slate-500); }
.footer-bottom-links a:hover { color: var(--emerald-light); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(6, 1fr); }
}

/* Page enrichment components */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; align-items: center; }
.filter-select, .filter-search { width: auto; min-width: 120px; font-size: 0.82rem; padding: 8px 12px; }
.filter-search { flex: 1; min-width: 180px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 16px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: var(--rule); }
.data-table th { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); background: var(--slate-100); }
.table-meta { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 2px; }

.status-badge { font-family: var(--mono); font-size: 0.62rem; padding: 3px 8px; border-radius: 999px; font-weight: 500; }
.status-badge--live { background: var(--emerald-soft); color: var(--emerald-dark); }
.status-badge--review { background: var(--warn-soft); color: var(--warn); }
.status-badge--draft { background: var(--slate-100); color: var(--slate-600); }

.detail-panel-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.detail-panel, .alert-flags { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.detail-panel h4, .alert-flags h4 { margin-bottom: 12px; }
.detail-panel li { font-size: 0.85rem; padding: 4px 0; color: var(--ink-muted); }
.flag-item { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.85rem; }
.flag-item p { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }
.flag-item--warn strong { color: var(--warn); }
@media (min-width: 768px) { .detail-panel-grid { grid-template-columns: 1fr 1fr; } }

.context-upload-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.context-upload-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.upload-icon { font-size: 1.5rem; margin-bottom: 8px; }
.upload-status { font-family: var(--mono); font-size: 0.65rem; color: var(--ink-soft); display: block; margin-top: 8px; }
.upload-status--synced { color: var(--emerald-dark); }
.wizard-detail-list { margin-top: 20px; }
.wizard-detail-list li { font-size: 0.88rem; padding: 8px 0; border-bottom: var(--rule); }
@media (min-width: 768px) { .context-upload-grid { grid-template-columns: repeat(3, 1fr); } }

.clarity-review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.clarity-check, .indicator-detail, .collab-results { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.clarity-issues li { font-size: 0.85rem; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.issue-tag { font-family: var(--mono); font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; margin-right: 8px; }
.issue-tag--vague { background: var(--warn-soft); color: var(--warn); }
.issue-tag--activity { background: rgba(99,102,241,0.12); color: #6366F1; }
.issue-tag--level { background: var(--danger-soft); color: var(--danger); }
.indicator-row { display: flex; gap: 12px; align-items: flex-start; }
.indicator-source { font-size: 0.72rem; color: var(--ink-soft); display: block; margin-top: 4px; }
.manager-note { margin-top: 10px; padding: 10px; background: var(--slate-100); border-radius: var(--radius); }
.manager-note label { font-size: 0.68rem; color: var(--emerald-dark); margin-bottom: 4px; }
.collab-results li { font-size: 0.85rem; padding: 4px 0; }
@media (min-width: 900px) { .clarity-review-grid { grid-template-columns: 1fr 1fr; } .collab-results { grid-column: span 2; } }

.issue-badge--ambiguity { background: rgba(168,85,247,0.12); color: #A855F7; }
.map-detail-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.map-detail-panel, .diagnostic-summary { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.map-detail-panel li { font-size: 0.85rem; padding: 6px 0; }
@media (min-width: 768px) { .map-detail-grid { grid-template-columns: 1.2fr 1fr; } }

.scenario-compare { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0; }
.compare-col { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.compare-col--highlight { border-color: var(--emerald); background: var(--emerald-soft); }
.compare-col li { font-size: 0.85rem; padding: 4px 0; }
@media (min-width: 768px) { .scenario-compare { grid-template-columns: repeat(3, 1fr); } }

.blueprint-tree-mock { background: var(--slate-900); border-radius: var(--radius-lg); padding: 24px; margin-top: 20px; color: var(--slate-300); font-size: 0.78rem; }
.tree-node { display: inline-block; padding: 6px 12px; background: var(--slate-700); border-radius: var(--radius); margin: 4px; }
.tree-node--root { background: var(--emerald); color: #fff; }
.tree-node--new em { font-style: normal; color: var(--emerald-light); font-size: 0.65rem; margin-left: 4px; }
.tree-row { display: flex; gap: 8px; margin-top: 12px; padding-left: 20px; }
.tree-row--sub { padding-left: 40px; }

.brief-version-tabs, .library-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.brief-tab, .library-tab { padding: 8px 16px; border-radius: var(--radius); border: var(--rule); font-size: 0.82rem; background: var(--paper); color: var(--ink-muted); }
.brief-tab--active, .library-tab--active { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.brief-sections { display: grid; grid-template-columns: 1fr; gap: 12px; }
.brief-block { background: var(--paper); border: var(--rule); border-radius: var(--radius-md); padding: 16px; }
.brief-block h4 { margin-bottom: 6px; font-size: 0.85rem; color: var(--emerald-dark); }
.brief-block p { font-size: 0.85rem; }
@media (min-width: 768px) { .brief-sections { grid-template-columns: 1fr 1fr; } }

.question-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.question-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.78rem; }
.question-stage { background: var(--emerald-soft); color: var(--emerald-dark); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.question-text { font-size: 0.95rem; color: var(--ink); margin-bottom: 12px; font-style: italic; }
.question-meta div { font-size: 0.82rem; padding: 6px 0; border-top: 1px dashed var(--border); }
.interviewer-grid { margin-top: 16px; }
.interviewer-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: var(--rule); font-size: 0.85rem; }
.interviewer-row em { color: var(--ink-soft); font-style: normal; font-size: 0.78rem; }

.onboard-resources { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.resource-col { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.resource-col li { font-size: 0.85rem; padding: 6px 0; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.owner-tag { font-family: var(--mono); font-size: 0.6rem; background: var(--emerald-soft); color: var(--emerald-dark); padding: 2px 6px; border-radius: 4px; }
.milestone-check { margin-top: 20px; padding: 16px; background: var(--emerald-soft); border-radius: var(--radius-lg); font-size: 0.88rem; }
@media (min-width: 768px) { .onboard-resources { grid-template-columns: repeat(3, 1fr); } }

.alignment-workspace { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.stakeholder-list, .consensus-summary, .decision-log { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.stakeholder-chip { display: inline-block; background: var(--slate-100); padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; margin: 4px 4px 4px 0; }
.consensus-summary { display: grid; grid-template-columns: 1fr; gap: 16px; }
.consensus-col ul { margin-top: 8px; }
.consensus-col li { font-size: 0.85rem; padding: 4px 0; }
.consensus-col--agreed strong { color: var(--emerald-dark); }
.consensus-col--open strong { color: var(--warn); }
.decision-log li { font-size: 0.85rem; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.decision-log time { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-soft); margin-right: 8px; }
@media (min-width: 768px) { .alignment-workspace { grid-template-columns: 1fr 1.5fr; } .decision-log { grid-column: span 2; } .consensus-summary { grid-template-columns: 1fr 1fr; } }

.review-schedule { margin-bottom: 20px; font-size: 0.88rem; }
.evidence-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.evidence-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 16px; }
.evidence-card p { font-size: 0.85rem; margin: 6px 0; }
.evidence-source, .impact-scope { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 4px; }
.impact-scope { color: var(--emerald-dark); }
.notify-teams { margin-top: 20px; }
.notify-chip { display: inline-block; background: var(--slate-100); padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; margin: 4px 4px 0 0; }
@media (min-width: 768px) { .evidence-cards { grid-template-columns: repeat(3, 1fr); } }

.role-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.role-card { background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); padding: 20px; }
.role-card--planned { border-style: dashed; opacity: 0.85; }
.role-meta { font-size: 0.72rem; color: var(--ink-soft); }
.level-compare { margin-top: 24px; padding: 20px; background: var(--slate-100); border-radius: var(--radius-lg); }
.level-diff { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.diff-add, .diff-remove, .diff-same { font-family: var(--mono); font-size: 0.72rem; padding: 4px 10px; border-radius: 4px; }
.diff-add { background: var(--emerald-soft); color: var(--emerald-dark); }
.diff-remove { background: var(--danger-soft); color: var(--danger); }
.diff-same { background: var(--slate-200); color: var(--slate-600); }
@media (min-width: 600px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 20px; }
.compare-table th, .compare-table td { padding: 10px 14px; border: var(--rule); text-align: left; }
.compare-table th { background: var(--slate-100); font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; }
.integration-detail-table { font-size: 0.78rem; }
.request-form { margin-top: 24px; padding: 20px; background: var(--slate-100); border-radius: var(--radius-lg); }
.request-form h4 { margin-bottom: 12px; }

.pricing-supplement { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
.pricing-supplement div { padding: 16px; background: var(--slate-100); border-radius: var(--radius-md); }
.pricing-supplement h4 { margin-bottom: 6px; font-size: 0.9rem; }
.pricing-supplement p { font-size: 0.85rem; }
@media (min-width: 600px) { .pricing-supplement { grid-template-columns: 1fr 1fr; } }

.faq-list { margin-top: 20px; }
.faq-list h4 { margin-bottom: 12px; }
.faq-list details { border: var(--rule); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 8px; background: var(--paper); }
.faq-list summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.faq-list p { margin-top: 8px; font-size: 0.85rem; }

.demo-session-banner { background: var(--warn-soft); color: var(--warn); text-align: center; padding: 10px 16px; font-size: 0.82rem; font-weight: 500; }
.demo-session-banner span { font-weight: 700; }
.demo-workspace { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
.demo-output-col { background: var(--slate-900); border-radius: var(--radius-lg); padding: 24px; color: var(--slate-300); }
.demo-output-section { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--slate-700); }
.demo-output-section h4 { color: var(--emerald-light); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.demo-output-section p, .demo-output-section li { font-size: 0.85rem; line-height: 1.6; }
.demo-map-preview { margin-top: 24px; padding: 20px; background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); }
.demo-map-nodes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.demo-map-node { padding: 8px 14px; background: var(--slate-100); border-radius: var(--radius); font-size: 0.78rem; font-weight: 600; }
.demo-map-node--hub { background: var(--emerald); color: #fff; }
.demo-cta-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@media (min-width: 900px) { .demo-workspace { grid-template-columns: 1fr 1.2fr; } }

.estimate-usage-box { margin-top: 24px; padding: 20px; background: var(--emerald-soft); border-radius: var(--radius-lg); border: 1px solid rgba(16,185,129,0.2); }
.estimate-result { font-size: 0.88rem; margin: 12px 0; }
.demo-output-col.is-updating { opacity: 0.7; transition: opacity 0.2s; }
