@charset "utf-8";

/*
    About - /about.

    ? Same ground as the redesigned feature pages (concrete, the brand's steel, red used the way a
    ? shop uses paint, Archivo condensed for headings). The hero dramatizes the one claim that is
    ? actually visual - an invoice that holds an English and a French value for every line - and the
    ? three pillars sit in a plain numbered row list, because this page earns trust by being
    ? matter-of-fact. Scoped under .about-page so the shared components keep their look elsewhere.
*/

.about-page {
    --ab-concrete: #e8ebee;
    --ab-paper: #f4f6f7;
    --ab-line: #cdd4da;
    --ab-ink: #151b21;
    --ab-text: #36424d;
    --ab-muted: #55616c;
    --ab-red: #fb172b;
    --ab-red-dark: #d9101f;

    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: 100%;
    color: var(--ab-text);
}

.about-page .ab-hero-title,
.about-page .ab-section-title,
.about-page .pillar-name {
    font-stretch: 76%;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.about-page a:focus-visible {
    outline: 3px solid var(--ab-ink);
    outline-offset: 3px;
}

/*-------------------------------------------------------------------------------------------------
    Hero - dark, so the invoice is the lightest thing on the first screen
-------------------------------------------------------------------------------------------------*/

.about-page .ab-hero {
    position: relative;
    background-color: var(--ab-ink);
    color: #c3ccd5;
    padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 88px);
}

.about-page .ab-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--ab-red) 0 28px, transparent 28px 48px);
}

.about-page .ab-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.about-page .ab-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ab-red);
    margin: 0 0 14px;
}

.about-page .ab-hero-title {
    margin: 0 0 24px;
    font-size: clamp(38px, 4.6vw, 62px);
    color: #ffffff;
    max-width: 16ch;
    text-wrap: balance;
}

.about-page .ab-hero-lede {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.6;
    color: #c3ccd5;
    max-width: 50ch;
}

.about-page .ab-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-page .btn-ab-ghost,
.about-page .btn-ab-ghost:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.about-page .btn-ab-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--ab-ink);
}

/*  The bilingual invoice -------------------------------------------------------------------------- */

.about-page .inv-card {
    margin: 0 0 0 auto;
    width: 100%;
    max-width: 440px;
    background-color: var(--ab-paper);
    border-radius: 14px;
    padding: 18px 20px 20px;
    box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.7);
}

.about-page .inv-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--ab-line);
    font-size: 15px;
    font-weight: 700;
    color: var(--ab-ink);
}

.about-page .inv-langs {
    display: inline-flex;
    gap: 4px;
}

.about-page .inv-langs span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 7px;
    border-radius: 5px;
    background-color: var(--ab-ink);
    color: #ffffff;
}

.about-page .inv-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*  ? The one thing on the page that moves by itself: the lines fill in, once. */
.about-page .inv-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid var(--ab-line);
    border-radius: 10px;
    font-size: 14px;
    animation: inv-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.5s + var(--i, 0) * 0.5s);
}

.about-page .inv-names {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-page .inv-names [lang="en"] {
    color: var(--ab-ink);
    font-weight: 600;
}

.about-page .inv-names [lang="fr"] {
    color: var(--ab-muted);
    font-size: 13px;
}

.about-page .inv-price {
    flex: none;
    font-weight: 700;
    color: var(--ab-ink);
    font-variant-numeric: tabular-nums;
}

.about-page .inv-total {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding: 12px 14px 0;
    border-top: 1px solid var(--ab-line);
    font-size: 15px;
    font-weight: 800;
    color: var(--ab-red-dark);
    font-variant-numeric: tabular-nums;
}

.about-page .inv-card-caption {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--ab-muted);
}

@keyframes inv-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {

    .about-page .inv-row {
        animation: none;
    }
}

/*-------------------------------------------------------------------------------------------------
    Shared section heading
-------------------------------------------------------------------------------------------------*/

.about-page .ab-section-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 50px);
    color: var(--ab-ink);
    text-wrap: balance;
}

.about-page .ab-section-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ab-muted);
    max-width: 54ch;
}

/*-------------------------------------------------------------------------------------------------
    The three pillars
-------------------------------------------------------------------------------------------------*/

.about-page .ab-pillars {
    background-color: var(--ab-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.about-page .ab-pillars-inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.about-page .ab-pillars-head {
    position: sticky;
    top: 110px;
}

.about-page .pillar-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ab-line);
}

.about-page .pillar-rows li {
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid var(--ab-line);
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.about-page .pillar-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--ab-red);
    line-height: 1.4;
}

.about-page .pillar-name {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.3vw, 28px);
    color: var(--ab-ink);
}

.about-page .pillar-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ab-text);
    max-width: 62ch;
}

/*-------------------------------------------------------------------------------------------------
    What you get that is not software
-------------------------------------------------------------------------------------------------*/

.about-page .ab-commitments {
    background-color: var(--ab-paper);
    padding: clamp(56px, 8vw, 96px) 0;
}

.about-page .ab-commitments .ab-section-title {
    margin-bottom: 36px;
    max-width: 18ch;
}

.about-page .commit-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(28px, 4vw, 56px);
}

.about-page .commit-grid li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 22px 0;
    border-top: 2px solid var(--ab-ink);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ab-ink);
}

.about-page .commit-grid li i {
    flex: none;
    margin-top: 5px;
    font-size: 14px;
    color: var(--ab-red);
}

/*-------------------------------------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .about-page .ab-hero-inner,
    .about-page .ab-pillars-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-page .ab-hero-title {
        max-width: 20ch;
    }

    .about-page .inv-card {
        margin-left: 0;
    }

    .about-page .ab-pillars-head {
        position: static;
    }

    .about-page .ab-pillars-inner {
        gap: 28px;
    }
}

@media (max-width: 767px) {

    .about-page .ab-hero-actions .btn {
        width: 100%;
    }

    .about-page .pillar-rows li {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .about-page .pillar-number {
        display: none;
    }

    .about-page .commit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-page .commit-grid li {
        font-size: 16px;
    }
}
