/* QWERTYMAIL — Валидатор email */

.qv-page {
    --qps-ink: #242424;
    --qps-text: #6e6d68;
    --qps-border: #e4e4df;
    --qps-title-max: 760px;
    --qps-lead-max: 720px;
    --qps-section-head-max: 810px;
    --qps-section-head-left-max: 700px;

    --qv-accent: var(--qps-accent);
    --qv-accent-soft: var(--qps-accent-soft);
    --qv-ink: var(--qps-ink);
    --qv-text: var(--qps-text);
    --qv-border: var(--qps-border);
    --qv-card: #fff;
    --qv-green: #2d7b48;
    --qv-green-soft: #eef8f1;
    --qv-dark: #171722;
}

.qv-page a { color: inherit; }

/* HERO */
.qv-hero { padding: 78px 0 58px; }

.qv-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
    gap: 58px;
    align-items: center;
}

.qv-hero__content,
.qv-hero__visual { min-width: 0; }

.qv-validator-card {
    overflow: hidden;
    border: 1px solid #dddde7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 68px rgba(33,33,52,.13);
}

.qv-validator-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #ececf1;
    background: #fbfbfd;
}

.qv-validator-card__head span,
.qv-validator-card__head strong { display: block; }
.qv-validator-card__head span { color: #85858e; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.qv-validator-card__head strong { margin-top: 4px; color: #30303a; font-size: 13px; }
.qv-validator-card__head > b { color: var(--qv-accent); font-size: 12px; letter-spacing: .04em; }

.qv-validator-card__body {
    display: grid;
    grid-template-columns: 1fr 92px 1fr;
    gap: 12px;
    align-items: center;
    padding: 24px 18px;
}

.qv-list {
    display: grid;
    gap: 7px;
}

.qv-list > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 37px;
    padding: 8px 10px;
    border: 1px solid #e6e6ec;
    border-radius: 9px;
    background: #fafafd;
    color: #62626c;
    font-size: 9px;
    line-height: 1.2;
}

.qv-list--source i {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bbbcc6;
}

.qv-list--result > div { font-weight: 700; }
.qv-list--result b { width: 16px; font-size: 11px; }
.qv-list--result .is-ready { border-color: #d7eadc; background: var(--qv-green-soft); color: var(--qv-green); }
.qv-list--result .is-review { border-color: #ece3df; background: #fbf6f3; color: #8e5e48; }

.qv-validator-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 22px;
    background: var(--qv-accent);
    color: #fff;
    box-shadow: 0 18px 36px rgba(47,45,212,.22);
}

.qv-validator-core span { font-size: 8px; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }
.qv-validator-core strong { margin: 2px 0 -2px; font-size: 30px; line-height: 1; }
.qv-validator-core small { font-size: 9px; opacity: .8; }

.qv-validator-card__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    border-top: 1px solid #ececf1;
    color: #86868f;
    font-size: 10px;
    font-weight: 700;
}

.qv-validator-card__foot strong { color: var(--qv-accent); }
.qv-validator-card__foot i { color: #b1b1ba; font-style: normal; }

/* REASONS */
.qv-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.qv-reason-card {
    padding: 28px;
    border: 1px solid var(--qv-border);
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 28px rgba(35,35,50,.035);
}

.qv-reason-card > span,
.qv-step-num {
    color: var(--qv-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.qv-reason-card h3,
.qv-steps h3,
.qv-scenario-card h3 {
    margin: 26px 0 0;
    color: var(--qv-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
}

.qv-reason-card p,
.qv-steps p,
.qv-scenario-card p {
    margin: 10px 0 0;
    color: var(--qv-text);
    font-size: 14px;
    line-height: 1.68;
}

/* STEPS */
.qv-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.qv-steps article {
    min-height: 318px;
    padding: 28px;
    border: 1px solid var(--qv-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(30,30,42,.045);
}

.qv-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-top: 30px;
    border-radius: 18px;
    background: var(--qv-accent-soft);
    color: var(--qv-accent);
}

.qv-step-icon--base { flex-direction: column; gap: 6px; }
.qv-step-icon--base span { width: 36px; height: 5px; border-radius: 8px; background: currentColor; opacity: .75; }
.qv-step-icon--base span:nth-child(2) { width: 27px; opacity: .5; }
.qv-step-icon--check strong { font-size: 30px; line-height: 1; }
.qv-step-icon--send span { font-size: 34px; line-height: 1; }
.qv-steps h3 { margin-top: 22px; }

/* SCENARIOS */
.qv-scenarios {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.qv-scenario-card {
    min-height: 224px;
    padding: 24px;
    border: 1px solid var(--qv-border);
    border-radius: 16px;
    background: #fff;
}

.qv-scenario-card > span {
    display: inline-flex;
    padding: 6px 8px;
    border-radius: 7px;
    background: var(--qv-accent-soft);
    color: var(--qv-accent);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.qv-scenario-card h3 { margin-top: 24px; }

/* PRICE */
.qv-price-card {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(250px,.75fr);
    gap: 48px;
    align-items: center;
    padding: 48px 54px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 15%, rgba(87,85,255,.26), rgba(87,85,255,0) 31%),
        linear-gradient(135deg, #171722 0%, #222238 100%);
    color: #fff;
    box-shadow: 0 26px 62px rgba(22,22,34,.15);
}

.qv-price-card h2 {
    max-width: 650px;
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(32px,3.8vw,48px);
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 750;
}

.qv-price-card p {
    max-width: 670px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

.qv-price-card small {
    display: block;
    margin-top: 18px;
    color: rgba(255,255,255,.48);
    font-size: 12px;
    line-height: 1.5;
}

.qv-price-card__number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
}

.qv-price-card__number strong {
    color: #fff;
    font-size: 84px;
    line-height: .9;
    letter-spacing: -.07em;
    font-weight: 780;
}

.qv-price-card__number span { margin-top: 12px; color: #d7d6ff; font-size: 15px; font-weight: 750; }

/* FLOW + RELATED */
.qv-flow-block {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr);
    gap: 56px;
    align-items: center;
}

.qv-related-links {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.qv-related-links a {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--qv-border);
    text-decoration: none !important;
}

.qv-related-links a:last-child { border-bottom: 1px solid var(--qv-border); }
.qv-related-links span { color: #85847f; font-size: 11px; }
.qv-related-links strong { color: var(--qv-ink); font-size: 14px; }
.qv-related-links b { color: var(--qv-accent); font-size: 12px; }

.qv-process {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 24px;
    border: 1px solid #dedee7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(30,30,45,.08);
}

.qv-process > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 132px;
    padding: 16px 13px;
    border: 1px solid #e7e7ec;
    border-radius: 14px;
    background: #fafafd;
    text-align: center;
}

.qv-process > div.is-accent { border-color: var(--qv-accent); background: var(--qv-accent); color: #fff; }
.qv-process > i { color: #aaaab4; font-style: normal; }
.qv-process span { color: var(--qv-accent); font-size: 10px; font-weight: 800; }
.qv-process .is-accent span { color: #d9d8ff; }
.qv-process strong { margin-top: 10px; color: var(--qv-ink); font-size: 13px; }
.qv-process .is-accent strong { color: #fff; }
.qv-process small { margin-top: 4px; color: #898992; font-size: 9px; }
.qv-process .is-accent small { color: rgba(255,255,255,.68); }

/* RESPONSIBLE USE */
.qv-responsible {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 30px;
    align-items: start;
}

.qv-responsible__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: var(--qv-accent-soft);
    color: var(--qv-accent);
    font-size: 34px;
    font-weight: 800;
}

/* FINAL */
.qv-final { padding: 44px 0 86px; }

.qv-final__card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 42px 46px;
    border-radius: 26px;
    background: linear-gradient(135deg, #2f2dd4 0%, #4c45e6 100%);
    color: #fff;
    box-shadow: 0 24px 58px rgba(47,45,212,.2);
}

.qv-final__card > div > span { color: #d9d8ff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.qv-final__card h2 { max-width: 700px; margin: 12px 0 0; color: #fff; font-size: clamp(30px,3.6vw,44px); line-height: 1.08; letter-spacing: -.04em; font-weight: 750; }
.qv-final__card p { max-width: 720px; margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; }

@media (max-width: 980px) {
    .qv-hero__grid { grid-template-columns: 1fr; gap: 42px; }
    .qv-hero__visual { max-width: 620px; }
    .qv-scenarios { grid-template-columns: repeat(2,1fr); }
    .qv-flow-block { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 760px) {
    .qv-page .qw-product-container { width: min(100% - 32px, var(--qps-container)); }
    .qv-page .qw-product-hero h1 { font-size: 39px; }
    .qv-page .qw-product-lead { font-size: 16px; }
    .qv-page .qw-product-button { width: 100%; }
    .qv-page .qw-product-actions { display: grid; grid-template-columns: 1fr; }
    .qv-page .qw-product-meta { display: grid; gap: 7px; }
    .qv-page .qw-product-section { padding: var(--qps-section-pad-mobile) 0; }

    .qv-hero { padding-top: 58px; }
    .qv-reasons,
    .qv-steps { grid-template-columns: 1fr; }
    .qv-steps article { min-height: 0; }
    .qv-price-card { grid-template-columns: 1fr; padding: 36px 30px; }
    .qv-price-card__number { min-height: 170px; }
    .qv-related-links a { grid-template-columns: 1fr; gap: 5px; }
    .qv-process { grid-template-columns: 1fr; }
    .qv-process > i { transform: rotate(90deg); text-align: center; }
    .qv-process > div { min-height: 92px; }
    .qv-responsible { grid-template-columns: 1fr; gap: 20px; }
    .qv-final__card { grid-template-columns: 1fr; padding: 34px 28px; }
}

@media (max-width: 520px) {
    .qv-page .qw-product-hero h1 { font-size: 34px; }
    .qv-validator-card__body { grid-template-columns: 1fr; }
    .qv-validator-core { width: 84px; margin: 2px auto; }
    .qv-scenarios { grid-template-columns: 1fr; }
    .qv-scenario-card { min-height: 0; }
    .qv-price-card__number strong { font-size: 70px; }
}
