:root {
  --bg: #f4f1e8;
  --panel: #ebe5d8;
  --ink: #17191d;
  --muted: #5f625f;
  --line: #d5cec0;
  --accent: #c8f05a;
  --accent-ink: #20250f;
  --radius: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.masthead {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand b {
  color: var(--muted);
  font-weight: 600;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 17px;
}

nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.button:hover {
  background: var(--ink);
  color: var(--bg);
}

.button--solid {
  background: var(--ink);
  color: var(--bg);
}

.button--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.lede {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 54px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 720px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 16px 16px 0 0;
}

.facts dt {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8px 48px;
  align-items: start;
  margin-bottom: 32px;
}

.section__head .eyebrow {
  grid-column: 1 / -1;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section__head > p:last-child {
  max-width: 560px;
  margin: 4px 0 0;
  color: var(--muted);
}

.table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.table__row:first-child {
  border-top: 0;
}

.table__row--head {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6ba547;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card__num {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.status {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 8px 0 72px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
}

.status .eyebrow {
  color: #a7aaa4;
}

.status h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.status__time {
  margin: 0;
  color: #a7aaa4;
  font-size: 13px;
}

.status__metric {
  text-align: right;
}

.status__metric b {
  display: block;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.status__metric span {
  color: #a7aaa4;
  font-size: 12px;
}

footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .masthead {
    gap: 16px;
  }

  nav {
    display: none;
  }

  .masthead .button {
    margin-left: auto;
  }

  .section__head {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .status {
    display: block;
  }

  .status__metric {
    margin-top: 24px;
    text-align: left;
  }

  .table__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .table__row--head {
    display: none;
  }

  .table__row span:nth-child(3),
  .table__row span:nth-child(4) {
    color: var(--muted);
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
