:root {
  color-scheme: light;
  --background: #f4f5f7;
  --surface: #ffffff;
  --text: #17191d;
  --muted: #666b73;
  --border: #dfe2e7;
  --accent: #007a68;
  --accent-hover: #005e50;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
}

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

nav a[aria-current="page"] {
  color: var(--accent);
}

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

.intro {
  padding: 24px 0 56px;
}

.eyebrow,
.updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

h1 {
  margin: 8px 0 16px;
  font-size: 48px;
}

h2 {
  margin-top: 0;
  font-size: 24px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.language-grid article {
  padding: 24px;
}

.language-grid article + article {
  border-left: 1px solid var(--border);
}

.document {
  max-width: 800px;
}

.document > section {
  margin-top: 40px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.document p,
.document li {
  color: #353941;
}

footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 18px;
  }

  .page-shell {
    width: min(100% - 28px, 960px);
    padding: 40px 0;
  }

  h1 {
    font-size: 36px;
  }

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

  .language-grid article + article {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .document > section {
    padding: 22px;
  }
}
