:root {
  color-scheme: light dark;
  --bg: #f2f5f3;
  --surface: #ffffff;
  --surface-muted: #f3f7f4;
  --text: #17231c;
  --muted: #526159;
  --border: #d4ded8;
  --accent: #1d6544;
  --accent-strong: #124a30;
  --accent-soft: #e6f3eb;
  --current: #167240;
  --current-contrast: #ffffff;
  --focus: #c83d00;
  --sticky-offset: calc(4.25rem + 1px);
  --shadow: 0 0.75rem 2rem rgb(24 50 34 / 10%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101813;
    --surface: #19241d;
    --surface-muted: #202d24;
    --text: #edf5f0;
    --muted: #b8c8be;
    --border: #3c4c42;
    --accent: #9cd8b5;
    --accent-strong: #c2ebd1;
    --accent-soft: #213d2c;
    --current: #8adeaa;
    --current-contrast: #102117;
    --focus: #ffad7a;
    --shadow: 0 0.75rem 2rem rgb(0 0 0 / 28%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: var(--sticky-offset);
}

body {
  min-width: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -100vw;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 0.75rem;
  left: 0.75rem;
}

.shell {
  width: min(100% - 2rem, 61.25rem);
  margin-inline: auto;
}

.top-navigation {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  background: var(--surface);
  box-shadow: 0 0.5rem 1.5rem rgb(24 50 34 / 14%);
}

.page-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--current);
  color: var(--current-contrast);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 0.4rem 1rem rgb(22 114 64 / 25%);
}

.language-links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.language-links a {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.language-links a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

main {
  padding-block: 2.6rem 3.75rem;
}

.hero,
.policy {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(1.4rem, 4vw, 2.7rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--current);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.48em;
  font-weight: 650;
  letter-spacing: -0.01em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

p,
li {
  max-width: 78ch;
}

.hero-lead,
.meta,
.page-footer {
  color: var(--muted);
}

.hero-lead {
  margin: 0.85rem 0 0;
  font-size: 1.08rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-meta span {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.policy {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-inline-start: 0.3rem solid var(--accent);
  border-radius: 0.3rem;
  background: var(--accent-soft);
}

dl {
  display: grid;
  max-width: 48rem;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
}

.page-footer {
  padding-block: 0.5rem 3rem;
  font-size: 0.95rem;
}

@media (max-width: 38rem) {
  :root {
    --sticky-offset: calc(3.8rem + 1px);
  }

  .shell {
    width: min(100% - 1rem, 61.25rem);
  }

  .header-inner {
    min-height: 3.8rem;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.5rem;
    font-size: 1.02rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
  }

  .language-links {
    flex-wrap: nowrap;
  }

  .language-links a {
    padding-inline: 0.58rem;
    font-size: 0.82rem;
  }

  main {
    padding-block-start: 1.5rem;
  }

  .hero,
  .policy {
    border-radius: 0.9rem;
  }

  dl {
    display: block;
  }

  dd {
    margin-bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-muted: #ffffff;
    --text: #000000;
    --muted: #333333;
    --border: #aaaaaa;
    --accent: #000000;
    --accent-soft: #f2f2f2;
    --current: #000000;
    --current-contrast: #ffffff;
    --shadow: none;
  }

  html {
    scroll-padding-block-start: 0;
  }

  .top-navigation {
    position: static;
    box-shadow: none;
  }

  .language-links,
  .skip-link {
    display: none;
  }

  .page-header {
    border-bottom: 1px solid var(--border);
  }

  main {
    padding-block-start: 1.5rem;
  }

  .policy {
    break-before: page;
    box-shadow: none;
  }
}
