* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ledger);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
}
body { font-size: 16.5px; line-height: 1.65; }

.page { max-width: 760px; margin: 0 auto; padding: 4.5rem 1.75rem 6rem; }

.masthead { margin-bottom: 3rem; }
.masthead__brand { display: flex; align-items: center; gap: 0.55rem; }
.masthead__icon { display: block; flex: none; }
.masthead__brand .masthead__kicker { margin: 0; }
.masthead__kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0;
}
.masthead__rule { width: 48px; height: 3px; background: var(--ink-blue); border: 0; margin: 0.9rem 0; }
.masthead__mark {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: balance;
  max-width: 58ch;
  margin: 0 0 3rem;
}

.section { padding-top: 2.25rem; border-top: 1px solid var(--rule); margin-top: 2.25rem; }
.section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.section__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin: 0 0 0.4rem;
}
.section h2 {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}
.section > p { max-width: 62ch; margin: 0 0 1rem; }

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 620px) { .grid-two { grid-template-columns: 1fr; } }

.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.feature h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-blue);
  flex: none;
  transform: translateY(-2px);
}
.feature p { margin: 0; color: var(--graphite); font-size: 0.94rem; max-width: 42ch; }

/* Status chip vocabulary — reused verbatim from the product's own design system */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip--settled .chip__dot { background: var(--settled-green); }
.chip--amber .chip__dot { background: var(--notice-amber); }
.chip--red .chip__dot { background: var(--deadline-red); }
.chip--violet .chip__dot { background: var(--negotiation-violet); }
.chip--muted .chip__dot { background: var(--muted-gray); }
.chips-caption { font-size: 0.85rem; color: var(--graphite); margin: 0.9rem 0 0; max-width: 56ch; }

.decision-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0.5rem;
}
.decision-btn {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
}
.decision-btn--terminal { border-color: var(--ink-blue); color: var(--ink-blue); }

table.fields {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
table.fields th, table.fields td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}
table.fields th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 400;
}
table.fields td:first-child { font-weight: 600; white-space: nowrap; }

.callout {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink-blue);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.callout p { margin: 0; max-width: 58ch; }
.callout p + p { margin-top: 0.6rem; }

.closing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.5;
  text-wrap: balance;
  max-width: 46ch;
}

.back-link {
  display: inline-block;
  margin-top: 3rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-blue);
  text-decoration: none;
}
.back-link:hover, .back-link:focus-visible { text-decoration: underline; }

footer {
  margin-top: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--graphite);
}

@media (max-width: 520px) {
  .page { padding: 3rem 1.25rem 4rem; }
  .masthead__mark { font-size: 1.65rem; }
  .lede { font-size: 1.05rem; }
}
