:root {
  color-scheme: light;
  --navy: #012954;
  --blue: #274c74;
  --steel: #95b0c2;
  --cool: #f3f6f8;
  --line: #d9e1e7;
  --text: #26394d;
  --muted: #5e7084;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 90%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 22%, rgba(149, 176, 194, 0.12), transparent 24rem),
    radial-gradient(circle at 84% 34%, rgba(149, 176, 194, 0.08), transparent 28rem),
    var(--white);
  font-family: Georgia, "Times New Roman", serif;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 162px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px max(32px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: 429px;
  height: 126px;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a,
.site-nav button {
  min-height: 0;
  border: 0;
  padding: 8px 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible {
  outline: 0;
  color: var(--navy);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  padding: 84px 0 52px;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: 5.1rem;
  line-height: 1.04;
  hyphens: none;
}

.lead {
  max-width: 820px;
  margin-bottom: 62px;
  color: #43566a;
  font-size: 1.55rem;
  line-height: 1.44;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 246, 248, 0.84);
}

.cta-panel {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 36px 36px;
}

.cta-action {
  cursor: pointer;
  transition: background 160ms ease;
}

.cta-action:hover,
.cta-action:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.78);
}

.cta-panel:first-child {
  border-right: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: 2.55rem;
  line-height: 1.08;
}

.cta-panel p:not(.eyebrow) {
  max-width: 360px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.45;
}

.cta-button {
  display: inline-flex;
  width: fit-content;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  color: var(--white);
  background: var(--navy);
  font-size: 1.08rem;
}

.cta-button-secondary {
  color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--steel);
}

.cta-action:hover .cta-button,
.cta-action:focus-visible .cta-button {
  background: #001d3c;
}

.cta-action:hover .cta-button-secondary,
.cta-action:focus-visible .cta-button-secondary {
  color: var(--white);
  background: var(--navy);
  box-shadow: none;
}

input,
button,
textarea {
  min-height: 58px;
  border-radius: 0;
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd6de;
  padding: 0 20px;
  color: var(--navy);
  background: var(--white);
  font-size: 1.08rem;
}

textarea {
  min-height: 132px;
  padding-top: 16px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8a96a2;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  padding: 0 24px;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  font-size: 1.08rem;
  transition: background 160ms ease, transform 160ms ease;
}

button:hover,
button:focus-visible {
  background: #001d3c;
}

.text-button {
  display: inline;
  min-height: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--navy);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
}

.form-message {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.94rem;
}

.process {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.process h2 {
  margin-bottom: 34px;
  font-size: 2.8rem;
  line-height: 1.08;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 250px;
  padding: 30px 34px 32px;
  border-right: 1px solid var(--line);
}

.process-step:first-child {
  padding-left: 10px;
}

.process-step:last-child {
  padding-right: 10px;
  border-right: 0;
}

.process-number {
  margin: 0 0 22px;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.process-step p:not(.process-number) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.45;
}

.process-note {
  margin: 24px 0 0;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
}

.qualities {
  padding: 52px 0 44px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 940px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: 2.8rem;
  line-height: 1.08;
}

.section-heading p {
  margin-bottom: 0;
  color: #43566a;
  font-size: 1.22rem;
  line-height: 1.38;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quality {
  min-height: 256px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}

.quality:first-child {
  padding-left: 10px;
}

.quality:last-child {
  padding-right: 10px;
  border-right: 0;
}

.quality-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #647a71;
  background: #eef3f4;
}

.quality-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.quality h3 {
  max-width: 250px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.12;
}

.quality p {
  max-width: 280px;
  margin-bottom: 0;
  color: #516171;
  font-size: 1rem;
  line-height: 1.42;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 28px;
  color: #68788a;
  font-size: 0.95rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 41, 84, 0.28);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 38px 42px 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(1, 41, 84, 0.18);
}

.modal-panel:focus {
  outline: 0;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--blue);
  background: transparent;
  transform: none;
}

.modal-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.modal-panel h2 {
  margin-bottom: 18px;
  padding-right: 34px;
  font-size: 2.55rem;
  line-height: 1.08;
}

.modal-body {
  color: #43566a;
  font-size: 1.08rem;
  line-height: 1.55;
}

.modal-body p {
  margin-bottom: 18px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-text h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.privacy-text h3:first-child {
  margin-top: 0;
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.modal-form label {
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.modal-note {
  margin-top: 12px;
}

.reference-fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.reference-fieldset legend {
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.reference-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.reference-inputs input {
  padding: 0 12px;
  text-align: center;
  text-transform: uppercase;
}

.reference-inputs span {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.4rem;
}

.modal-form button {
  width: fit-content;
  margin-top: 4px;
}

.modal-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.turnstile-widget {
  min-height: 65px;
}

.modal-body .modal-link-button {
  display: flex;
  width: fit-content;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  padding: 0 24px;
  color: var(--white);
  background: var(--navy);
  font-size: 1.08rem;
  text-decoration: none;
}

.modal-body .modal-link-button:hover,
.modal-body .modal-link-button:focus-visible {
  color: var(--white);
  background: #001d3c;
}

.modal-form-message {
  min-height: 1.4em;
  margin: 0;
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.94rem;
}

.verification-success {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 18px 0 4px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid var(--steel);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(243, 246, 248, 0.9);
  font-family: Inter, Arial, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.verification-success p {
  max-width: 520px;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.25;
}

.contact-choices,
.contact-options {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-choice {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--navy);
  background: rgba(243, 246, 248, 0.62);
  text-align: left;
}

.contact-choice:hover,
.contact-choice:focus-visible {
  color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--steel);
  transform: none;
}

.contact-choice strong,
.contact-choice small {
  display: block;
}

.contact-choice strong {
  margin-bottom: 4px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-choice small {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  line-height: 1.28;
}

.contact-option {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(243, 246, 248, 0.62);
}

.contact-option h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.18;
}

.contact-option address {
  color: #43566a;
  font-style: normal;
  line-height: 1.55;
}

.modal-back-button {
  display: flex;
  width: fit-content;
  min-height: 0;
  margin-top: 22px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal-back-button:hover,
.modal-back-button:focus-visible {
  color: var(--blue);
  background: transparent;
  transform: none;
}

body.modal-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 0;
    flex-wrap: wrap;
    padding: 18px 24px;
  }

  .brand {
    width: min(286px, 78vw);
    height: 84px;
  }

  .site-nav {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  .site-nav button {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-start;
    padding: 6px 0;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .lead {
    font-size: 1.35rem;
  }

  .cta-panel h2,
  .process h2,
  .section-heading h2,
  .modal-panel h2 {
    font-size: 2.25rem;
  }

  .cta-band,
  .process-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    min-height: 0;
    padding: 28px 24px 30px;
  }

  .cta-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .quality,
  .quality:first-child,
  .quality:last-child {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quality:first-child {
    padding-top: 0;
  }

  .quality:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    min-height: 0;
    align-items: center;
    flex-direction: row;
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 32px, 1080px);
  }

  h1 {
    font-size: 2.55rem;
    overflow-wrap: normal;
  }

  .lead {
    margin-bottom: 44px;
  }

  button {
    width: 100%;
  }

  .contact-choice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }

  .text-button,
  .site-nav button,
  .modal-close,
  .cta-button,
  .modal-link-button,
  .modal-form button,
  .modal-back-button {
    width: auto;
  }

  .reference-inputs {
    gap: 8px;
  }

  .reference-inputs input {
    padding: 0 8px;
  }

  .modal {
    padding: 16px;
  }

  .modal-panel {
    padding: 34px 24px 30px;
  }

}
