:root {
  --paper: #f5f2ec;
  --ink: #0a0a0a;
  --rule: #1a1a1a;
  --accent: #1d4ed8;
  --accent-hot: #dc2626;
  --muted: rgba(10, 10, 10, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Helvetica Neue', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.text-page {
  padding: 32px 0 80px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}

.text-nav a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
}

.text-nav a:hover { opacity: 1; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.text-header h1 {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 24px;
}

.text-header h1 em {
  font-style: italic;
  color: var(--accent);
}

.text-lede {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 40px;
}

.text-lede a { color: var(--accent); }

.text-section {
  margin: 56px 0;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.text-section h2 {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 16px;
}

.text-section h3 {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 24px 0 8px;
}

.text-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  font-weight: 600;
  margin: 16px 0 8px;
}

.text-section p {
  margin-bottom: 16px;
  opacity: 0.88;
}

.text-section em { font-style: italic; }

.signal-list,
.question-list {
  list-style: none;
  counter-reset: item;
  margin: 24px 0;
}

.signal-list li,
.question-list li {
  counter-increment: item;
  padding: 24px 0 24px 56px;
  position: relative;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.signal-list li::before,
.question-list li::before {
  content: "0" counter(item);
  position: absolute;
  left: 0;
  top: 24px;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 18px;
  color: var(--accent);
  font-style: italic;
}

.signal-list h3,
.question-list h3 { margin-top: 0; }

.signal-short {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-bottom: 12px;
}

/* form */
.audit-form { margin-top: 24px; }

.audit-form fieldset {
  border: none;
  margin: 0 0 32px;
  padding: 0;
}

.audit-form legend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.field > span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  font-size: 17px;
  font-family: 'Times New Roman', Georgia, serif;
  color: var(--ink);
  outline: none;
  resize: vertical;
  line-height: 1.4;
}

.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); }

.field small {
  font-size: 12px;
  opacity: 0.55;
}

.text-submit {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.text-submit:hover { transform: translateY(-1px); }

.text-disclaimer {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 12px;
}

.text-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  opacity: 0.5;
}

/* report */
.tier-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 24px;
}

.tier-READY { background: #059669; }
.tier-WEDGE { background: var(--accent); }
.tier-LAYER_THREE { background: #7c3aed; }

.workflow-card {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}

.workflow-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 12px;
}

.workflow-total {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.workflow-card h3 {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 500;
}

.workflow-desc {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.score-table th,
.score-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  vertical-align: middle;
}

.score-table th {
  font-size: 14px;
  font-weight: 600;
  width: 40%;
}

.score-num {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 18px;
  width: 60px;
}

.score-of { opacity: 0.3; font-size: 12px; margin-left: 2px; }

.score-cell { width: 40%; }

.score-track {
  display: flex;
  gap: 3px;
}

.score-track .seg {
  flex: 1;
  height: 4px;
  background: rgba(10, 10, 10, 0.1);
}

.score-track .seg.on { background: var(--accent); }

.blocker {
  padding: 14px;
  background: rgba(220, 38, 38, 0.08);
  border-left: 2px solid var(--accent-hot);
  font-size: 13px;
  margin: 16px 0;
}

.workflow-reading {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.04);
}

.narrative {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
}

.narrative h2 {
  color: var(--paper);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Helvetica Neue', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.15em;
}

.narrative p {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.cta,
.cta-ghost {
  display: inline-block;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 8px;
}

.cta {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.byline {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 32px;
}

.rule {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(29, 78, 216, 0.06);
  border-left: 2px solid var(--accent);
  font-size: 16px;
}

.workflow-examples {
  list-style: none;
  margin: 24px 0;
}

.workflow-examples li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.founder {
  margin-top: 16px;
}

.founder-links {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.founder-links a {
  color: var(--accent);
  text-decoration: none;
}

.founder-links a:hover { text-decoration: underline; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
