:root {
  --page: #f7f7f2;
  --ink: #303a34;
  --panel: #fffefa;
  --line: #e5e7de;
  --accent: #28563e;
  --accent-soft: rgba(40, 86, 62, 0.12);
  --shadow: rgba(48, 58, 52, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(40, 86, 62, 0.08), transparent 32rem),
    linear-gradient(180deg, #fcfbf6 0%, var(--page) 16rem);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  left: 1rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  position: absolute;
  top: -4rem;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

.site-shell {
  margin: 0 auto;
  max-width: 72rem;
  padding: 1.5rem;
}

.site-header,
.site-footer {
  background: rgba(255, 254, 250, 0.92);
  border: 1px solid rgba(40, 86, 62, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px var(--shadow);
  padding: 1.5rem;
}

.site-header {
  display: grid;
  gap: 1rem;
}

.brand {
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
}

.brand-name,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand-name {
  font-size: clamp(1.55rem, 2vw + 1rem, 2.3rem);
  font-weight: 700;
}

.brand-note {
  color: rgba(48, 58, 52, 0.78);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(40, 86, 62, 0.12);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 720px;
  padding: 1.5rem 0;
}

.hero,
.section-card {
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(40, 86, 62, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px var(--shadow);
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.eyebrow {
  color: var(--accent);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.08rem;
  margin: 1rem 0 0.5rem;
}

p,
li,
dd {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

dl {
  margin: 0;
}

dt {
  font-weight: 700;
  margin-top: 1rem;
}

dd {
  margin-left: 0;
}

.meta {
  color: rgba(48, 58, 52, 0.78);
  font-size: 0.95rem;
}

.draft-notice {
  background: rgba(40, 86, 62, 0.12);
  border-left: 4px solid var(--accent);
  border-radius: 0.9rem;
  color: var(--ink);
  font-weight: 700;
  padding: 0.9rem 1rem;
}

.scope-list,
.contact-list {
  display: grid;
  gap: 0.75rem;
}

.scope-list li,
.contact-list li {
  background: rgba(229, 231, 222, 0.55);
  border-radius: 0.95rem;
  list-style: none;
  padding: 0.95rem 1rem;
}

.site-footer {
  color: rgba(48, 58, 52, 0.86);
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .site-shell {
    padding: 1rem;
  }

  .site-header,
  .site-footer,
  .hero,
  .section-card {
    border-radius: 1rem;
    padding: 1.2rem;
  }

  .site-nav {
    flex-direction: column;
  }

  .site-nav a {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .site-shell {
    padding: 0.75rem;
  }

  .site-header,
  .site-footer,
  .hero,
  .section-card {
    padding: 1rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-shell {
    max-width: none;
    padding: 0;
  }

  .site-header,
  .site-footer,
  .hero,
  .section-card {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .site-nav a {
    border: 1px solid #ccc;
  }
}
