/* ═══════════════════════════════════════════════════════
   21VOX SMALL PAGES: Support and Advertise
   The About page's "Masthead" language (css/about.css) for the pages that sit beside it:
   same tokens, type scale, cards, bands and signup band, under .pg- names so About can change
   without moving these pages. Loaded after styles.css. Behaviour: js/pages.js (Support's Copy buttons).
   ═══════════════════════════════════════════════════════ */

:root {
    --pg-text: var(--white-warm);
    --pg-soft: #cfc9bf;
    --pg-muted: #a8a196;
    --pg-card: #0f0e0d;
    --pg-line: #262420;
    --pg-outline: #3a3732;
    --pg-band: #0b0a09;
    --pg-band-line: #1c1b19;
    --pg-tint: #120d07;
    --pg-tint-line: #3a2a14;
    --pg-field: #34312c;
    --pg-green: #3ecf8e;
    --pg-ink: #140c02;
}

/* Georgia sized to DM Serif Display's width, so headings barely reflow when the web font arrives */
@font-face { font-family: 'DM Serif Fallback'; src: local('Georgia'); size-adjust: 97%; }

body { font-family: var(--sans); background: var(--black); color: var(--text-warm); line-height: 1.7; }

.pg { --serif: 'DM Serif Display', 'DM Serif Fallback', Georgia, serif; color: var(--pg-text); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
.pg-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.pg-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pg a:focus-visible, .pg button:focus-visible, .pg input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Resets at zero specificity, so every class rule below wins */
:where(.pg) :is(ul, dl, dd, p, h1, h2, h3) { margin: 0; padding: 0; }
:where(.pg) ul { list-style: none; }
.pg strong { font-weight: 700; color: var(--pg-text); }

/* ── Shared type ── */
.pg-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.pg .pg-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.pg h1 { margin-top: 18px; max-width: 22ch; font-family: var(--serif); font-weight: 400; font-size: 84px; line-height: 0.98; color: var(--pg-text); }
.pg h2 { margin-bottom: 20px; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--pg-text); }
.pg h1 em, .pg h2 em { color: var(--orange); }
.pg-deck { margin-top: 26px; max-width: 54ch; font-size: 22px; line-height: 1.5; color: var(--pg-soft); }
.pg-deck--long { max-width: 62ch; font-size: 20px; }
.pg-deck-more { margin-top: 14px; max-width: 72ch; font-size: 18px; line-height: 1.55; color: var(--pg-text); }
.pg-prose p { font-size: 17px; line-height: 1.65; color: var(--pg-soft); }
.pg-prose p + p { margin-top: 14px; }
.pg-fine { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--pg-muted); }
.pg-tick { flex: none; width: 16px; height: 16px; color: var(--pg-green); }
.pg-cross { flex: none; width: 16px; height: 16px; color: var(--orange); }

/* ── Section rhythm: the head, then sections 72px apart; full-width bands between ── */
.pg-head { padding-top: 72px; padding-bottom: 56px; }
.pg-sec { padding-bottom: 72px; }
.pg-band { background: var(--pg-band); border-top: 1px solid var(--pg-band-line); border-bottom: 1px solid var(--pg-band-line); }
.pg-band > .pg-wrap { padding-top: 72px; padding-bottom: 72px; }
.pg-band + .pg-sec { padding-top: 72px; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }

/* Stat strip, as on About */
.pg-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); }
.pg-stat { padding: 22px 20px; border-left: 1px solid var(--pg-line); }
.pg-stat:first-child { border-left: 0; }
.pg-stat-n { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--pg-text); }
.pg-stat-l { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--pg-muted); }

/* Ruled rows: a tick or cross, then the text (About's "How we check") */
.pg-rules { border-bottom: 1px solid var(--pg-line); }
.pg-rule { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--pg-line); }
.pg-rule .pg-tick, .pg-rule .pg-cross { margin-top: 6px; }
.pg-rule p { font-size: 17px; line-height: 1.65; color: var(--pg-soft); }

/* ── Buttons ── */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; background: var(--orange); color: var(--pg-ink); border: 0; border-radius: 10px; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.pg-btn:hover { background: #ffa53d; color: var(--pg-ink); }

/* ══ SUPPORT ══ */
.pg-send h2 { margin-bottom: 24px; }
.pg-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pg-pay-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px 28px 24px; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; }
/* The address: one tap or click selects all of it, and it never goes through a translator */
.pg-addr { padding: 16px 18px; background: var(--pg-band); border: 1px solid var(--pg-field); border-radius: 10px; font-family: var(--mono); font-size: 17px; line-height: 1.5; color: var(--pg-text); overflow-wrap: anywhere; word-break: break-all; -webkit-user-select: all; user-select: all; }
.pg-pay-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pg-pay-note { font-size: 15px; line-height: 1.5; color: var(--pg-muted); }
.pg-copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--orange); border-radius: 10px; color: var(--orange); font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.pg-copy-btn svg { flex: none; width: 16px; height: 16px; }
.pg-copy-btn .pg-i-done { display: none; }
.pg-copy-btn:hover { background: var(--orange); color: var(--pg-ink); }
.pg-copy-btn.is-copied, .pg-copy-btn.is-copied:hover { background: transparent; border-color: var(--pg-green); color: var(--pg-green); }
.pg-copy-btn.is-copied .pg-i-copy { display: none; }
.pg-copy-btn.is-copied .pg-i-done { display: block; }

.pg-money-list { margin-top: 4px; border-bottom: 1px solid var(--pg-line); }
.pg-money-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--pg-line); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--pg-text); }
.pg-money-after { margin-top: 18px; }

/* ══ ADVERTISE ══ */
.pg-traits { border-bottom: 1px solid var(--pg-line); }
.pg-traits li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--pg-line); font-size: 17px; line-height: 1.55; color: var(--pg-text); }
.pg-traits li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 2px; background: var(--orange); }
.pg-statement { grid-column: 1 / -1; max-width: 920px; padding: 4px 0 4px 28px; border-left: 3px solid var(--orange); font-family: var(--serif); font-size: 28px; line-height: 1.3; color: var(--pg-text); }

.pg-policy { gap: 64px; }
.pg-policy .pg-rules { margin-top: 6px; }

.pg-options .pg-prose { max-width: 760px; }
.pg-cards { margin: 28px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pg-card { padding: 28px; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; }
.pg .pg-card h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--pg-text); }
.pg-card p:not(.pg-label) { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--pg-soft); }

.pg-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; padding: 40px; background: var(--pg-card); border: 1px solid var(--pg-line); border-top: 2px solid var(--orange); border-radius: 18px; }
.pg .pg-cta h2 { margin-bottom: 12px; }
.pg-cta-text p { font-size: 18px; line-height: 1.6; color: var(--pg-soft); }
.pg-cta-act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pg-cta-note { font-size: 15px; color: var(--pg-muted); }

/* ── Two-column sections stack below 960px ── */
@media (max-width: 959px) {
    .pg-split, .pg-policy, .pg-pay { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pg-pay { gap: 16px; }
    .pg h1 { font-size: 68px; }
    .pg-cta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .pg-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ── Phones ── */
@media (max-width: 640px) {
    .pg { font-size: 17px; }
    .pg-wrap { padding: 0 16px; }
    .pg-eyebrow { font-size: 11px; letter-spacing: 0.14em; }
    .pg h1 { margin-top: 12px; font-size: 46px; line-height: 1; }
    .pg h2 { margin-bottom: 16px; font-size: 30px; }
    .pg-deck, .pg-deck--long { margin-top: 16px; font-size: 17px; }
    .pg-deck-more { font-size: 16px; }
    .pg-prose p { font-size: 16px; }

    .pg-head { padding-top: 36px; padding-bottom: 40px; }
    .pg-sec { padding-bottom: 48px; }
    .pg-band > .pg-wrap { padding-top: 48px; padding-bottom: 48px; }
    .pg-band + .pg-sec { padding-top: 48px; }
    .pg-split { gap: 32px; }

    /* Words, not numbers, so each stat gets its own row */
    .pg-stats { margin-top: 26px; grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
    .pg-stat { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--pg-line); }
    .pg-stat-n { flex: none; min-width: 4.2em; font-size: 30px; }
    .pg-stat-l { margin-top: 0; font-size: 14px; }

    .pg-rule p { font-size: 16px; }

    .pg-pay-card { padding: 20px 20px 18px; border-radius: 16px; }
    /* One line for the Lightning address from 375px up; the on-chain address wraps */
    .pg-addr { padding: 14px; font-size: clamp(13px, 3.6vw, 15px); }
    .pg-pay-foot { flex-direction: column; align-items: stretch; }
    .pg-copy-btn { justify-content: center; min-height: 48px; }
    .pg-money-list li { font-size: 17px; }

    .pg-traits li { font-size: 16px; }
    .pg-statement { padding-left: 20px; font-size: 21px; }
    .pg-cards { margin: 22px 0; gap: 14px; }
    .pg-card { padding: 22px 20px; border-radius: 16px; }
    .pg .pg-card h3 { font-size: 25px; }
    .pg-cta { padding: 26px 20px; border-radius: 16px; }
    .pg-cta-text p { font-size: 16px; }
    .pg-cta-act { align-items: stretch; }

}

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