:root {
  color-scheme: light;
  --background: #f3f8f7;
  --surface: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --primary: #008f7a;
  --primary-dark: #006f60;
  --primary-soft: #e7f6f2;
  --border: #dce8e5;
  --shadow: 0 18px 50px rgba(15, 67, 59, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--primary-dark);
  font-weight: 650;
  text-underline-offset: 3px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1040px);
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 18px;
}

nav a {
  margin-left: 18px;
  padding: 8px 2px;
  text-decoration: none;
}

nav a[aria-current="page"] {
  border-bottom: 2px solid var(--primary);
}

.document-shell,
.landing {
  width: min(100% - 32px, 960px);
  margin: 24px auto 48px;
}

.document,
.landing-card {
  border: 1px solid rgba(220, 232, 229, 0.9);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document {
  padding: clamp(24px, 5vw, 64px);
}

.document-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 58px);
  letter-spacing: -0.035em;
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(22px, 4vw, 27px);
}

h3 {
  margin: 24px 0 6px;
  font-size: 17px;
}

p,
ul,
address {
  margin: 0 0 16px;
}

address {
  font-style: normal;
}

ul {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.updated {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: #3d4b5f;
  font-size: 18px;
}

.notice {
  margin: 30px 0 8px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--primary-soft);
  color: #174c43;
  font-weight: 600;
}

.notice--urgent {
  border-left-color: #c2410c;
  background: #fff2e8;
  color: #7c2d12;
}

.landing {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
}

.landing-card {
  width: 100%;
  padding: clamp(32px, 7vw, 80px);
  text-align: center;
}

.landing-card .lead {
  margin: 18px auto 28px;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.primary-link {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--primary-dark);
  color: white;
}

.secondary-link {
  display: inline-block;
  padding: 11px 19px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: white;
  text-decoration: none;
}

.steps {
  padding-left: 24px;
}

.steps li {
  margin-bottom: 14px;
  padding-left: 6px;
}

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

.contact-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfdfd;
}

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

.contact-address {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 64px;
    padding: 14px 0;
  }

  nav {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
  }

  nav a {
    flex: 0 0 auto;
    margin-left: 0;
  }

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

  .document-shell {
    margin-top: 8px;
  }

  .document,
  .landing-card {
    border-radius: 18px;
  }

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