@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap");

:root {
  --navy: #003057;
  --navy-dark: #001d35;
  --red: #a6192e;
  --red-dark: #7f1022;
  --red-soft: #f8edef;
  --silver: #c0c0c0;
  --silver-light: #edf2f5;
  --pearl: #f7f8f9;
  --panel: #ffffff;
  --ink: #171b1f;
  --white: #ffffff;
  --line: #d4dce2;
  --heading: Montserrat, "Century Gothic", Arial, sans-serif;
  --display: Montserrat, "Century Gothic", Arial, sans-serif;
  --body: Montserrat, "Century Gothic", Arial, sans-serif;
  --shadow: 0 18px 44px rgba(0, 35, 65, .1);
  --shadow-soft: 0 12px 28px rgba(0, 35, 65, .075);
  --geometric-pattern: linear-gradient(132deg, transparent 0 13%, rgba(255, 255, 255, .58) 13.2% 28%, transparent 28.2% 44%, rgba(255, 255, 255, .34) 44.2% 57%, transparent 57.2% 100%), linear-gradient(48deg, transparent 0 56%, rgba(177, 183, 188, .055) 56.2% 64%, transparent 64.2% 100%), linear-gradient(138deg, rgba(192, 192, 192, .05) 0 10%, transparent 10.2% 71%, rgba(170, 176, 181, .045) 71.2% 82%, transparent 82.2% 100%), linear-gradient(158deg, #fafbfc 0%, #f0f2f4 54%, #f8f9fa 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.68; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; background: var(--white); color: var(--navy); font: 700 14px/1.2 var(--display); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-top: 4px solid var(--red); border-bottom: 2px solid var(--navy); box-shadow: 0 5px 20px rgba(0, 35, 65, .05); backdrop-filter: blur(14px); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; min-width: 286px; min-height: 72px; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 8px; background: rgba(255, 255, 255, .76); }
.brand img { width: 252px; height: auto; margin: auto; object-fit: contain; object-position: center; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 27px; margin-left: auto; font: 700 13px/1 var(--display); letter-spacing: .025em; }
.site-nav > a:not(.button) { padding: 14px 0 10px; border-bottom: 3px solid transparent; text-decoration: none; }
.site-nav > a:not(.button):hover, .site-nav > a:not(.button):focus-visible, .site-nav a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font: 700 14px/1 var(--display); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; }
.menu-icon { position: relative; margin-bottom: 6px; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.nav-menu { position: relative; }
.nav-menu-button { padding: 14px 0 10px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink); cursor: pointer; font: inherit; letter-spacing: inherit; }
.nav-menu-button:hover, .nav-menu-button:focus-visible, .nav-menu-button[aria-expanded="true"] { color: var(--red); border-color: var(--red); }
.nav-submenu { position: absolute; top: calc(100% + 18px); left: -22px; display: none; min-width: 225px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }
.nav-menu.open .nav-submenu { display: grid; }
.nav-submenu a { padding: 13px 14px; color: var(--navy); text-decoration: none; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: var(--silver-light); color: var(--red); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--navy); border-radius: 8px; background: linear-gradient(180deg, #0a416c 0%, var(--navy) 88%); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 3px 0 rgba(0, 29, 53, .18), 0 9px 20px rgba(0, 48, 87, .13); text-align: center; text-decoration: none; font: 700 14px/1.3 var(--display); letter-spacing: .025em; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--white); color: var(--navy); box-shadow: 0 5px 0 rgba(0, 29, 53, .13), 0 15px 28px rgba(0, 48, 87, .15); }
.button-small { min-height: 42px; padding-inline: 20px; border-color: var(--navy); background: var(--navy); }
.button-small:hover, .button-small:focus-visible { color: var(--navy); }
.button-secondary { border-color: var(--red-dark); background: linear-gradient(180deg, #b7243a 0%, var(--red) 88%); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 3px 0 rgba(104, 10, 28, .21), 0 10px 22px rgba(127, 16, 34, .13); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--red); background: var(--white); color: var(--red); }

.hero { position: relative; overflow: hidden; min-height: 630px; display: grid; align-items: center; padding: 100px 0 116px; border-bottom: 1px solid var(--line); background-color: var(--pearl); background-image: var(--geometric-pattern); }
.hero .shell { position: relative; z-index: 1; }
.hero-rule, .heading-rule { width: 112px; height: 4px; margin-bottom: 28px; border-radius: 99px; background: var(--red); }
h1 { max-width: 820px; margin: 0; color: var(--navy); font: 800 clamp(42px, 5.7vw, 68px)/1.08 var(--heading); letter-spacing: -.035em; }
.hero-text { max-width: 790px; margin: 28px 0 0; color: #283b4b; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.65; }
.hero-actions { display: grid; max-width: 760px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; margin-top: 42px; }
.portal-option { position: relative; overflow: hidden; display: grid; min-height: 172px; align-content: start; justify-items: center; padding: 16px 16px 24px 30px; border: 1px solid rgba(0, 48, 87, .12); border-radius: 10px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-soft); }
.portal-option::before { position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: var(--navy); content: ""; }
.portal-option:last-child::before { background: var(--red); }
.portal-option .button { width: 100%; }
.portal-note { max-width: 300px; margin: 14px 0 0; color: var(--navy); text-align: center; font: 700 14px/1.5 var(--display); }
.portal-note span { display: block; margin: 0 0 5px; color: var(--red); font-size: 23px; line-height: .8; }

.page-heading { position: relative; overflow: hidden; min-height: 370px; display: grid; align-items: center; padding: 82px 0; background-color: var(--pearl); background-image: var(--geometric-pattern); border-bottom: 1px solid var(--line); }
.page-heading .shell { position: relative; z-index: 1; }
.page-heading h1 { font-size: clamp(44px, 5.8vw, 70px); }
.page-action { margin-top: 34px; }
.content-section { padding: 82px 0 100px; background: var(--white); }
.approved-copy { max-width: 820px; font-size: 21px; }
.approved-copy p { margin: 0; }

.site-footer { border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--navy) 0 72%, var(--red) 72% 86%, var(--silver) 86%) 1; background: var(--white); color: var(--navy); }
.footer-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-inner a { font-family: var(--display); text-underline-offset: 4px; }
.footer-legal { max-width: 610px; text-align: right; font-size: 12px; font-style: italic; line-height: 1.5; }

@media (max-width: 1180px) and (min-width: 821px) {
  .header-inner { gap: 18px; }
  .brand { min-width: 218px; padding-inline: 8px; }
  .brand img { width: 202px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .button-small { padding-inline: 14px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 84px; }
  .brand { min-width: 225px; min-height: 60px; padding: 8px 10px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 84px; left: 0; width: 100%; display: none; align-items: stretch; gap: 0; padding: 18px 20px 26px; border-bottom: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav > a:not(.button) { padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 16px; }
  .nav-menu { border-bottom: 1px solid var(--line); }
  .nav-menu-button { width: 100%; padding: 15px 4px; text-align: left; }
  .nav-submenu { position: static; min-width: 0; padding: 0 0 10px 14px; border: 0; box-shadow: none; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1160px); }
  .hero { min-height: auto; padding: 72px 0 84px; background-color: var(--pearl); background-image: var(--geometric-pattern); }
  .hero-actions { grid-template-columns: 1fr; }
  .portal-option { width: 100%; }
  .page-heading { min-height: 300px; padding: 62px 0; background-color: var(--pearl); background-image: var(--geometric-pattern); }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
  .footer-legal { max-width: none; text-align: left; }
}

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