/* ------------------------------------------------------------
    Root variables & reset
------------------------------------------------------------ */
:root {
    --bg: #ffffff;
    --text: #28292F; /* 111111 */
    --muted: #66636a;
    --line: #dedbd5;
    --soft: #f2f0ec;
    --purple: #6846CD; /* 5A386E */
    --purple-dark: #5A386E; /* 3f2552 */
    --purple-soft: #eee7f3;
    --green-soft: #dff4ec;
    --green: #16634f;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Wix Madefor Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

/* ------------------------------------------------------------
    Utility & layout
------------------------------------------------------------ */
.wrap {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

/* ------------------------------------------------------------
    Hero section
------------------------------------------------------------ */
.hero {
    padding: 84px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.72fr;
    gap: 72px;
    align-items: start;
}

.label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 750;
    color: var(--purple);
    margin-bottom: 22px;
}

h1, h2, h3 {
    font-family: "Wix Madefor Display", Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    margin: 0;
    color: #090909;
}

h1 {
    font-size: clamp(40px, 5.4vw, 66px);
    line-height: 1.02;
    max-width: 720px;
}

.lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 570px;
    margin: 26px 0 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 4px !important;
    border: 1px solid #191919 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: 0.25s !important;
    cursor: pointer !important;
}

.btn-dark {
    background: #090909 !important;
    color: #fff !important;
    border-color: #090909 !important;
}

.btn-dark:hover {
    background: var(--purple) !important;
    border-color: var(--purple) !important;
    transform: translateY(-2px) !important;
}

.btn-light {
    background: transparent !important;
    color: #111 !important;
}

.btn-light:hover {
    border-color: var(--purple) !important;
    color: var(--purple) !important;
    transform: translateY(-2px) !important;
}

/* Side card */
.side-card {
    background: var(--purple);
    color: #fff;
    padding: 28px;
    border-radius: 6px;
    margin-top: 6px;
    box-shadow: 0 24px 70px rgba(90, 56, 110, 0.16);
    animation: softIn 0.7s ease both 0.12s;
}

.side-card h3 {
    font-family: "Wix Madefor Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: -0.03em;
    font-weight: 750;
    color: #fff;
    margin-bottom: 18px;
}

.side-row {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 15px 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
}

.side-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.side-row b {
    font-size: 22px;
    letter-spacing: -0.04em;
}

.side-row span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* ------------------------------------------------------------
    Strip (статистика)
------------------------------------------------------------ */
.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 6px auto 58px;
    width: 100%;
}

.strip div {
    padding: 22px 20px;
    border-right: 1px solid var(--line);
}

.strip div:last-child {
    border-right: 0;
}

.strip b {
    display: block;
    font-size: 18px;
    letter-spacing: -0.04em;
    margin-bottom: 5px;
}

.strip span {
    font-size: 13px;
    color: var(--muted);
}

/* ------------------------------------------------------------
    General sections
------------------------------------------------------------ */
section {
    padding: 58px 0;
}

.section-head {
    padding-top: 16px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 0.62fr;
    gap: 56px;
    align-items: start;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.section-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

/* Editorial grid */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.editorial-card {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    min-height: 206px;
    transition: 0.25s;
}

.editorial-card:hover {
    border-color: var(--purple);
    transform: translateY(-3px);
}

.editorial-card .num {
    font-size: 11px;
    color: var(--purple);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 34px;
}

.editorial-card h3 {
    font-size: 22px;
    line-height: 1.12;
    margin-bottom: 12px;
}

.editorial-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
}

/* Wide note */
.wide-note {
    margin-top: 44px;
    background: #050505;
    color: #fff;
    padding: 44px 48px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.wide-note h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.wide-note p {
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ------------------------------------------------------------
    Process / Verify
------------------------------------------------------------ */
.process {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 42px;
    align-items: start;
}

.process-panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 32px;
    border-radius: 6px;
    position: sticky;
    top: 96px;
}

.process-panel h3 {
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 16px;
}

.process-panel p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.steps {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: 0.25s;
}

.step:hover {
    padding-left: 12px;
    color: var(--purple);
}

.step b {
    font-size: 13px;
    color: var(--purple);
}

.step h3 {
    font-family: "Wix Madefor Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: -0.03em;
    font-weight: 750;
    margin: 0 0 6px;
    color: inherit;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

/* ------------------------------------------------------------
    Pricing
------------------------------------------------------------ */
.pricing-intro {
    padding: 0;
    margin-top: 10px;
}

.pricing-intro .wrap {
    display: block;
}

.pricing-intro h2 {
    font-size: 34px;
    line-height: 1.08;
    margin: 0;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
    align-items: stretch;
}

.plans-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    transition: 0.25s;
    position: relative;
    overflow: hidden;
}

.plans-bottom .plan {
    min-height: 430px;
    padding: 24px;
}

.plans-bottom .plan-desc {
    min-height: auto;
    max-width: 520px;
}

.plans-bottom .features {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 11px;
}

.plans-bottom .btn {
    max-width: 260px !important;
}

.plan:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: 0 20px 60px rgba(20, 12, 24, 0.08);
}

.plan.popular {
    border-color: #b7a1c8;
    box-shadow: 0 0 0 3px rgba(90, 56, 110, 0.08);
}

.plan-tag {
    height: 25px;
    border-radius: 999px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.free {
    background: #dbf2ea;
    color: #14634f;
}

.expert {
    background: #e7f1fa;
    color: #215b82;
}

.pro {
    background: #ece8f8;
    color: var(--purple);
}

.business {
    background: #f4eadb;
    color: #745526;
}

.vip {
    background: #222139;
    color: #fff;
}

.pill {
    background: #6652c8;
    color: #fff;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 10px;
}

.plan h3 {
    font-family: "Wix Madefor Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.045em;
    margin: 0 0 8px;
    color: #111;
}

.plan-desc {
    font-size: 13.5px;
    color: var(--muted);
    min-height: 58px;
    margin: 0 0 20px;
    line-height: 1.45;
}

.price {
    font-size: 30px;
    font-weight: 820;
    letter-spacing: -0.06em;
    margin-bottom: 2px;
}

.per {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.save {
    display: inline-flex;
    align-items: center;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
}

.plan hr {
    border: 0;
    border-top: 1px solid var(--line);
    width: 100%;
    margin: 2px 0 16px;
}

.include {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 850;
    color: #4b4850;
    margin-bottom: 12px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 10px;
}

.features li {
    display: grid;
    grid-template-columns: 8px 1fr;
    gap: 10px;
    font-size: 12.8px;
    line-height: 1.36;
    color: #2b292d;
}

.features li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6256b8;
    margin-top: 6px;
}

.features .off {
    color: #9a979c;
    text-decoration: line-through;
}

.features .off:before {
    background: #d4d2d5;
}

.plan .btn {
    margin-top: auto !important;
    width: 100% !important;
    min-height: 42px !important;
    font-size: 12.5px !important;
}

/* ------------------------------------------------------------
    CTA
------------------------------------------------------------ */
.cta {
    padding: 74px 0 90px;
}

.cta-box {
    border-radius: 10px;
    background: #050505;
    color: #fff;
    text-align: center;
    padding: 68px 28px;
}

.cta-box h2 {
    color: #fff;
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.04;
    max-width: 760px;
    margin: 0 auto 18px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.68);
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.55;
}

.cta-box .btn {
    border-color: #fff !important;
    color: #111 !important;
    background: #fff !important;
}

.cta-box .btn:hover {
    border-color: #fff !important;
    background: transparent !important;
    color: #fff !important;
}

/* ------------------------------------------------------------
    Animations
------------------------------------------------------------ */
.fade {
    opacity: 0;
    transform: translateY(18px);
    animation: fade 0.65s ease forwards;
}

.d1 {
    animation-delay: 0.12s;
}

.d2 {
    animation-delay: 0.22s;
}

.d3 {
    animation-delay: 0.32s;
}

@keyframes fade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------
    Media queries
------------------------------------------------------------ */
@media (max-width: 1100px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
    .plans-bottom {
        grid-template-columns: 1fr;
    }
    .plan {
        min-height: auto;
    }
    .plan.full {
        grid-column: auto;
    }
    .plans-bottom .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .section-head,
    .wide-note,
    .process,
    .pricing-intro .wrap {
        grid-template-columns: 1fr;
        display: grid;
    }
    .strip,
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-panel {
        position: static;
    }
    .pricing-intro .wrap {
        align-items: start;
    }
    .pricing-intro h2 {
        font-size: 32px;
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 28px, 1120px);
    }
    .hero {
        padding: 54px 0;
    }
    .strip,
    .editorial-grid,
    .plans,
    .plans-bottom,
    .plans-bottom .features {
        grid-template-columns: 1fr;
    }
    .wide-note {
        padding: 32px;
    }
    .side-row {
        grid-template-columns: 1fr;
    }
    .step {
        grid-template-columns: 54px 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100% !important;
    }
}