:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #d9e0ea;
  --accent: #0f766e;
  --accent-strong: #0a524c;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  margin: 0;
}

.page {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.hero {
  max-width: 760px;
  margin-bottom: 42px;
}

.eyebrow,
.repo {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(38px, 6vw, 64px);
}

h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.intro,
.article-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.intro {
  margin: 18px 0 0;
}

.articles {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.article-card p {
  margin: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

a {
  color: var(--accent);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 960px);
    padding: 42px 0 56px;
  }

  .article-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .links {
    min-width: 0;
  }
}
