/* ==========================================================================
   Campaign landing pages
   accessibility-audit.html · booking-flow-audit.html ·
   accessibility-nonprofit.html · partners.html

   These four pages are the destinations for the outbound sequences in
   leads/OUTREACH.md. They share a structure — dark hero, a stated fact with a
   date, evidence, what you get, price, FAQ, one repeated CTA — so the styling
   lives here once rather than in four <style> blocks that drift apart.

   Colour rules that apply throughout (see CLAUDE.md):
   - --color-accent-secondary (mint) is DARK-SURFACE ONLY. 1.8:1 on white.
   - --color-accent-primary (teal) is a FILL token. 2.2:1 as text on navy.
   - --color-burgundy is dual-use and safe both ways, including on #E2E8F0.
   - .btn-secondary is dark-only; use .btn-outline on light.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero

   Top padding is interior spacing only. The in-flow sticky breadcrumb above
   already clears the fixed nav via its own margin-top: var(--nav-height) —
   adding that clearance a second time here is what put a screenful of empty
   space above the <h1> on the interior pages before Aug 2026.
   -------------------------------------------------------------------------- */
.landing-hero {
    padding: 4rem var(--container-padding);
    background: linear-gradient(135deg, var(--color-navy) 0%, #2d3e50 100%);
    color: var(--color-white);
    position: relative;
}

.landing-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

/* The dated fact, above the headline. Mint on navy is 9.7:1. */
.landing-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    border: 1px solid rgba(127, 209, 168, 0.45);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    margin-bottom: var(--space-3);
}

.landing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--weight-black);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-3);
}

.landing-hero .lead {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: var(--leading-relaxed);
    color: var(--color-cream);
    margin-bottom: var(--space-4);
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.landing-section {
    padding: 6rem var(--container-padding);
    background: var(--color-white);
}

.landing-section.alt {
    background: var(--color-cream);
}

.landing-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Wider variant for the card grids, which need the room. */
.landing-container.wide {
    max-width: var(--container-width);
}

.landing-section h2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    font-weight: var(--weight-bold);
    color: var(--color-navy);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-3);
}

.landing-section h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-navy);
    margin-bottom: var(--space-1);
}

.landing-section p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-gray);
    margin-bottom: var(--space-3);
}

.landing-section p:last-child {
    margin-bottom: 0;
}

.landing-section p strong {
    color: var(--color-navy);
    font-weight: var(--weight-semibold);
}

.landing-lede {
    font-size: clamp(1.125rem, 2.2vw, 1.35rem);
    color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   The obligation block — a dated statement of fact, styled to read as
   reference rather than as sales copy.
   -------------------------------------------------------------------------- */
.obligation {
    border-left: 6px solid var(--color-burgundy);
    background: var(--color-light-gray);
    border-radius: 0 12px 12px 0;
    padding: var(--space-4);
}

.obligation dl {
    display: grid;
    gap: var(--space-3);
    margin: 0;
}

.obligation dt {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

/* --color-gray is 5.4:1 on cream and clears AA on the #E2E8F0 panel too. */
.obligation dd {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray);
}

/* --------------------------------------------------------------------------
   Findings — the "this is what it looks like in practice" evidence.
   Deliberately plain: these are quoted facts, not testimonials.
   -------------------------------------------------------------------------- */
.finding-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-3);
}

.finding {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    padding: var(--space-3);
}

.landing-section:not(.alt) .finding {
    background: var(--color-cream);
    border-color: #d8e0ea;
}

.finding h3 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-1);
}

.finding p {
    font-size: var(--text-base);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Deliverables and checklists
   -------------------------------------------------------------------------- */
.landing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-3);
    display: grid;
    gap: var(--space-2);
}

.landing-list li {
    position: relative;
    padding-left: 2rem;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-gray);
}

/* Burgundy is 5.6:1 on white and 5.4:1 on cream — safe as a marker on both. */
.landing-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-burgundy);
    font-weight: var(--weight-bold);
}

/* --------------------------------------------------------------------------
   Pricing

   Cards rather than a table: tools/overflow.js checks reflow at 320px and a
   four-column price table cannot survive it without a horizontal scroller.
   -------------------------------------------------------------------------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.price-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-top: 6px solid var(--color-burgundy);
    border-radius: 12px;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    margin-bottom: 0.25rem;
}

.price-scope {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray);
    margin-bottom: var(--space-2);
}

.price-figure {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-navy);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-2);
}

.price-card p {
    font-size: var(--text-base);
    margin-bottom: 0;
}

/* The note that matters most on the page — remediation is not priced here. */
.price-caveat {
    background: var(--color-light-gray);
    border-radius: 12px;
    padding: var(--space-3);
}

.price-caveat p {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
}

.price-caveat p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ

   Headings and paragraphs, not a disclosure widget. The content is short
   enough that hiding it behind a control buys nothing and costs a keyboard
   interaction — and the FAQPage schema in each page's <head> mirrors exactly
   what is rendered here.
   -------------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: var(--space-4);
}

.faq-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.faq-item p {
    font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Proof strip — links out to the evidence rather than asserting it.
   -------------------------------------------------------------------------- */
.proof-links {
    display: grid;
    gap: var(--space-1);
    margin-top: var(--space-3);
}

.proof-links a {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-burgundy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.proof-links a:hover {
    color: var(--color-navy);
}

.proof-links a:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Reflow. tools/overflow.js audits every page at six widths; the grids above
   are all auto-fit/minmax so they collapse on their own. Only the hero
   actions need help, to stop two buttons sitting side by side at 320px.
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero-actions .btn {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .landing-section {
        padding: 4rem var(--container-padding);
    }
}
