:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #18181b;
  --body: #52525b;
  --muted: #71717a;
  --link-hover: #27272a;
  --measure: 680px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  font-family: Inter, "Inter Fallback", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
}

.language-toggle {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 10;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: rgb(255 255 255 / 86%);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 7px 13px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  backdrop-filter: blur(8px);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: #a1a1aa;
  color: var(--link-hover);
  background: #ffffff;
}

.language-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.page {
  width: min(var(--measure), calc(100% - 96px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.intro {
  max-width: var(--measure);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--text);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 40px;
  margin-bottom: 36px;
}

p {
  font-size: 1rem;
  line-height: 28px;
  margin-bottom: 24px;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.section {
  margin-top: 48px;
}

h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 24px;
}

.link-list,
.text-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list li,
.text-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 28px;
}

.link-list li::before,
.text-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--text);
}

.text-list li {
  color: var(--text);
  font-weight: 600;
}

a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.link-list span {
  color: var(--muted);
  font-weight: 400;
}

.link-list span::before {
  content: " ";
}

@media (max-width: 640px) {
  .language-toggle {
    top: 16px;
    right: 17px;
    font-size: 13px;
    line-height: 18px;
    padding: 6px 11px;
  }

  .page {
    width: min(100% - 34px, var(--measure));
    padding: 64px 0 56px;
  }

  h1 {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 32px;
  }

  p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 22px;
  }

  .section {
    margin-top: 48px;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .link-list,
  .text-list {
    gap: 15px;
  }

  .link-list li,
  .text-list li {
    font-size: 16px;
    line-height: 28px;
    padding-left: 19px;
  }

  .link-list span {
    display: block;
    margin-top: 2px;
  }

  .link-list span::before {
    content: "";
  }
}
