:root {
  color-scheme: light dark;
  --accent: #0b9ca8;
  --accent-strong: #087883;
  --background: #f7f9fa;
  --surface: #ffffff;
  --text: #172126;
  --muted: #5d6a70;
  --border: #dfe6e8;
  --max-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 650;
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.intro {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 650;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: 38px;
}

h2 {
  margin-top: 42px;
  padding-top: 2px;
  font-size: 24px;
}

h3 {
  margin-top: 26px;
  font-size: 18px;
}

p,
ul {
  margin: 14px 0 0;
}

ul {
  padding-left: 24px;
}

.summary {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.language-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--muted);
}

.english {
  margin-top: 58px;
  padding-top: 48px;
  border-top: 2px solid var(--border);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.link-list a {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.link-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 400;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 58px;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a {
    font-size: 13px;
  }

  main {
    padding-top: 38px;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 22px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: block;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e1214;
    --surface: #151a1d;
    --text: #eef4f5;
    --muted: #a7b3b7;
    --border: #2a3438;
    --accent: #31c5c6;
    --accent-strong: #63d9d4;
  }
}
