:root {
    --green: #10883d;
    --green-dark: #087032;
    --green-light: #e5f3e9;

    --text: #343434;
    --text-light: #717171;

    --background: #f5f5f5;
    --background-light: #fafafa;

    --white: #ffffff;

    --border: #e6e6e6;

    --shadow:
        0 3px 12px rgba(0, 0, 0, 0.07);

    --radius: 12px;

    --container: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;

    color: var(--text);
    background: var(--background);

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================
   HEADER
   ========================= */

.topbar {
    height: 76px;

    background: var(--green);

    color: var(--white);

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.12);
}


.topbar__inner {
    width: min(
        calc(100% - 36px),
        1480px
    );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 34px;
}


/* =========================
   BRAND / LOGO
   ========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-weight: 700;

    white-space: nowrap;
}


.brand__logo {
    width: 38px;
    height: 38px;

    display: block;

    object-fit: contain;

    flex-shrink: 0;
}


.brand__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}


/* =========================
   NAVIGATION
   ========================= */

.navigation {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 14px;
    font-weight: 500;
}


.navigation a {
    opacity: 0.9;

    transition:
        opacity 0.2s ease;
}


.navigation a:hover {
    opacity: 1;
}


/* =========================
   BUTTONS
   ========================= */

.button {
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.button:hover {
    transform: translateY(-1px);
}


.button--login {
    background:
        rgba(255, 255, 255, 0.14);

    color: var(--white);

    border:
        1px solid rgba(255, 255, 255, 0.18);
}


.button--login:hover {
    background:
        rgba(255, 255, 255, 0.21);
}


.button--primary {
    background: var(--green);
    color: var(--white);

    box-shadow:
        0 5px 14px rgba(16, 136, 61, 0.2);
}


.button--primary:hover {
    background: var(--green-dark);
}


.button--secondary {
    background: var(--white);

    color: var(--text);

    border: 1px solid var(--border);
}


.button--large {
    height: 52px;
    padding: 0 28px;
}


/* =========================
   HERO
   ========================= */

.hero {
    min-height: 680px;

    padding: 90px 0 100px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            180deg,
            #f5f5f5 0%,
            #fafafa 100%
        );
}


.hero__grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 72px;

    align-items: center;
}


.eyebrow {
    margin-bottom: 16px;

    color: var(--green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.hero h1 {
    margin-bottom: 6px;

    font-size: clamp(
        48px,
        5vw,
        72px
    );

    line-height: 1.08;

    letter-spacing: -2px;
}


.hero h2 {
    max-width: 650px;

    margin-bottom: 24px;

    font-size: 23px;
    line-height: 1.4;

    font-weight: 600;
}


.hero__lead {
    max-width: 630px;

    color: var(--text-light);

    font-size: 17px;
    line-height: 1.8;
}


.hero__actions {
    margin-top: 34px;

    display: flex;
    gap: 12px;
}


/* =========================
   APP PREVIEW
   ========================= */

.app-preview {
    overflow: hidden;

    background: var(--white);

    border-radius: 14px;

    border:
        1px solid var(--border);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);
}


.app-preview__header {
    height: 68px;

    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);

    background: var(--green);
}


.app-preview__header > div:first-child {
    display: flex;
    flex-direction: column;
}


.app-preview__header strong {
    font-size: 15px;
}


.app-preview__header span {
    margin-top: 2px;

    font-size: 11px;

    opacity: 0.8;
}


.status {
    padding: 6px 12px;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.16);

    font-size: 11px;
    font-weight: 600;
}


.app-preview__body {
    min-height: 390px;

    display: grid;

    grid-template-columns:
        135px
        1fr;
}


.preview-sidebar {
    padding: 25px 14px;

    background: #0c7e38;

    color: var(--white);
}


.preview-sidebar__title {
    margin: 0 8px 18px;

    font-size: 8px;

    opacity: 0.6;

    letter-spacing: 1px;
}


.preview-menu {
    margin-bottom: 7px;

    padding: 10px 10px;

    border-radius: 6px;

    font-size: 11px;

    opacity: 0.78;
}


.preview-menu--active {
    background:
        rgba(255, 255, 255, 0.15);

    opacity: 1;

    font-weight: 600;
}


.preview-content {
    padding: 38px 32px;

    background: #f5f5f5;
}


.preview-label {
    color: var(--green);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}


.preview-content h3 {
    margin-top: 7px;

    font-size: 24px;
}


.preview-content > p {
    margin-top: 6px;

    color: var(--text-light);

    font-size: 12px;
}


.preview-cards {
    margin-top: 28px;

    display: grid;

    gap: 12px;
}


.preview-card {
    padding: 15px 17px;

    display: grid;

    grid-template-columns:
        37px
        1fr;

    background: var(--white);

    border-radius: 9px;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.06);
}


.preview-card span {
    grid-row:
        1 / 3;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: var(--green);

    color: var(--white);

    font-size: 9px;
    font-weight: 700;
}


.preview-card strong {
    font-size: 12px;
}


.preview-card small {
    color: var(--text-light);

    font-size: 10px;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 100px 0;

    background: var(--white);
}


.section--light {
    background: var(--background);
}


.section-heading {
    max-width: 720px;

    margin-bottom: 48px;
}


.section-heading--center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.section-heading h2 {
    margin-bottom: 16px;

    font-size: 35px;
    line-height: 1.25;

    letter-spacing: -0.8px;
}


.section-heading p {
    color: var(--text-light);

    font-size: 16px;
}


/* =========================
   FEATURES
   ========================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.feature-card {
    min-height: 185px;

    padding: 28px;

    display: flex;
    gap: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.feature-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.09);
}


.feature-number {
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--green);

    color: var(--white);

    font-size: 12px;
    font-weight: 700;
}


.feature-card h3 {
    margin-bottom: 8px;

    font-size: 17px;
}


.feature-card p {
    color: var(--text-light);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================
   PROCESS
   ========================= */

.process {
    margin-top: 50px;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 8px;
}


.process-item {
    width: 150px;
    min-height: 150px;

    padding: 20px 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;
}


.process-item__number {
    width: 34px;
    height: 34px;

    margin-bottom: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--green);

    color: var(--white);

    font-size: 12px;
    font-weight: 700;
}


.process-item strong {
    font-size: 13px;
}


.process-item span {
    margin-top: 4px;

    color: var(--text-light);

    font-size: 10px;
}


.process-arrow {
    display: flex;
    align-items: center;

    color: #aaa;

    font-size: 20px;
}


/* =========================
   RESPONSIBILITY
   ========================= */

.responsibility {
    padding: 90px 0;

    background: var(--green);

    color: var(--white);
}


.responsibility__grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 90px;

    align-items: center;
}


.eyebrow--light {
    color:
        rgba(255, 255, 255, 0.72);
}


.responsibility h2 {
    font-size: 39px;

    line-height: 1.25;

    letter-spacing: -1px;
}


.responsibility__content {
    padding-left: 40px;

    border-left:
        1px solid rgba(255, 255, 255, 0.25);
}


.responsibility__content p {
    margin-bottom: 18px;

    font-size: 16px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.9);
}


.responsibility__content p:last-child {
    margin-bottom: 0;
}


/* =========================
   DICTIONARIES
   ========================= */

.dictionary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.dictionary-card {
    min-height: 120px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--white);
}


.dictionary-card strong {
    margin-bottom: 7px;

    font-size: 15px;
}


.dictionary-card span {
    color: var(--text-light);

    font-size: 12px;
}


/* =========================
   LOGIN SECTION
   ========================= */

.login-section {
    padding: 40px 0 90px;

    background: var(--white);
}


.login-box {
    padding: 42px 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: var(--background);

    border: 1px solid var(--border);

    border-radius: 14px;
}


.login-box__label {
    display: block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


.login-box h2 {
    margin-bottom: 6px;

    font-size: 25px;
}


.login-box p {
    color: var(--text-light);

    font-size: 14px;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    padding: 36px 0;

    background: #333;

    color: var(--white);
}


.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.footer__inner > div:first-child {
    display: flex;
    flex-direction: column;
}


.footer strong {
    margin-bottom: 4px;

    font-size: 14px;
}


.footer span {
    color:
        rgba(255, 255, 255, 0.58);

    font-size: 11px;
}


.footer__links {
    display: flex;
    gap: 24px;

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 12px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1050px) {

    .navigation {
        display: none;
    }


    .hero__grid {
        grid-template-columns: 1fr;
    }


    .hero__content {
        max-width: 760px;
    }


    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .dictionary-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .process {
        flex-wrap: wrap;
    }


    .process-arrow {
        display: none;
    }

}


@media (max-width: 760px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                var(--container)
            );
    }


    .topbar {
        height: 66px;
    }


    .brand__logo {
        width: 34px;
        height: 34px;
    }


    .brand__name {
        font-size: 13px;
    }


    .button--login {
        padding: 0 15px;
    }


    .hero {
        min-height: auto;

        padding: 60px 0 70px;
    }


    .hero h1 {
        font-size: 48px;
    }


    .hero h2 {
        font-size: 19px;
    }


    .hero__lead {
        font-size: 15px;
    }


    .hero__actions {
        flex-direction: column;
    }


    .app-preview__body {
        grid-template-columns: 1fr;
    }


    .preview-sidebar {
        display: none;
    }


    .section {
        padding: 70px 0;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .feature-grid,
    .dictionary-grid {
        grid-template-columns: 1fr;
    }


    .responsibility__grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .responsibility h2 {
        font-size: 31px;
    }


    .responsibility__content {
        padding-left: 0;

        border-left: 0;
    }


    .process {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }


    .process-item {
        width: auto;
    }


    .login-box {
        padding: 30px;

        flex-direction: column;

        align-items: flex-start;
    }


    .footer__inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 480px) {

    .brand__logo {
        width: 30px;
        height: 30px;
    }


    .brand__name {
        font-size: 12px;
    }


    .button--login {
        height: 40px;

        font-size: 12px;
    }


    .hero h1 {
        font-size: 42px;
    }


    .process {
        grid-template-columns: 1fr;
    }

}