:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --card: #ffffff;
  --text: #17181c;
  --muted: #5b5e68;
  --line: #e3e1dc;
  --accent: #d6301f;
  --accent-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e14;
    --card: #171821;
    --text: #f2f2f5;
    --muted: #a3a6b3;
    --line: #2a2c38;
    --accent: #ff4538;
    --accent-ink: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  background: var(--card);
  padding: 8px 12px;
  z-index: 1;
}

.site-header,
main,
.site-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 15px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current='page'] {
  color: var(--text);
  font-weight: 700;
}

.language-link:first-of-type {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

main {
  padding-top: 24px;
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 4px 0 8px;
  font-size: 28px;
  line-height: 1.35;
}

h2 {
  margin: 32px 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.45;
}

.lead,
.updated {
  color: var(--muted);
}

.updated {
  margin-top: 0;
  font-size: 15px;
}

.card {
  margin: 12px 0;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.card > :last-child {
  margin-bottom: 0;
}

ol,
ul {
  padding-left: 22px;
}

li + li {
  margin-top: 4px;
}

.quick-links {
  list-style: none;
  padding: 0;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.redirect-page main {
  text-align: center;
  padding-top: 80px;
}
