/*
 * The company pages: /about (its copy, testimonials and photos) and
 * /alaska-net (the app, its features and the store buttons). Two columns
 * from 768px (.grid's .col-6), one below.
 */

@layer reset, tokens, base, layout, components, pages, utilities;

@layer pages {
    .company {
        column-gap: var(--space-5);
        row-gap: var(--space-6);
        padding-bottom: var(--space-6);
    }

    .company__column {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        min-width: 0;
        font-size: var(--text-md);
    }

    /* The teal of the old .bodytxt_* classes, now --teal-700 (5.8:1 on white). */
    .company__lede,
    .company__text,
    .company__features,
    .company__heading,
    .company__title {
        color: var(--teal-700);
    }

    .company__lede {
        font-weight: bold;
    }

    .company__text {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
    }

    .company__title {
        font-size: var(--text-xl);
        font-weight: normal;
        line-height: 1.2;
    }

    .company__heading {
        margin-top: var(--space-4);
        font-size: var(--text-md);
        font-weight: bold;
    }

    /* A subheading and the list it introduces, closer than the column's gap. */
    .company__group {
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
    }

    .company__subheading {
        font-size: var(--text-base);
        font-weight: bold;
    }

    .company__list {
        padding-left: var(--space-5);
    }

    .company__photo {
        max-width: 100%;
    }

    .company__photo--centered {
        margin-inline: auto;
    }

    .company__rule {
        width: 100%;
        border: 0;
        border-top: 1px solid var(--gray-3);
    }

    .company__link {
        color: var(--color-accent);
        font-weight: bold;
    }

    /* A quote and who said it. */
    .testimonial {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .testimonial__quote {
        padding-left: var(--space-4);
        border-left: 4px solid var(--teal-700);
        font-style: italic;
    }

    .testimonial__source {
        padding-left: var(--space-6);
    }

    /* The app stores' links: navy buttons, side by side when they fit. */
    .store-badges {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    /* Equal widths: they share the row, or each fills its own when stacked. */
    .store-badge {
        flex: 1 1 12rem;
        background-color: var(--navy-700);
        color: var(--color-white);
    }

    .store-badge:hover {
        background-color: var(--navy-900);
    }
}
