.grants-page h1, .grants-page h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; }
.grants-page p { line-height: 1.65; }
.grants-page .section-kicker { font-size: .75rem; }
.grants-breadcrumbs { display: flex; gap: .6rem; align-items: center; font-size: .75rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.grants-breadcrumbs a { display: inline-flex; min-height: 44px; align-items: center; }
.grants-hero { padding: .75rem 0 1.75rem; }
.grants-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.5rem; align-items: center; }
.grants-hero h1 { margin: .7rem 0 1rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.16; }
.grants-hero h1 > span { display: block; white-space: nowrap; }
.grants-hero h1 > span + span { color: #007cbd; }
.grants-lead { max-width: 31rem; margin-bottom: 1.25rem; color: var(--muted-foreground); font-size: 1rem; }
.grants-hero .button-dark { min-height: 44px; }
.grants-offer { padding: 1.5rem; background: #eff8fc; border: 1px solid #d4eaf3; border-radius: 1rem; }
.grants-offer h2 { font-size: 1.35rem; line-height: 1.35; }
.grants-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.grants-option { min-width: 0; padding: 1rem; background: #fff; border: 1px solid #c8e1ec; border-radius: .65rem; }
.grants-option h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.grants-option h3 span { font-size: .65rem; font-weight: 700; letter-spacing: 0; }
.grants-option p { margin-top: .4rem; color: var(--muted-foreground); font-size: .75rem; }
.grants-option .grants-option__name { margin: 0 0 .55rem; color: var(--foreground); font-weight: 700; }
.grants-support { margin-top: 1rem; color: var(--muted-foreground); font-size: .85rem; }
.grants-support strong { color: var(--foreground); }
.grants-terms { margin-top: .75rem; color: var(--muted-foreground); font-size: .72rem; }
.grants-apply { padding: 0 0 2.5rem; scroll-margin-top: 95px; }
.grants-form-panel { min-width: 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; }
.grants-form h2, .grants-success h2 { font-size: 1.4rem; line-height: 1.35; }
.grants-form__note { margin: .5rem 0 1rem; color: var(--muted-foreground); font-size: .78rem; }
.grants-form__note a { color: #007cbd; text-decoration: underline; text-underline-offset: 3px; }
.grants-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grant-field { margin-bottom: .9rem; min-width: 0; }
.grant-field > label { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 700; }
.grant-field input:not([type="checkbox"]), .grant-field select, .grant-field textarea { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-height: 48px; padding: .65rem .75rem; border: 1px solid #b9c5ce; border-radius: .5rem; background: #fff; color: var(--foreground); font: inherit; font-size: 1rem; }
.grant-field textarea { resize: vertical; line-height: 1.5; }
.grant-field [aria-invalid="true"] { border-color: #b02b2b !important; }
.grants-page :is(input, select, textarea, button, a):focus-visible { outline: 3px solid #007cbd; outline-offset: 3px; }
.grant-help { font-size: .78rem; color: var(--muted-foreground); margin-bottom: .45rem; }
.grant-field .grant-check { display: flex; gap: .65rem; align-items: start; font-weight: 400; line-height: 1.6; }
.grant-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: .15rem 0 0; accent-color: #007cbd; }
.grant-error { color: #a12121; margin-top: .4rem; font-size: .8rem; }
.grants-errors { padding: 1rem; border: 1px solid #e0acac; background: #fff5f5; border-radius: .5rem; margin: 1rem 0; font-size: .85rem; }
.grants-errors h4 { margin: 0 0 .5rem; }
.grants-errors ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.grants-errors a { color: #a12121; text-decoration: underline; text-underline-offset: 3px; }
.grants-form button { min-height: 48px; cursor: pointer; }
.grants-form button:disabled { opacity: .65; cursor: wait; }
.grants-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.grants-success { scroll-margin-top: 95px; }
.grants-success p { margin-top: .75rem; color: var(--muted-foreground); }
.grants-success__mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e0f3e9; color: #246b49; margin-bottom: .75rem; font-size: 1.5rem; }
[id^="grant-"] { scroll-margin-top: 110px; }
@media (max-width: 980px) {
  .grants-hero__grid { gap: 1.5rem; }
  .grants-offer { padding: 1.25rem; }
  .grants-option { padding: .8rem; }
}
@media (max-width: 760px) {
  .grants-hero { padding: .5rem 0 1.25rem; }
  .grants-breadcrumbs { margin-bottom: .75rem; }
  .grants-hero__grid, .grants-form__row { grid-template-columns: 1fr; }
  .grants-hero__grid { gap: 1.25rem; }
  .grants-hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .grants-options { gap: .65rem; }
  .grants-option h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .grants-form-panel { padding: 1.1rem; }
  .grants-form__row { gap: 0; }
  .grants-form button { width: 100%; }
}
@media (max-width: 360px) {
  .grants-offer { padding: 1rem; }
  .grants-option { padding: .65rem; }
  .grants-option h3 { font-size: 1.4rem; }
}
