:root {
  --navy: #1c213b;
  --navy-deep: #10152b;
  --ink: #182033;
  --green: #3fa863;
  --green-dark: #247244;
  --gold: #ebaa02;
  --gold-dark: #a76e00;
  --paper: #f8f7f2;
  --white: #ffffff;
  --mist: #e8edea;
  --line: #dbe1dc;
  --muted: #5e6a71;
  --serif: "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --shadow: 0 18px 55px rgba(22, 31, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); padding: .8rem 1rem; background: var(--gold); color: var(--navy-deep); font-weight: 800; text-decoration: none; border-radius: 4px; transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; z-index: 20; top: 0; left: 0; right: 0; height: 80px; display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding-inline: max(24px, calc((100vw - 1360px) / 2)); color: var(--white); background: rgba(16,21,43,.94); border-bottom: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(9,13,29,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.program-lockup { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; min-width: 220px; }
.program-lockup strong { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; white-space: nowrap; }
.program-lockup sup, h1 sup, h2 sup { font-size: .48em; vertical-align: super; }
.program-lockup em { display: block; margin-top: .2rem; color: rgba(255,255,255,.70); font-size: .58rem; font-style: normal; letter-spacing: .13em; text-transform: uppercase; }
.program-icon { width: 36px; height: 32px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .22)); }
#site-nav { display: flex; gap: clamp(1rem, 2vw, 2.2rem); align-items: center; }
#site-nav a { color: rgba(255,255,255,.86); font-size: .73rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: color .18s ease; }
#site-nav a:hover { color: var(--gold); }
#site-nav .nav-alliance-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: .55rem .85rem; color: var(--white); background: var(--green); border: 1px solid var(--green); border-radius: 999px; font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-align: center; transition: background .18s ease, border-color .18s ease, color .18s ease; }
#site-nav .nav-alliance-cta:hover { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.42); border-radius: 2px; background: rgba(12,17,35,.32); padding: 10px; }
.menu-toggle i { height: 1px; display: block; margin: 5px 0; background: white; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 780px; color: var(--white); overflow: hidden; background: var(--navy-deep); display: grid; place-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,16,35,.74), rgba(15,20,39,.74) 52%, rgba(16,21,43,.96)); }
.hero-image { position: absolute; z-index: -2; inset: 0; background: center/cover url("assets/hero-evidence-lantern.jpg") no-repeat; opacity: .72; animation: breathe 14s ease-in-out infinite alternate; }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.hero-content { padding: 135px 0 65px; text-align: center; max-width: 920px; }
.hero-badge { display: block; width: min(165px, 34vw); height: auto; margin: 0 auto 1.7rem; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .34)); }
.eyebrow { margin: 0 0 .75rem; color: rgb(201, 168, 76); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 8vw, 60px); font-weight: 400; letter-spacing: -.055em; line-height: .94; text-wrap: balance; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-rule { width: 50px; height: 2px; margin: 2.15rem auto; background: var(--gold); }
.hero-copy { width: min(100%, 755px); margin: 0 auto; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.65vw, 1.22rem); line-height: 1.8; text-wrap: balance; }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 500px; margin: 3.1rem auto 2.35rem; }
.hero-facts > div { min-height: 77px; display: grid; place-content: center; gap: .15rem; }
.hero-facts > div + div { border-left: 1px solid rgba(255,255,255,.22); }
.hero-facts strong { color: var(--gold); font-family: var(--serif); font-size: 2.35rem; font-weight: 400; line-height: 1; }
.hero-facts span { color: rgba(255,255,255,.86); }
.hero-cta { display: inline-flex; gap: .7rem; align-items: center; padding: .8rem 1.12rem; color: white; border: 1px solid rgba(255,255,255,.5); text-decoration: none; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: background .18s ease, border-color .18s ease; }
.hero-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
#about, #recipients, #faqs, #join-the-verified-alliance { scroll-margin-top: 104px; }

/* About and evidence */
.about { padding: clamp(4rem, 8vw, 8.2rem) 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5.2rem); align-items: start; }
.section-label { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.section-label .index { color: var(--gold-dark); font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0; }
.about-copy h2, .directory-intro h2 { max-width: 680px; margin: 0 0 1.15rem; font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 4.3rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.about-copy p:not(.eyebrow), .directory-intro > p { color: #4d5a60; font-size: 1.03rem; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; margin-top: .55rem; color: var(--green-dark); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.text-link:hover { color: var(--navy); }
.evidence-panel { padding: 2rem; background: var(--navy); color: white; box-shadow: var(--shadow); }
.evidence-panel h3 { margin: 0 0 1.3rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.evidence-panel ul { list-style: none; margin: 0; padding: 0; }
.evidence-panel li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.82); font-size: .87rem; line-height: 1.45; }
.evidence-panel li span { color: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }

/* Statistics */
.stats-strip { background: var(--navy); color: white; }
.stats-grid { min-height: 168px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-item { min-height: 168px; display: flex; flex-direction: column; justify-content: center; gap: .38rem; padding: 1.5rem clamp(1rem, 2.25vw, 2.4rem); border-left: 1px solid rgba(255,255,255,.16); }
.stat-item:first-child { border-left: 0; }
.stat-item span { color: rgba(255,255,255,.86); }
.stat-item strong { color: var(--gold); font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.stat-item small { color: rgba(255,255,255,.5); font-size: .74rem; line-height: 1.4; }

/* Directory and filters */
.directory { padding: clamp(4.5rem, 8vw, 8rem) 0 5rem; scroll-margin-top: 104px; }
.directory-anchor-alias { display: block; position: relative; width: 1px; height: 1px; scroll-margin-top: 104px; }
.directory-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 2rem; margin-bottom: 2.8rem; }
.directory-intro > p { max-width: 400px; margin: 0 0 .45rem; font-size: .94rem; line-height: 1.75; }
.filters { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto; gap: .8rem; padding: 1rem; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 35px rgba(28,33,59,.05); }
.filters > div { min-width: 0; }
.filters label { display: block; margin: 0 0 .36rem; color: #415048; }
.filters input, .filters select { width: 100%; height: 43px; padding: 0 .8rem; appearance: none; color: var(--ink); background: #fbfcfb; border: 1px solid #d7ddd8; border-radius: 2px; font-size: .86rem; }
.filters select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 14px) 18px, calc(100% - 10px) 18px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; padding-right: 2rem; }
.input-wrap { position: relative; }
.input-wrap span { position: absolute; top: 9px; left: 11px; color: var(--green-dark); font-size: 1.35rem; line-height: 1; }
.input-wrap input { padding-left: 2.25rem; }
.clear-filters { align-self: end; min-height: 43px; padding: 0 .85rem; color: var(--green-dark); background: transparent; border: 1px solid transparent; font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.clear-filters:hover { border-color: var(--green); }
.result-summary { margin: 1.25rem 0 3.6rem; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }

/* Tier sections */
.tier-section { margin-top: 4.8rem; scroll-margin-top: 30px; }
.tier-section:first-of-type { margin-top: 0; }
.tier-heading { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 1.4rem; padding: 0 0 1.75rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.tier-heading h2 { margin: 0 0 .32rem; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.05rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.tier-heading p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); font-size: .91rem; }
.tier-badge { width: 92px; height: auto; display: block; filter: drop-shadow(0 6px 12px rgba(28, 33, 59, .12)); }
.tier-top .tier-badge { filter: drop-shadow(0 6px 12px rgba(166, 99, 1, .16)); }
.tier-trusted .tier-badge { filter: drop-shadow(0 6px 12px rgba(63, 168, 99, .16)); }
.tier-count { min-width: 130px; text-align: right; }
.tier-count strong { display: block; font-family: var(--serif); font-size: 2.85rem; font-weight: 400; line-height: .9; }
.tier-count span { color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; line-height: 1.42; text-transform: uppercase; }
.tier-count small { display: block; margin-top: .42rem; color: #66736a; font-size: .67rem; font-weight: 700; line-height: 1.35; }
.tier-top .tier-count strong { color: var(--gold-dark); }
.tier-trusted .tier-count strong { color: var(--green-dark); }
.recipient-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.recipient-card { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.card-content { min-height: 240px; display: flex; flex-direction: column; padding: 1.3rem; }
.card-layout { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .95rem; min-height: 100%; }
.provider-logo { width: 56px; height: 56px; display: block; overflow: visible; flex: 0 0 auto; }
.provider-crest { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(28, 33, 59, .1)); }
.provider-details { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.card-topline { margin-bottom: .58rem; }
.card-badge { max-width: 165px; padding: .33rem .5rem; border: 1px solid currentColor; border-radius: 20px; line-height: 1.3; text-align: center; }
.card-badge.top { color: var(--gold-dark); background: #fff7e5; }
.card-badge.trusted { color: var(--green-dark); background: #effaf2; }
.recipient-card h3 { min-height: 0; margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.48rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.06; }
.care-tags { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 0; margin-bottom: .48rem; }
.care-tag { padding: .28rem .45rem; color: #4a5960; background: #f1f4f2; border-radius: 2px; font-size: .58rem; font-weight: 800; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.card-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; margin: auto 0 .1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card-meta div { min-width: 0; }
.card-meta dt { color: #748078; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-meta dd { margin: .15rem 0 0; color: #3d484d; font-size: .72rem; font-weight: 600; line-height: 1.28; }
.load-more { display: block; min-width: 230px; margin: 1.45rem auto 0; padding: .82rem 1.15rem; color: var(--green-dark); background: transparent; border: 1px solid var(--green); border-radius: 2px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tier-top .load-more { color: var(--gold-dark); border-color: var(--gold); }
.load-more:hover { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); }
.tier-top .load-more:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.empty-state { max-width: 530px; margin: 4rem auto 2rem; padding: 3rem 2rem; text-align: center; background: var(--white); border: 1px dashed #b7c0b9; }
.empty-state > span { color: var(--green-dark); font-size: 2.3rem; }
.empty-state h2 { margin: .3rem 0 .5rem; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1.1; }
.empty-state p { color: var(--muted); font-size: .91rem; }
.reset-button { margin-top: .65rem; border: 0; background: transparent; }

/* Frequently asked questions */
.faqs { padding: 0; border-top: 1px solid var(--line); }
.faq-hero { padding: clamp(3.9rem, 8vw, 6.8rem) 0; color: var(--white); background: linear-gradient(135deg, #18203f 0%, var(--navy-deep) 78%); }
.faq-kicker { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; color: var(--gold); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.faq-kicker::before { width: 27px; height: 1px; content: ""; background: var(--gold); }
.faq-hero h2 { max-width: 650px; margin: 0 0 1.2rem; color: var(--white); font-family: var(--serif); font-size: clamp(3rem, 5.2vw, 4.65rem); font-weight: 400; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.faq-hero p:not(.faq-kicker) { max-width: 735px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.72; }
.faq-body { padding: clamp(2.2rem, 5vw, 4.6rem) 0 clamp(4rem, 7vw, 6.6rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 1rem; align-items: center; padding: 1.2rem 0; color: var(--navy); cursor: pointer; font-family: var(--serif); font-size: clamp(1.08rem, 1.85vw, 1.3rem); font-weight: 400; letter-spacing: -.014em; line-height: 1.35; list-style: none; transition: color .18s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-icon { width: 23px; height: 23px; position: relative; display: grid; place-items: center; color: var(--navy); background: var(--white); border: 1px solid #d9ded9; border-radius: 50%; box-shadow: 0 2px 7px rgba(28,33,59,.08); transition: background .18s ease, border-color .18s ease, color .18s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; width: 8px; height: 1px; background: currentColor; transition: transform .18s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { color: var(--green-dark); border-color: rgba(63,168,99,.55); }
.faq-item[open] summary { color: var(--green-dark); }
.faq-item[open] .faq-icon { color: var(--green-dark); background: #f5faf6; border-color: rgba(63,168,99,.5); }
.faq-item[open] .faq-icon::before { transform: rotate(45deg); }
.faq-item[open] .faq-icon::after { transform: rotate(-45deg); }
.faq-answer { max-width: 940px; padding: .05rem 3rem 1.45rem 0; color: #59666b; font-size: .97rem; line-height: 1.78; }
.faq-answer p { margin: 0; }
.faq-answer ul { margin: 0; padding-left: 1.25rem; }
.faq-answer li { margin: .45rem 0; padding-left: .2rem; }
.faq-answer strong { color: var(--navy); }
.faq-answer a { color: var(--green-dark); font-weight: 700; text-decoration-color: rgba(36, 114, 68, .45); text-underline-offset: .18em; }
.faq-answer a:hover { color: var(--navy); text-decoration-color: currentColor; }

/* Verified Alliance inquiry */
.verified-alliance { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--white); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.verified-alliance-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.verified-alliance-copy h2 { max-width: 720px; margin: 0 0 1.1rem; color: var(--navy); font-family: var(--serif); font-size: clamp(2.8rem, 5.2vw, 4.8rem); font-weight: 400; letter-spacing: -.052em; line-height: .96; text-wrap: balance; }
.verified-alliance-copy p:not(.eyebrow) { max-width: 725px; margin: 0; color: #4d5a60; font-size: 1.03rem; line-height: 1.72; }
.verified-alliance-copy .alliance-lede { margin-bottom: 1rem; color: #283661; font-size: clamp(1.2rem, 2.05vw, 1.7rem); font-weight: 700; line-height: 1.28; }
.verified-alliance-emblem { width: min(100%, 340px); height: auto; margin-inline: auto; filter: drop-shadow(0 16px 28px rgba(28, 33, 59, .13)); }
.alliance-form-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding: clamp(1.5rem, 4vw, 3rem); background: #f2f7f3; border: 1px solid #d8e5dc; box-shadow: 0 16px 40px rgba(28, 33, 59, .08); }
.alliance-form-copy h3 { margin: 0 0 .85rem; color: var(--navy); font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 2.55rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; }
.alliance-form-copy p:not(.eyebrow) { margin: 0; color: #4d5a60; font-size: .94rem; line-height: 1.7; }
.hubspot-form { min-height: 120px; }
.hubspot-form iframe { width: 100% !important; max-width: 100% !important; }
.hubspot-form form { display: flex !important; flex-direction: column; align-items: stretch; align-content: flex-start !important; justify-content: flex-start !important; gap: 0 !important; height: auto !important; max-width: none !important; margin: 0 !important; }
.hubspot-form form > * { min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
.hubspot-form form > *:has(input[type="hidden"]) { display: none !important; }
.hubspot-form .hs-form { display: flex !important; flex-direction: column; align-items: stretch; align-content: flex-start !important; justify-content: flex-start !important; gap: 0 !important; height: auto !important; max-width: none !important; margin: 0 !important; }
.hubspot-form .hs-form > * { min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
.hubspot-form .form-columns-1, .hubspot-form .form-columns-2 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: none !important; margin: 0 0 .85rem !important; }
.hubspot-form .form-columns-1 { grid-template-columns: 1fr; }
.hubspot-form .hs-form-field { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.hubspot-form label { display: block; margin: 0 0 .35rem; color: #3d5145; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.hubspot-form .hs-input, .hubspot-form input[type="text"], .hubspot-form input[type="email"], .hubspot-form input[type="tel"], .hubspot-form input[type="number"], .hubspot-form select, .hubspot-form textarea { width: 100% !important; min-height: 48px; padding: .7rem .85rem !important; color: var(--ink) !important; background: var(--white) !important; border: 1px solid #c5d2c9 !important; border-radius: 8px !important; box-shadow: 0 1px 0 rgba(28,33,59,.03); font-family: var(--sans) !important; font-size: .94rem !important; line-height: 1.35 !important; transition: border-color .18s ease, box-shadow .18s ease; }
.hubspot-form textarea { min-height: 108px; resize: vertical; }
.hubspot-form .hs-input::placeholder, .hubspot-form input::placeholder, .hubspot-form textarea::placeholder { color: #738078; opacity: 1; }
.hubspot-form .hs-input:focus, .hubspot-form input:focus, .hubspot-form select:focus, .hubspot-form textarea:focus { outline: 0; border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(63,168,99,.18); }
.hubspot-form .hs-error-msgs { margin: .35rem 0 0; padding: 0; color: #a53333; font-size: .74rem; line-height: 1.45; list-style: none; }
.hubspot-form .legal-consent-container, .hubspot-form .hs-richtext { margin: .1rem 0 0 !important; padding: 0 !important; color: #526159; font-size: .82rem; line-height: 1.6; }
.hubspot-form .hs-richtext p { margin: 0 !important; padding: 0 !important; }
.hubspot-form .legal-consent-container a, .hubspot-form .hs-richtext a { color: var(--green-dark); font-weight: 700; text-underline-offset: .16em; }
.hubspot-form .hs-submit, .hubspot-form .hs_submit { margin: .95rem 0 0 !important; padding: 0 !important; }
.hubspot-form .actions { margin: 0 !important; padding: 0 !important; }
.hubspot-form .hs-button, .hubspot-form input[type="submit"] { min-height: 48px; padding: .78rem 1.2rem !important; color: var(--white) !important; background: var(--green) !important; border: 1px solid var(--green) !important; border-radius: 999px !important; box-shadow: none !important; font-family: var(--sans) !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .08em !important; line-height: 1 !important; text-shadow: none !important; text-transform: uppercase; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.hubspot-form .hs-button:hover, .hubspot-form input[type="submit"]:hover { color: var(--navy-deep) !important; background: var(--gold) !important; border-color: var(--gold) !important; transform: translateY(-1px); }

/* Footer */
.site-footer { padding: 4rem 0 0; color: rgba(255,255,255,.76); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer-brand p { max-width: 310px; margin: 1.1rem 0 0; color: rgba(255,255,255,.62); font-size: .85rem; line-height: 1.65; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: .48rem; }
.footer-label { margin: 0 0 .35rem; color: var(--gold); font-size: .61rem; font-weight: 800; letter-spacing: .14em; }
.footer-grid a:not(.program-lockup) { color: rgba(255,255,255,.72); font-size: .77rem; text-decoration: none; }
.footer-grid a:not(.program-lockup):hover { color: var(--gold); }
.footer-disclosure { padding: 1.1rem 0 .5rem; color: rgba(255,255,255,.52); border-top: 1px solid rgba(255,255,255,.15); font-size: .67rem; line-height: 1.65; }
.footer-disclosure p { max-width: 1040px; margin: 0; }
.footer-disclosure a { color: rgba(255,255,255,.72); font-weight: 700; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .18em; }
.footer-disclosure a:hover { color: var(--gold); text-decoration-color: currentColor; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0 1.2rem; color: rgba(255,255,255,.44); font-size: .64rem; letter-spacing: .05em; }
.footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; }
.footer-legal a { display: inline-flex; align-items: center; padding: .05rem .9rem; color: rgba(255,255,255,.58); text-decoration: none; white-space: nowrap; transition: color .18s ease; }
.footer-legal a:first-child { padding-left: 0; }
.footer-legal a:last-child { padding-right: 0; }
.footer-legal a + a { margin-left: .15rem; border-left: 1px solid rgba(255,255,255,.28); }
.footer-legal a:hover { color: var(--gold); }

/* Legal pages */
.legal-page .site-header { position: sticky; top: 0; width: 100%; max-width: none; margin: 0; padding-inline: max(24px, calc((100vw - 1360px) / 2)); background: var(--navy-deep); }
.legal-hero { padding: clamp(4rem, 8vw, 7rem) 0; color: var(--white); background: linear-gradient(135deg, #1d2546 0%, var(--navy-deep) 74%); }
.legal-hero .eyebrow { margin-bottom: 1rem; }
.legal-hero h1 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(3.1rem, 7vw, 5.8rem); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.legal-content { padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4.5rem, 7vw, 7rem); }
.legal-document { max-width: 870px; }
.legal-document > :first-child { margin-top: 0; }
.legal-document p { max-width: 820px; margin: 0 0 1.15rem; color: #46545b; font-size: .98rem; line-height: 1.78; }
.legal-document h2 { display: flex; gap: .65rem; align-items: baseline; margin: 3.3rem 0 1rem; padding-top: 1.2rem; color: var(--navy); border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.legal-document h2 span { color: var(--gold-dark); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.legal-document h3 { display: flex; gap: .55rem; align-items: baseline; margin: 2.15rem 0 .72rem; color: var(--navy); font-family: var(--sans); font-size: 1rem; font-weight: 800; line-height: 1.45; }
.legal-document h3 span { color: var(--green-dark); font-size: .72rem; letter-spacing: .08em; }
.legal-document ul { margin: 0 0 1.35rem; padding-left: 1.35rem; color: #46545b; }
.legal-document li { margin: .45rem 0; padding-left: .25rem; font-size: .98rem; line-height: 1.7; }
.legal-document .legal-draft { display: inline-block; max-width: none; margin-bottom: 1.35rem; padding: .42rem .62rem; color: #7b5000; background: #fff1c9; border: 1px solid #eccd79; font-size: .71rem; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.legal-document .legal-effective { margin-bottom: 2rem; color: var(--green-dark); font-size: .8rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.legal-document .legal-emphasis { color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .04em; line-height: 1.72; }

/* Readable all-caps treatments */
#site-nav a,
.hero-facts span,
.hero-cta,
.section-label,
.text-link,
.stat-item span,
.filters label,
.clear-filters,
.tier-count span,
.card-badge,
.care-tag,
.card-meta dt,
.footer-label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-label, .filters label, .tier-count span, .card-meta dt { color: #415048; }

@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.035); } }

@media (max-width: 1020px) {
  .about { grid-template-columns: 1.3fr 1fr; }
  .evidence-panel { grid-column: 2; }
  .filters { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .clear-filters { justify-self: start; }
  .recipient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .site-header { height: 68px; padding-inline: 16px; }
  .menu-toggle { display: block; }
  #site-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-deep); border: 1px solid rgba(255,255,255,.17); box-shadow: var(--shadow); }
  #site-nav[data-open="true"] { display: flex; }
  #site-nav a { padding: .85rem .25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  #site-nav a:last-child { border-bottom: 0; }
  #site-nav .nav-alliance-cta { margin-top: .7rem; padding: .8rem .9rem; border-color: var(--green); }
  .hero { min-height: 725px; }
  .hero-content { padding-top: 115px; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5.2rem); }
  .hero-facts { margin-top: 2.5rem; }
  .hero-facts strong { font-size: 1.92rem; }
  .hero-facts span { font-size: .62rem; letter-spacing: .14em; }
  .about { grid-template-columns: 1fr; gap: 1.4rem; }
  .evidence-panel { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { min-height: 112px; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .stat-item:first-child { border-top: 0; }
  .stat-item:nth-child(odd) { border-left: 0; }
  .directory-intro { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .tier-heading { grid-template-columns: 70px 1fr; gap: 1rem; }
  .tier-badge { width: 62px; height: auto; }
  .tier-count { grid-column: 2; text-align: left; display: flex; align-items: end; gap: .7rem; }
  .tier-count strong { font-size: 2.3rem; }
  .tier-count span { padding-bottom: .14rem; }
  .faq-hero { padding: 3.8rem 0; }
  .faq-hero h2 { max-width: 560px; }
  .faq-body { padding: 2rem 0 4.5rem; }
  .verified-alliance-overview, .alliance-form-card { grid-template-columns: 1fr; }
  .verified-alliance-overview { gap: 1.8rem; }
  .verified-alliance-emblem { width: min(72%, 300px); }
  .hubspot-form .form-columns-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .legal-page .site-header { padding-inline: 16px; }
  .legal-hero { padding: 3.65rem 0; }
  .legal-document h2 { margin-top: 2.75rem; }
}

@media (max-width: 500px) {
  .program-lockup strong { font-size: .58rem; }
  .program-lockup { min-width: auto; gap: .5rem; }
  .hero-badge { width: min(130px, 38vw); margin-bottom: 1.1rem; }
  .hero-facts { grid-template-columns: 1fr; max-width: 260px; gap: .5rem; }
  .hero-facts > div, .hero-facts > div:last-child { min-height: 46px; display: flex; align-items: baseline; justify-content: center; gap: .55rem; border: 0; }
  .filters, .recipient-grid { grid-template-columns: 1fr; }
  .filters > div { grid-column: auto; }
  .search-field { grid-column: auto; }
  .recipient-card h3 { min-height: auto; }
  .faq-item summary { grid-template-columns: minmax(0, 1fr) 25px; padding: 1.05rem 0; font-size: 1.08rem; }
  .faq-icon { width: 22px; height: 22px; }
  .faq-answer { padding-right: 0; font-size: .92rem; }
  .verified-alliance { padding-block: 4rem; }
  .alliance-form-card { padding: 1.35rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
