:root {
  color-scheme: light;
  --navy: #142C46;
  --ink: #183551;
  --gold: #DFC18B;
  --body: #334155;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Nirmala UI", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  font-family: var(--sans);
  background: #F7F9FC;
  color: var(--ink);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b06016; outline-offset: 4px; }
.wrap { width: min(76rem, calc(100% - clamp(2.5rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 0; z-index: 4; transform: translateY(-140%); padding: .7rem; background: white; }
.skip:focus { transform: translateY(0); }
.masthead { background: #fffdfa; border-bottom: 1px solid #d9d6cf; }
.masthead-inner, .identity, .masthead nav, .actions, .footer-inner, .section-title, .portal-head, .hero-link { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.identity { gap: .75rem; text-decoration: none; min-height: 44px; }
.seal { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; color: #f1d39a; background: var(--navy); font: 1.28rem var(--serif); letter-spacing: -.1em; padding-right: .13em; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3px #b39b69; }
.wordmark { font: 600 clamp(1.15rem, 2vw, 1.55rem)/1.05 var(--serif); }
.wordmark span { font-weight: 400; }
.masthead nav { gap: clamp(.75rem, 3vw, 2rem); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 600 .94rem "Segoe UI", system-ui, sans-serif; }
.masthead nav a:hover, .account-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #10283e; color: #fffaf0; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 44%; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 52%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #10283e 0%, #10283e 39%, rgba(16,40,62,.93) 44%, rgba(16,40,62,.42) 55%, transparent 68%); }
.hero-inner { padding-block: clamp(2.45rem, 4.6vw, 4.35rem); }
.hero-copy { max-width: 53%; }
.purpose, .category { font-size: .78rem; font-weight: 650; }
.purpose { color: #f0d098; text-transform: uppercase; letter-spacing: .12em; line-height: 1.6; }
.purpose span { padding-inline: .14em; }
h1 { font: 500 clamp(2.72rem, 4.65vw, 4.75rem)/1.06 var(--serif); letter-spacing: -.042em; margin: .32em 0 .34em; }
h1 em { font-weight: 400; color: var(--gold); }
.hero-intro { font-size: clamp(1rem, 1.35vw, 1.13rem); line-height: 1.8; max-width: 28em; color: #edf1f4; }
.hero-link { display: inline-flex; gap: .9rem; margin-top: 1.2rem; padding: .6rem 1rem; min-height: 44px; background: var(--gold); color: #152b3d; border: 1px solid var(--gold); border-radius: 3px; text-decoration: none; font-weight: 650; }
.hero-link:hover { background: #f3d79f; }
.hero-link span { font-size: 1.2rem; line-height: 1; }
.portals { padding-block: clamp(1.65rem, 3vw, 2.7rem) clamp(2.3rem, 4vw, 4rem); }
.section-title { gap: 1.1rem; margin-bottom: 1rem; }
.section-title h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 650; }
.section-title span { height: 1px; background: #d2cbbd; flex: 1; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.portal { --accent: #2459A6; --wash: #e8eff2; --line: #98b1bf; --panel: #f5f8f9; padding: clamp(1.15rem, 2.2vw, 2rem); border: 1px solid #d3d8d8; border-top: 3px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, var(--panel), #fff 68%); box-shadow: 0 3px 12px #172c3d09; display: flex; flex-direction: column; scroll-margin-block: 1rem; }
.insurance { --accent: #187653; --wash: #e7efea; --line: #89a79a; --panel: #f2f7f3; }
.portal-head { gap: .8rem; }
.category { color: var(--accent); font-size: .875rem; }
h3 { font: 550 clamp(1.9rem, 3vw, 2.65rem)/1.12 var(--serif); letter-spacing: -.035em; color: var(--navy); }
.symbol { width: 3.2rem; height: 3.2rem; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--wash); }
.book i { position: relative; width: 1.65rem; height: 1.1rem; }
.book i::before, .book i::after { content: ""; position: absolute; width: 50%; height: 100%; border: 1.5px solid currentColor; background: transparent; }
.book i::before { left: 0; border-radius: 2px 4px 0 1px; transform: skewY(10deg); }
.book i::after { left: 50%; border-radius: 4px 2px 1px 0; transform: skewY(-10deg); }
.document i { width: 1.05rem; height: 1.35rem; border: 1.5px solid currentColor; border-radius: 2px; position: relative; box-shadow: 3px 3px 0 -1px var(--wash), 3px 3px currentColor; }
.document i::before { content: ""; position: absolute; left: 18%; top: 28%; height: 1px; width: 62%; background: currentColor; box-shadow: 0 4px currentColor; }
.lead, .scope { color: var(--body); line-height: 1.75; }
.lead { margin-block: 1rem .7rem; }
.scope { font-size: .94rem; margin-bottom: 1rem; }
.scope strong { color: var(--accent); margin-inline-end: .35em; }
.actions { margin-top: auto; border-top: 1px solid #dce0df; padding-top: 1rem; gap: .45rem 1rem; flex-wrap: wrap; }
.primary, .account-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .95rem; }
.primary { background: var(--accent); color: white; text-decoration: none; padding: .65rem 1rem; border-radius: 3px; font-weight: 650; }
.primary:hover { filter: brightness(.88); }
.account-link { color: var(--accent); text-underline-offset: .24em; }
footer { background: #eeeae2; border-top: 1px solid #dbd5ca; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.footer-inner nav a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-inner { flex-wrap: wrap; padding-block: .6rem; justify-content: space-between; gap: 1rem; min-height: 4rem; color: #475461; font-size: .9rem; }
@media (max-width: 900px) {
  .hero-copy { max-width: 59%; }
  .hero-intro { max-width: 24em; }
  .actions { align-items: flex-start; }
}
@media (max-width: 700px) { .portal-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .masthead-inner { min-height: 3.9rem; }
  .identity { gap: .45rem; }
  .seal { width: 2rem; height: 2rem; font-size: 1.12rem; }
  .masthead nav { gap: .72rem; }
  .masthead nav a { font-size: .84rem; }
  .hero { display: grid; }
  .hero-inner { grid-row: 1; padding-block: 1.9rem .65rem; }
  .hero-copy { max-width: 100%; }
  .hero-intro { max-width: 32em; }
  .hero-art { position: relative; grid-row: 2; inset: auto; height: clamp(8rem, 29vw, 11.5rem); background: #10283e; }
  .hero-art img { object-position: center 60%; }
  .hero::before { display: none; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#10283e,transparent 30%); }
  .purpose { font-size: .69rem; letter-spacing: .09em; }
  h1 { font-size: clamp(2.5rem, 8.4vw, 3.5rem); }
  .hero-link { margin-top: .8rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 2rem); }
  .wordmark { font-size: 1rem; }
  .masthead nav { gap: .6rem; }
  .seal { display: none; }
  .footer-inner { flex-wrap: wrap; padding-block: .8rem; }
}
.brand-purpose { color:var(--ink); font:600 .75rem/1.5 "Segoe UI",sans-serif; letter-spacing:.11em; text-transform:uppercase; }
.portal { position:relative; }
.feature-list { margin:1rem 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.58rem 1rem; list-style:none; }
.feature-list li { border-inline-start:2px solid var(--line); padding-inline-start:.55rem; font:500 .97rem/1.4 "Segoe UI",sans-serif; }
.available { font-size:.94rem; color:var(--body); margin-bottom:1rem; }
.portal .primary::after { content:""; position:absolute; inset:0; }
.portal:focus-within, .portal:hover { border-color:var(--accent); }
@media(max-width:600px) { .brand-purpose { font-size:.59rem; max-width:12em; text-align:right; } }
@media(max-width:370px) { .feature-list { grid-template-columns:1fr; } }
.portal .primary:hover { filter:none; text-decoration:underline; }
