:root {
  color-scheme: light;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #1e2520;
  --muted: #667064;
  --border: #d9ded5;
  --accent: #476f4b;
  --accent-soft: #e7efe6;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-header,
.site-footer {
  width: 100%;
  border-color: var(--border);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(247, 248, 245, 0.92);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.header-inner,
.footer-inner,
main {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

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

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.nav-group,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.nav-group a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.12rem;
  padding: 0.14rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
  white-space: nowrap;
}

.language-option {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.26rem 0.54rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  outline: none;
}

.language-option.is-active {
  color: var(--text);
  background: var(--accent-soft);
  font-weight: 600;
  cursor: default;
}

main {
  padding: 4rem 0 0;
}

.hero {
  padding-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

h1 {
  max-width: 720px;
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 6vw, 4rem);
  letter-spacing: 0;
}

h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: 1.55rem;
}

h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.15rem;
}

.panel {
  margin: 2rem 0;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}

.link-list a:hover {
  background: var(--accent-soft);
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.placeholder-list {
  padding-left: 1.2rem;
}

.placeholder-list li {
  margin-bottom: 0.35rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 2.6rem;
  }

  .nav-group {
    gap: 0.6rem 0.9rem;
  }
}
