:root {
  color-scheme: light dark;
  --background: #f7f3eb;
  --surface: #fffdf8;
  --surface-strong: #eee5d8;
  --text: #29251f;
  --muted: #665f55;
  --accent: #266a5b;
  --accent-strong: #174f43;
  --accent-soft: #dceee8;
  --border: #d9d0c4;
  --shadow: 0 18px 50px rgba(72, 58, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(120, 185, 164, 0.18), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

.skip-link {
  left: 1rem;
  position: absolute;
  top: -5rem;
  z-index: 10;
}

.skip-link:focus {
  background: var(--surface);
  padding: 0.7rem 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 88%, transparent);
}

.site-header__inner,
.site-footer__inner,
.page {
  margin: 0 auto;
  max-width: 70rem;
  width: calc(100% - 2rem);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 4.5rem;
}

.brand {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
  text-decoration: underline;
}

.page {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}

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

.hero,
.document {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: var(--accent-soft);
  border-radius: 999px;
  content: "";
  height: 16rem;
  opacity: 0.8;
  position: absolute;
  right: -6rem;
  top: -7rem;
  width: 16rem;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 15ch;
  position: relative;
  z-index: 1;
}

.document h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
}

h2 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.7rem;
}

h3 {
  font-size: 1.08rem;
  margin: 1.8rem 0 0.4rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.3rem);
  max-width: 48rem;
  position: relative;
  z-index: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
  position: relative;
  z-index: 1;
}

.button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-weight: 750;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
}

.button--secondary {
  background: transparent;
  color: var(--accent-strong);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.card {
  box-shadow: none;
  padding: 1.4rem;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.meta,
.note {
  color: var(--muted);
  font-size: 0.93rem;
}

.note {
  background: var(--accent-soft);
  border-left: 0.3rem solid var(--accent);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
}

.language-block + .language-block {
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  padding-top: 1rem;
}

.legal-address {
  font-style: normal;
}

.break-link {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.6rem 0 2.4rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.3rem;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 48rem) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 0;
  }

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

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

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171b19;
    --surface: #202622;
    --surface-strong: #2b332e;
    --text: #f3f0e8;
    --muted: #c7c0b5;
    --accent: #75c7b1;
    --accent-strong: #9cdbc9;
    --accent-soft: #25443b;
    --border: #3b463f;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  }

  .button {
    color: #10221c;
  }

  .button--secondary {
    color: var(--accent-strong);
  }
}
