@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --background: #09090b;
  --surface: rgba(24, 24, 27, 0.55);
  --border: #27272a;
  --border-hover: #52525b;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --accent: #d4d4d8;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -15rem, rgba(113, 113, 122, 0.14), transparent 34rem),
    var(--background);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(100% - 3rem, 52rem);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.site-header,
footer,
.lab-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding-bottom: 7rem;
}

.brand,
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.brand:hover,
footer a:hover {
  color: var(--text);
}

.brand {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

.eyebrow,
.status {
  color: var(--subtle);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  max-width: 42rem;
  padding-bottom: 7rem;
}

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

h1 {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.intro {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.labs {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.section-heading h2 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.lab-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lab-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--surface), rgba(9, 9, 11, 0.2));
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.lab-card:hover {
  border-color: var(--border-hover);
  background: rgba(39, 39, 42, 0.55);
  transform: translateY(-2px);
}

.arrow {
  color: var(--subtle);
  font-size: 1.25rem;
  transition: color 180ms ease, transform 180ms ease;
}

.lab-card:hover .arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.lab-card h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lab-card p {
  max-width: 38rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

footer {
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 2rem, 52rem);
    padding-top: 1rem;
  }

  .site-header {
    padding-bottom: 5rem;
  }

  .hero {
    padding-bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
