@font-face {
  font-family: Outfit;
  src: url('/fonts/Outfit-Latin-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0f3d75;
  --ink: #10233c;
  --teal: #0e7490;
  --gold: #c9a227;
  --muted: #536479;
  --line: #dce4ec;
  --pale: #f3f7fa;
  --danger: #a83f3a;
  --success: #287653;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f7fafc;
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  height: 82px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-inner, .footer-inner {
  width: min(100% - 48px, 1160px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; width: 176px; height: auto; }

.back-link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  transition: color .18s ease;
}
.back-link span { margin-right: 7px; font-size: 19px; vertical-align: -1px; }
.back-link:hover { color: var(--teal); }

.page-shell {
  flex: 1 0 auto;
  width: 100%;
  padding: 58px 24px 72px;
  background:
    radial-gradient(ellipse at 14% 5%, #eaf3f6 0, transparent 32%),
    linear-gradient(180deg, #f7fafc, #f4f8fa);
}

.request-layout {
  width: min(100%, 1050px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  align-items: start;
  gap: clamp(48px, 8vw, 105px);
}

.intro-column { padding-top: 19px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; background: var(--gold); content: ''; }

h1, h2, p { margin-top: 0; }
h1 {
  max-width: 480px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.2vw, 53px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.intro-copy {
  max-width: 440px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.requirements {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 19px 18px;
  border: 1px solid #d6e4e9;
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px #12335408;
}
.requirements--text { display: block; }
.requirements-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf5f6;
  color: var(--teal);
}
.requirements-mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.requirements h2 { margin: 1px 0 7px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.requirements p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.requirements p + p { margin-top: 10px; }
.requirements strong { color: var(--ink); font-weight: 600; }
.requirements .privacy-reminder { padding-top: 10px; border-top: 1px solid #e7edf0; color: #38556a; }

.response-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.response-dot { width: 8px; height: 8px; border-radius: 50%; background: #61a68c; box-shadow: 0 0 0 4px #e3f1eb; }

.form-column {
  padding: 31px 35px 30px;
  border: 1px solid #d8e3e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 54px #1233540d, 0 2px 6px #12335408;
}
.form-heading { padding-bottom: 21px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.step-label { color: var(--teal); font-size: 11px; font-weight: 650; letter-spacing: .13em; }
.step-label span { padding-inline: 5px; color: #9aa8b5; }
.form-heading h2 { margin: 7px 0 3px; font-size: 28px; font-weight: 550; letter-spacing: -.035em; line-height: 1.2; }
.form-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.form-heading p span { color: var(--danger); }

.field { min-width: 0; margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #1b344d; font-size: 14px; font-weight: 550; }
.field label > span:first-child:not(.optional) { color: var(--danger); }
.field .optional { color: #788797; font-size: 12px; font-weight: 400; }
.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd8e1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:hover, .field textarea:hover { border-color: #9fb7c7; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px #0e74901c; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field textarea { min-height: 116px; resize: vertical; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.message-field { margin-top: 1px; margin-bottom: 21px; }
.textarea-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: #66788a; font-size: 11px; line-height: 1.45; }
#message-count { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.field-error { display: block; min-height: 0; color: var(--danger); font-size: 12px; }
.field-error:not(:empty) { padding-top: 5px; }
.website-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.submit-button {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 550;
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.submit-button:hover:not(:disabled) { background: var(--navy); transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .72; }
.submit-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-footnote { margin: 12px 0 0; color: #718092; text-align: center; font-size: 11px; }

.form-status, .success-panel {
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
}
.form-status:focus, .success-panel:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
.form-status[data-kind="error"] { border-color: #e7c8c5; background: #fff7f6; color: #773c38; }
.form-status[data-kind="sending"] { border-color: #c9dce4; background: #f2f8fa; color: #28546a; }
.success-panel { margin: 0; padding: 20px; border-color: #c9e0d3; background: #f1f8f3; color: #244c3a; }
.success-panel h3 { margin: 0 0 7px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.success-panel p { margin: 0; font-size: 14px; }
.success-panel p + p { margin-top: 9px; }
[hidden] { display: none !important; }

.site-footer { height: 65px; flex: 0 0 auto; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.footer-inner { min-height: 65px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.noscript-note { position: fixed; right: 12px; bottom: 12px; left: 12px; padding: 12px 15px; border: 1px solid #d9c982; border-radius: 6px; background: #fff9df; color: var(--ink); font-size: 14px; }
.noscript-note a { color: var(--teal); font-weight: 600; }

@media (max-width: 820px) {
  .page-shell { padding: 40px 22px 52px; }
  .request-layout { max-width: 620px; grid-template-columns: 1fr; gap: 29px; }
  .intro-column { padding-top: 0; }
  h1 { max-width: 570px; font-size: clamp(37px, 8vw, 48px); }
  .intro-copy { max-width: 560px; margin-bottom: 21px; }
  .requirements { grid-template-columns: 32px minmax(0, 1fr); padding: 17px; }
  .response-note { margin-top: 16px; }
  .form-column { padding: 27px 29px; }
}

@media (max-width: 480px) {
  .site-header { height: 70px; }
  .header-inner, .footer-inner { width: min(100% - 36px, 1160px); }
  .brand img { width: 145px; }
  .back-link { font-size: 13px; white-space: nowrap; }
  .back-link span { margin-right: 4px; }
  .page-shell { padding: 31px 18px 40px; }
  .request-layout { gap: 24px; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  h1 { margin-bottom: 12px; font-size: 37px; }
  .intro-copy { margin-bottom: 18px; font-size: 16px; }
  .requirements { gap: 11px; padding: 15px 13px; }
  .requirements h2 { font-size: 16px; }
  .requirements p { font-size: 13px; }
  .response-note { font-size: 13px; }
  .form-column { padding: 22px 18px; border-radius: 9px; }
  .form-heading { padding-bottom: 17px; margin-bottom: 19px; }
  .form-heading h2 { font-size: 25px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 15px; }
  .textarea-meta { font-size: 10px; }
  .site-footer { height: auto; min-height: 63px; }
  .footer-inner { min-height: 63px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
