@font-face {
  font-family: Manrope;
  src: url("Manrope-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color: #20231d;
  background: #f8f7f1;
  font: 500 1rem/1.5 Manrope, system-ui, sans-serif;
  --line: #d8dbcf;
  --muted: #545c4d;
  --green: #304620;
  --lime: #d9efab;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.shell { width: min(calc(100% - 48px), 64rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; transform: translateY(-200%); background: #fff; padding: .5rem; }
.skip:focus { transform: none; }
.header { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; text-decoration: none; }
.window { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; width: 20px; height: 20px; }
.window i { background: var(--green); }
.window i:last-child { background: #e2834e; }

.intro { max-width: 52rem; margin-block: 4rem 3rem; }
.eyebrow { margin: 0 0 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 700; color: var(--green); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: 3.75rem; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
h2 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
p { text-wrap: pretty; }
.lead { margin: 1.25rem 0 0; max-width: 39rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted); }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.25rem 0 0; }
.metric { min-width: 0; padding: 1rem 1.25rem 1.25rem; border-top: 3px solid var(--green); background: #efefe6; }
.metric:first-child { background: var(--lime); }
.metric + .metric { border-left: 1px solid #f8f7f1; }
.metric dt { font-weight: 700; }
.metric-value { margin: .5rem 0 .25rem; font-size: 3rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.metric-date, .note { color: var(--muted); font-size: .875rem; line-height: 1.25rem; }

.metric-date { margin: 0; }
.section { margin-top: 3.5rem; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; margin-top: 1rem; }
th, td { padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: right; }
th:first-child { width: 54%; padding-right: .5rem; text-align: left; }
thead { font-size: .875rem; line-height: 1.25rem; color: var(--muted); }
tbody th { font-weight: 600; }
td { font-variant-numeric: tabular-nums; }
.note { margin: .75rem 0 0; }
.stages { list-style: none; padding: 0; margin: 1.25rem 0 0; counter-reset: stages; border-top: 1px solid var(--line); }
.stages li { counter-increment: stages; display: grid; grid-template-columns: 2rem minmax(0,1fr) auto; gap: .75rem; align-items: start; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.stages li::before { content: counter(stages, decimal-leading-zero); color: var(--green); font-size: .875rem; line-height: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stages p { color: var(--muted); margin: .25rem 0 0; }
.stage-state { align-self: start; padding: .25rem .5rem; color: var(--muted); font-size: .75rem; line-height: 1rem; font-weight: 700; background: #eeeee7; }
.stage-state[data-state="partial"], .stage-state[data-state="known"] { color: #294018; background: var(--lime); }
.footer { margin-top: 3rem; padding-block: 1rem 2rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }

@media (max-width: 42rem) {
  .shell { width: calc(100% - 32px); }
  .intro { margin-block: 2.5rem 2rem; }
  h1 { font-size: 2.25rem; line-height: 2.5rem; }
  h2 { font-size: 1.5rem; line-height: 2rem; }
  .section { margin-top: 2.5rem; }
  .metrics { grid-template-columns: 1fr; }
  .metric { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 1rem; align-items: center; padding: .75rem 1rem; border-top-width: 1px; }
  .metric + .metric { border-left: 0; }
  .metric-value { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 2.25rem; line-height: 2.5rem; }
  .stages li { grid-template-columns: 1.25rem minmax(0,1fr); gap: .25rem .5rem; }
  .stage-state { grid-column: 2; justify-self: start; margin-top: .25rem; }
}

@media (max-width: 23rem) {
  h1 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.045em; }
}
