/* Extra rules for the inner pages (get-help, donate). Everything else comes from site.css. */

/* Slim always-on help line */
.helpbar { background: var(--pine); color: var(--mist); border-bottom: 1px solid rgba(199,164,90,.35); font-family: var(--label); font-size: .82rem; letter-spacing: .04em; line-height: 1.5; text-align: center; padding: 9px 16px; }
.helpbar a { color: var(--beacon); font-weight: 700; text-decoration: none; white-space: nowrap; }
.helpbar a:hover { text-decoration: underline; }

/* Compact hero: same night-water look as the home page */
.page-hero { position: relative; overflow: hidden; color: var(--paper); background: linear-gradient(180deg, #071612 0%, #0d2a22 70%, #0a1f19 100%); }
.page-hero::after { content: ""; position: absolute; right: 8%; top: 22%; width: 520px; height: 520px; transform: translate(30%, -30%); background: radial-gradient(circle, rgba(75,227,143,.18) 0%, rgba(75,227,143,.05) 32%, transparent 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 7vw, 84px); display: grid; gap: 20px; justify-items: start; }
.page-hero .label { color: var(--gold); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.8vw, 4rem); line-height: 1.08; max-width: 19ch; letter-spacing: .01em; text-wrap: balance; }
.page-hero p { color: var(--mist); max-width: 52ch; }
.page-hero .lead { color: var(--paper); font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
.page-hero .crisis { margin-top: 6px; max-width: 640px; }
.small-note { font-size: .95rem; color: #a9bdb2; }
.small-note.dark-note { color: var(--ink-soft); margin-top: 10px; }
.big-inline { white-space: nowrap; font-family: var(--head); font-weight: 400; font-size: 1.15em; letter-spacing: .02em; text-transform: none; color: var(--paper); }
.big-inline a, .big-num a { color: inherit; text-decoration: none; }
.crisis a { color: inherit; }
.crisis.light { background: rgba(19,122,74,.07); border-color: rgba(19,122,74,.4); margin-top: 8px; }
.crisis.light b { color: var(--beacon-deep); }
.crisis.light p { color: var(--ink-soft); }
.crisis.light a { color: var(--beacon-deep); font-weight: 600; }

/* Text blocks */
.h2-sm { font-family: var(--head); font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.2; }
.prose { margin-top: 40px; display: grid; gap: 16px; }
.prose p { max-width: 70ch; }
.linklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.linklist li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; }
.linklist li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--beacon-deep); box-shadow: 0 0 0 3px rgba(19,122,74,.18); transform: translateY(-1px); }
.steps { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--mist); font-size: 1.05rem; }
.steps li::before { content: counter(s); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-size: 1.3rem; }
.dark a, .steps a { color: var(--beacon); }
.dark .btn-dark, .dark .btn-gold { color: var(--gold); }
.dark .btn-gold:hover { color: var(--night); }
.dark .field input[type=radio], .dark .checks input[type=radio] { accent-color: var(--beacon); }
.dark a.btn-light { color: var(--night); }

/* Placeholders that still need an answer: bold red on yellow, impossible to miss */
.ph { color: #c00000; background: #fff200; font-weight: 700; padding: 1px 5px; font-family: var(--label); font-size: .88em; letter-spacing: 0; }

/* Donate */
.give-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.give-grid > * { min-width: 0; }
.give-online { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(18px, 3vw, 30px); }
.donorbox-frame { display: flex; justify-content: center; }
.donorbox-frame iframe { width: 100%; max-width: 500px; min-width: 250px; min-height: 900px; border: 0; }
@media (max-width: 820px) { .give-grid { grid-template-columns: 1fr; } }
.closing { background: var(--paper); border-top: 1px solid var(--line); }
.closing .wrap { display: grid; gap: 18px; justify-items: start; }
.closing h2 { max-width: 24ch; }
section.events .prose p { max-width: 70ch; }
footer p a { color: inherit; text-decoration: underline; }

.crisis .big-num { white-space: nowrap; }
.page-hero p a { color: var(--beacon); }
.prose h2 + p { margin-top: 10px; }

/* New inner-page patterns: resources, learn, about, sponsor, party */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 22px 22px 24px; text-decoration: none; color: inherit; }
.guide-card:hover { box-shadow: 0 8px 22px rgba(11,33,27,.1); transform: translateY(-1px); }
.guide-card h2, .guide-card h3 { font-size: 1.45rem; color: var(--ink); }
.guide-card p { color: var(--ink-soft); font-size: 1.02rem; }
.guide-card .more { font-family: var(--label); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beacon-deep); font-weight: 700; }
@media (max-width: 700px) { .guide-grid { grid-template-columns: 1fr; } }

.resource { display: grid; gap: 8px; background: var(--paper); border: 1px solid var(--line); padding: 20px 22px; }
.resource h3 { font-size: 1.28rem; }
.resource p { color: var(--ink-soft); }
.resource-list { display: grid; gap: 16px; }
.levels { display: grid; gap: 18px; }
.level { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 20px 22px; display: grid; gap: 10px; }
.level h3 { font-size: 1.35rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img { height: 140px; } }
.quote-block { margin: 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold); display: grid; gap: 10px; }
.quote-block p { font-style: italic; max-width: 70ch; }
.quote-block cite { font-style: normal; font-family: var(--label); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sources { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 1rem; }
.sources li { max-width: 80ch; }
.disclaimer { font-size: .98rem; color: var(--ink-soft); }
.signs { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: sign; }
.signs li { counter-increment: sign; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.signs li::before { content: counter(sign); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--gold-ink); color: var(--gold-ink); font-family: var(--display); font-size: 1.3rem; }
.team-person { display: grid; gap: 8px; margin-top: 8px; }
.form-card { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(18px, 3vw, 30px); }
.form-card .field, .form-card .checks { display: grid; gap: 6px; }
.form-card label { font-family: var(--label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.form-card input, .form-card select, .form-card textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; max-width: 40rem; }
.form-card textarea { min-height: 8rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
