:root {
  --cream: #F3E9D9;
  --gold: #DFC088;
  --gold-deep: #B78D4E;
  --muted: rgba(243, 233, 217, .72);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--cream);
  font: 450 16px/1.7 var(--sans);
  background: radial-gradient(ellipse at 8% 22%, rgba(142, 42, 84, .19), transparent 45%), radial-gradient(ellipse at 90% 0%, rgba(223, 192, 136, .08), transparent 35%), #120c16;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #241826; }
a { color: var(--gold); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: #fff; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 5; background: var(--gold); color: #2a1c12; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid rgba(255, 255, 255, .1); background: rgba(18, 12, 22, .6); }
.nav-inner { max-width: 1200px; padding: 0 28px; margin: 0 auto; min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.45rem; color: #fff; text-decoration: none; }
.brand img { border-radius: 9px; flex: none; }
.back-link { color: var(--muted); font-size: .86rem; text-decoration: none; }
.back-link span { margin-left: 8px; color: var(--gold); }
.partner-layout { max-width: 1200px; margin: 0 auto; padding: 76px 28px 96px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(40px, 6vw, 80px); }
.introduction { padding-top: 8px; }
.eyebrow { font-size: .66rem; line-height: 1.8; font-weight: 600; text-transform: uppercase; letter-spacing: .19em; color: var(--gold); }
h1 { font-size: clamp(2.7rem, 4.2vw, 3.65rem); line-height: 1.13; letter-spacing: -.025em; font-weight: 300; margin-top: 18px; }
h1 em { color: var(--gold); font-weight: 400; }
.lead { font-size: 1.15rem; line-height: 1.6; margin-top: 24px; max-width: 32ch; }
.intro-copy { color: var(--muted); font-size: .94rem; margin-top: 16px; max-width: 46ch; }
.next-steps { margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(223, 192, 136, .22); }
.next-steps h2 { font-size: 1.38rem; }
.next-steps ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 23px; }
.next-steps li { display: flex; align-items: flex-start; gap: 16px; }
.step-number { flex: none; font-family: var(--serif); font-size: .92rem; font-style: italic; color: var(--gold); padding-top: 2px; }
.next-steps h3 { font-family: var(--sans); font-size: .9rem; line-height: 1.5; font-weight: 500; }
.next-steps p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin-top: 4px; }
.help-note { color: var(--muted); font-size: .81rem; margin-top: 34px; overflow-wrap: anywhere; }
.help-note a { display: block; }
.application-card { border: 1px solid rgba(223, 192, 136, .25); border-radius: 24px; padding: clamp(24px, 3.5vw, 42px); background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .55); scroll-margin-top: 24px; min-width: 0; }
.application-content > h2, .application-received h2 { font-size: clamp(1.7rem, 3vw, 2rem); line-height: 1.2; margin-top: 10px; }
.form-intro { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.required-note { color: var(--muted); font-size: .74rem; margin-top: 24px; }
form { margin-top: 20px; }
.field { min-width: 0; margin-bottom: 20px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: block; font-size: .83rem; font-weight: 500; line-height: 1.55; margin-bottom: 8px; }
label span { color: var(--muted); font-size: .76rem; font-weight: 400; }
input, textarea { width: 100%; min-width: 0; font: 400 1rem/1.5 var(--sans); padding: 12px 14px; border: 1px solid rgba(243, 233, 217, .25); border-radius: 10px; color: #fff; background: rgba(18, 12, 22, .55); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(243, 233, 217, .45); font-size: .86rem; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(223, 192, 136, .16); }
input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #2a2030 inset; caret-color: #fff; }
.field-hint { font-size: .73rem; line-height: 1.6; color: var(--muted); margin-top: 6px; }
.privacy-note { color: var(--muted); font-size: .75rem; line-height: 1.7; margin: 2px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: none; border-radius: 100px; padding: 14px 24px; font: 600 .88rem/1.5 var(--sans); cursor: pointer; background: linear-gradient(135deg, #ecd29a, var(--gold-deep)); color: #2a1c12; text-decoration: none; box-shadow: 0 12px 30px -16px rgba(183, 141, 78, .6); }
.button:hover { filter: brightness(1.06); }
.button:disabled { cursor: wait; opacity: .7; }
.submit-button { width: 100%; }
.submit-status { margin-top: 10px; color: var(--muted); font-size: .75rem; }
.submit-status:empty { display: none; }
.form-error { color: #ffe0d9; font-size: .84rem; line-height: 1.6; padding: 14px 16px; margin-bottom: 20px; border: 1px solid rgba(239, 164, 150, .5); border-radius: 10px; background: rgba(139, 40, 54, .24); overflow-wrap: anywhere; }
.form-error:focus { outline: 2px solid #efa496; outline-offset: 3px; }
.application-received:not(:target):not(.is-visible) { display: none; }
.application-received:target ~ .application-content, .application-received.is-visible ~ .application-content { display: none; }
.application-received { padding: 16px 0; outline: none; }
.application-received p:not(.eyebrow) { color: var(--muted); font-size: .94rem; margin-top: 20px; }
.application-received .button { margin-top: 30px; }
.success-mark { width: 56px; height: 56px; border: 1px solid rgba(223, 192, 136, .5); border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(223, 192, 136, .08); margin-bottom: 30px; }
.success-mark svg { width: 32px; height: 32px; }
.site-footer { background: #0d0912; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 28px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px 28px; font-size: .75rem; color: var(--muted); }
.footer-inner > div { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .partner-layout { grid-template-columns: 1fr; max-width: 700px; padding-top: 48px; gap: 36px; }
  .intro-copy, .lead { max-width: none; }
  h1 { max-width: 12ch; font-size: clamp(2.7rem, 6vw, 3.6rem); }
  .next-steps { margin-top: 28px; padding-top: 24px; }
  .next-steps ol { gap: 18px; }
  .help-note { margin-top: 24px; }
  .help-note a { display: inline; }
}
@media (max-width: 520px) {
  .nav-inner { min-height: 72px; padding: 0 20px; gap: 12px; }
  .brand { font-size: 1.25rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .back-link { font-size: .73rem; }
  .back-link span { margin-left: 2px; }
  .partner-layout { padding: 36px 20px 56px; }
  .eyebrow { font-size: .61rem; letter-spacing: .15em; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.1rem); }
  .lead { font-size: 1.05rem; }
  .application-card { padding: 24px 20px; border-radius: 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  input, textarea { transition: none; }
}
