:root {
  color-scheme: light;
  --slate: #263943;
  --navy: #17384d;
  --accent: #65a6c4;
  --paper: #e8f2f7;
  --panel: #edf4f7;
  --border: #cbd9df;
  --link: #064b78;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--navy);
  font: 1rem/1.6 Arial, Helvetica, sans-serif;
}

a { color: var(--link); text-underline-offset: .18em; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.17rem; }
p { margin: 0 0 .8rem; }
p:last-child { margin-bottom: 0; }

.skip { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .5rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

.site-wrapper {
  width: min(1180px, 94%);
  margin: 20px auto 40px;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 30px rgb(0 0 0 / 35%);
}

.header-image { display: block; width: 100%; height: auto; }
.notice { padding: 10px 24px; background: var(--panel); text-align: center; font-size: .8rem; }
.main-nav { background: var(--navy); border-top: 4px solid var(--accent); }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li { flex: 1 1 20%; border-right: 1px solid rgb(255 255 255 / 20%); }
.nav-list a {
  display: grid;
  place-items: center;
  min-height: 60px;
  height: 100%;
  padding: 8px;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.25;
}

.nav-list a:hover, .nav-list a:focus-visible { background: #102b3a; }
.nav-list a:focus-visible { outline: 2px solid white; outline-offset: -4px; }

main { background: linear-gradient(var(--paper), #f7fafb 45%, var(--paper)); }
.wrap { width: min(1050px, calc(100% - 48px)); margin-inline: auto; }
.intro { max-width: 950px; padding: 24px 0 0; text-align: center; }
.section { padding-block: 24px; }
#resources { padding-top: 18px; }
.eyebrow, .tag { display: block; color: #34596d; font-size: .875rem; font-weight: 700; letter-spacing: .05em; }
.tag { margin-bottom: .6rem; }
.cards, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card, .contact { padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.card { display: flex; flex-direction: column; box-shadow: 0 3px 10px rgb(26 57 72 / 10%); }
.card a { align-self: start; margin-top: auto; }
.band { background: var(--panel); border-block: 1px solid var(--border); }
.contact address { margin-bottom: .6rem; font-style: normal; }
.faq { grid-template-columns: 1fr; gap: 8px; }
.questions { padding-inline: 18px; border: 1px solid var(--border); border-radius: 8px; background: white; }
details + details { border-top: 1px solid var(--border); }
summary { padding-block: 10px; font-weight: 700; cursor: pointer; }
details p { margin-bottom: 12px; }
.bail { border-top: 4px solid var(--accent); background: var(--panel); }
.button { display: inline-block; padding: .6rem .9rem; border-radius: 5px; background: var(--navy); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: #102b3a; }
footer { padding: 20px 0; background: var(--navy); color: #dce9ee; text-align: center; font-size: .82rem; }

@media (max-width: 720px) {
  .nav-list li { flex-basis: 50%; border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .nav-list a { min-height: 48px; }
}

@media (max-width: 600px) {
  .site-wrapper { width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  .wrap { width: calc(100% - 32px); }
  .notice { padding-inline: 14px; }
  .cards, .split { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.bail-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #304d5b, #17384d);
  box-shadow: 0 3px 10px rgb(26 57 72 / 12%);
  color: white;
}

.bail-feature h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
.bail-feature p { color: #dce9ee; }
.bail-feature .button { background: var(--accent); color: #102b3a; }
.bail-feature .button:hover { background: #a8d1e3; }
.bail-feature a:focus-visible { outline-color: white; }
.bail-feature-logo { display: block; width: min(100%, 280px); margin-inline: auto; }
.bail-feature-logo img { display: block; width: 100%; height: auto; }

@media (max-width: 600px) {
  .bail-feature { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .bail-feature-logo { max-width: 220px; }
}
