/* ==========================================================================
   Good Neighbors Help — site styles
   Built from the Figma "Good Neighbors Help homepage A" design (1440px frame).
   Design tokens first; edit colors, type and spacing here.
   ========================================================================== */

/* Figtree stands in for Sofia Pro (the design font) until a Sofia Pro web license is confirmed. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colors (from Figma) */
  --red: #db2121;
  --red-dark: #b81a1a;
  --red-soft: #ef6969;
  --navy: #1f283a;
  --navy-dark: #151c2a;
  --gray: #626671;
  --beige: #f6f3ed;
  --line: #dcdddc;
  --white: #ffffff;

  /* Type */
  --font: "Figtree", "Sofia Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --page-max: 1440px;
  --gutter: 80px;
  --radius-sm: 6px;
  --radius-btn: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --section-y: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.65; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-btn); text-decoration: none; font-size: 15px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .9px; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--red); flex: none; }
.eyebrow--center { justify-content: center; }

.h1 { font-size: 68px; line-height: 1.08; letter-spacing: -0.5px; }
.h2 { font-size: 46px; line-height: 1.15; letter-spacing: -.6px; }
.h2--sm { font-size: 43px; }
.h3 { font-size: 36px; line-height: 1.2; letter-spacing: -1px; }
.accent { color: var(--red); }
.lede { font-size: 18px; line-height: 1.65; color: var(--gray); }
.muted { color: var(--gray); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius-btn); font-size: 15px; font-weight: 400; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn .icon { transition: transform .15s ease; }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--beige); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 136px; }
.site-header__logo { display: block; width: 216px; flex: none; }
.site-header__logo img { width: 216px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav__links a { font-size: 15px; line-height: 1.2; white-space: nowrap; text-decoration: none; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease, color .15s ease; }
.site-nav__links a:hover { color: var(--red); }
.site-nav__links a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--white); color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 24px 40px 64px var(--gutter); max-width: var(--page-max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 598fr) minmax(0, 680fr); gap: 42px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero__lede { max-width: 598px; }
.hero__meta { width: 100%; padding-top: 14px; }
.hero__meta::before { content: ""; display: block; width: 80px; height: 1px; background: var(--line); margin-bottom: 16px; }
.hero__meta p { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--gray); }
.hero__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--beige); aspect-ratio: 680 / 632; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-caption { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 7px; max-width: calc(100% - 48px); padding: 22px; background: var(--white); border-radius: var(--radius-md); }
.photo-caption strong { font-size: 23px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.photo-caption span { font-size: 12px; line-height: 1.3; color: var(--gray); }

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section-y); }
.section--beige { background: var(--beige); }
.section--navy { background: var(--navy); color: var(--white); }
.section--pattern { background: var(--navy) url("../img/heart-pattern.svg") 0 0 / 37px 37px repeat; }
.section--red { background: var(--red); color: var(--white); }
.section-intro { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.section-intro .h2 { max-width: 680px; }

/* The idea */
.idea { display: grid; grid-template-columns: minmax(0, 550fr) minmax(0, 630fr); gap: 100px; align-items: center; padding-block: 88px; }
.idea__title { display: flex; flex-direction: column; gap: 22px; }
.idea__body { padding-top: 32px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 22px; padding: 30px; background: var(--beige); border-radius: var(--radius-md); }
.step__marker { display: flex; align-items: center; justify-content: space-between; }
.step__marker .icon { width: 36px; height: 36px; color: var(--red); stroke-width: 1.6; }
.step__num { font-size: 17px; font-weight: 600; line-height: 1; color: var(--gray); }
.step__title { font-size: 23px; font-weight: 400; line-height: 1.3; color: var(--navy); margin-bottom: 12px; }
.step__text { font-size: 17px; line-height: 1.65; color: var(--gray); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Renewal banner */
.renewal { display: flex; align-items: center; gap: 50px; padding-block: 30px; }
.renewal .icon { width: 32px; height: 32px; color: var(--white); stroke-width: 1.5; }
.renewal p { flex: 1; font-size: 18px; line-height: 1.5; color: var(--white); }

/* For nonprofits */
.nonprofits { position: relative; overflow: hidden; }
.nonprofits__grid { position: relative; display: grid; grid-template-columns: minmax(0, 522fr) minmax(0, 686fr); gap: 72px; align-items: center; }
.nonprofits__photo { position: relative; margin: 0; }
.nonprofits__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 522 / 650; object-fit: cover; border-radius: var(--radius-lg); }
.nonprofits__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.checklist { display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--navy); }
.checklist .icon { width: 21px; height: 21px; margin-top: 1px; color: var(--red); stroke-width: 1.7; }
.small-print { font-size: 15px; line-height: 1.65; color: var(--gray); }

/* Decorative brush hearts (recolored with mask) */
.deco-heart { position: absolute; width: 572px; aspect-ratio: 572 / 667; background: var(--red); -webkit-mask: url("../img/heart.svg") center / contain no-repeat; mask: url("../img/heart.svg") center / contain no-repeat; pointer-events: none; }
.nonprofits__photo .deco-heart { left: -50px; top: -57px; }

/* Supported nonprofits strip */
.supported { padding: 56px 0 72px; text-align: center; }
.supported__head { display: flex; flex-direction: column; gap: 30px; align-items: center; }
.supported__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
/* One card per nonprofit: logo on top, name below. More than four wrap into new rows of four. */
.supported__item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.supported__logo { display: flex; align-items: center; justify-content: center; height: 168px; padding: 24px 28px; background: var(--white); border-bottom: 1px solid var(--line); }
.supported__logo img { width: auto; height: auto; max-width: min(100%, 240px); max-height: 120px; object-fit: contain; }
/* Slightly smaller box for blocky, full-width logos so they don't outweigh the round badges */
.supported__logo--sm img { max-width: min(100%, 196px); }
/* For a logo that only comes in white: add supported__logo--dark to its logo span for a navy tile */
.supported__logo--dark { background: var(--navy); border-bottom-color: var(--navy); }
.supported__logo--dark img { max-height: 76px; }
.supported__name { display: flex; align-items: center; justify-content: center; flex: 1; padding: 18px 20px 20px; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--navy); }

/* Quote */
.quote { position: relative; overflow: hidden; padding-block: 104px; }
.quote .deco-heart { background: var(--beige); left: -174px; top: 602px; }
.quote__grid { position: relative; display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; align-items: start; }
.quote__intro { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.quote__intro .h1 { font-size: 54px; line-height: 1.15; letter-spacing: -1px; }
.rule { width: 64px; height: 3px; background: var(--red); border: 0; margin: 0; }
.quote__promise { font-size: 29px; line-height: 1.3; color: var(--navy); }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--beige); border-radius: var(--radius-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-row--zip { grid-template-columns: 155px minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--gray); }
.input, .select { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 15px; color: var(--navy); transition: border-color .15s ease, box-shadow .15s ease; }
.input::placeholder { color: var(--gray); opacity: 1; }
.input:focus, .select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 40, 58, .12); }
.select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f283a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }
.select:invalid { color: var(--gray); }
.select option { color: var(--navy); }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field.has-error .input, .field.has-error .select { border-color: var(--red); }
.field-error { font-size: 13px; line-height: 1.4; color: var(--red-dark); }
.field-error:empty { display: none; }
.form-note { font-size: 13px; line-height: 1.65; color: var(--gray); }
.form-status { font-size: 15px; line-height: 1.5; padding: 14px 16px; border-radius: var(--radius-sm); }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdecec; color: var(--red-dark); }
.form-status.is-success { background: var(--white); color: var(--navy); border-left: 4px solid var(--red); }
.form-card button[type="submit"] { align-self: flex-start; }
.form-card button[disabled] { opacity: .7; cursor: progress; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.is-hidden { display: none !important; }
.supporting-banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--white); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.4; }
.supporting-banner .icon { width: 22px; height: 22px; color: var(--red); }

/* Meet Jan */
.meet { display: grid; grid-template-columns: minmax(0, 1fr) 568px; gap: 80px; align-items: center; padding-block: 80px; }
.meet__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.meet__note { font-size: 12px; line-height: 1.3; color: var(--gray); margin-top: -4px; }
.meet__photo { margin: 0; display: flex; justify-content: center; }
.meet__photo img { width: 410px; aspect-ratio: 410 / 420; object-fit: cover; }

/* FAQ */
.faq { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 100px; align-items: start; }
.faq__intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.faq__intro .h2 { font-size: 48px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: 21px; line-height: 1.3; color: var(--navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__item summary .icon { color: var(--red); stroke-width: 2; }
.faq__item .icon-minus { display: none; }
.faq__item[open] .icon-minus { display: block; }
.faq__item[open] .icon-plus { display: none; }
.faq__answer { padding: 0 0 26px; margin-top: -10px; font-size: 17px; line-height: 1.65; color: var(--gray); }
.faq__answer p + p { margin-top: 12px; }
.pending { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--red); }

/* Closing invitation */
.closing { position: relative; overflow: hidden; padding-block: 88px; text-align: center; }
.closing .deco-heart { background: var(--red-soft); top: 0; }
.closing .deco-heart--right { left: calc(50% + 508px); }
.closing .deco-heart--left { right: calc(50% + 508px); transform: scaleX(-1); }
.closing__inner { position: relative; display: flex; flex-direction: column; gap: 34px; align-items: center; }
.closing .h1 { font-size: 56px; line-height: 1.15; color: var(--white); max-width: 1100px; }
.closing .btn-row { justify-content: center; gap: 16px; }

/* Footer */
.site-footer { background: var(--white); padding: 64px 0 36px; }
.site-footer__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) 220px; gap: 100px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { width: 216px; }
.site-footer__brand p { font-size: 14px; line-height: 1.6; color: var(--gray); }
.site-footer h2 { font-size: 20px; font-weight: 400; line-height: 1.2; margin-bottom: 16px; padding-top: 12px; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.45; color: var(--gray); }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { color: var(--red); }
.footer-links { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.2; }
.footer-links a { text-decoration: none; color: var(--navy); }
.footer-links a:hover { color: var(--red); }
.site-footer__legal { margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.6; color: var(--gray); }
.site-footer__legal strong { font-weight: 400; color: var(--navy); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer__bottom a { color: var(--gray); }

/* ==========================================================================
   Interior pages
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: 40px 0 88px; }
.page-hero > .deco-heart { background: var(--beige); right: -120px; top: -40px; left: auto; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; }
.page-hero__grid--single { grid-template-columns: minmax(0, 820px); }
.page-hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.page-hero .h1 { font-size: 60px; }
.page-hero__photo { margin: 0; }
.page-hero__photo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split--center { align-items: center; }
.stack { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.stack--tight { gap: 16px; }
.card { padding: 32px; background: var(--beige); border-radius: var(--radius-md); }
.card--white { background: var(--white); }
.card h3 { font-size: 23px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.card p { font-size: 17px; color: var(--gray); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-map-wrap { margin: 8px 0 0; width: 100%; max-width: 460px; }
.service-map { display: block; width: 100%; height: auto; font-family: var(--font); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pill-list li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; line-height: 1.2; color: var(--navy); }
.section--beige .pill-list li { border-color: transparent; }
.body-copy { font-size: 18px; line-height: 1.65; color: var(--gray); }
.body-copy p + p { margin-top: 16px; }
.body-copy strong { color: var(--navy); font-weight: 600; }

.pull-quote { margin: 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--red); }
.pull-quote p { font-size: 29px; line-height: 1.35; color: var(--navy); }
.pull-quote cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal; color: var(--gray); }

.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--navy); }
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.social-links a { color: var(--navy); }
.social-links a:hover { color: var(--red); }

.faq-group + .faq-group { margin-top: 64px; }
nav.faq__intro { position: sticky; top: 32px; }
.faq__answer a, .lede a, .small-print a, .card p a { color: var(--red); }
.faq-group__title { font-size: 23px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }

/* Partners */
.partner-group + .partner-group { margin-top: 56px; }
/* Insurance brokers are hidden from customers for now (Jan, Nov 17). Markup stays in partners.html; delete this rule to show them again. */
#insurance-brokers { display: none; }
.partner-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.partner-group__head h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.4px; }
.partner-group__head p { font-size: 15px; color: var(--gray); }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.partner { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.partner__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 7; padding: 24px 32px; background: var(--white); border-bottom: 1px solid var(--line); }
.partner__logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.partner__logo--photo { padding: 0; }
.partner__logo--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.partner__logo--brightway { background: #003049; }
.partner__logo--brightway img { max-height: 40px; }
.partner__monogram { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--beige); color: var(--red); font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.partner__body { display: flex; flex-direction: column; gap: 6px; padding: 24px; flex: 1; }
.partner__name { font-size: 21px; font-weight: 600; line-height: 1.3; }
.partner__person { font-size: 15px; color: var(--gray); }
.partner__meta { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 15px; }
.partner__meta a { display: inline-flex; gap: 10px; align-items: center; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.partner__meta a:hover { color: var(--red); }
.partner__meta .icon { width: 17px; height: 17px; color: var(--red); }
.partner__tag { align-self: flex-start; margin-bottom: 4px; padding: 4px 10px; border-radius: 999px; background: var(--beige); font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--red); }

/* Privacy and other long-form text */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--gray); }
.prose h2 { margin: 48px 0 12px; font-size: 27px; line-height: 1.25; letter-spacing: -.3px; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--red); }
.prose strong { color: var(--navy); }

/* Thank-you pages */
.thanks { position: relative; overflow: hidden; padding: 72px 0 120px; text-align: center; }
.thanks .deco-heart { background: var(--beige); left: 50%; top: 10px; transform: translateX(-50%); width: 520px; }
.section--beige.thanks .deco-heart { background: var(--white); }
.thanks__inner { position: relative; display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 720px; margin-inline: auto; }
.thanks .btn-row { justify-content: center; }
.next-steps { display: grid; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; text-align: left; counter-reset: next; }
.next-steps li { position: relative; padding: 18px 20px 18px 64px; background: var(--white); border-radius: var(--radius-md); font-size: 17px; line-height: 1.5; color: var(--navy); counter-increment: next; box-shadow: 0 1px 0 var(--line); }
.next-steps li::before { content: counter(next); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 15px; font-weight: 700; display: grid; place-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --gutter: 56px; }
  .h1 { font-size: 60px; }
  .hero { padding-right: var(--gutter); }
  .idea { gap: 64px; }
  .faq { gap: 64px; grid-template-columns: 300px minmax(0, 1fr); }
  .meet { grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; }
  .site-footer__grid { gap: 56px; grid-template-columns: 280px minmax(0, 1fr) 200px; }
  .closing .deco-heart--right { left: auto; right: -300px; }
  .closing .deco-heart--left { right: auto; left: -300px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 40px; --section-y: 80px; }
  .page-hero .h1 { font-size: 50px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
  .split { gap: 48px; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__inner { min-height: 112px; }
  .site-header__logo, .site-header__logo img { width: 180px; }
  .site-nav, .site-nav__links { gap: 24px; }
  .h1 { font-size: 52px; }
  .h2 { font-size: 38px; letter-spacing: -1px; }
  .h2--sm { font-size: 38px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-top: 8px; }
  .idea { grid-template-columns: 1fr; gap: 20px; padding-block: 72px; }
  .idea__body { padding-top: 0; }
  .steps { gap: 16px; }
  .step { padding: 24px; }
  .renewal { gap: 24px; }
  .nonprofits__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
  .nonprofits__photo .deco-heart { width: 440px; left: -40px; top: -40px; }
  .quote__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .quote__intro { padding-top: 0; }
  .quote__intro .h1 { font-size: 46px; }
  .quote__promise { font-size: 24px; }
  .meet { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 72px; }
  .meet__photo img { width: 340px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  nav.faq__intro { position: static; }
  .faq__intro .h2 { font-size: 40px; }
  .closing .h1 { font-size: 46px; }
  .closing .deco-heart { width: 420px; }
  .closing .deco-heart--right { right: -290px; }
  .closing .deco-heart--left { left: -290px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Menu collapses to the hamburger below 1080px (five links no longer fit on one line) */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(31, 40, 58, .35); }
  .nav-open .site-nav { display: flex; }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__links a { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav__links a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 20px; }
}

@media (max-width: 960px) {
  .site-header__inner { min-height: 104px; }
  .site-header__logo, .site-header__logo img { width: 170px; }
}

@media (max-width: 820px) {
  .page-hero { padding: 24px 0 64px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero > .deco-heart { width: 420px; right: -160px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: 1fr; }
  .renewal { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 32px; }
  .nonprofits__grid { grid-template-columns: 1fr; gap: 40px; }
  .nonprofits__photo { max-width: 520px; }
  .nonprofits__photo img { aspect-ratio: 4 / 4.2; }
  .supported__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .meet { grid-template-columns: 1fr; }
  .meet__photo { order: -1; justify-content: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; --section-y: 64px; }
  .page-hero .h1 { font-size: 38px; }
  .page-hero > .deco-heart { width: 300px; right: -150px; top: -20px; }
  .steps--4 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-group__head { flex-direction: column; gap: 4px; }
  .card { padding: 24px; }
  .pull-quote p { font-size: 23px; }
  .prose h2 { font-size: 23px; margin-top: 36px; }
  .thanks { padding: 48px 0 80px; }
  .thanks .deco-heart { width: 340px; }
  .next-steps li { padding-left: 58px; }
  body { font-size: 17px; }
  .site-header__inner { min-height: 84px; gap: 16px; }
  .site-header__logo, .site-header__logo img { width: 132px; }
  .h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.5px; }
  .h2, .h2--sm { font-size: 31px; letter-spacing: -.6px; }
  .h3 { font-size: 27px; }
  .lede { font-size: 17px; }
  .hero { padding-bottom: 48px; gap: 28px; }
  .hero__copy { gap: 22px; }
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .photo-caption { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 14px 16px; }
  .photo-caption strong { font-size: 18px; }
  .idea { padding-block: 56px; }
  .step__title { font-size: 21px; }
  .nonprofits__photo .deco-heart { width: 300px; left: -30px; top: -30px; }
  .supported { padding: 48px 0 56px; }
  .supported__list { gap: 14px; margin-top: 32px; }
  .supported__logo { height: 120px; padding: 16px; }
  .supported__logo img { max-height: 84px; }
  .supported__logo--dark img { max-height: 52px; }
  .supported__name { padding: 14px 12px 16px; font-size: 16px; }
  .quote { padding-block: 64px; }
  .quote__intro .h1 { font-size: 38px; }
  .form-card { padding: 24px 20px; gap: 20px; border-radius: var(--radius-md); }
  .form-row, .form-row--zip { grid-template-columns: 1fr; gap: 20px; }
  .form-card button[type="submit"] { align-self: stretch; }
  .meet { padding-block: 56px; }
  .meet__photo img { width: 260px; }
  .faq__intro .h2 { font-size: 32px; }
  .faq__item summary { font-size: 18px; padding: 20px 0; }
  .faq__answer { font-size: 16px; padding-bottom: 20px; margin-top: -6px; }
  .closing { padding-block: 64px; }
  .closing .h1 { font-size: 34px; }
  .closing .deco-heart { width: 260px; }
  .closing .deco-heart--right { right: -215px; }
  .closing .deco-heart--left { left: -215px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__brand img { width: 170px; }
}
