:root {
  color-scheme: light;
  --bg: #f7faf8;
  --paper: #ffffff;
  --ink: #14211c;
  --muted: #5a6861;
  --soft: #e7eee9;
  --line: #d6e1da;
  --green: #0c6b4a;
  --green-dark: #06452f;
  --gold: #a76613;
  --shadow: 0 18px 50px rgba(22, 42, 33, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(12, 107, 74, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
  line-height: 1.6;
}

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

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

.nav-shell,
.hero-section,
.content-band,
.split-section,
.document-page,
.footer-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.94rem;
}

.nav-links a,
.language-link {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--green-dark);
  font-weight: 700;
}

.language-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--paper);
  white-space: nowrap;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 48px;
  padding: 82px 0 56px;
}

.hero-copy h1,
.document-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.document-hero p,
.section-heading p,
.split-section p,
.document-card p,
.policy-body p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero-panel,
.notice-panel,
.document-card,
.info-card,
.link-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.metric-card {
  border-radius: 8px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.metric-card span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 1;
}

.compact-flow {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.compact-flow li {
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfdfb;
  color: var(--muted);
}

.content-band {
  padding: 64px 0;
}

.content-band.muted {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2,
.split-section h2,
.document-card h2,
.policy-body h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 12px 0 0;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  min-height: 220px;
  padding: 22px;
}

.info-card span,
.page-label {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-panel {
  padding: 24px;
  background: #fdfbf7;
}

.notice-panel h3 {
  margin: 0 0 10px;
  color: var(--gold);
}

.notice-panel p,
.split-section p {
  margin: 14px 0 0;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-list a {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
}

.link-list span {
  color: var(--muted);
}

.document-page {
  padding: 64px 0 72px;
}

.document-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.document-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.document-card {
  padding: 24px;
}

.document-card h2 {
  font-size: 1.45rem;
}

.document-card ol,
.document-card ul {
  margin: 14px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.document-card li + li {
  margin-top: 8px;
}

.policy-body {
  display: grid;
  gap: 18px;
  max-width: 880px;
}

.policy-body article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.policy-body h2 {
  font-size: 1.45rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-shell {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(12, 107, 74, 0.3);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-section,
  .split-section,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 26px;
    padding-top: 52px;
  }

  .card-grid.four,
  .link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-section,
  .content-band,
  .split-section,
  .document-page,
  .footer-shell {
    width: min(100% - 24px, 1120px);
  }

  .hero-copy h1,
  .document-hero h1 {
    font-size: 2.35rem;
    line-height: 1.04;
  }

  .card-grid.four,
  .link-list {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}
