:root {
  color-scheme: dark;
  --background: #111315;
  --surface: #191c1f;
  --line: #343a3e;
  --muted: #9ba3a8;
  --text: #f1f3f2;
  --accent: #c9f06b;
  --accent-muted: #829d42;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  margin: 2.5rem 0 2.5rem;
  overflow-x: auto;
  color: var(--accent);
  font: 700 clamp(0.38rem, 1.2vw, 0.8rem)/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--accent-muted);
  font: 700 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.repo-link {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.repo-link:hover,
.repo-link:focus-visible {
  color: var(--text);
  border-color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}

article {
  min-height: 16rem;
  padding: 2rem;
  background: var(--surface);
}

article .label {
  margin-bottom: 3rem;
}

article p:last-child,
.status p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-mark {
  color: var(--accent);
  font-size: 2.5rem;
  line-height: 1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--muted);
  font: 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

footer span:first-child {
  color: var(--accent);
}

@media (max-width: 700px) {
  main {
    width: min(100% - 2rem, 1100px);
  }

  .hero {
    min-height: 80vh;
  }

  .grid,
  .status {
    grid-template-columns: 1fr;
  }

  .grid {
    margin: 3rem 0;
  }

  article {
    min-height: auto;
  }

  article .label {
    margin-bottom: 1.5rem;
  }

  .status-mark {
    display: none;
  }

  footer {
    flex-direction: column;
  }
}
