:root {
    --p2-primary: #2563eb;
    --p2-primary-dark: #1d4ed8;
    --p2-indigo: #4f46e5;
    --p2-text: #111827;
    --p2-muted: #64748b;
    --p2-soft: #f8fafc;
    --p2-border: #e5eaf1;
    --p2-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.p2-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}


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

.p2-header {
    background: #ffffff;
    border-bottom: 1px solid var(--p2-border);
}

.p2-header__inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.p2-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.p2-brand__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg,#2563eb,#4f46e5);
    color: #fff;
    box-shadow: 0 10px 25px rgba(37,99,235,.18);
}

.p2-brand__text {
    display: grid;
    gap: 2px;
}

.p2-brand__text strong {
    color: var(--p2-text);
    font-size: 14px;
    font-weight: 850;
}

.p2-brand__text small {
    color: #94a3b8;
    font-size: 9px;
}

.p2-header__trust {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.p2-header__trust span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,.10);
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.p2-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--p2-border);
    backdrop-filter: blur(14px);
}

.p2-nav__inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.p2-nav__links {
    display: flex;
    align-items: center;
    gap: 21px;
}

.p2-nav a {
    color: #475569;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.p2-nav__links a:hover {
    color: var(--p2-primary);
}

.p2-nav__cta {
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9px;
    background: var(--p2-primary);
    color: #fff !important;
}


/* ============================================================
   COMMON
   ============================================================ */

.p2-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--p2-primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.p2-section-title {
    max-width: 720px;
    margin-bottom: 37px;
}

.p2-section-title--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.p2-section-title--center .p2-kicker {
    margin-inline: auto;
}

.p2-section-title h2 {
    margin: 11px 0 0;
    color: var(--p2-text);
    font-size: clamp(2.15rem,4vw,3.7rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 850;
}

.p2-section-title p {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--p2-muted);
    font-size: 14px;
    line-height: 1.75;
}

.p2-section-title--center p {
    margin-left: auto;
    margin-right: auto;
}

.p2-button {
    min-height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
}

.p2-button--primary {
    background: var(--p2-primary);
    color: #fff;
    box-shadow: 0 13px 30px rgba(37,99,235,.22);
}

.p2-button--secondary {
    border: 1px solid var(--p2-border);
    background: #fff;
    color: #334155;
}

.p2-card-grid {
    display: grid;
    gap: 14px;
}

.p2-card-grid--4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.p2-card-grid--3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}


/* ============================================================
   FOOTER
   ============================================================ */

.p2-footer {
    padding: 62px 0 26px;
    background: #0f172a;
    color: #fff;
}

.p2-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
}

.p2-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p2-footer__brand span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--p2-primary);
}

.p2-footer__about p {
    max-width: 420px;
    margin: 17px 0 0;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.7;
}

.p2-footer__top > div > strong {
    display: block;
    margin-bottom: 14px;
    font-size: 10px;
}

.p2-footer__top a {
    display: block;
    width: fit-content;
    margin-top: 10px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 9px;
}

.p2-footer__top a:hover {
    color: #fff;
}

.p2-footer__bottom {
    margin-top: 44px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #64748b;
    font-size: 9px;
}


@media (max-width: 800px) {

    .p2-header__trust {
        display: none;
    }

    .p2-nav__inner {
        overflow-x: auto;
    }

    .p2-nav__links {
        min-width: max-content;
    }

    .p2-nav__cta {
        display: none;
    }

    .p2-card-grid--4,
    .p2-card-grid--3 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .p2-footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}

@media (max-width: 560px) {

    .p2-card-grid--4,
    .p2-card-grid--3 {
        grid-template-columns: 1fr;
    }

    .p2-footer__bottom {
        flex-direction: column;
    }

}
