:root {
  --navy: #002f5f;
  --navy-dark: #001f3f;
  --blue-pale: #e8f1f9;
  --paper: #f4f4f1;
  --white: #ffffff;
  --ink: #121820;
  --muted: #4a5561;
  --line: #64717d;
  --accent: #b42318;
  --focus: #ffbf47;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background:
    linear-gradient(#d9d9d5 0 4px, transparent 4px),
    var(--paper);
  color: var(--ink);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--navy);
  text-underline-offset: 2px;
}

a:hover {
  color: #005eb8;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 24px), var(--max-width));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--focus);
  color: #000;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 2px solid var(--navy-dark);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.header-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--navy);
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand small {
  margin-top: 2px;
  font-size: 10px;
  opacity: 0.82;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.primary-nav a {
  display: flex;
  min-width: 72px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgb(255 255 255 / 30%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.primary-nav a:last-child {
  border-right: 1px solid rgb(255 255 255 / 30%);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 60%);
  background: transparent;
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.page-frame {
  margin-block: 18px 42px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 4px 4px 0 rgb(0 0 0 / 10%);
}

.hero {
  padding: clamp(26px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgb(255 255 255 / 96%), rgb(244 244 241 / 88%)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgb(0 47 95 / 6%) 12px 13px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 6vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 4px;
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 2px outset #d8d8d8;
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: #004784;
  color: var(--white);
}

.button-secondary {
  background: #ececec;
  color: var(--ink);
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--blue-pale);
  font-size: 12px;
}

.content-section {
  padding: 16px 14px 20px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section h2 {
  margin-bottom: 14px;
  padding: 5px 8px;
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.2;
}

.check-list {
  padding-left: 22px;
}

.check-list li {
  margin: 5px 0;
}

.service-table {
  border: 1px solid var(--line);
  border-bottom: 0;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(0, 2fr);
  border-bottom: 1px solid var(--line);
}

.service-row > * {
  margin: 0;
  padding: 12px;
}

.service-row h3 {
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
}

.service-row h3 span {
  margin-right: 5px;
  font-family: Georgia, serif;
}

.service-row p {
  background: #fafafa;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 150px;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.steps strong {
  display: block;
  margin: 12px 0 4px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 18px;
}

.step-label {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--navy);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px dotted var(--line);
}

.faq-list details {
  border-bottom: 1px dotted var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) 1.5fr;
  gap: 18px;
  padding: 10px 4px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  list-style-position: inside;
}

.faq-list summary::after {
  content: "Select to view answer";
  color: var(--muted);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "Answer shown";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 12px 30px;
}

.contact-section {
  background: #f8f8f6;
}

form {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

label {
  display: block;
  margin-bottom: 12px;
}

label span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

label em {
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid #777;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

input {
  min-height: 38px;
  padding: 7px 8px;
}

textarea {
  min-height: 78px;
  padding: 8px;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

[aria-invalid="true"] {
  border: 2px solid var(--accent);
}

.date-field {
  max-width: 260px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #c5c5c5;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 22px 0 28px;
  background: var(--navy-dark);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    min-height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: none;
    border: 1px solid var(--navy-dark);
    background: var(--navy);
    box-shadow: 4px 4px 0 rgb(0 0 0 / 18%);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav a {
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 25%);
  }

  .page-frame {
    margin-top: 10px;
  }

  .hero {
    padding: 28px 16px;
  }

  .service-row,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-row h3,
  .steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-row p {
    padding-top: 10px;
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .faq-list summary {
    display: block;
  }

  .faq-list summary::after {
    display: block;
    margin: 4px 0 0 22px;
    font-size: 11px;
  }

  .form-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
