.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; max-width: none; }
.policy-hero-inner > .hero-actions { max-width: none; }

.facts { padding: 40px 0 0; }
.fact-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.fact { background: var(--white); border-radius: 18px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; color: var(--green); }
.fact span { font-size: 15px; color: var(--ink-2); }
.fact-sources { margin: 14px 0 0; font-size: 15px; color: var(--ink-3); }

.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 64px; justify-content: space-between; align-items: start; margin-top: 56px; margin-bottom: 72px; }
.guide-layout.no-toc { grid-template-columns: minmax(0, 760px); justify-content: center; }
.guide-body { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 52px; min-width: 0; }
.guide-toc { grid-column: 2; grid-row: 1; position: sticky; top: 96px; background: var(--white); border-radius: 18px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.guide-toc h2 { font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.guide-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.guide-toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.guide-toc a:hover { color: var(--green); text-decoration: underline; }

.guide-body section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 96px; }
.guide-body h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.025em; }
.guide-body h3 { font-size: 20px; line-height: 1.25; margin: 8px 0 0; }
.guide-body p, .guide-body li { margin: 0; color: var(--ink-2); }
.guide-body ul.plain, .guide-body ol.plain { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.guide-body strong { color: var(--ink); }
.guide-body a { text-underline-offset: 3px; }

.card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card-list li { background: var(--white); border-radius: 18px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.card-list h3 { margin: 0 0 6px; font-size: 19px; }

.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step-list li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--white); border-radius: 18px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.step-list li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.step-list li:nth-child(4n+2)::before { background: var(--blue-tint); color: #1F4FB0; }
.step-list li:nth-child(4n+3)::before { background: var(--marigold-tint); color: #6B4E00; }
.step-list li:nth-child(4n+4)::before { background: var(--coral-tint); color: var(--error); }
.step-list h3 { margin: 0 0 4px; font-size: 19px; }

.state-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.state-grid li { background: var(--white); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 16px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.stamp { font-size: 15px; color: var(--ink-3); }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.link-list li { background: var(--white); border-radius: 12px; padding: 12px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.link-list a { font-weight: 600; }

.promo { background: var(--green); color: var(--white); border-radius: 20px; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo h3 { margin: 0; font-size: 24px; color: var(--white); }
.promo p { color: var(--green-tint); }
.guide-body .promo p { color: var(--green-tint); }

.callout { background: var(--marigold-tint); border-radius: 18px; padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.callout p { color: var(--ink); }

.guide-body .fine { font-size: 15px; color: var(--ink-3); }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; margin-bottom: 56px; }
  .guide-toc { grid-column: 1; grid-row: 1; position: static; }
  .guide-body { grid-column: 1; grid-row: 2; gap: 44px; }
  .guide-toc ol { columns: 2; display: block; }
  .guide-toc li { margin-bottom: 6px; break-inside: avoid; }
}
@media (max-width: 560px) {
  .guide-toc ol { columns: 1; }
  .step-list li { grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; }
  .step-list li::before { width: 38px; height: 38px; font-size: 17px; }
  .promo { padding: 24px 22px; }
}

.guide-body .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-body .fact b { font-size: 26px; }
.guide-body .fact-sources a { color: var(--green); }
@media (max-width: 480px) { .guide-body .fact-row { grid-template-columns: minmax(0, 1fr); } }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.post-item { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; padding: 20px 24px; }
.post-item h3 { margin: 0 0 6px; }
.post-item a { color: var(--green); text-decoration: none; }
.post-item a:hover { text-decoration: underline; }
.post-item p { margin: 6px 0 0; }

.article-head { padding-top: 40px; max-width: 1100px; }
.crumbs { font-size: 14px; margin: 0 0 14px; color: #5a6470; }
.crumbs a { color: var(--green); text-decoration: none; }
.article-head h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; margin: 0 0 14px; max-width: 900px; }
.byline { font-size: 15px; color: #5a6470; margin: 0 0 8px; }
.tldr { background: #fff; border: 1px solid rgba(0,0,0,.1); border-left: 6px solid var(--marigold); border-radius: 14px; padding: 18px 22px; margin: 0 0 28px; }
.tldr .tldr-label { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--green); margin: 0 0 6px; }
.tldr p:last-child { margin-bottom: 0; }
.stat-row { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; padding: 18px 20px; }
.stat b { display: block; font-size: 34px; line-height: 1.1; color: var(--green); font-family: 'Schibsted Grotesk', sans-serif; }
.stat span { display: block; margin-top: 6px; font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid rgba(0,0,0,.1); font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,.08); vertical-align: top; }
.data-table th { background: var(--green); color: #fff; font-weight: 600; }
@media (max-width: 640px) { .stat-row { grid-template-columns: minmax(0, 1fr); } }

/* centered guide layout */
.guide-layout.no-toc.wide { grid-template-columns: minmax(0, 940px); }
.guide-layout.wide .guide-body > section > h2,
.guide-layout.wide .guide-body > section > p:first-of-type { text-align: center; }
.guide-layout.wide .guide-body > section > p:first-of-type { max-width: 720px; margin-left: auto; margin-right: auto; }
.guide-layout.wide .guide-body > section { margin-top: 56px; }
.guide-layout.wide .guide-body > section:first-child { margin-top: 0; }

/* hover effects in brand colors */
.card-list li, .step-list li, .fact, .stat, .link-list li, .post-card, .state-grid li { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease; }
.card-list li:hover, .step-list li:hover, .fact:hover, .stat:hover, .post-card:hover { transform: translateY(-4px); }
.card-list li:nth-child(4n+1):hover { background: var(--green-tint); box-shadow: inset 0 0 0 2px var(--green); }
.card-list li:nth-child(4n+2):hover { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.card-list li:nth-child(4n+3):hover { background: var(--marigold-tint); box-shadow: inset 0 0 0 2px var(--marigold); }
.card-list li:nth-child(4n+4):hover { background: var(--coral-tint); box-shadow: inset 0 0 0 2px var(--coral); }
.step-list li:hover { box-shadow: inset 0 0 0 2px var(--green); }
.step-list li:hover::before { background: var(--green); color: #fff; }
.fact:hover, .stat:hover { background: var(--green); box-shadow: none; }
.fact:hover b, .fact:hover span, .stat:hover b, .stat:hover span { color: #fff; }
.state-grid li:hover { background: var(--marigold); color: var(--ink); box-shadow: none; }
.link-list li:hover a { color: var(--coral); }
.state-list { margin-top: 18px; }
.state-list summary { cursor: pointer; font-weight: 600; color: var(--green); }
.state-list .state-grid { margin-top: 12px; }

/* interactive map */
.map-card { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 20px; }
.us-map { width: 100%; height: auto; display: block; }
.us-map .st { fill: #E4E7EC; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .15s ease, transform .15s ease; transform-box: fill-box; transform-origin: center; outline: none; }
.us-map .st.on { fill: var(--green); }
.us-map .st:hover, .us-map .st:focus { transform: scale(1.06); stroke: var(--ink); stroke-width: 1.6; }
.us-map .st.on:hover, .us-map .st.on:focus { fill: var(--marigold); }
.us-map .st:not(.on):hover, .us-map .st:not(.on):focus { fill: var(--coral); }
.map-status { background: var(--green-tint); border-radius: 16px; padding: 16px 18px; min-height: 110px; transition: background-color .15s ease; }
.map-status b { display: block; font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.map-status span { font-size: 15px; line-height: 1.45; }
.map-status.is-on { background: var(--marigold-tint); }
.map-status.is-off { background: var(--coral-tint); }
.map-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.map-legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.sw-on { background: var(--green); } .sw-off { background: #E4E7EC; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) { .map-card { grid-template-columns: minmax(0, 1fr); padding: 14px; } }

/* blog post */
.post { max-width: 820px; padding-top: 28px; padding-bottom: 24px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--green); }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 10px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.post-cat { color: var(--green); font-weight: 700; }
.post-meta .dot { font-size: 8px; }
.share { margin-left: auto; display: flex; gap: 8px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border: 0; cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease, transform .15s ease; font-size: 16px; }
.share-btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.share-btn.copied { background: var(--marigold); color: var(--ink); }
.post h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; margin: 6px 0 14px; }
.post-dek { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.post-author { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line); }
.overview { background: var(--white); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); margin: 0 0 36px; overflow: hidden; }
.overview h2 { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 22px; font-size: 22px; background: var(--marigold-tint); border-bottom: 1px solid var(--line); }
.overview .spark { width: 22px; height: 22px; background: var(--marigold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.overview ul { margin: 0; padding: 18px 26px 20px 42px; display: grid; gap: 10px; }
.post-body > section:first-of-type { margin-top: 0; }
.explore { margin: 48px 0 8px; background: var(--white); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); padding: 26px; }
.explore-title { margin: 0 0 6px; font-size: 24px; }
.explore-label { display: block; margin-bottom: 12px; color: var(--ink-2); font-size: 15px; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ai-dd { position: relative; }
.ai-dd[open] { z-index: 30; }
.ai-btn { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.ai-btn::-webkit-details-marker { display: none; }
.ai-btn:hover, .ai-dd[open] .ai-btn { box-shadow: inset 0 0 0 2px var(--green); }
.ai-btn:hover { transform: translateY(-2px); }
.ai-logo { width: 26px; height: 26px; flex: none; }
.ai-btn .caret { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.ai-dd[open] .caret { transform: rotate(-135deg); }
.ai-menu { list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; background: var(--white); border-radius: 14px; box-shadow: 0 14px 34px rgba(19, 32, 59, .18), inset 0 0 0 1px var(--line); }
.ai-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.ai-menu a:hover, .ai-menu a:focus { background: var(--marigold-tint); color: var(--green); }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.post-tags li { background: var(--green-tint); color: var(--green); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.post-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; }
.post-end .share { margin-left: 0; }
.to-top { margin-left: auto; color: var(--green); text-decoration: none; }
.to-top:hover { color: var(--coral); }
.related { margin: 52px 0 24px; }
.related h2 { font-size: 30px; margin: 0 0 18px; }
@media (max-width: 560px) { .explore-grid { grid-template-columns: minmax(0, 1fr); } .share { margin-left: 0; width: 100%; } }

/* cards grid (blog home and related) */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.post-card:hover a { box-shadow: 0 0 0 2px var(--green), 0 12px 28px rgba(9, 85, 52, .14); }
.post-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.post-card-meta { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.post-card-title { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.post-card-excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.blog-home { padding-top: 48px; padding-bottom: 72px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

.guide-layout.wide .card-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.guide-layout.wide .guide-body .fact-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .guide-layout.wide .guide-body .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .guide-layout.wide .guide-body .fact-row { grid-template-columns: minmax(0, 1fr); } }

.post-fig { margin: 40px 0 0; }
.post-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }

/* donor guide dropdown */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > .nav-link::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dd-menu { position: absolute; top: 100%; left: 50%; min-width: 230px; padding: 8px; margin-top: 6px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 32px rgba(19, 32, 59, .16), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.dd-menu a:hover, .dd-menu a:focus { background: var(--marigold-tint); color: var(--green); }
