:root {
  color-scheme: light;
  --ink: #142538;
  --muted: #4c5e70;
  --blue: #1c4c72;
  --paper: #f6f4ee;
  --surface: #fffefa;
  --line: #d8dcd9;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .75rem 1rem;
  background: var(--surface);
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus { transform: none; }

.masthead {
  min-height: 81px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.2; }
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .8125rem; margin-top: 4px; }

.landing {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  gap: clamp(24px, 5.5vw, 80px);
  align-items: start;
  padding-block: clamp(32px, 5vw, 72px) 48px;
}
.intro { padding-top: 18px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: 1.02;
}
h1 em {
  display: block;
  padding-bottom: .08em;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.065em;
}
.intro-copy { max-width: 34ch; margin-bottom: 0; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.2rem); }
.shield {
  display: block;
  width: min(100%, 450px);
  height: auto;
  margin: 16px auto 0;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 73% 69% at 50% 47%, #000 59%, transparent 91%);
}

.request-panel {
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 2);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 37, 56, .055);
  scroll-margin-top: 1rem;
}
.request-panel h2 { margin-bottom: 9px; font-size: clamp(1.65rem, 2.65vw, 2.35rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.14; }
.form-intro { margin-bottom: 26px; color: var(--muted); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset + fieldset { margin-top: 25px; }
legend {
  width: 100%;
  margin-bottom: 16px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
}
.field { min-width: 0; }
fieldset > .field + .field, fieldset > .field-row + .field { margin-top: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.field-row .field { display: grid; grid-template-rows: 1fr auto; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 650; line-height: 1.4; }
.optional { color: var(--muted); font-weight: 400; }
.select-control, .currency-control { position: relative; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .6rem .75rem;
  border: 1px solid #8795a0;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder { color: #58697b; opacity: 1; }
.field select { appearance: none; padding-right: 2rem; cursor: pointer; }
.field select:invalid { color: #58697b; }
.field option { color: var(--ink); }
.select-control::after {
  content: "";
  position: absolute;
  inset: calc(50% - 6px) 15px auto auto;
  width: 8px;
  height: 8px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.currency-control input { appearance: textfield; padding-right: 2.25rem; }
.currency-control input::-webkit-inner-spin-button, .currency-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.currency-control span { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.privacy-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 24px; color: var(--muted); font-size: .875rem; }
.privacy-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.privacy-check label, .privacy-check input { cursor: pointer; }
.privacy-check a { display: inline-block; margin-left: .16rem; color: var(--blue); font-weight: 650; }
.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary-action:hover { background: #153e60; }
form .primary-action { width: 100%; margin-top: 22px; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: .875rem; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding-block: 24px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.footer p { margin-bottom: 0; }
.footer p a { color: var(--blue); }
.footer strong { color: var(--ink); }
.footer address { margin-top: 12px; font-style: normal; }
.footer-contact-links { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 5px; }
.footer-contact-links a { display: inline-flex; min-height: 32px; align-items: center; color: var(--blue); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); }
.confirmation { padding-block: clamp(56px, 10vw, 132px); }
.confirmation .primary-action { margin-top: 28px; }

@media (max-width: 900px) {
  .shell { width: min(720px, calc(100% - 40px)); }
  .landing { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .intro { display: grid; grid-template-columns: 1fr minmax(130px, 35%); column-gap: 12px; padding-top: 0; }
  .eyebrow { margin-bottom: 12px; }
  .intro .eyebrow, .intro h1, .intro-copy { grid-column: 1; }
  .intro .shield { grid-area: 1 / 2 / 4 / 3; align-self: center; width: 100%; margin: 0; }
  h1 { margin-bottom: 14px; font-size: clamp(2.6rem, 8vw, 4.5rem); }
}

@media (max-width: 540px) {
  .masthead { min-height: 70px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: .9375rem; }
  .intro { grid-template-columns: 1fr clamp(90px, 28vw, 140px); gap: 0 6px; }
  .intro .eyebrow { grid-column: 1 / -1; }
  .intro-copy { grid-column: 1 / -1; }
  .intro .shield { grid-area: 2 / 2 / 3 / 3; }
  h1 { font-size: clamp(2.15rem, 9.2vw, 3.3rem); }
  .request-panel { padding: 22px 16px; border-radius: calc(var(--radius) * 1.5); }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 28px); }
  .brand-mark { display: none; }
}

@media (forced-colors: active) {
  .field select { appearance: auto; padding-right: .75rem; }
  .select-control::after { display: none; }
}
