@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* Citizens United marketing + Trust + Home (charcoal / cream / teal) */
.cu-marketing,
.cu-trust,
.cu-home {
    --cu-charcoal: #121212;
    --cu-cream: #f5f0e6;
    --cu-teal: #0d9488;
    --cu-amber: #d97706;
    --cu-surface: #1a1a1a;
    --cu-line: rgba(245, 240, 230, 0.14);
    --cu-muted: rgba(245, 240, 230, 0.82);
    /* Content measure only — shell chrome is full-bleed in cu-app.css */
    max-width: min(100%, var(--cu-content-max, 72rem));
    margin: 0 auto;
    padding: 0.75rem 0 2.5rem;
    color: var(--cu-cream);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
}

/* —— Home landing —— */
.cu-home__name-foot {
    margin: 2rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cu-line);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--cu-muted);
    max-width: 34rem;
}

.cu-home__name-foot a {
    color: var(--cu-teal);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.cu-home__name-foot a:hover,
.cu-home__name-foot a:focus-visible {
    color: var(--cu-cream);
}

.cu-home__train {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.35rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.35);
    font-size: 0.85rem;
    color: var(--cu-cream);
    position: sticky;
    top: 0.15rem;
    z-index: 12;
    backdrop-filter: blur(8px);
}

.cu-home__train-copy {
    flex: 1 1 12rem;
    line-height: 1.4;
    text-align: left;
}

.cu-home__train-copy strong {
    font-weight: 700;
}

.cu-home__train-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.cu-home__welcome {
    margin: 1.25rem 0 0;
    padding: 1.1rem 1rem 1.15rem;
    border: 1px solid rgba(13, 148, 136, 0.35);
    border-radius: 0.75rem;
    background:
        linear-gradient(165deg, rgba(13, 148, 136, 0.14), transparent 55%),
        rgba(245, 240, 230, 0.03);
    text-align: left;
}

.cu-home__welcome-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.cu-home__welcome-head h2 {
    margin: 0;
    border: 0;
    padding: 0;
}

.cu-home__welcome-dismiss {
    flex: 0 0 auto;
    min-height: 2.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    border: 1px solid rgba(245, 240, 230, 0.28);
    background: transparent;
    color: var(--cu-cream);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
}

.cu-home__welcome-dismiss:hover,
.cu-home__welcome-dismiss:focus-visible {
    border-color: var(--cu-teal);
    color: var(--cu-teal);
}

.cu-home__welcome-steps {
    list-style: decimal;
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: var(--cu-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cu-home__welcome-steps li {
    margin: 0 0 0.45rem;
}

.cu-home__welcome-steps strong {
    color: var(--cu-cream);
    font-weight: 650;
}

.cu-home__welcome-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.cu-home__welcome-note {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(245, 240, 230, 0.72);
}

.cu-home section.cu-home__welcome {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 0;
}

.cu-home__disclaimer {
    border: 1px solid var(--cu-line);
    border-radius: 2px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.5rem;
    background: rgba(245, 240, 230, 0.03);
    font-size: 0.88rem;
    line-height: 1.45;
}

.cu-home__disclaimer p {
    margin: 0;
}

.cu-home__hero {
    text-align: center;
    padding: 0.5rem 0 1.75rem;
    position: relative;
}

.cu-home__hero::before {
    content: "";
    position: absolute;
    inset: -1rem -1.25rem auto;
    height: min(52vh, 28rem);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(13, 148, 136, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(245, 240, 230, 0.04), transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.cu-home__hero > * {
    position: relative;
    z-index: 1;
}

.cu-home__seal,
.cu-trust__seal,
.cu-marketing__seal {
    display: block;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.5), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cu-home__brand,
.cu-marketing__brand {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(2.15rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 0.35rem;
    color: var(--cu-cream);
    line-height: 1.1;
}

.cu-home__subline {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--cu-teal);
    letter-spacing: 0.04em;
}

.cu-home__headline,
.cu-marketing__headline {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.2rem, 3.4vw, 1.65rem);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 auto 0.85rem;
    max-width: 34rem;
}

.cu-home__headline em,
.cu-marketing__headline em {
    color: var(--cu-teal);
    font-style: italic;
}

.cu-home__lede {
    margin: 0 auto 1.35rem;
    max-width: 32rem;
    color: var(--cu-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.cu-home__ctas,
.cu-marketing__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.cu-home__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.15rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-sizing: border-box;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cu-home__cta--primary {
    background: var(--cu-teal);
    color: #fff;
    border: 1px solid var(--cu-teal);
}

.cu-home__cta--primary:hover,
.cu-home__cta--primary:focus-visible {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.cu-home__cta--secondary {
    background: transparent;
    color: var(--cu-cream);
    border: 1px solid rgba(245, 240, 230, 0.35);
}

.cu-home__cta--secondary:hover,
.cu-home__cta--secondary:focus-visible {
    border-color: var(--cu-teal);
    color: var(--cu-teal);
}

.cu-home__entry {
    margin: 1rem 0 0;
    font-size: 0.88rem;
    color: var(--cu-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    justify-content: center;
    align-items: center;
}

.cu-home__entry a {
    color: var(--cu-cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 148, 136, 0.45);
    font-weight: 500;
}

.cu-home__entry a:hover,
.cu-home__entry a:focus-visible {
    color: var(--cu-teal);
    border-bottom-color: var(--cu-teal);
}

.cu-home__honesty {
    margin: 1.1rem auto 0;
    max-width: 34rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(245, 240, 230, 0.82);
}

.cu-home__honesty strong {
    color: var(--cu-amber);
    font-weight: 600;
}

.cu-home section:not(.cu-home__hero):not(.cu-home__disclaimer):not(.cu-home__welcome) {
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cu-line);
}

.cu-home h2,
.cu-marketing__gaps h2,
.cu-marketing__strategies h2,
.cu-marketing__alt-heroes h2,
.cu-trust h1 {
    font-family: "Source Serif 4", Georgia, serif;
    color: var(--cu-cream);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.cu-home__section-lede {
    margin: 0 0 1rem;
    color: var(--cu-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cu-home__muted,
.cu-marketing__muted {
    color: var(--cu-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cu-home__mission p,
.cu-home__firepower p,
.cu-home__trust p {
    margin: 0 0 0.75rem;
    line-height: 1.55;
    font-size: 0.98rem;
}

.cu-home__firepower {
    padding: 1.15rem 1.1rem 0.35rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(245, 240, 230, 0.04));
    border-left: 3px solid var(--cu-teal);
    border-top: none;
}

.cu-home__firepower h2 {
    color: var(--cu-teal);
}

.cu-home__gap-list,
.cu-home__steps,
.cu-home__strat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cu-home__gap-list li {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.65rem 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(245, 240, 230, 0.08);
    align-items: start;
}

.cu-home__gap-name {
    font-weight: 600;
    color: var(--cu-teal);
    font-size: 0.92rem;
}

.cu-home__gap-fix {
    color: var(--cu-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cu-home__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 560px) {
    .cu-home__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cu-home__gap-list li {
        grid-template-columns: 7rem 1fr;
    }
}

.cu-home__tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 0.9rem;
    background: var(--cu-surface);
    border: 1px solid var(--cu-line);
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
    min-height: 5.5rem;
}

.cu-home__tile:hover,
.cu-home__tile:focus-visible {
    border-color: rgba(13, 148, 136, 0.55);
    background: #1e1e1e;
}

.cu-home__tile-title {
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--cu-cream);
}

.cu-home__tile-body {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--cu-muted);
    flex: 1;
}

.cu-home__tile-badge {
    align-self: flex-start;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cu-amber);
    border: 1px solid rgba(217, 119, 6, 0.45);
    padding: 0.12rem 0.4rem;
    border-radius: 2px;
}

.cu-home__steps {
    counter-reset: cu-step;
}

.cu-home__steps li {
    counter-increment: cu-step;
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.15rem 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(245, 240, 230, 0.08);
}

.cu-home__steps li::before {
    content: counter(cu-step);
    grid-row: 1 / span 2;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.2);
    color: var(--cu-teal);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

.cu-home__steps strong {
    font-size: 0.95rem;
    color: var(--cu-cream);
}

.cu-home__steps span {
    grid-column: 2;
    font-size: 0.88rem;
    color: var(--cu-muted);
    line-height: 1.4;
}

.cu-home__strat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.cu-home__strat-list li {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--cu-line);
    border-radius: 2px;
    color: var(--cu-muted);
    background: rgba(245, 240, 230, 0.03);
}

.cu-home__ctas--trust {
    margin-top: 1rem;
    justify-content: flex-start;
}

/* —— Legacy marketing (Trust + older blocks) —— */
.cu-marketing__disclaimer {
    border: 1px solid rgba(245, 240, 230, 0.18);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    margin-bottom: 2rem;
    background: rgba(245, 240, 230, 0.04);
    font-size: 0.95rem;
}

.cu-marketing__hero {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.cu-marketing__sub {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.cu-marketing__pwa-sub {
    color: rgba(245, 240, 230, 0.65);
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

.cu-marketing__firepower {
    margin: 2.5rem 0;
    padding: 1.25rem 1.25rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(245, 240, 230, 0.06));
    border-left: 3px solid var(--cu-teal);
}

.cu-marketing__ammo {
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 600;
    margin: 0.5rem 0 0;
    color: var(--cu-teal);
}

.cu-marketing__gaps ul,
.cu-trust ul {
    padding-left: 1.2rem;
    line-height: 1.7;
}

.cu-marketing__protest {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(245, 240, 230, 0.12);
    font-style: italic;
}

.cu-trust__lede {
    color: rgba(245, 240, 230, 0.8);
    margin-bottom: 1.5rem;
}

.cu-trust__card {
    background: #1c1c1c !important;
    color: #f5f0e6 !important;
    border: 1px solid rgba(245, 240, 230, 0.12);
}

.cu-trust__card .mud-typography {
    color: inherit;
}

.cu-trust__name-note {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(245, 240, 230, 0.12);
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.92;
}

@media (min-width: 1100px) {
    .cu-marketing,
    .cu-trust,
    .cu-home {
        max-width: min(100%, var(--cu-content-max, 72rem));
    }
}

@media (max-width: 420px) {
    .cu-home__gap-list li {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .cu-home__ctas,
    .cu-marketing__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .cu-home__cta {
        width: 100%;
        min-height: 3rem;
        padding: 0.7rem 1.1rem;
    }
}
