/**
 * Horizon Core — email capture band wrapper.
 *
 * Capture scope §3a, HORIZON-20260831-114.
 *
 * ⛔ SCOPE: THE WRAPPER ONLY. The form inside is the theme's own
 * `template-parts/email-signup.php` and is styled by each theme's
 * `hp-components.css`. Nothing here restyles the form, because a Core rule that
 * reached inside would land differently on six themes and be invisible until a
 * creator looked at one of them.
 *
 * ⛔ NO DEPENDENCY HANDLE is declared for this file (see capture-placements.php).
 * It is therefore fully self-namespaced under .hp-capture-band and reads only
 * `var(--hp-*)` skin tokens, with a literal fallback on every one — a token that
 * a given skin does not define must degrade, not collapse to nothing.
 *
 * ⛔ NO max-width on the content body: house rule (CLAUDE.md), full-width content.
 */

/*
 * ⛔⛔ NO BACKGROUND, NO PADDING, NO OVERRIDE OF THE SECTION. Measured
 * 2026-08-31 (HORIZON-20260831-114) in a real browser on `star`: the first
 * version of this file set a dark background here AND `background: transparent`
 * on the section inside, which produced a heading contrast ratio of **1.05**
 * and body text at **2.49** — WCAG AA needs 3.0 and 4.5. The text was, in
 * practice, invisible.
 *
 * ⭐ THE CAUSE IS WORTH KEEPING, because the file already said "the wrapper
 * only" and then did the opposite. `.hp-email-section` carries its own
 * background AND the text colours that go with it, as a matched pair. Taking
 * the background away leaves the colours resolved for a background that is no
 * longer there. A wrapper cannot own half of a colour pair.
 *
 * ⛔ Every geometry check passed while this was broken — band 1280×366, input
 * 392×48, no overflow at either breakpoint. Layout was never the problem, so
 * neither a grep NOR a box-model assertion could have found it. It took reading
 * the computed colours (memory `feedback-presence-is-not-layout`).
 *
 * So this file now does exactly one thing: separate the band from whatever the
 * page ended on. The section styles itself, as it does everywhere else.
 */
.hp-capture-band {
    border-top: 1px solid var(--hp-border, rgba(128, 128, 128, 0.2));
}

/*
 * ⚠️ Print: a signup form is not useful on paper and the band is the one surface
 * that appears on EVERY page once switched on site-wide, so it would otherwise
 * append itself to every printed page of a creator's site.
 */
@media print {
    .hp-capture-band {
        display: none;
    }
}
