:root {
  color-scheme: light;
  --ink: #0b2227;
  --teal: #1e6670;
  --lime: #d7f35a;
  --paper: #faf7ef;
  --card: #ffffff;
  --muted: #617176;
  --line: #dfe5e2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  object-fit: cover;
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-links a,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.hero,
.section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 14px 40px rgba(11, 34, 39, 0.06);
}

.hero {
  margin-bottom: 20px;
  background:
    radial-gradient(circle at top right, rgba(215, 243, 90, 0.42), transparent 34%),
    var(--card);
}

.section + .section {
  margin-top: 20px;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

h2 {
  margin-top: 0;
}

h3 {
  margin-top: 1.6em;
}

p,
li {
  color: #33474c;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.notice {
  border-inline-start: 4px solid var(--lime);
  border-radius: 12px;
  padding: 12px 16px;
  background: #f6fadf;
}

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

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

[dir="ltr"] {
  text-align: left;
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 20px, 920px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section {
    border-radius: 18px;
    padding: 22px;
  }

  .actions .button {
    width: 100%;
  }
}
