:root {
  --navy: #0f1b35;
  --navy-light: #1a3060;
  --gold: #f0b429;
  --paper: #f5f6f8;
  --ink: #1a2340;
  --line: #dfe3eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
img, svg { max-width: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Georgia, 'Times New Roman', serif; line-height: 1.7; }
a { color: inherit; }
/* The contact email is one unbreakable 26-character token, wide enough to push
   a 320px screen into horizontal scrolling. Let long links break instead. */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.topbar { background: var(--navy); color: #fff; box-shadow: 0 2px 18px rgba(15, 27, 53, .25); }
.topbar-inner { width: min(1120px, calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { display: block; width: auto; height: 48px; }
.nav-actions { display: flex; align-items: center; gap: 10px; font-family: 'Segoe UI', sans-serif; font-size: 14px; font-weight: 700; }
.nav-actions a { text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 9px 13px; }
.nav-actions a:hover, .nav-actions a:focus-visible { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.hero { color: #fff; background: linear-gradient(115deg, var(--navy) 0%, var(--navy-light) 72%, #27457d 100%); border-top: 1px solid rgba(255,255,255,.08); }
.hero-inner { width: min(920px, calc(100% - 40px)); margin: auto; padding: 72px 0 68px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-family: 'Segoe UI', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 7vw, 70px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.updated { margin: 20px 0 0; color: rgba(255,255,255,.72); font-family: 'Segoe UI', sans-serif; font-size: 14px; }
main { width: min(920px, calc(100% - 40px)); margin: -24px auto 72px; position: relative; }
.document { padding: clamp(30px, 6vw, 62px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(15,27,53,.10); }
.intro { margin: 0 0 38px; color: #303b55; font-size: 20px; line-height: 1.65; }
section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; color: var(--navy); font-size: 27px; line-height: 1.25; }
p { margin: 0 0 14px; }
ul { margin: 10px 0 0; padding-left: 22px; }
li + li { margin-top: 8px; }
.contact-box { margin-top: 40px; padding: 24px; background: #fff8e7; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; }
.contact-box h2 { font-size: 22px; }
.contact-box a { color: #664900; font-weight: 700; }
footer { color: rgba(255,255,255,.78); background: var(--navy); font-family: 'Segoe UI', sans-serif; }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--gold); }
@media (max-width: 640px) {
  .topbar-inner { padding: 12px 0; align-items: flex-start; }
  .logo img { height: 40px; }
  .nav-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-inner { padding: 54px 0 52px; }
  main { margin-top: -16px; }
  .document { padding: 28px 22px; }
  .intro { font-size: 18px; }
}


/* Shared keyboard-accessibility helpers */
.skip-link, .skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #0f1b35;
  background: #fcd34d;
  border: 2px solid #0f1b35;
  border-radius: 8px;
  font: 700 14px/1.2 'Segoe UI', sans-serif;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.skip-link:focus, .skip:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #16cae2;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
