*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font: "Poppins", system-ui, sans-serif;
    --ink: #0f1b3d;
    --muted: #5b6785;
    --line: #e3e8f4;
    --bg: #ffffff;
    --tint: #f3f6fd;
    --blue: #2f6bff;
    --blue-dark: #1b4fd8;
    --navy: #0b1b45;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(15, 27, 61, 0.08);
    --wrap: min(1160px, calc(100% - 40px));
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.wrap--narrow {
    max-width: 760px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--sm {
    padding: 9px 20px;
    font-size: 0.88rem;
}

.btn--lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

.btn--blue {
    background: var(--blue);
    color: #fff;
}

.btn--blue:hover {
    background: var(--blue-dark);
}

.btn--white {
    background: #fff;
    color: var(--blue-dark);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn--outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ---------- Header ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.logo--light {
    color: #fff;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s;
}

.nav__links a:hover {
    color: var(--blue);
}

.nav__end {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav__signin {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.nav__signin:hover {
    color: var(--blue);
}

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.nav__burger span {
    display: block;
    height: 2px;
    margin: 0 11px;
    background: var(--ink);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(80, 160, 255, 0.35), transparent 45%),
        linear-gradient(135deg, #0b1b45 0%, #14357f 55%, #2f6bff 100%);
    padding: 80px 0 150px;
    overflow: hidden;
}

.hero__row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 22px;
}

.pill i {
    color: #ffd24d;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
    margin-bottom: 32px;
}

.hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero__proof i {
    color: #5eead4;
    margin-right: 6px;
}

.hero__art img {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
}

.hero__wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 80px;
    fill: var(--bg);
}

/* ---------- Facts bar ---------- */
.facts {
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.facts__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    border-right: 1px solid var(--line);
}

.fact:last-child {
    border-right: 0;
}

.fact > i {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--tint);
    color: var(--blue);
    font-size: 1.15rem;
}

.fact strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.3;
}

.fact span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* ---------- Generic blocks ---------- */
.block {
    padding: 100px 0;
}

.block--tint {
    background: var(--tint);
}

.head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.1);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 12px;
}

.head p {
    color: var(--muted);
}

/* ---------- Services shell ---------- */
.shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shell__tabs {
    display: flex;
    gap: 8px;
    padding: 14px;
    background: var(--tint);
    border-bottom: 1px solid var(--line);
}

.shell__tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-family: var(--font);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.shell__tab:hover {
    color: var(--blue);
}

.shell__tab.is-on {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 4px 14px rgba(15, 27, 61, 0.1);
}

.shell__pane {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
}

.shell__pane[hidden] {
    display: none;
}

.shell__info h3 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.shell__info > p {
    color: var(--muted);
    margin-bottom: 22px;
}

.ticks {
    margin-bottom: 28px;
}

.ticks li {
    position: relative;
    padding: 6px 0 6px 32px;
    font-size: 0.97rem;
}

.ticks li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(47, 107, 255, 0.12);
    color: var(--blue);
    font-size: 0.65rem;
}

.shell__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.shell__price {
    color: var(--muted);
    font-size: 0.95rem;
}

.shell__price b {
    font-size: 1.9rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.shell__visual {
    display: grid;
    place-items: center;
    min-height: 280px;
    border-radius: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}

.shell__visual::before,
.shell__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.shell__visual::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -50px;
}

.shell__visual::after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -30px;
}

.shell__visual i {
    position: relative;
    z-index: 1;
}

.shell__visual--blue {
    background: linear-gradient(135deg, #2f6bff, #5aa0ff);
}

.shell__visual--violet {
    background: linear-gradient(135deg, #6a4cff, #a77bff);
}

.shell__visual--teal {
    background: linear-gradient(135deg, #0ea5a4, #3ed6b5);
}

.shell__visual--navy {
    background: linear-gradient(135deg, #0b1b45, #2a4aa8);
}

/* ---------- Pricing ---------- */
.billing {
    display: inline-flex;
    margin-top: 26px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.billing__btn {
    border: 0;
    background: transparent;
    padding: 9px 22px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.billing__btn em {
    font-style: normal;
    font-size: 0.72rem;
    margin-left: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #d9f7e8;
    color: #0b7a4b;
}

.billing__btn.is-on {
    background: var(--blue);
    color: #fff;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.plan h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.plan__for {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.plan .rate-price {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.plan__price small {
    font-size: 0.95rem;
    color: var(--muted);
}

.plan__list {
    flex: 1;
    margin-bottom: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.plan__list li {
    position: relative;
    padding: 7px 0 7px 28px;
    font-size: 0.93rem;
}

.plan__list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--blue);
    font-size: 0.8rem;
}

.plan--hot {
    background: linear-gradient(160deg, #0b1b45, #1b4fd8);
    color: #fff;
    border: 0;
    transform: translateY(-14px);
    box-shadow: 0 24px 60px rgba(27, 79, 216, 0.35);
}

.plan--hot .plan__for,
.plan--hot .plan__price small {
    color: rgba(255, 255, 255, 0.72);
}

.plan--hot .plan__list {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.plan--hot .plan__list li::before {
    color: #5eead4;
}

.plan__badge {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffd24d;
    color: #4a3500;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ---------- Why us ---------- */
.why {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.why__intro h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.why__intro > p {
    color: var(--muted);
    margin-bottom: 28px;
}

.why__list {
    display: grid;
    gap: 14px;
}

.why__item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.why__item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.why__item > span {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f6bff, #5aa0ff);
    color: #fff;
    font-size: 1.1rem;
}

.why__item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.why__item p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #b9c9f5 0 8px, transparent 8px 16px);
}

.steps li {
    position: relative;
    text-align: center;
}

.steps__n {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--tint);
}

.steps h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.steps p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.faq details[open] {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tint);
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 500;
}

.faq details[open] summary::after {
    content: "\2212";
    background: var(--blue);
    color: #fff;
}

.faq details p {
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Final CTA ---------- */
.final {
    padding: 0 0 100px;
}

.final__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 56px 60px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(120, 180, 255, 0.4), transparent 50%),
        linear-gradient(135deg, #0b1b45, #1b4fd8);
}

.final__box h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.final__box p {
    color: rgba(255, 255, 255, 0.8);
}

.final__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Footer ---------- */
.foot {
    background: var(--navy);
    color: #9fb0d8;
    padding: 72px 0 28px;
}

.foot__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.foot__brand p {
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.foot__col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.foot__col a {
    display: block;
    padding: 5px 0;
    font-size: 0.92rem;
    transition: color 0.15s;
}

.foot__col a:hover {
    color: #fff;
}

.foot__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.foot__pay {
    display: flex;
    gap: 12px;
    font-size: 1.6rem;
    color: #7d90c0;
}

/* ---------- Notice ---------- */
.notice {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 300;
    transform: translateX(-50%) translateY(12px);
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.notice.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero {
        padding: 56px 0 130px;
    }

    .hero__row,
    .shell__pane,
    .why {
        grid-template-columns: 1fr;
    }

    .hero__art {
        display: none;
    }

    .facts__row {
        grid-template-columns: 1fr 1fr;
    }

    .fact:nth-child(2) {
        border-right: 0;
    }

    .fact:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .shell__pane {
        padding: 32px 24px;
    }

    .shell__visual {
        min-height: 180px;
        font-size: 4rem;
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }

    .plan--hot {
        transform: none;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .steps::before {
        display: none;
    }

    .foot__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 16px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav__burger {
        display: flex;
    }

    .nav__signin {
        display: none;
    }
}

@media (max-width: 600px) {
    .block {
        padding: 72px 0;
    }

    .facts__row {
        grid-template-columns: 1fr;
    }

    .fact {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .fact:last-child {
        border-bottom: 0;
    }

    .shell__tabs {
        flex-wrap: wrap;
    }

    .shell__tab {
        flex: 1 1 calc(50% - 8px);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .final__box {
        padding: 36px 26px;
    }

    .foot__grid {
        grid-template-columns: 1fr;
    }

    .contact-grid,
    .page-hero__row {
        grid-template-columns: 1fr;
    }

    .kb-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Nav dropdown ---------- */
.nav__drop {
    position: relative;
}

.nav__drop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
}

.nav__drop-btn:hover,
.nav__drop.is-open .nav__drop-btn {
    color: var(--blue);
}

.nav__drop-btn i {
    font-size: 0.7rem;
}

.nav__mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 320px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 50;
}

.nav__mega--sm {
    min-width: 280px;
}

.nav__drop:hover .nav__mega,
.nav__drop.is-open .nav__mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__mega a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: var(--ink) !important;
}

.nav__mega a:hover {
    background: var(--tint);
}

.nav__mega a i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--tint);
    color: var(--blue);
}

.nav__mega strong {
    display: block;
    font-size: 0.92rem;
}

.nav__mega em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
}

.nav__links a.active {
    color: var(--blue);
}

.foot__mail {
    display: inline-block;
    margin-top: 12px;
    color: #9ec0ff;
}

/* ---------- Inner page hero ---------- */
.page-hero {
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(80, 160, 255, 0.35), transparent 45%),
        linear-gradient(135deg, #0b1b45 0%, #14357f 55%, #2f6bff 100%);
    padding: 72px 0 80px;
}

.page-hero--center {
    text-align: center;
}

.page-hero--short {
    padding: 56px 0 64px;
}

.page-hero__row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.page-hero__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36rem;
    margin-bottom: 28px;
}

.page-hero__lead--center {
    margin-inline: auto;
}

.page-hero__checks {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 24px 28px;
}

.page-hero__checks li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.page-hero__checks i {
    color: #5eead4;
    margin-right: 8px;
}

.page-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.page-hero__links a {
    color: #cfe0ff;
    font-weight: 600;
    font-size: 0.92rem;
}

.page-hero__links a:hover {
    color: #fff;
}

/* ---------- Feature / info grids ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.block--tint .feat {
    border-color: transparent;
    box-shadow: var(--shadow);
}

.feat i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f6bff, #5aa0ff);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.feat h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.feat p {
    color: var(--muted);
    font-size: 0.92rem;
}

.feat--link {
    transition: transform 0.15s, box-shadow 0.15s;
}

.feat--link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.info-card i {
    color: var(--blue);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.info-card h3 {
    margin-bottom: 6px;
}

.info-card p,
.info-card a {
    color: var(--muted);
    font-size: 0.92rem;
}

.stat-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-board__item {
    background: var(--tint);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat-board__num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue);
}

.stat-board__lbl {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- Contact / KB / Legal / Auth ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.contact-form,
.contact-aside {
    display: grid;
    gap: 14px;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 8px;
}

.contact-form label,
.auth__form label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.auth__form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 400;
}

.form-note {
    font-size: 0.82rem;
    color: var(--muted);
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.kb-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.kb-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--tint);
    color: var(--blue);
    margin-bottom: 14px;
}

.kb-card h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.kb-card > p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.kb-card li {
    padding: 6px 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.kb-card a {
    color: var(--blue);
    font-weight: 500;
}

.legal {
    max-width: 760px;
    margin-inline: auto;
}

.legal h2 {
    font-size: 1.2rem;
    margin: 28px 0 10px;
}

.legal p,
.legal li {
    color: var(--muted);
    margin-bottom: 10px;
}

.legal ul {
    padding-left: 18px;
    list-style: disc;
    margin-bottom: 12px;
}

.auth {
    padding: 72px 0 100px;
    background: var(--tint);
    min-height: 60vh;
    display: grid;
    place-items: center;
}

.auth__card {
    width: min(440px, calc(100% - 32px));
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.auth__card--wide {
    width: min(560px, calc(100% - 32px));
    text-align: center;
}

.auth__card h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.auth__lead {
    color: var(--muted);
    margin-bottom: 24px;
}

.auth__form {
    display: grid;
    gap: 14px;
}

.auth__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
}

.auth__check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
}

.auth__check input {
    width: auto;
}

.auth__foot {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth__foot a,
.auth__row a {
    color: var(--blue);
    font-weight: 600;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 16px;
}

.auth-alert i {
    margin-top: 2px;
}

.auth-alert--err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-alert--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.auth__label-row a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.auth__pw {
    position: relative;
    display: block;
}

.auth__pw input {
    padding-right: 44px !important;
}

.auth__pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
}

.auth-success {
    text-align: center;
}

.auth-success__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ecfdf5;
    color: #059669;
    font-size: 1.4rem;
}

.auth-success h1,
.auth-success h2 {
    margin-bottom: 8px;
}

.contact-form .auth-alert {
    margin-top: 0;
}

@media (max-width: 960px) {
    .feat-grid,
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav__mega {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 12px;
        display: none;
        min-width: 0;
    }

    .nav__drop.is-open .nav__mega {
        display: block;
    }
}

@media (max-width: 600px) {
    .feat-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ——— Legal documents ——— */
.page-hero--legal {
    padding-bottom: 48px;
}

.page-hero--legal h1 {
    max-width: 18ch;
}

.legal-wrap {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 40px 20px 96px;
}

.legal-toc {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 40, 80, 0.04);
}

.legal-toc__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.legal-toc__link {
    display: block;
    padding: 7px 8px;
    margin: 0 -4px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1.35;
    border-left: 2px solid transparent;
}

.legal-toc__link:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--blue);
}

.legal-body {
    min-width: 0;
}

.legal-block {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.legal-block:first-child {
    padding-top: 0;
}

.legal-block:last-child {
    border-bottom: 0;
}

.legal-block h2 {
    font-size: 1.35rem;
    margin: 0 0 14px;
    color: var(--ink);
}

.legal-block h3 {
    font-size: 1.02rem;
    margin: 20px 0 8px;
}

.legal-block p,
.legal-block li {
    color: #3a4a63;
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-block p + p {
    margin-top: 12px;
}

.legal-block ul,
.legal-block ol {
    margin: 12px 0 0;
    padding-left: 1.25rem;
}

.legal-block li + li {
    margin-top: 6px;
}

.legal-block a {
    color: var(--blue);
    font-weight: 600;
}

.legal-formula {
    margin: 16px 0;
    padding: 14px 16px;
    background: #f3f7ff;
    border-radius: 10px;
    border: 1px solid #dbe7ff;
}

.sla-callout {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b1f44 0%, #1d4ed8 100%);
    color: #fff;
}

.sla-callout__num {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.sla-callout__label {
    font-weight: 600;
    margin-bottom: 4px;
}

.sla-callout__sub {
    font-size: 0.88rem;
    opacity: 0.85;
}

.sla-table {
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.sla-table__head,
.sla-table__row {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.sla-table__head {
    background: #0b1f44;
    color: #fff;
    font-weight: 600;
}

.sla-table__row:nth-child(even) {
    background: #f7f9fc;
}

.sla-table__row--ok {
    background: #ecfdf5 !important;
}

.sla-table__row--warn {
    background: #fff7ed !important;
}

.sla-table__row--bad {
    background: #fef2f2 !important;
}

.company-prose {
    max-width: 720px;
}

.company-prose p {
    color: #3a4a63;
    line-height: 1.75;
    margin-bottom: 14px;
}

.company-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: start;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.timeline li {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.timeline__year {
    font-weight: 700;
    color: var(--blue);
}

.aff-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.aff-tier {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.aff-tier--hot {
    border-color: #93c5fd;
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.12);
}

.aff-tier__rate {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    margin: 8px 0 4px;
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.support-channel {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.support-channel:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.1);
}

.support-channel i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--blue);
    flex-shrink: 0;
}

.kb-article {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.kb-article h3 {
    margin: 0 0 10px;
}

.kb-article p {
    color: #3a4a63;
    line-height: 1.7;
    margin-bottom: 10px;
}

@media (max-width: 960px) {
    .legal-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-toc {
        position: static;
        max-height: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 12px;
    }

    .legal-toc__label {
        grid-column: 1 / -1;
    }

    .company-split,
    .aff-tiers,
    .support-channels {
        grid-template-columns: 1fr;
    }

    .sla-table__head,
    .sla-table__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .legal-toc {
        grid-template-columns: 1fr;
    }

    .timeline li {
        grid-template-columns: 1fr;
    }

    .sla-callout {
        flex-direction: column;
        align-items: flex-start;
    }
}
