/* DEBT: greyscale, Swiss grid, no ornament. The design is the typography,
   the hairlines, and the whitespace. Nothing moves except a hover underline. */

:root {
  --paper: #fbfbfa;
  --ink: #141414;
  --black: #0a0a0a;
  --grey: #6b6b6b;
  --grey-lt: #9a9a9a;
  --hair: #e3e3e0;
  --panel: #f3f3f1;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }

.mark {
  display: inline-block; width: 12px; height: 12px;
  background: var(--black);
  position: relative;
}
.mark::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 3.5px; height: 1.5px;
  background: var(--paper);
}
.mark::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 7px; height: 1.5px;
  background: var(--paper);
}
.mark.sm { width: 9px; height: 9px; }
.mark.sm::before { top: 2.5px; height: 1.2px; }
.mark.sm::after { top: 5.2px; height: 1.2px; }

/* ---------------- header ---------------- */
.bar {
  display: flex; align-items: center; gap: 2.4rem;
  max-width: 1120px; margin: 0 auto;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--hair);
}
.wordmark {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-weight: 500; font-size: .95rem;
  letter-spacing: .22em;
}
.bar nav { display: flex; gap: 1.6rem; margin-left: auto; }
.bar nav a {
  font-size: .82rem; color: var(--grey);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.bar nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.status {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  color: var(--grey);
  border: 1px solid var(--hair);
  padding: .3rem .6rem;
}

/* ---------------- hero ---------------- */
main { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 3.5rem;
  align-items: center;
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--hair);
}
.hero-fig { margin: 0; }
.hero-fig canvas { width: 100%; max-width: 460px; height: auto; display: block; }
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-fig { max-width: 440px; }
}
.eyebrow {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em;
  color: var(--grey);
  margin-bottom: 1.6rem;
}
h1 {
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 1.6rem;
}
.lede {
  max-width: 58ch;
  font-size: 1.08rem;
  color: #3a3a3a;
  margin-bottom: 1.2rem;
}
.lede-hard {
  max-width: 58ch;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2.4rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .04em;
  padding: .78rem 1.5rem;
  border: 1px solid var(--black);
}
.btn-solid { background: var(--black); color: var(--paper); }
.btn-solid:hover { background: #2b2b2b; }
.btn-ghost { color: var(--grey); border-color: var(--hair); cursor: default; }

/* ---------------- blocks ---------------- */
.block { padding: 4.5rem 0; border-bottom: 1px solid var(--hair); }
.block-head {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: baseline;
  column-gap: 1rem;
  margin-bottom: 2.6rem;
}
.no {
  font-family: var(--mono); font-size: .8rem; color: var(--grey-lt);
}
.block-head h2 {
  font-weight: 600; font-size: 1.7rem; letter-spacing: -0.01em;
}
.block-note {
  grid-column: 2;
  font-size: .9rem; color: var(--grey);
  margin-top: .3rem;
}

/* mechanism steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hair);
  margin-bottom: 2.4rem;
}
.steps li {
  padding: 1.5rem 1.4rem 1.6rem;
  border-right: 1px solid var(--hair);
}
.steps li:last-child { border-right: 0; }
.step-no {
  display: inline-block;
  font-family: var(--mono); font-size: .72rem;
  color: var(--paper); background: var(--black);
  width: 1.55rem; height: 1.55rem;
  text-align: center; line-height: 1.55rem;
  margin-bottom: .9rem;
}
.steps h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.steps p { font-size: .88rem; color: var(--grey); line-height: 1.55; }

.diagram { border: 1px solid var(--hair); background: #fff; padding: 1.4rem 1.2rem .9rem; }
.diagram svg { width: 100%; height: auto; display: block; }

/* figures table */
.figures-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono); font-size: .88rem;
}
.figures-table th {
  text-align: left; font-weight: 400;
  color: var(--grey);
  padding: .85rem 0;
  border-bottom: 1px solid var(--hair);
  width: 40%;
}
.figures-table td {
  text-align: right;
  padding: .85rem 0;
  border-bottom: 1px solid var(--hair);
  color: var(--black);
  font-weight: 500;
}
.figures-table td.unit {
  width: 7.5rem; text-align: left;
  padding-left: 1.2rem;
  color: var(--grey-lt); font-weight: 400; font-size: .72rem;
}
.table-foot { margin-top: 1rem; font-size: .82rem; color: var(--grey); max-width: 62ch; }

/* the record */
.record-table thead th {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--grey-lt);
  font-weight: 400;
  text-align: left;
  padding: 0 0 .6rem;
  border-bottom: 1px solid var(--ink);
  width: auto;
}
.record-table thead th.num { text-align: right; padding-left: 1.4rem; }
.record-table .record-empty td {
  text-align: left;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .9rem;
  color: var(--grey);
  padding: 1.1rem 0;
}

/* documents */
.docs { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem; }
.doc {
  display: block;
  border: 1px solid var(--hair);
  background: #fff;
  padding: 1.6rem 1.6rem 1.4rem;
}
a.doc:hover { border-color: var(--black); }
a.doc:hover .doc-open { color: var(--black); }
.doc-kind {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em;
  color: var(--grey-lt);
  display: block; margin-bottom: .9rem;
}
.doc h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.45; margin-bottom: .7rem; }
.doc-meta { font-family: var(--mono); font-size: .7rem; color: var(--grey); margin-bottom: .8rem; }
.doc-abstract { font-size: .88rem; color: var(--grey); line-height: 1.6; }
.doc-open { font-family: var(--mono); font-size: .78rem; color: var(--grey); display: inline-block; margin-top: 1rem; }
.doc-plain { background: var(--panel); }
.doc-plain .doc-abstract { color: #4a4a4a; }

/* the authority */
.facts { border-top: 1px solid var(--hair); }
.facts > div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair);
}
.facts dt { font-family: var(--mono); font-size: .78rem; color: var(--grey); padding-top: .1rem; }
.facts dd { font-size: .95rem; max-width: 64ch; }

/* ---------------- footer ---------------- */
.foot { border-top: 1px solid transparent; }
.foot-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 2.6rem 1.5rem 3rem;
}
.legal { font-size: .78rem; color: var(--grey-lt); max-width: 72ch; margin-bottom: 1.6rem; }
.colo {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  color: var(--grey);
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .steps li:nth-child(2) { border-right: 0; }
  .docs { grid-template-columns: 1fr; }
  .bar nav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--hair); }
  .steps li:last-child { border-bottom: 0; }
  .facts > div { grid-template-columns: 1fr; gap: .2rem; }
  .figures-table td.unit { display: none; }
  .status { display: none; }
}
