@font-face { font-family: Geist; src: url('/assets/tredfi/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; --navy: #0a2540; --blue: #1459dc; --muted: #53677d; --line: #d8e3f0; --error: #a82432; }
* { box-sizing: border-box; }
html { background: #f4f8fd; scroll-padding-top: 24px; }
body { margin: 0; color: var(--navy); font: 15px/1.6 Geist, Arial, sans-serif; background: radial-gradient(ellipse at 3% 13%, #e1edff 0, transparent 40%), linear-gradient(135deg, #fbfdff, #f3f7fc 75%); }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #226bf4; outline-offset: 4px; }
button { cursor: pointer; }
.ph { font-size: 22px; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: -100px; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }
.partner-header { max-width: 1304px; min-height: 92px; margin: auto; padding: 20px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.partner-logo img { display: block; width: 162px; height: auto; }
.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 0; color: var(--navy); font-size: 13px; font-weight: 550; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.back-link .ph { font-size: 18px; }
.partner-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: start; width: min(100%, 1304px); margin: auto; padding: 64px 44px 88px; }
.partner-intro { position: sticky; top: 44px; padding-top: 20px; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 10px; font-weight: 650; line-height: 1.6; letter-spacing: 1.8px; }
h1 { margin: 0; font-size: clamp(40px, 4vw, 57px); font-weight: 550; line-height: 1.06; letter-spacing: -2.4px; }
h1 span { color: var(--blue); }
.intro-description { max-width: 440px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.intro-note { display: flex; gap: 18px; margin: 42px 0 0; padding: 26px 0; border-top: 1px solid #cedef1; border-bottom: 1px solid #cedef1; }
.intro-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid #c9daf3; border-radius: 16px; color: var(--blue); background: #ffffffa6; box-shadow: inset 0 1px 0 #fff; }
.intro-icon .ph { font-size: 26px; }
.intro-note h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.intro-note p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.intro-footnote { max-width: 370px; margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.partner-form-card { min-width: 0; border: 1px solid #dae5f2; border-radius: 28px; padding: clamp(24px, 3vw, 40px); background: #ffffffd9; box-shadow: inset 0 1px 0 #fff, 0 24px 80px -48px #1a4d8a50; backdrop-filter: blur(18px); }
.form-heading { padding-bottom: 30px; }
.form-heading .eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.5px; }
.form-heading h2 { margin: 0; font-size: 28px; font-weight: 550; letter-spacing: -.9px; line-height: 1.2; }
.form-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.form-section { min-width: 0; padding: 0 0 32px; margin: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); }
.form-section > legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 22px; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.section-number { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d5e4fa; border-radius: 50%; background: #f2f7ff; color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field, .program-options { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .program-options > legend { display: block; padding: 0; margin: 0 0 7px; font-size: 12px; font-weight: 600; line-height: 1.55; }
.field label > span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bdcede; border-radius: 10px; background: #fff; color: var(--navy); font-size: 14px; line-height: 1.6; }
.field select { padding-right: 30px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #829fbd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #1459dc26; outline-offset: 1px; border-color: var(--blue); }
input::placeholder, textarea::placeholder { color: #677b91; opacity: 1; }
.field-hint { margin: -1px 0 9px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.program-options { border: 0; margin: 0; padding: 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 47px; padding: 10px 12px; border: 1px solid #cfdeed; border-radius: 10px; background: #fff; cursor: pointer; font-size: 12px; line-height: 1.5; }
.choice:hover { border-color: #86a7d3; }
.choice:has(input:checked) { background: #f0f6ff; border-color: var(--blue); }
.choice input, .consent-label input { flex: none; accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.submission-note { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.consent-label { display: flex; align-items: start; gap: 11px; padding: 2px 0; cursor: pointer; font-size: 12px; line-height: 1.75; }
.consent-label input { margin-top: 2px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--blue); border-radius: 999px; background: linear-gradient(#2469ee, #1459dc); box-shadow: inset 0 1px 0 #ffffff59, 0 8px 18px -12px #1459dc; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.primary-button:hover:not(:disabled) { background: #144cbd; }
.primary-button:disabled { opacity: .65; cursor: wait; }
.form-end .primary-button { width: 100%; margin-top: 25px; }
.submit-status { min-height: 18px; margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 11px; line-height: 1.6; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error-summary, .form-message { padding: 16px 18px; margin: 0 0 28px; border: 1px solid #e6b8be; border-radius: 12px; background: #fff4f5; color: #7d1d27; font-size: 12px; }
.error-summary p { margin: 0; font-weight: 600; }
.error-summary ul { margin: 8px 0 0; padding-left: 18px; }
.error-summary ul:empty { display: none; }
.error-summary a { color: #7d1d27; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-state { padding: 20px 0; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 30px; border: 1px solid #c9ddfc; border-radius: 50%; background: #edf5ff; color: var(--blue); }
.success-icon .ph { font-size: 38px; }
.success-state .eyebrow { margin-bottom: 12px; }
.success-state h2 { margin: 0 0 20px; font-size: 36px; font-weight: 550; letter-spacing: -1.2px; line-height: 1.15; }
.success-state > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.success-state strong { color: var(--navy); font-weight: 550; }
.success-state .receipt { padding: 16px 0; margin: 24px 0; border-block: 1px solid var(--line); font-size: 12px !important; }
.receipt strong { display: block; margin-top: 3px; }
.partner-footer { max-width: 1216px; margin: auto; display: flex; justify-content: space-between; gap: 18px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
@media (max-width: 900px) {
  .partner-layout { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 34px; max-width: 730px; }
  .partner-intro { position: static; padding-top: 0; }
  h1 { font-size: 48px; }
  .intro-description { max-width: 560px; }
  .intro-note { margin-top: 24px; padding: 20px 0; }
  .intro-footnote { max-width: none; margin-top: 18px; }
  .partner-footer { margin-inline: 44px; }
}
@media (max-width: 540px) {
  .partner-header { min-height: 78px; padding: 16px 22px; gap: 16px; }
  .partner-logo img { width: 145px; }
  .back-link { font-size: 11px; gap: 6px; }
  .back-link .ph { font-size: 16px; }
  .partner-layout { padding: 32px 20px 48px; gap: 28px; }
  h1 { font-size: clamp(35px, 10vw, 47px); letter-spacing: -1.7px; }
  .intro-description { font-size: 14px; margin-top: 19px; }
  .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .intro-note { gap: 13px; }
  .intro-icon { width: 42px; height: 42px; border-radius: 13px; }
  .intro-note h2 { font-size: 16px; }
  .intro-note p { font-size: 12px; }
  .partner-form-card { padding: 24px 20px; border-radius: 22px; }
  .form-heading h2 { font-size: 26px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .field input, .field select, .field textarea { font-size: 16px; }
  .checkbox-grid { grid-template-columns: minmax(0, 1fr); }
  .choice { min-height: 46px; }
  .partner-footer { margin-inline: 22px; flex-direction: column; gap: 6px; }
  .success-state h2 { font-size: 31px; }
}
@media (prefers-reduced-transparency: reduce) { .partner-form-card { background: #fff; backdrop-filter: none; } }
