:root {
  color: #17322c;
  background: #f7f9f8;
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 5%, #dceee4 0, transparent 25rem), #f7f9f8;
}

a {
  color: #176d51;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0f513c;
}

a:focus-visible {
  outline: 3px solid #19a578;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 6rem;
  border-bottom: 1px solid #dce6e0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #17322c;
  font-size: 1.45rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  border-radius: 0.7rem;
}

.brand-dot {
  color: #23a77f;
}

.status,
.header-link {
  font-size: 0.78rem;
  font-weight: 650;
}

.status {
  padding: 0.45rem 0.7rem;
  border: 1px solid #cfe1d7;
  border-radius: 999px;
  color: #39715a;
  background: #f2f8f4;
}

.page-shell,
.article-shell {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.page-shell {
  padding: 7rem 0 8rem;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #39715a;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lead {
  color: #4d665b;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.75;
}

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

.document-card {
  min-height: 19rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce6e0;
  border-radius: 1rem;
  color: #17322c;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1rem 3rem rgba(23, 50, 44, 0.05);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.document-card:hover {
  transform: translateY(-0.2rem);
  border-color: #9fc8b4;
  color: #17322c;
}

.card-number {
  color: #39715a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.document-card h2 {
  margin: 3.8rem 0 1rem;
  font-size: 1.55rem;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.document-card p {
  color: #526b61;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  color: #176d51;
  font-size: 0.88rem;
  font-weight: 700;
}

.article-shell {
  max-width: 800px;
  padding: 3rem 0 7rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 4rem;
  color: #6a7f75;
  font-size: 0.8rem;
}

.breadcrumb a {
  color: #39715a;
}

.article-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #dce6e0;
}

.article-header h1 {
  font-size: clamp(2.7rem, 7vw, 4.7rem);
}

.updated {
  margin: -0.5rem 0 2rem;
  color: #6a7f75;
  font-size: 0.78rem;
}

article section {
  padding-top: 2.4rem;
}

article h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

article h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

article p,
article li {
  color: #3f584e;
  font-size: 0.98rem;
  line-height: 1.85;
}

article ul {
  padding-left: 1.3rem;
}

article li + li {
  margin-top: 0.75rem;
}

.notice {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid #cfe1d7;
  border-radius: 0.8rem;
  color: #315d4a;
  background: #edf6f0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.notice.important {
  margin-top: 3rem;
  border-color: #e1d4b3;
  color: #69562f;
  background: #fbf7ed;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #dce6e0;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  color: #fff;
  background: #1d8c68;
  font-size: 0.8rem;
  font-weight: 750;
}

.steps p {
  margin-bottom: 0;
}

.back-link {
  margin-top: 3rem;
  font-weight: 650;
}

.site-footer {
  min-height: 7rem;
  padding: 1.5rem 0;
  border-top: 1px solid #dce6e0;
  color: #6a7f75;
  font-size: 0.78rem;
}

.site-footer a {
  color: #39715a;
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .page-shell,
  .article-shell {
    width: min(100% - 2rem, 1120px);
  }

  .site-header {
    min-height: 5rem;
  }

  .header-link {
    max-width: 9rem;
    text-align: right;
  }

  .page-shell {
    padding: 4.5rem 0 5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .document-card {
    min-height: 16rem;
  }

  .article-shell {
    padding-top: 2rem;
  }

  .breadcrumb {
    margin-bottom: 3rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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

  * {
    transition: none !important;
  }
}
