/* Shared homepage styles */

.home-section {
    padding-block: clamp(4.5rem, 7vw, 6.5rem);
        background: var(--color-background);
}

.home-section--surface {
    background: color-mix(in srgb, var(--color-cyan) 2%, var(--color-surface));
}

.home-section__header {
    max-width: 48rem;
        margin-block-end: var(--space-8);
}

.home-section__header--split {
    max-width: none;
        display: grid;
        grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr);
        align-items: end;
        gap: var(--space-12);
}

.home-section__header h2 {
    max-width: 36ch;
        margin-block-start: var(--space-2);
        font-size: clamp(2.2rem, 3.2vw, 3rem);
}

.home-section__header > p,
.home-section__header--split > p,
.home-section__header > div + p,
.home-section__header--split > div > p:not(.section-kicker) {
    margin-block-start: var(--space-4);
        color: var(--color-text-secondary);
        font-size: var(--text-lg);
}

.home-section__header--split > p {
    margin-block-start: 0;
}

.section-kicker {
    display: flex;
        align-items: center;
        gap: var(--space-2);
        color: var(--color-mint);
        font-size: var(--text-xs);
        font-weight: var(--font-weight-semibold);
        letter-spacing: 0.12em;
        text-transform: uppercase;
}

.section-kicker::before {
    content: "";
        width: 1.5rem;
        height: 1px;
        flex: 0 0 auto;
        background: var(--color-cyan);
}

.source-note,
.review-label {
    margin-block-start: var(--space-5, 1.25rem);
        color: var(--color-text-secondary);
        font-size: var(--text-xs);
}

.source-note--desktop-line {
    width: 100%;
        max-width: none;
        overflow-wrap: anywhere;
        font-size: clamp(0.625rem, 0.9vw, var(--text-xs));
}

.source-note a,
.text-link,
.definition-copy a,
.use-groups a,
.privacy-copy a,
.methodology-copy a {
    color: var(--color-cyan);
}

.text-link {
    margin-block-start: var(--space-5, 1.25rem);
        display: inline-flex;
        font-size: var(--text-sm);
        font-weight: var(--font-weight-semibold);
        text-decoration: none;
}

.step-flow,
.process-flow {
    margin: 0;
        padding: 0;
        list-style: none;
}

.step-flow__number,
.process-flow__number {
    position: relative;
        z-index: 1;
        width: 2.75rem;
        height: 2.75rem;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--color-mint) 60%, var(--color-border));
        border-radius: 50%;
        background: var(--color-background);
        color: var(--color-mint);
        font-variant-numeric: tabular-nums;
        font-weight: var(--font-weight-semibold);
}

.step-flow h3,
.process-flow h3 {
    font-family: var(--font-display);
        font-weight: var(--font-weight-bold);
        letter-spacing: var(--tracking-tight);
}

.step-flow p,
.process-flow p {
    margin-block-start: var(--space-2);
        color: var(--color-text-secondary);
        font-size: var(--text-sm);
}

.accuracy-guidance h3,
.report-column h3 {
    font-size: var(--text-xl);
}

.check-list,
.use-groups ul {
    margin: var(--space-4) 0 0;
        padding-inline-start: 1.1rem;
}

.check-list li,
.use-groups li {
    padding-inline-start: var(--space-1);
        color: var(--color-text-secondary);
        font-size: var(--text-sm);
}

.check-list li + li,
.use-groups li + li {
    margin-block-start: var(--space-2);
}

@media (min-width: 75rem) {
    .source-note--desktop-line {
        white-space: nowrap;
    }
}

@media (max-width: 56rem) {
    .home-section__header--split {
        grid-template-columns: 1fr;
                gap: var(--space-8);
    }
    
    .home-section__header--split > p {
        margin-block-start: 0;
    }
}

@media (max-width: 42rem) {
    .home-section {
        padding-block: var(--space-16);
    }
    
    .home-section__header h2 {
        max-width: none;
                font-size: clamp(1.3rem, 5.5vw, 1.85rem);
    }
    
    .home-section__header > p,
    .home-section__header--split > p,
    .home-section__header--split > div > p:not(.section-kicker) {
        font-size: var(--text-base);
    }
}
