:root {
  color-scheme: light;
  --brand: #315c46;
  --brand-dark: #224333;
  --accent: #ffc857;
  --ink: #1b1d1b;
  --muted: #5f655f;
  --surface: #f7f7f2;
  --card: #ffffff;
  --border: #dce1dc;
  --max-width: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.site-header,
.page-shell,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px 16px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  padding: 8px 2px;
  font-weight: 650;
}

.page-shell {
  padding-block: 32px 72px;
}

.hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.25;
  text-wrap: balance;
}

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

h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  letter-spacing: -0.015em;
}

p,
ul,
ol {
  margin-block: 12px;
}

ul,
ol {
  padding-inline-start: 1.4em;
}

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

.lede {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  margin-block: 28px;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: #fff8e7;
}

.notice p {
  margin: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.link-card {
  display: block;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}

.link-card:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.link-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-card {
  margin-block: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.site-footer {
  padding-block: 24px 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand span {
    max-width: 168px;
  }

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

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

@media print {
  .skip-link,
  .language-link,
  .site-footer {
    display: none;
  }

  body {
    font-size: 11pt;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }
}
