:root {
  color-scheme: light;
  --background: #f7f9fb;
  --surface: #ffffff;
  --text: #18202a;
  --muted: #52606d;
  --border: #d8e0e8;
  --accent: #176b5d;
  --accent-dark: #0e4b41;
  --focus: #9c6b16;
  --shadow: 0 18px 45px rgba(24, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--background);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

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

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

.site-header {
  padding: 24px 0;
}

.brand {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.nav a,
.footer-nav a {
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 84px 0 72px;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 760;
}

.lede {
  margin: 28px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.content-grid p,
.document p,
.notice p {
  color: var(--muted);
  font-size: 1rem;
}

.panel-list {
  display: grid;
  gap: 16px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel p {
  margin: 0;
}

.notice {
  margin: 8px 0 72px;
  padding: 28px;
  background: #eef7f4;
  border: 1px solid #b9d9d0;
  border-radius: 8px;
}

.notice p {
  margin: 0;
  max-width: 760px;
}

.document {
  max-width: 820px;
  padding: 64px 0 76px;
}

.document h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.updated {
  margin: 14px 0 40px;
}

.document section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.document section:first-of-type {
  border-top: 0;
}

.document p {
  margin: 0 0 14px;
}

.document p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 52px 0 48px;
  }

  h1 {
    max-width: 11ch;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 42px 0;
  }

  .notice {
    margin-bottom: 52px;
    padding: 22px;
  }

  .document {
    padding: 48px 0 56px;
  }
}
