* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #111214;
    color: #ececec;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header,
main,
footer {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #303236;
}

.brand {
    font-weight: 700;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: #aaaeb5;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #ffffff;
}


/* HERO */

.hero {
    padding: 78px 0 62px;

    border-bottom: 1px solid #303236;
}

.kicker,
.small-label {
    margin: 0 0 12px;

    color: #8d939b;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    font-size: clamp(3rem, 8vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.intro {
    max-width: 700px;

    margin: 24px 0 0;

    color: #b6bac0;

    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 28px;
}

.button {
    min-height: 42px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #4a4d52;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.button.primary {
    background: #efefef;
    border-color: #efefef;
    color: #111214;
}

.button.secondary {
    background: transparent;
}

.button:hover {
    opacity: 0.82;
}

.tags {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 4px 8px;

    border: 1px solid #34373b;
    border-radius: 3px;

    color: #92979e;

    font-size: 12px;
}


/* METRICS */

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-bottom: 1px solid #303236;
}

.metrics div {
    padding: 25px 20px;

    border-right: 1px solid #303236;
}

.metrics div:first-child {
    padding-left: 0;
}

.metrics div:last-child {
    border-right: 0;
}

.metrics strong {
    display: block;

    margin-bottom: 2px;

    font-size: 25px;
}

.metrics span {
    color: #898f97;

    font-size: 12px;
}


/* GENERAL SECTION */

.section {
    padding: 62px 0;

    border-bottom: 1px solid #303236;
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 16px;

    margin-bottom: 30px;
}

.section-heading span {
    color: #656b73;

    font-size: 12px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;

    font-size: 30px;
    letter-spacing: -0.03em;
}


/* OVERVIEW */

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 70px;
}

.overview-grid > div {
    max-width: 700px;
}

.overview-grid p {
    margin-top: 0;

    color: #b6bac0;
}

.overview-grid aside {
    padding-left: 24px;

    border-left: 1px solid #35383d;
}

.overview-grid aside ul {
    margin: 0;
    padding-left: 18px;

    color: #a2a7ae;
}

.overview-grid aside li {
    margin-bottom: 7px;
}


/* CAPABILITIES */

.capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #34373b;
    border-left: 1px solid #34373b;
}

.capabilities article {
    min-height: 150px;
    padding: 22px;

    border-right: 1px solid #34373b;
    border-bottom: 1px solid #34373b;
}

.capabilities h3 {
    margin: 0 0 9px;

    font-size: 16px;
}

.capabilities p {
    margin: 0;

    color: #969ca4;

    font-size: 14px;
}


/* ARCHITECTURE */

.pipeline {
    display: flex;
    align-items: stretch;

    overflow-x: auto;
}

.pipeline > div {
    min-width: 150px;
    padding: 18px;

    display: flex;
    flex-direction: column;

    background: #17191c;

    border: 1px solid #34373b;
}

.pipeline strong {
    font-size: 14px;
}

.pipeline span {
    margin-top: 4px;

    color: #858b93;

    font-size: 12px;
}

.pipeline b {
    padding: 20px 10px;

    color: #666c74;

    font-weight: 400;
}

.implementation-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    margin-top: 30px;
}

.implementation-notes strong {
    font-size: 14px;
}

.implementation-notes p {
    margin: 7px 0 0;

    color: #9298a0;

    font-size: 13px;
}


/* BENCHMARK */

.benchmark-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 28px;
}

.benchmark-intro > p {
    max-width: 560px;

    margin: 0;

    color: #afb4bb;
}

.benchmark-context {
    max-width: 340px;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.benchmark-context span {
    padding: 4px 7px;

    background: #191b1e;
    border: 1px solid #34373b;

    color: #9399a1;

    font-size: 11px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;

    border-bottom: 1px solid #34373b;

    text-align: left;
}

th {
    color: #777e87;

    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

td {
    color: #c8cbd0;

    font-size: 14px;
}

tbody tr:first-child td {
    border-top: 1px solid #34373b;
}

.best td {
    font-weight: 700;
    color: #ffffff;
}

.benchmark-notes {
    max-width: 760px;

    margin-top: 27px;
}

.benchmark-notes p {
    color: #999fa7;

    font-size: 14px;
}


/* NEXT */

.next-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #34373b;
}

.next-grid p {
    margin: 0;
    padding: 16px 20px;

    color: #9ba1a8;

    border-right: 1px solid #34373b;
    border-bottom: 1px solid #34373b;

    font-size: 14px;
}

.next-grid p:nth-child(even) {
    border-right: 0;
}


/* CTA */

.cta {
    padding: 64px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    margin: 0;

    font-size: 28px;
    letter-spacing: -0.03em;
}


/* FOOTER */

footer {
    padding: 25px 0 40px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #303236;

    color: #767c84;

    font-size: 13px;
}

footer a {
    color: #a3a8af;
    text-decoration: none;
}


/* MOBILE */

@media (max-width: 760px) {

    .site-header {
        padding: 18px 0;

        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    nav {
        gap: 16px;
    }

    .hero {
        padding: 60px 0 48px;
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics div {
        border-bottom: 1px solid #303236;
    }

    .metrics div:nth-child(2) {
        border-right: 0;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .overview-grid aside {
        padding-left: 0;
        padding-top: 20px;

        border-left: 0;
        border-top: 1px solid #35383d;
    }

    .capabilities {
        grid-template-columns: repeat(2, 1fr);
    }

    .implementation-notes {
        grid-template-columns: 1fr;
    }

    .benchmark-intro {
        flex-direction: column;
    }

    .benchmark-context {
        justify-content: flex-start;
    }

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 500px) {

    .site-header,
    main,
    footer {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 3.1rem;
    }

    .metrics,
    .capabilities,
    .next-grid {
        grid-template-columns: 1fr;
    }

    .metrics div,
    .metrics div:first-child {
        padding: 18px 0;

        border-right: 0;
    }

    .capabilities article {
        min-height: auto;
    }

    .next-grid p {
        border-right: 0;
    }

}
