:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f5f7fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #3155d9;
  --muted: #667085;
  --line: #e4e8ef;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); }
.site-header, main, footer { width: min(100% - 40px, 960px); margin-inline: auto; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 142px; max-height: 48px; object-fit: contain; object-position: left center; }
.back-link, footer a { color: #465166; font-size: .92rem; text-decoration: none; }
.intro { padding: 56px 0 36px; max-width: 760px; }
.eyebrow { color: var(--blue); font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 12px 0; font-size: clamp(2.25rem, 6vw, 3.7rem); letter-spacing: -.055em; line-height: 1.05; }
.intro > p:not(.eyebrow) { max-width: 680px; color: #596579; line-height: 1.7; }
.intro .privacy-note { font-size: .9rem; }
form { display: grid; gap: 18px; padding-bottom: 48px; }
.form-section, .submit-section { padding: clamp(22px, 5vw, 38px); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 28px #1c2d4a08; }
.section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.step { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; background: #eef1ff; color: var(--blue); font-size: .85rem; font-weight: 750; }
h2 { margin: 0 0 7px; font-size: 1.35rem; letter-spacing: -.025em; }
.section-heading p, .submit-section > p { margin: 0; color: var(--muted); line-height: 1.55; }
.fields { display: grid; gap: 20px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label, legend { color: #364154; font-size: .91rem; font-weight: 650; }
label > span { color: #c53535; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 46px; margin-top: 8px; padding: 11px 13px; border: 1px solid #d6dce6; border-radius: 8px; background: #fff; color: #172033; font: inherit; font-size: .95rem; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid #3155d933; border-color: var(--blue); }
fieldset { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
legend { margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choices label { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; line-height: 1.4; }
input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--blue); }
.submit-section h2 { margin-bottom: 10px; }
.submit-section > p { margin-bottom: 22px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; font-weight: 450; line-height: 1.55; }
.submit-button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--blue); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: #2445c4; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 1.5em; margin: 14px 0 0 !important; font-size: .93rem; }
.form-status[data-state=error] { color: #b42318; }
.form-status[data-state=success] { color: #067647; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { display: flex; justify-content: space-between; padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 28px, 960px); }
  .site-header { height: 70px; }
  .brand img { width: 120px; }
  .intro { padding-top: 36px; }
  .two-columns, .choices { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; }
}
