:root {
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --forest: #154a34;
  --forest-deep: #10281d;
  --rust: #b85c38;
  --gold-soft: #f7e2aa;
  --muted: #667069;
  --border: #dcd6c8;
  --shadow: 0 18px 50px rgba(16, 40, 29, 0.08);
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--forest-deep);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--forest-deep);
  transform: translateY(-160%);
}

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

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

.header-inner,
.page,
.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
}

.page {
  padding-block: 72px 88px;
}

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

h1,
h2 {
  margin-top: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 7vw, 4.2rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  letter-spacing: -0.015em;
}

p,
ul {
  margin-top: 0;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
}

.effective-date {
  display: inline-block;
  margin-top: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.section-stack {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}

.panel,
.link-card {
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel p:last-child,
.panel ul:last-child,
.link-card p:last-child {
  margin-bottom: 0;
}

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

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

.link-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  color: inherit;
  border-color: #c7b87d;
  transform: translateY(-2px);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 15px;
  color: var(--forest);
  background: var(--gold-soft);
  font-size: 20px;
}

.link-card p {
  color: var(--muted);
}

.card-action {
  margin-top: auto;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.contact-value {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  color: #7e341e;
  background: #f6e3d9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.notice {
  margin-top: 30px;
  padding: 17px 19px;
  border-left: 4px solid var(--rust);
  border-radius: 4px 14px 14px 4px;
  color: #5f493f;
  background: #f9e9e0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px 42px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 640px) {
  .header-inner,
  .page,
  .site-footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 62px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 13px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .page {
    padding-block: 50px 64px;
  }

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

  .link-card {
    min-height: 210px;
  }

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

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

  .link-card {
    transition: none;
  }
}
