:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --surface: #fffdf6;
  --ink: #141414;
  --muted: #5f5a50;
  --green: #1ed760;
  --line: rgba(20, 20, 20, 0.14);
  --pad: clamp(1.25rem, 5vw, 3rem);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

a {
  color: inherit;
}

main {
  min-height: 100vh;
}

.hero,
.stats,
.panel {
  padding-inline: max(var(--pad), calc((100vw - 1120px) / 2));
}

.hero {
  display: grid;
  gap: 1rem;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 9ch;
}

.hero p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}

.stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats article,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.stats article {
  display: grid;
  gap: 0.2rem;
  min-height: 8rem;
  padding: 1.4rem;
}

.stats strong {
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
}

.stats span,
td {
  color: var(--muted);
}

.panel {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 0.45fr 1fr;
  margin-block: 1rem 5rem;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-top: 1px solid var(--line);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 0.78rem;
  text-transform: uppercase;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 760px) {
  .stats,
  .panel {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
