:root {
  --brand: #0952e8;
  --navy: #061e40;
  --muted: #62676e;
  --line: #d3d3d3;
  --field-shadow: 0 5px 15px rgba(6, 30, 64, .20);
  --error: #b32222;
}
html { scroll-padding-top: 84px; }
body { background: #fff; color: #222; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; }
input, select, textarea, button { font-family: inherit; }
img, a img { border: 0 !important; }
h1, h2, h3, h4, h5, h6, legend { font-family: "Open Sans", Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: var(--brand); }
a:hover { color: #0039ad; }
:focus-visible { outline: 3px solid #76a0fa; outline-offset: 3px; }
.grid-container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.nav-shell { position: sticky; top: 0; z-index: 100; background: #242424; border-bottom: 1px solid #111; }
.top-bar, .top-bar ul, .title-bar { background: #242424; }
.top-bar { padding: .65rem 1rem; }
.top-bar-right { margin-left: auto; }
.top-bar .menu a { color: #eee; font-size: .875rem; }
.top-bar .menu a:hover { color: #fff; background: #333; }
.nav-brand { display: inline-block; width: auto; padding: 8px 0; background: none; color: #fff; font-size: 1.45rem; letter-spacing: -.04em; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .18s, text-shadow .18s; }
.nav-brand span { color: #5287ff; }
.nav-brand small { color: #bbb; font-size: .65em; letter-spacing: 0; }
.nav-brand:hover, .nav-brand:focus { color: #fff; text-shadow: 0 0 14px #5385ff80; }
.nav-brand:hover span { color: #95b7ff; }
.off-canvas { background: #262626; color: #fff; }
.off-canvas .menu a { color: #fff; padding: 1rem 1.25rem; }
.off-canvas .menu a:hover { background: #383838; }
.off-canvas .close-button { color: #fff; }
.menu-heading { padding: 1.3rem; margin: 0; font-size: 1.2rem; font-weight: 700; }
.skip-link { position: fixed; top: 0; left: 0; z-index: 2000; padding: 12px; background: white; }
.page-intro, .slim-page .page-intro { padding: 16px 0 12px; margin: 0; max-width: none; min-height: 0; }
.page-intro h1.eyebrow { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: .025em; color: #5c6066; font-weight: 700; }
.page-intro h3 { font-size: 0.9rem; margin: 6px 0; }
.page-intro .lead { font-size: 1rem; line-height: 1.5; color: #555; margin: 6px 0 0; }
.brand-badge { display: inline-block; padding: 0; margin: 0 0 10px 16px; border: 0; box-shadow: none; background: none; }
.brand-badge img { display: block; float:right; width:140px; height: auto; border: 0; }
.page-intro::after { content: ""; display: block; clear: both; }
.form-layout { padding-bottom: 28px; }
.step-sidebar { padding-top: 20px; }
.steps { list-style: none; margin: 18px 0 25px; }
.steps li { border-left: 3px solid #ddd; padding: 12px 15px; color: #666; font-size: .9rem; }
.steps [aria-current=step] { border-color: var(--brand); background: #f3f5f8; color: var(--navy); font-weight: 600; }
.steps .complete { border-color: #adc6fc; }
.form-panel { padding: 28px; border: 1px solid var(--line); border-radius: 0; box-shadow: none; margin: 0; }
.progress-heading { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: #555; margin-bottom: 8px; }
.progress { height: .5rem; background: #e6e6e6; margin-bottom: 24px; }
.progress-meter { background: var(--brand); transition: width .2s; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 1.35rem; font-weight: 400; line-height: 1.35; margin-bottom: 10px; padding: 0; width: 100%; float: none; }
.sub { color: #555; font-size: 1rem; margin-bottom: 22px; }
label { font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: #252b34; }
.optional { font-size: .8rem; font-weight: 400; color: #666; margin-left: 5px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-width: 0; height: 2.9rem; min-height: 2.9rem; padding: .6rem .7rem;
  margin: 0 0 1.15rem; border: 1px solid #9baabd; border-radius: 3px;
  background-color: #f9fbff; color: #172337; box-shadow: var(--field-shadow);
  font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6f7988; opacity: 1; }
select { padding-right: 2.2rem; background-position: right .7rem center; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background-color: #fff; box-shadow: 0 5px 15px rgba(9, 82, 232, .25); }
input.is-invalid-input, select.is-invalid-input, textarea.is-invalid-input,
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] {
  border: 2px solid var(--error); background-color: #fff8f8;
  box-shadow: 0 5px 15px rgba(179, 34, 34, .30);
}
.field-error { display: block; color: #9f2020; font-size: .875rem; margin: -.5rem 0 1rem; line-height: 1.45; }
.help-text { color: #62676e; font-size: .875rem; line-height: 1.6; }
.contact-help { margin: 18px 0 12px; }
.privacy-copy { color: #60646a; font-size: .875rem; line-height: 1.75; margin: 20px 0; }
.button { background: var(--brand); border-radius: 0; margin: 0; min-height: 44px; font-weight: 500; font-size: 1rem; line-height: 1.4; white-space: normal; }
.button:hover, .button:focus { background: #003bb9; }
.button.hollow.secondary { border-color: #777; color: #444; }
.button.hollow.secondary:hover { background: #f5f5f5; }
.form-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; border-top: 1px solid #ddd; padding-top: 22px; margin-top: 24px; }
#next, #submit { grid-column: 1; width: 100%; margin: 0; padding: .9rem 1rem; }
#back { grid-column: 2; width: auto; min-width: 5.5rem; margin: 0; padding: .9rem 1rem; font-size: .9rem; }
form[data-step="0"] #next, form[data-step="0"] #submit { grid-column: 1 / -1; }
#register-interest { grid-column: 1 / -1; justify-self: center; width: auto; max-width: 100%; padding: .6rem .85rem; font-size: .875rem; line-height: 1.4; }
.review-section { border-bottom: 1px solid #ddd; padding: 14px 0; }
.review-heading { display: flex; justify-content: space-between; align-items: center; }
.review-heading h3 { font-size: 1rem; margin: 0; }
.edit { background: none; border: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font-size: .875rem; min-height: 44px; padding: 8px; }
.review-section dl { display: grid; grid-template-columns: 40% 1fr; font-size: .9rem; margin: 12px 0; }
.review-section dt { font-weight: 400; color: #666; }
.review-section dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 9px; }
.how-it-works { padding: 25px 0 35px; border-top: 1px solid #e5e5e5; }
.how-it-works>h2 { margin-bottom: 20px; }
.how-it-works > .next-steps-grid,
.how-it-works > .grid-x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-left: 0; margin-right: 0; }
.how-it-works > .next-steps-grid > .cell,
.how-it-works > .grid-x > .cell { width: auto; min-width: 0; margin: 0; }
.how-it-works h3 { font-weight: 600; }
.how-it-works p { color: #616161; font-size: .9rem; max-width: 320px; }
.site-footer { background: #e9e9e9; border-top: 3px solid #aaa; padding: 28px 0 20px; color: #555; font-size: .875rem; }
.site-footer strong { color: #333; }
.site-footer p { margin: 10px 0 18px; max-width: 760px; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-links a { color: #444; }
.copyright { border-top: 1px solid #ccc; padding-top: 16px; font-size: .8rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.callout.warning { font-size: .875rem; background: #fffbe9; border-color: #e3dcc1; }
.callout.alert { font-size: .9rem; }
button:disabled { opacity: .65; cursor: wait; }
dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px; border: 1px solid #bbb; background: #fff; }
dialog::backdrop { background: rgb(0 0 0 / .55); }
dialog .close-button { right: 12px; top: 8px; min-width: 44px; min-height: 44px; }
#interest-result { padding: 12px; background: #f1f5fd; font-size: .875rem; }
.policy-page { padding-top: 26px; padding-bottom: 40px; }
.policy-content { max-width: 920px; margin: auto; }
.policy-content h1 { font-size: 1.9rem; }
.policy-content h2 { font-size: 1.25rem; line-height: 1.4; margin-top: 28px; }
.policy-content p { overflow-wrap: anywhere; line-height: 1.75; }
.policy-content table { font-size: .9rem; min-width: 580px; }
.policy-content th { text-align: left; }
.policy-content td, .policy-content th { vertical-align: top; padding: 12px; }
.policy-content mark { background: #fff0b5; padding: 0 2px; }
@media(max-width:1023px) { .step-sidebar { display: none; } }
@media(max-width:639px) {
  .how-it-works > .next-steps-grid,
  .how-it-works > .grid-x { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .title-bar { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; padding: .4rem .7rem; }
  .title-bar .menu-icon,
  .title-bar .menu-icon:hover,
  .title-bar .menu-icon:focus {
    appearance: none; -webkit-appearance: none;
    position: relative; display: block; flex: 0 0 44px;
    width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0;
    border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
    background-color: transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
    background-size: 20px 2px;
    background-position: center 14px, center 21px, center 28px;
    background-repeat: no-repeat;
  }
  .title-bar .menu-icon::before,
  .title-bar .menu-icon::after { content: none; display: none; }
  .title-bar .nav-brand { flex: 1 1 auto; min-width: 0; margin: 0 0 0 auto; padding: 8px 0; text-align: right; font-size: 1.3rem; }
  .page-intro, .slim-page .page-intro { padding: 12px 0 10px; }
  .page-intro h1.eyebrow { font-size: .95rem; line-height: 1.35; letter-spacing: 0; }
  .brand-badge { margin-bottom: 6px; }
  .form-panel { padding: 20px 16px; }
  legend { font-size: 1.2rem; }
  .form-actions { gap: 10px; }
  #next, #submit { padding: .85rem .7rem; }
  #back { min-width: 4.5rem; padding: .85rem .7rem; }
  #register-interest { font-size: .85rem; }
  .footer-links { align-items: flex-start; margin-bottom: 22px; }
  .review-section dl { grid-template-columns: 1fr; }
  .review-section dd { margin-bottom: 12px; }
  .how-it-works { padding-bottom: 20px; }
  dialog { padding: 30px 18px 20px; }
}
@media(prefers-reduced-motion:reduce) { .progress-meter, .off-canvas { transition: none !important; } }
