:root {
    --graphite: #24272b;
    --graphite-light: #30343a;
    --graphite-border: #3b3f44;

    --yellow: #f5b900;
    --yellow-hover: #ffc51c;

    --paper: #f1f2ef;
    --paper-dark: #e7e8e4;
    --cream: #f7f7f4;

    --white: #ffffff;

    --text: #24272b;
    --text-muted: #666b70;
    --text-light: #9a9da0;

    --border: #d9dad6;

    --green: #54b66a;

    --container: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--paper);
    color: var(--text);

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

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
        var(--container),
        calc(100% - 64px)
    );

    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--graphite);

    border-bottom: 1px solid var(--graphite-border);
}

.header__inner {
    min-height: 74px;

    display: flex;
    align-items: center;

    gap: 45px;
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.brand__mark {
    width: 13px;
    height: 13px;

    display: block;

    background: var(--yellow);
}

.brand__name {
    color: var(--white);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: .04em;
}

.nav {
    display: flex;
    align-items: center;

    gap: 32px;

    margin-left: auto;
}

.nav a {
    color: #c7c9cb;

    font-size: 13px;
    font-weight: 500;

    transition: color .15s ease;
}

.nav a:hover {
    color: var(--white);
}

.header__button {
    min-height: 39px;

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

    gap: 17px;

    padding: 0 16px;

    border-left: 3px solid var(--yellow);

    background: #32363b;
    color: var(--white);

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

    text-transform: uppercase;
    letter-spacing: .03em;
}

.header__button:hover {
    background: #3a3e44;
}


/*
|--------------------------------------------------------------------------
| LABELS
|--------------------------------------------------------------------------
*/

.section-label {
    margin-bottom: 17px;

    color: #70757a;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.section-label--dark {
    color: var(--yellow);
}


/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;

    overflow: hidden;

    padding:
        105px 0
        110px;

    background: var(--graphite);
    color: var(--white);
}

.hero::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 34%;
    height: 100%;

    border-left: 1px solid rgba(255,255,255,.06);

    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .68fr);

    align-items: center;

    gap: 110px;
}

.hero h1 {
    max-width: 820px;

    margin: 0;

    font-size: clamp(
        48px,
        5.8vw,
        76px
    );

    font-weight: 800;
    line-height: .99;

    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;

    color: var(--yellow);
}

.hero__text {
    max-width: 640px;

    margin:
        30px 0
        0;

    color: #b7babd;

    font-size: 18px;
    line-height: 1.65;
}

.hero__services {
    display: flex;
    flex-wrap: wrap;

    gap: 0;

    margin-top: 35px;

    border-top: 1px solid var(--graphite-border);
    border-bottom: 1px solid var(--graphite-border);
}

.hero__services span {
    padding:
        13px 20px
        13px 0;

    margin-right: 20px;

    color: #d3d5d6;

    font-size: 12px;
}

.hero__services span:not(:last-child)::after {
    content: "/";

    margin-left: 20px;

    color: #666b70;
}

.hero__actions {
    display: flex;

    gap: 10px;

    margin-top: 34px;
}

.button {
    min-height: 48px;

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

    gap: 25px;

    padding: 0 21px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background .15s ease,
        color .15s ease;
}

.button--yellow {
    background: var(--yellow);
    color: var(--graphite);
}

.button--yellow:hover {
    background: var(--yellow-hover);
}

.button--dark {
    border: 1px solid #555a60;

    color: #dedfe0;
}

.button--dark:hover {
    border-color: #777c81;

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| HERO DATA
|--------------------------------------------------------------------------
*/

.hero__data {
    position: relative;

    border-top: 4px solid var(--yellow);

    background: #1d2024;

    box-shadow:
        28px 28px 0 rgba(0, 0, 0, .12);
}

.hero-data__header {
    min-height: 53px;

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

    padding: 0 22px;

    border-bottom: 1px solid #34383d;

    color: #7f858b;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}

.hero-data__status {
    position: relative;

    padding-left: 13px;

    color: #8fca9a;
}

.hero-data__status::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    transform: translateY(-50%);

    background: var(--green);
}

.hero-data__plate {
    padding: 27px 22px 25px;

    border-bottom: 1px solid #34383d;
}

.hero-data__caption {
    display: block;

    margin-bottom: 9px;

    color: #777d82;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-data__plate strong {
    font-size: 29px;

    letter-spacing: .03em;
}

.hero-data__rows {
    padding: 8px 22px;
}

.hero-data__row {
    min-height: 47px;

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

    gap: 20px;

    border-bottom: 1px solid #303439;
}

.hero-data__row:last-child {
    border-bottom: 0;
}

.hero-data__row span {
    color: #797f85;

    font-size: 11px;
}

.hero-data__row strong {
    color: #d9dbdd;

    font-size: 11px;
    font-weight: 600;
}

.hero-data__row .value-ok {
    color: #8dce99;
}

.hero-data__footer {
    display: flex;

    border-top: 1px solid #34383d;
}

.hero-data__footer span {
    flex: 1;

    padding: 13px 10px;

    border-right: 1px solid #34383d;

    color: #73797f;

    text-align: center;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .08em;
}

.hero-data__footer span:last-child {
    border-right: 0;
}


/*
|--------------------------------------------------------------------------
| INTRO
|--------------------------------------------------------------------------
*/

.intro {
    padding:
        92px 0
        60px;

    background: var(--paper);
}

.intro__grid {
    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr)
        360px;

    gap: 35px;

    align-items: end;
}

.intro__number {
    padding-bottom: 9px;

    color: #a2a5a2;

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

.intro h2 {
    max-width: 800px;

    margin: 0;

    font-size: clamp(
        34px,
        4.3vw,
        53px
    );

    font-weight: 800;
    line-height: 1.05;

    letter-spacing: -.045em;
}

.intro__text p {
    margin: 0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| SERVICES
|--------------------------------------------------------------------------
*/

.services {
    padding-bottom: 105px;

    background: var(--paper);
}

.services > .container {
    border-top: 1px solid #caccc8;
}

.service-row {
    display: grid;

    grid-template-columns:
        70px
        270px
        minmax(280px, 1fr)
        330px;

    gap: 35px;

    min-height: 195px;

    padding:
        33px 0;

    border-bottom: 1px solid #caccc8;

    align-items: start;
}

.service-row__number {
    padding-top: 4px;

    color: #9da09d;

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

.service-row__name h3 {
    margin: 0;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -.025em;
}

.service-row__name > span {
    display: block;

    margin-top: 9px;

    color: #888c89;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.service-row__description p {
    max-width: 510px;

    margin: 0;

    color: #595e62;

    font-size: 14px;
    line-height: 1.65;
}

.service-row__fields {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.service-row__fields span {
    padding: 7px 9px;

    border: 1px solid #ccceca;

    background: #ebede9;

    color: #656a66;

    font-size: 10px;
}

.service-row:hover
.service-row__name h3 {
    text-decoration-color: var(--yellow);
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
}


/*
|--------------------------------------------------------------------------
| ABOUT
|--------------------------------------------------------------------------
*/

.about {
    padding:
        105px 0;

    background: var(--graphite);
    color: var(--white);
}

.about__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, .75fr);

    gap: 100px;
}

.about h2 {
    max-width: 720px;

    margin: 0;

    font-size: clamp(
        38px,
        4.8vw,
        60px
    );

    font-weight: 800;
    line-height: 1.03;

    letter-spacing: -.045em;
}

.about__content {
    padding-top: 30px;
}

.about__content p {
    margin:
        0 0
        19px;

    color: #aeb1b4;

    font-size: 14px;
    line-height: 1.72;
}

.about__content .about__lead {
    color: #e1e2e3;

    font-size: 17px;
}

.flow {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: stretch;

    gap: 0;

    margin-top: 75px;

    border-top: 1px solid #41454a;
    border-bottom: 1px solid #41454a;
}

.flow__item {
    min-height: 185px;

    padding:
        23px 22px;

    border-left: 1px solid #41454a;
}

.flow__item:last-child {
    border-right: 1px solid #41454a;
}

.flow__item--accent {
    background: var(--yellow);
    color: var(--graphite);
}

.flow__index {
    margin-bottom: 43px;

    color: #777c81;

    font-size: 10px;
}

.flow__item--accent
.flow__index {
    color: #8a6800;
}

.flow__item strong {
    display: block;

    margin-bottom: 9px;

    font-size: 15px;
}

.flow__item p {
    margin: 0;

    color: #8f9499;

    font-size: 11px;
    line-height: 1.55;
}

.flow__item--accent p {
    color: #604b0b;
}

.flow__separator {
    display: flex;
    align-items: center;

    padding: 0 9px;

    color: #686d72;

    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| FORMAT
|--------------------------------------------------------------------------
*/

.format {
    padding:
        110px 0;

    background: var(--cream);
}

.format__grid {
    display: grid;

    grid-template-columns:
        1fr
        minmax(420px, .72fr);

    gap: 100px;

    align-items: center;
}

.format h2 {
    max-width: 680px;

    margin: 0;

    font-size: clamp(
        38px,
        4.6vw,
        58px
    );

    font-weight: 800;
    line-height: 1.04;

    letter-spacing: -.045em;
}

.format__heading p {
    max-width: 620px;

    margin:
        24px 0
        0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.7;
}

.format__example {
    border-top: 4px solid var(--yellow);

    background: var(--graphite);

    color: #d9dbdd;
}

.format-example__top {
    min-height: 49px;

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

    padding: 0 20px;

    border-bottom: 1px solid #3b3f44;

    color: #858a8f;

    font-size: 10px;
    letter-spacing: .1em;
}

.format-example__code {
    color: #89c793;
}

.format__example pre {
    overflow-x: auto;

    margin: 0;

    padding: 27px 23px 30px;
}

.format__example code {
    font-family:
        "Courier New",
        monospace;

    font-size: 12px;
    line-height: 1.8;
}

.json-key {
    color: #f0c755;
}

.json-string {
    color: #9ec9a4;
}

.json-bool {
    color: #d6d7d8;
}

.format__features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 80px;

    border-top: 1px solid #ccceca;
    border-left: 1px solid #ccceca;
}

.format-feature {
    min-height: 125px;

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

    padding: 19px;

    border-right: 1px solid #ccceca;
    border-bottom: 1px solid #ccceca;
}

.format-feature span {
    color: #999c99;

    font-size: 10px;
}

.format-feature strong {
    max-width: 220px;

    font-size: 13px;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| INTEGRATION
|--------------------------------------------------------------------------
*/

.integration {
    padding:
        105px 0;

    background: var(--yellow);
}

.integration__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        520px;

    gap: 100px;

    align-items: end;
}

.integration .section-label {
    color: #735800;
}

.integration h2 {
    margin: 0;

    font-size: clamp(
        41px,
        5vw,
        62px
    );

    font-weight: 800;

    letter-spacing: -.05em;
}

.integration__description p {
    margin: 0;

    color: #50400d;

    font-size: 15px;
    line-height: 1.7;
}

.integration__bar {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr)
        1.6fr;

    margin-top: 65px;

    border-top: 1px solid rgba(36, 39, 43, .33);
    border-left: 1px solid rgba(36, 39, 43, .33);
}

.integration__bar > div {
    min-height: 91px;

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

    padding: 16px;

    border-right: 1px solid rgba(36, 39, 43, .33);
    border-bottom: 1px solid rgba(36, 39, 43, .33);
}

.integration__bar > div span {
    color: #80630a;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .07em;
}

.integration__bar > div strong {
    font-size: 13px;
}

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

    gap: 20px;

    padding: 0 22px;

    border-right: 1px solid var(--graphite);
    border-bottom: 1px solid var(--graphite);

    background: var(--graphite);
    color: var(--white);

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

.integration__action:hover {
    background: #30343a;
}


/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

.footer {
    background: #1c1f22;
}

.footer__inner {
    min-height: 100px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    align-items: center;

    gap: 30px;
}

.brand--footer
.brand__name {
    font-size: 15px;
}

.footer__text {
    color: #71767b;

    text-align: center;

    font-size: 11px;
}

.footer__copy {
    color: #71767b;

    text-align: right;

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

    .hero__grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero__data {
        max-width: 630px;
    }

    .intro__grid {
        grid-template-columns:
            50px
            1fr;
    }

    .intro__text {
        grid-column: 2;
    }

    .service-row {
        grid-template-columns:
            50px
            230px
            1fr;
    }

    .service-row__fields {
        grid-column:
            3 / 4;
    }

    .about__grid,
    .format__grid,
    .integration__grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .flow {
        grid-template-columns:
            1fr 1fr;
    }

    .flow__separator {
        display: none;
    }

    .flow__item {
        border-bottom: 1px solid #41454a;
    }

    .format__example {
        max-width: 650px;
    }

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

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

    .integration__action {
        min-height: 80px;

        grid-column:
            1 / -1;
    }

}

@media (max-width: 760px) {

    .container {
        width: calc(100% - 30px);
    }

    .header__inner {
        min-height: 64px;
    }

    .nav {
        display: none;
    }

    .header__button {
        margin-left: auto;
    }

    .hero {
        padding:
            72px 0
            80px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero__text {
        font-size: 16px;
    }

    .hero__services {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

    .hero__services span {
        margin: 0;
    }

    .hero__services span::after {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .intro {
        padding-top: 70px;
    }

    .intro__grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .intro__number,
    .intro__text {
        grid-column: auto;
    }

    .intro h2 {
        font-size: 36px;
    }

    .service-row {
        grid-template-columns:
            35px
            1fr;

        gap:
            22px
            10px;

        padding:
            28px 0;
    }

    .service-row__description,
    .service-row__fields {
        grid-column: 2;
    }

    .service-row__name h3 {
        font-size: 21px;
    }

    .about,
    .format,
    .integration {
        padding:
            75px 0;
    }

    .about h2,
    .format h2,
    .integration h2 {
        font-size: 38px;
    }

    .flow {
        grid-template-columns: 1fr;
    }

    .flow__item {
        min-height: 155px;
    }

    .format__features {
        grid-template-columns: 1fr;
    }

    .integration__bar {
        grid-template-columns: 1fr;
    }

    .integration__action {
        grid-column: auto;
    }

    .footer__inner {
        min-height: auto;

        grid-template-columns: 1fr;

        padding:
            28px 0;

        gap: 14px;
    }

    .footer__text,
    .footer__copy {
        text-align: left;
    }

}

@media (max-width: 430px) {

    .header__button {
        padding:
            0 11px;

        font-size: 10px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero__services {
        grid-template-columns: 1fr;
    }

    .hero-data__plate strong {
        font-size: 25px;
    }

}
