:root {
    --brand-primary: #2BB39B;
    --brand-primary-dark: #189881;

    --bg: #FFFFFF;
    --bg-soft: #FAF5EE;
    --text: #111111;
    --muted: #6F6F6F;
    --border: #E7E2D8;
    --border-soft: #EEE8DE;

    --shadow-btn: 0 2px 0 #1E7A6A;

    --container: 1180px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;

    --section-x: 40px;
    --header-top: 20px;
    --header-height-space: 110px;

    --font-heading: "Nunito", sans-serif;
    --font-body: "Cabinet Grotesk", system-ui, sans-serif;

    --h1-size: 36px;
    --h1-line: 49px;
    --h1-weight: 800;

    --h2-size: 28px;
    --h2-line: 44px;
    --h2-weight: 700;

    --h3-size: 24px;
    --h3-line: 33px;
    --h3-weight: 700;

    --h4-size: 20px;
    --h4-line: 27px;
    --h4-weight: 400;

    --body-size: 16px;
    --body-line: 20px;
    --body-weight: 400;

    --body-sm-size: 14px;
    --body-sm-line: 20px;
    --body-sm-weight: 400;

    --btn-size: 16px;
    --btn-line: 20px;
    --btn-weight: 800;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line);
    font-weight: var(--body-weight);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.btn,
.topnav__link,
.mobile-menu__link {
    font-family: var(--font-heading);
    margin: 0;
}

h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line);
    font-weight: var(--h1-weight);
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line);
    font-weight: var(--h2-weight);
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line);
    font-weight: var(--h3-weight);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

p {
    margin: 0;
}

ul {
    margin: 0;
    padding-left: 0;
}

.container {
    width: min(var(--container), calc(100% - (var(--section-x) * 2)));
    margin-inline: auto;
}

/* =======================
   TOPBAR
======================= */
.topbar {
    position: fixed;
    top: var(--header-top);
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.topbar__inner,
.mobile-menu {
    pointer-events: auto;
}

.topbar__inner {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 18px 28px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 -1px 0 #E3D7C6;
}

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

.brand__logo {
    height: 22px;
    width: auto;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topnav__link {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: #222;
    transition: opacity 0.2s ease;
}

.topnav__link:hover {
    opacity: 0.7;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* =======================
   BUTTONS
======================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-height: 42px; */
    padding: 8px 24px;
    border-radius: 4px;
    border: 2px solid transparent;
    font-size: var(--btn-size);
    line-height: var(--btn-line);
    font-weight: var(--btn-weight);
    white-space: nowrap;
    box-shadow: var(--shadow-btn);
    transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #1E7A6A;
}

.btn--sm {
    padding: 8px 24px;
    font-size: 14px;
}

.btn--primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
}

.btn--outline {
    background: #fff;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn--outline:hover {
    background: rgba(43, 179, 155, 0.06);
}

/* =======================
   PAGE
======================= */
.pricing-page {
    padding: calc(var(--header-height-space) + 38px) 0 0;
}

.pricing-hero {
    padding: 32px 0 34px;
}

.pricing-hero__title {
    margin: 0 0 12px;
}

.pricing-hero__intro {
    max-width: 420px;
    font-size: 16px;
    line-height: 1.45;
    color: #4B4B4B;
}

/* =======================
   PRICING OVERVIEW
======================= */
.pricing-overview {
    padding: 0 0 58px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pricing-card {
    background: var(--bg-soft);
    border-radius: 8px;
    padding: 34px 38px 30px;
    min-height: 486px;
    display: flex;
    flex-direction: column;
}

.pricing-card__icon {
    height: 82px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.pricing-card__icon img {
    height: 60px;
    width: auto;
    object-fit: contain;
}


.pricing-card__title {
    margin: 0px 0 24px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.pricing-card__amount {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
    font-family: var(--font-heading);
}

.pricing-card__period {
    font-size: 14px;
    line-height: 20px;
    color: #4C4C4C;
}

.pricing-card__list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.pricing-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}

.pricing-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
}

.pricing-card__list strong {
    font-weight: 800;
}

.pricing-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.pricing-card--featured {
    border: 2px solid var(--brand-primary);
}

/* =======================
   HELP BLOCK
======================= */
.pricing-help {
    padding: 0 0 106px;
}

.pricing-help__content {
    max-width: 310px;
}

.pricing-help__content h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.pricing-help__content p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.45;
    color: #4B4B4B;
}

/* =======================
   FOOTER
======================= */
.footer {
    background: var(--bg-soft);
    padding: 56px 0 58px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    width: 110px;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__socials a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer__socials img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__copyright {
    font-size: 13px;
    line-height: 18px;
    color: #666;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__col a,
.footer__contact p,
.footer__contact a {
    font-size: 14px;
    line-height: 20px;
    color: #222;
}

.footer__contact p {
    margin: 0 0 2px;
    font-weight: 700;
}

.footer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* =======================
   TABLET
======================= */
@media (max-width: 1100px) {
    :root {
        --section-x: 28px;
    }

    .pricing-cards {
        gap: 14px;
    }

    .pricing-card {
        padding: 28px 24px 24px;
    }
}

/* =======================
   MOBILE
======================= */
@media (max-width: 820px) {
    :root {
        --section-x: 16px;
        --header-top: 12px;
        --header-height-space: 94px;

        --h1-size: 32px;
        --h1-line: 40px;
        --h2-size: 20px;
        --h2-line: 28px;
        --h3-size: 20px;
        --h3-line: 28px;
    }

    .topbar__inner {
        min-height: 58px;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .brand__logo {
        height: 18px;
    }

    .topnav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
        width: min(var(--container), calc(100% - (var(--section-x) * 2)));
        margin: 0 auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .mobile-menu.is-open {
        max-height: 220px;
    }

    .mobile-menu__nav {
        background: var(--bg-soft);
        border-radius: 0 0 8px 8px;
        box-shadow: inset 0 -1px 0 #E3D7C6;
        padding: 24px 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: -6px;
    }

    .mobile-menu__link {
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }

    .mobile-menu__btn {
        align-self: flex-start;
    }

    .pricing-page {
        padding-top: calc(var(--header-height-space) + 10px);
    }

    .pricing-hero {
        padding: 34px 0 20px;
    }

    .pricing-hero__title {
        margin-bottom: 8px;
    }

    .pricing-hero__intro {
        font-size: 14px;
        max-width: 270px;
    }

    .pricing-overview {
        padding-bottom: 32px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pricing-card {
        min-height: unset;
        padding: 24px 18px 20px;
    }

    .pricing-card__icon {
        height: auto;
        margin-bottom: 14px;
    }

    .pricing-card__icon img {
        width: 82px;
    }

    .pricing-card__title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .pricing-card__amount {
        font-size: 20px;
    }

    .pricing-card__list {
        gap: 8px;
        margin-bottom: 18px;
    }

    .pricing-card__list li {
        font-size: 14px;
        line-height: 1.4;
    }

    .pricing-help {
        padding-bottom: 56px;
    }

    .pricing-help__content h2 {
        font-size: 18px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__logo {
        width: 92px;
    }

    .footer__socials a {
        width: 20px;
        height: 20px;
    }
}