/* =========================================================
   ROOT
========================================================= */

:root {

    /* =====================================================
       COLORS
    ===================================================== */

    --color-text: #222222;
    --color-text-secondary: #666666;

    --color-white: #ffffff;
    --color-black: #000000;

    --color-background: #ffffff;
    --color-background-soft: #f7f7f7;

    --color-border: #e2e2e2;


    /* =====================================================
       SERVICE COLOR — DEFAULT / AIR
    ===================================================== */

    --service-primary: #2FA6FF;
    --service-primary-hover: #168fe8;
    --service-primary-soft: #eaf6ff;

    --service-primary-text: #ffffff;


    /* =====================================================
       LAYOUT
    ===================================================== */

    --container-width: 1180px;
    --container-padding: 20px;

    --section-spacing: 64px;


    /* =====================================================
       RADIUS
    ===================================================== */

    --radius-sm: 4px;
    --radius-md: 6px;


    /* =====================================================
       TRANSITIONS
    ===================================================== */

    --transition-fast: 180ms ease;
    --transition-base: 280ms ease;
}


/* =========================================================
   SERVICE THEMES
========================================================= */

body.service-theme-air {

    --service-primary: #2FA6FF;
    --service-primary-hover: #168fe8;
    --service-primary-soft: #eaf6ff;

    --service-primary-text: #ffffff;
}


body.service-theme-windows {

    --service-primary: #FFC107;
    --service-primary-hover: #e5ad00;
    --service-primary-soft: #fff8dc;

    --service-primary-text: #222222;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    color: var(--color-text);

    background: var(--color-background);

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

    font-size: 16px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body,
button,
input,
textarea,
select {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   MEDIA
========================================================= */

img {
    display: block;

    max-width: 100%;
    height: auto;
}


svg {
    display: block;
}


/* =========================================================
   LINKS
========================================================= */

a {
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

button,
input,
textarea,
select {
    margin: 0;
}


button {
    cursor: pointer;
}


/* =========================================================
   TYPOGRAPHY RESET
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text);

    font-weight: 700;
}


p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(
            100% -
            var(--container-padding) * 2
        ),
        var(--container-width)
    );

    margin-inline: auto;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding:
        var(--section-spacing)
        0;
}


.section--soft {
    background:
        var(--color-background-soft);
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-heading {
    margin-bottom: 32px;

    text-align: center;
}


.section-heading__title {
    margin:
        0
        0
        12px;

    font-size: 32px;
    line-height: 1.18;
    font-weight: 700;
}


.section-heading__description {
    max-width: 720px;

    margin:
        0
        auto;

    color:
        var(--color-text-secondary);

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   BUTTON
========================================================= */

.button {
    display: inline-flex;

    min-height: 44px;

    align-items: center;
    justify-content: center;

    padding:
        0
        24px;

    color:
        var(--service-primary-text);

    background:
        var(--service-primary);

    border: 0;
    border-radius:
        var(--radius-sm);

    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    text-align: center;

    cursor: pointer;

    transition:
        background-color
        var(--transition-fast),
        transform
        var(--transition-fast);
}


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


.button:active {
    transform:
        translateY(1px);
}


/* =========================================================
   BUTTON — SECONDARY
========================================================= */

.button--secondary {
    color:
        var(--color-text);

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);
}


.button--secondary:hover {
    color:
        var(--service-primary-hover);

    background:
        var(--color-white);

    border-color:
        var(--service-primary);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        2px solid
        var(--service-primary);

    outline-offset: 3px;
}


.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1023px) {

    :root {
        --section-spacing: 54px;
    }


    .section-heading__title {
        font-size: 29px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    :root {
        --container-padding: 16px;
        --section-spacing: 42px;
    }


    body {
        font-size: 15px;
    }


    .section-heading {
        margin-bottom: 24px;
    }


    .section-heading__title {
        margin-bottom: 10px;

        font-size: 26px;
        line-height: 1.2;
    }


    .section-heading__description {
        font-size: 15px;
        line-height: 1.55;
    }


    .button {
        min-height: 44px;

        padding-inline: 20px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}