:root {
  --navy: #12334a;
  --navy-deep: #092538;
  --blue: #1e6fb8;
  --teal: #087c72;
  --amber: #f5b942;
  --ink: #17212b;
  --muted: #5d6c77;
  --line: #d6e1e8;
  --canvas: #eef4f7;
  --white: #fff;
  --shadow: 0 18px 50px rgba(16, 50, 73, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--blue); }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; color: white; background: var(--navy-deep); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { color: var(--navy); background: white; border-bottom: 1px solid rgba(18, 51, 74, .12); }
.header-inner { width: min(1120px, calc(100% - 32px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 12px 12px 12px 4px; font-size: 14px; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
.back-link { font-size: 14px; font-weight: 800; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 58px; }
.page-intro { max-width: 830px; }
.eyebrow, .section-kicker { margin: 0 0 7px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.page-intro > p:last-child { max-width: 760px; margin: 17px 0 0; color: var(--muted); font-size: 19px; }
.draft-alert { margin: 30px 0 18px; display: flex; gap: 14px; padding: 17px 19px; color: #563e00; background: #fff4cd; border: 1px solid #e4ca67; border-radius: 12px; }
.draft-alert > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: #876300; border-radius: 8px; font-weight: 900; }
.draft-alert strong { display: block; }
.draft-alert p { margin: 2px 0 0; font-size: 14px; }
.section-nav { position: sticky; z-index: 5; top: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: rgba(238, 244, 247, .96); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(8px); }
.section-nav a { padding: 8px 11px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 800; text-decoration: none; }
.section-nav a:hover { color: white; background: var(--blue); border-color: var(--blue); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.legal-content { display: grid; gap: 18px; }
.legal-content > section { padding: clamp(24px, 4vw, 38px); background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.legal-content h2, .side-panel h2 { margin: 0 0 22px; color: var(--navy); font-size: 29px; line-height: 1.2; }
.legal-content h3 { margin: 26px 0 6px; color: var(--navy); font-size: 18px; }
.legal-content p { margin: 0 0 12px; }
.legal-content section > p:last-child { margin-bottom: 0; }
.identity-card { display: grid; grid-template-columns: 1fr 1.4fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.identity-card div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.identity-card div:nth-child(odd) { border-right: 1px solid var(--line); }
.identity-card div:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
.identity-card span, .identity-card strong { display: block; }
.identity-card span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.identity-card strong { margin-top: 3px; color: var(--navy); font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 15px 0 4px; border: 1px solid var(--line); border-radius: 11px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: white; background: var(--navy); font-size: 13px; }
td { font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
.check-list { margin: 12px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.check-list li { position: relative; padding-left: 29px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 6px; font-size: 12px; font-weight: 900; }
.status-row { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 15px; color: #22554d; background: #e6f5f2; border-radius: 10px; }
.status-row span { font-size: 13px; font-weight: 750; }
.status-row strong { color: var(--teal); }
.inline-link { display: inline-flex; margin-top: 8px; padding: 10px 13px; color: white; background: var(--blue); border-radius: 9px; font-weight: 800; text-decoration: none; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li + li { margin-top: 7px; }
.sources > p:last-child { margin-top: 17px; padding-top: 15px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.side-panel { position: sticky; top: 78px; padding: 24px; color: white; background: var(--navy); border-radius: 17px; box-shadow: var(--shadow); }
.side-panel .section-kicker { color: #75cbff; }
.side-panel h2 { color: white; font-size: 24px; }
.side-panel ul { margin: 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.side-panel li { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.side-panel li:last-child { border-bottom: 0; }
.side-panel strong, .side-panel span { display: block; }
.side-panel strong { color: var(--amber); font-size: 14px; }
.side-panel span { margin-top: 2px; color: #d4e3ea; font-size: 13px; }
.side-panel > a { margin-top: 20px; display: block; padding: 10px 12px; color: var(--navy); background: white; border-radius: 9px; font-size: 14px; font-weight: 850; text-align: center; text-decoration: none; }
footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
footer > div:first-child strong, footer > div:first-child span { display: block; }
footer strong { color: var(--navy); }
footer > div:last-child { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (max-width: 580px) {
  .header-inner, .page-shell, footer { width: min(100% - 20px, 1120px); }
  .brand small { display: none; }
  .page-shell { padding-top: 30px; }
  h1 { font-size: 42px; }
  .page-intro > p:last-child { font-size: 17px; }
  .draft-alert { align-items: flex-start; }
  .section-nav { position: static; }
  .identity-card { grid-template-columns: 1fr; }
  .identity-card div, .identity-card div:nth-child(odd), .identity-card div:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .identity-card div:last-child { border-bottom: 0; }
  .status-row { align-items: flex-start; flex-direction: column; gap: 3px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
