:root {
  color-scheme: light;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f6f8fb;
  color: #18243c;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body { margin: 0; line-height: 1.65; }

a { color: #1b58a6; text-underline-offset: 0.2em; }
a:hover { color: #0c3e80; }
a:focus-visible { outline: 3px solid #f0a437; outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.55rem 0.8rem;
  background: white;
  border: 2px solid #1b58a6;
}
.skip-link:focus { top: 1rem; }

.site-header {
  background: #14243f;
  color: white;
  border-bottom: 4px solid #f2a93b;
}
.header-inner, .shell, .footer-inner { width: min(100% - 2.5rem, 980px); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: white; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; }
.brand:hover { color: white; }
.brand-mark { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.6rem; background: #f2a93b; color: #14243f; font-weight: 850; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a { color: #e9f0fc; text-decoration: none; font-size: 0.94rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #f2a93b; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

.shell { padding: 3.2rem 0 5rem; }
.eyebrow { margin: 0 0 0.8rem; color: #365d8e; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { color: #14243f; line-height: 1.18; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.25rem); max-width: 15ch; margin: 0 0 1.2rem; }
h2 { font-size: 1.62rem; margin: 2.5rem 0 0.85rem; }
h3 { font-size: 1.14rem; margin: 1.5rem 0 0.55rem; }
p, li { max-width: 76ch; }
p { margin: 0.8rem 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.45rem; }
strong { color: #152844; }
code { padding: 0.08rem 0.25rem; background: #eaf0f8; border-radius: 0.25rem; font-size: 0.94em; overflow-wrap: anywhere; }

.hero { padding: 1.5rem 0 1rem; }
.lead { color: #475a73; font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 57ch; }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.6rem 1.1rem; border-radius: 0.5rem; background: #1b58a6; color: white; font-weight: 650; text-decoration: none; }
.button:hover { background: #0c3e80; color: white; }
.button.secondary { background: white; color: #1b58a6; border: 1px solid #b8cae2; }
.button.secondary:hover { background: #eaf0f8; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.3rem; }
.card, .notice { background: white; border: 1px solid #dce5f0; border-radius: 0.8rem; box-shadow: 0 8px 28px rgb(24 36 60 / 5%); }
.card { padding: 1.3rem; }
.card h2 { margin-top: 0; font-size: 1.2rem; }
.card p { margin-bottom: 0; color: #4c5e75; }
.notice { border-left: 4px solid #f2a93b; padding: 1rem 1.25rem; margin-top: 2rem; }
.notice p { margin: 0; }

.document { max-width: 800px; }
.document h1 { max-width: none; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.meta { color: #536781; font-size: 0.94rem; margin-bottom: 2rem; }
.document section { border-top: 1px solid #dce5f0; margin-top: 2.4rem; }
.document section:first-of-type { border-top: 0; }
.table-wrap { overflow-x: auto; border: 1px solid #dce5f0; border-radius: 0.65rem; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e4ebf3; }
th { background: #eaf0f8; font-size: 0.92rem; }
tr:last-child td { border-bottom: 0; }

.site-footer { background: #eaf0f7; border-top: 1px solid #d3dfed; color: #425570; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; font-size: 0.9rem; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 680px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .site-nav { gap: 0.9rem; }
  .shell { padding-top: 2.2rem; }
  .cards { grid-template-columns: 1fr; }
  table { min-width: 0; }
  thead { display: none; }
  tbody tr { display: block; }
  tbody td { display: block; border-bottom: 0; }
  tbody td:first-child { padding-bottom: 0.15rem; font-weight: 700; color: #14243f; }
  tbody td:last-child { padding-top: 0.15rem; border-bottom: 1px solid #e4ebf3; }
  tbody tr:last-child td:last-child { border-bottom: 0; }
}
