:root {
  color-scheme: light;
  --blue: #183668;
  --green: #6ba539;
  --ink: #1f2937;
  --muted: #64748b;
  --paper: #fffdf7;
  --background: #f3f1e9;
  --line: #dfe4dc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: #272727;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}
body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  line-height: 1.65;
}
a { color: #315f96; text-underline-offset: 3px; }
a:hover { color: var(--green); }

.site-header {
  background: white;
  border-bottom: 4px solid var(--green);
}
.header-inner,
.page,
.site-footer-inner {
  width: min(100% - 32px, 900px);
  margin-inline: auto;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; }
.brand-icon { width: 50px; height: 44px; }
.brand-copy { display: grid; gap: 4px; }
.brand-name { width: 144px; height: 22px; }
.brand-kind { width: 88px; height: 9px; }
.header-label { color: var(--blue); font-weight: 700; }

.hero {
  background: var(--blue);
  color: white;
  padding: 54px 0 68px;
}
.hero .page { max-width: 760px; }
.hero h1 { margin: 6px 0 12px; font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.05; }
.hero p { max-width: 650px; margin: 0; color: #dbeafe; font-size: 1.1rem; }
.eyebrow { margin: 0; color: var(--green); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }

main.page { flex: 1 0 auto; margin-top: -34px; padding-bottom: 64px; }
.document,
.hub-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgb(24 54 104 / 11%);
  padding: clamp(24px, 5vw, 52px);
}
.document > .eyebrow { color: var(--green); }
.document h1 { margin: 6px 0 4px; color: var(--blue); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.lead { margin-top: 0; color: var(--muted); font-size: 1.05rem; }
.notice {
  margin: 28px 0 34px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: #eef5e8;
  padding: 18px 20px;
}
.notice p { margin: 5px 0 0; }
.document section { scroll-margin-top: 20px; padding: 28px 0 6px; border-top: 1px solid var(--line); }
.document h2 { margin: 0 0 10px; color: var(--blue); font-size: 1.25rem; line-height: 1.35; }
.document h3 { scroll-margin-top: 20px; margin: 20px 0 8px; color: var(--blue); font-size: 1.05rem; line-height: 1.4; }
.document p { margin: 0 0 14px; }
.document-footer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 18px 0; color: var(--blue); font-weight: 700; cursor: pointer; }
.faq details p { padding: 0 0 18px; }

.hub-card h1 { margin: 0 0 8px; color: var(--blue); font-size: clamp(2rem, 5vw, 3rem); }
.hub-card > p { margin-top: 0; color: var(--muted); }
.document-link {
  display: block;
  margin-top: 28px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.document-link:hover { border-color: var(--green); color: inherit; }
.document-link strong { display: block; color: var(--blue); font-size: 1.15rem; }
.document-link span { color: var(--muted); }

.site-footer { background: #272727; color: white; }
.site-footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: white; }

@media (max-width: 640px) {
  .header-inner { min-height: 74px; }
  .brand-icon { width: 42px; height: 37px; }
  .brand-name { width: 122px; height: 19px; }
  .brand-kind { width: 75px; height: 8px; }
  .header-label { display: none; }
  .hero { padding: 40px 0 58px; }
  main.page { padding-bottom: 40px; }
  .document, .hub-card { border-radius: 14px; padding: 24px 20px; }
  .site-footer-inner { min-height: 126px; padding: 24px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
}
