:root {
  color-scheme: light;
  --navy: #071d49;
  --teal: #0aa58f;
  --ink: #10203f;
  --muted: #5d6b7f;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #dfe5ec;
  --gold: #d9a925;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 10px 14px; border-radius: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(251,250,247,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, .page, .site-footer-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 900; letter-spacing: -.03em; color: var(--navy);
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px; background: var(--teal);
  display: grid; place-items: center; color: #fff; font-weight: 900;
}
.top-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 750; }
.top-nav a { text-decoration: none; }
.hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
}
.kicker { margin: 0 0 10px; color: var(--teal); text-transform: uppercase; font-weight: 900; letter-spacing: .13em; font-size: 11px; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: .95; letter-spacing: -.065em; margin: 0; max-width: 900px; color: var(--navy); }
.lede { max-width: 800px; margin: 24px 0 0; font-size: 18px; color: var(--muted); }
.updated { margin-top: 16px; font-size: 12px; color: var(--muted); font-weight: 750; }
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  padding: 44px 0 84px;
}
.side-nav { position: sticky; top: 98px; align-self: start; }
.side-nav strong { display: block; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.side-nav a { display: block; padding: 7px 0; text-decoration: none; font-size: 13px; font-weight: 730; }
.content { min-width: 0; }
.content section {
  scroll-margin-top: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 18px;
}
.content h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--navy);
}
.content h3 { margin: 22px 0 8px; color: var(--navy); font-size: 17px; }
.content p { margin: 10px 0; }
.content ul { margin: 10px 0; padding-left: 22px; }
.content li { margin: 7px 0; }
.notice {
  border-left: 4px solid var(--teal);
  padding: 16px 18px;
  background: #edf9f6;
  border-radius: 10px;
  margin: 18px 0;
}
.warning {
  border-left-color: var(--gold);
  background: #fff8e8;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  text-decoration: none;
}
.card strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 13px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 850; color: var(--navy); }
details p { color: var(--muted); margin-bottom: 0; }
.site-footer, .legal-footer {
  background: var(--navy);
  color: #c8d4e6;
  padding: 34px 0;
}
.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer a, .legal-footer a { color: #dce7f6; font-size: 12px; font-weight: 760; }
.site-footer .brand { color: #fff; }
.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
  font-size: 12px;
}
.small { font-size: 12px; color: var(--muted); }
@media (max-width: 820px) {
  .top-nav { display: none; }
  .layout { grid-template-columns: 1fr; gap: 22px; }
  .side-nav { position: static; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .side-nav a { display: inline-block; margin-right: 14px; }
  .cards { grid-template-columns: 1fr; }
  .content section { padding: 24px 20px; }
}
