* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f7f9fc;
    color: #142033;
    line-height: 1.5;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

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

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #e8edf3;
}

.nav {
    min-height: 72px;

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

.logo {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1px;

    color: #102a43;
}

.menu {
    display: flex;
    gap: 30px;

    color: #526274;
    font-size: 15px;
    font-weight: 600;
}

.menu a:hover {
    color: #0ea5a4;
}

.nav-button {
    background: #102a43;
    color: white;

    padding: 12px 19px;
    border-radius: 10px;

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


/* HERO */

.hero {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(21, 194, 187, .18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071a2e,
            #102a43
        );

    color: white;

    padding: 85px 0;
}

.hero-grid {
    min-height: 560px;

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    align-items: center;
    gap: 70px;
}

.hero-label,
.section-small-label {
    color: #25c9c3;

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

    letter-spacing: 1.5px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.hero h1 {
    max-width: 700px;

    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.02;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #41d5ce;

    margin-top: 12px;
}

.hero-text {
    max-width: 600px;

    margin-top: 28px;

    color: #c7d5e2;

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 12px;

    font-weight: 800;

    transition: .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #20c7c0;
    color: #06282a;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,.25);

    color: white;
    background: rgba(255,255,255,.06);
}

.hero-note {
    margin-top: 25px;

    color: #8fa8ba;

    font-size: 14px;
}


/* PHONE */

.phone-wrap {
    display: flex;
    justify-content: center;
}

.phone {
    width: 300px;

    padding: 10px;

    border-radius: 42px;

    background: #06121f;

    box-shadow:
        0 40px 100px rgba(0,0,0,.42);

    transform: rotate(3deg);
}

.phone-screen {
    min-height: 570px;

    padding: 70px 18px 20px;

    border-radius: 33px;

    background: #f8fafc;
    color: #142033;
}

.phone-top {
    position: absolute;
}

.app-title {
    font-size: 21px;
    font-weight: 850;

    margin-bottom: 22px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 17px;

    margin-bottom: 12px;

    background: white;

    border: 1px solid #e5eaf0;
    border-radius: 15px;

    box-shadow:
        0 7px 18px rgba(21,41,62,.06);
}

.service-item strong {
    font-size: 15px;
}

.service-item span {
    color: #738093;

    font-size: 12px;
}


/* SECTIONS */

.section {
    padding: 100px 0;
}

.section-head {
    max-width: 690px;

    margin-bottom: 45px;
}

.section-head > span {
    display: block;

    color: #0ea5a4;

    margin-bottom: 14px;

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

    letter-spacing: 1.5px;
}

.section-head h2,
.master-block h2,
.download h2 {
    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.6px;
}

.section-head p,
.master-block > div > p {
    margin-top: 18px;

    color: #677689;

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


/* SERVICES */

.services-grid {
    display: grid;

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

    gap: 18px;
}

.card {
    min-height: 180px;

    padding: 27px;

    background: white;

    border: 1px solid #e5eaf0;
    border-radius: 18px;

    transition: .2s;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 50px rgba(19,42,67,.08);
}

.card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.card p {
    color: #758396;

    line-height: 1.65;
}


/* HOW */

.section-dark {
    background: #0a2035;
    color: white;
}

.section-head.light p {
    color: #aabccc;
}

.steps {
    display: grid;

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

    gap: 20px;
}

.step {
    padding: 25px;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 18px;

    background:
        rgba(255,255,255,.035);
}

.number {
    color: #29d0ca;

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

    margin-bottom: 45px;
}

.step h3 {
    font-size: 19px;

    margin-bottom: 12px;
}

.step p {
    color: #9db1c2;

    font-size: 14px;

    line-height: 1.7;
}


/* MASTER */

.master-block {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 70px;

    align-items: center;
}

.master-points {
    display: grid;

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

    gap: 12px;

    margin-top: 30px;
}

.master-points div {
    padding: 16px 18px;

    background: white;

    border: 1px solid #e4e9ef;
    border-radius: 12px;

    font-weight: 700;
}

.master-card {
    padding: 38px;

    border-radius: 22px;

    background: #102a43;
    color: white;
}

.master-card > span {
    color: #36d0ca;

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

.master-card h3 {
    margin-top: 18px;

    font-size: 32px;

    line-height: 1.2;
}

.master-card p {
    margin: 18px 0 28px;

    color: #abc0cf;

    line-height: 1.7;
}


/* ABOUT */

.about {
    background: white;
}


/* DOWNLOAD */

.download {
    padding: 80px 0;

    background: #e9fbfa;
}

.download-box {
    display: flex;

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

    gap: 40px;
}

.download-label {
    display: block;

    color: #078d89;

    margin-bottom: 14px;

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

    letter-spacing: 1.5px;
}

.download p {
    margin-top: 15px;

    color: #58717c;
}

.store-button {
    min-width: 210px;

    padding: 13px 22px;

    border-radius: 13px;

    background: #102a43;
    color: white;

    display: flex;
    flex-direction: column;
}

.store-button small {
    color: #a8bccb;

    font-size: 11px;
}

.store-button strong {
    margin-top: 2px;

    font-size: 19px;
}


/* FOOTER */

.footer {
    padding: 55px 0 25px;

    background: #061523;
    color: white;
}

.footer-grid {
    display: flex;

    justify-content: space-between;

    gap: 50px;
}

.footer-logo {
    font-size: 27px;
    font-weight: 900;
}

.footer p {
    margin-top: 8px;

    color: #91a7b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    color: #a7bac8;

    font-size: 14px;
}

.footer-bottom {
    margin-top: 45px;

    padding-top: 24px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #718798;

    font-size: 13px;
}


/* MOBILE */

@media (max-width: 900px) {

    .menu {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-grid,
    .master-block {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

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

}


@media (max-width: 600px) {

    .container {
        width:
            min(100% - 28px, 1180px);
    }

    .header .nav {
        min-height: 64px;
    }

    .nav-button {
        padding: 10px 13px;

        font-size: 12px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .phone {
        width: 270px;
    }

    .phone-screen {
        min-height: 520px;
    }

    .section {
        padding: 70px 0;
    }

    .services-grid,
    .steps,
    .master-points {
        grid-template-columns: 1fr;
    }

    .master-card {
        padding: 27px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

}
