/* QWERTYMAIL — homepage only. Optimized: legacy blocks removed. */

.qwerty-home {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: 0;
    background: var(--qw-bg);
    overflow: hidden;
}

.qm-bg-hero__badge,
.qwerty-section-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 7px 13px;
    border-radius: var(--qw-radius-pill);
    background: var(--qw-accent-soft);
    color: var(--qw-accent);
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.qm-bg-hero__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: var(--qw-radius-sm);
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.qm-bg-hero__btn:hover {
    transform: none;
}

.qm-bg-hero__btn--primary{
    color: #fff;
    background: var(--qw-accent);
    border-color: var(--qw-accent);
    box-shadow: 0 10px 26px rgba(47, 45, 212, 0.16);
}

.qm-bg-hero__btn--primary:hover{
    background: var(--qw-accent-hover);
    border-color: var(--qw-accent-hover);
}

.qm-bg-hero__btn--secondary {
    color: var(--qw-text);
    background: #fff;
    border-color: var(--qw-border);
    box-shadow: var(--qw-shadow-sm);
}

.qm-bg-hero__btn--secondary:hover {
    color: var(--qw-accent);
    border-color: var(--qw-accent-border);
}

.qwerty-section-head {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.qwerty-section-head h2 {
    margin: 14px 0 0;
    color: var(--qw-heading);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.qwerty-section-head p {
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--qw-muted);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

.qm-bg-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    padding: 0 24px 46px;
    background: var(--qw-bg-white);
}

.qm-bg-hero::before {
    content: "";
    position: absolute;
    inset: 0 24px 46px;
    max-width: var(--qw-container-wide);
    margin: 0 auto;
    border-radius: var(--qw-radius-xl);
    background-image: url("https://qwertymail.ru/wp-content/uploads/2026/06/hero-black_.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border: 1px solid var(--qw-border-soft);
    box-shadow: 0 18px 60px rgba(48,43,43,.055);
    pointer-events: none;
}

.qm-bg-hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--qw-container-wide);
    min-height: 566px;
    margin: 0 auto;
    padding: 0 46px;
}

.qm-bg-hero__content {
    width: 100%;
    max-width: 610px;
    padding: 64px 0;
}

.qm-bg-hero h1 {
    margin: 18px 0 18px;
    color: var(--qw-heading);
    font-size: 54px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.055em;
}

.qm-bg-hero p {
    max-width: 560px;
    margin: 0;
    color: var(--qw-muted-2);
    font-size: 18px;
    line-height: 1.62;
    font-weight: 400;
}

.qm-bg-hero__seo-link {
    color: inherit !important;
    font-weight: 650;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,.36) !important;
}
.qm-bg-hero__seo-link:hover { text-decoration-color: currentColor !important; }

.qm-bg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 34px;
}


body .qm-bg-hero {
    background: var(--qw-bg);
    min-height: 650px;
    padding: 0 24px 46px;
}

body .qm-bg-hero::before {
    background-color: #080716;
    inset: 0 24px 46px;
    background-image: url("https://qwertymail.ru/wp-content/uploads/2026/06/hero-black_.png");
    background-size: cover;
    background-position: center center;
}

body .qm-bg-hero__badge {
    background: rgba(47, 45, 212, 0.22);
    border: 1px solid rgba(185, 184, 255, 0.18);
    color: #b9b8ff;
}

body .qm-bg-hero h1 {
    color: #ffffff;
    font-weight: 750;
}

body .qm-bg-hero p {
    color: rgba(255, 255, 255, 0.72);
}

body .qm-bg-hero__btn--primary {
    box-shadow: 0 14px 34px rgba(47, 45, 212, 0.34);
}

body .qm-bg-hero__btn--secondary {
    color: #151322;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 14px 34px rgba(6, 3, 21, 0.16);
}

@media (max-width: 1199px){
.qm-bg-hero h1 {
    font-size: 48px;
}

.qm-bg-hero__container {
    padding: 0 34px;
}
}

@media (max-width: 991px){
.qm-bg-hero {
    min-height: auto;
    padding: 24px 16px 42px;
}

.qm-bg-hero::before {
    inset: 24px 16px 42px;
    background-image: linear-gradient(180deg, rgba(6, 3, 21, 0.96) 0%, rgba(6, 3, 21, 0.90) 48%, rgba(6, 3, 21, 0.62) 100%), url("https://qwertymail.ru/wp-content/uploads/2026/06/hero-black_.png");
    background-size: cover;
    background-position: center center;
}

.qm-bg-hero__container {
    min-height: 560px;
    padding: 0 26px;
}

.qm-bg-hero__content {
    max-width: 100%;
    padding: 52px 0;
}

.qm-bg-hero h1,
    .qwerty-section-head h2{
    font-size: 40px;
}

.qm-bg-hero p {
    font-size: 17px;
}
}

@media (max-width: 767px){
.qm-bg-hero__container {
    min-height: 540px;
    padding: 0 18px;
}

.qm-bg-hero__content {
    padding: 42px 0;
}

.qm-bg-hero h1,
    .qwerty-section-head h2{
    font-size: 32px;
    letter-spacing: -0.045em;
}

.qm-bg-hero p,
    .qwerty-section-head p{
    font-size: 15px;
    line-height: 1.6;
}

.qm-bg-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.qm-bg-hero__btn {
    width: 100%;
    min-height: 48px;
}


}

@media (max-width: 479px){
.qm-bg-hero {
    padding: 16px 12px 34px;
}

.qm-bg-hero::before {
    inset: 16px 12px 34px;
    border-radius: 18px;
}

.qm-bg-hero__container {
    min-height: 520px;
    padding: 0 16px;
}

.qm-bg-hero h1 {
    font-size: 29px;
}

.qwerty-section-head {
    margin-bottom: 22px;
}

.qwerty-section-head h2 {
    font-size: 28px;
}
}


.qwerty-home-faq {
    padding: 42px 24px 72px;
    background: var(--qw-bg-white);
}

.qwerty-home-faq__inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.qwerty-home-faq__list {
    display: grid;
    gap: 10px;
}

.qwerty-home-faq details {
    border: 1px solid var(--qw-border-soft);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(48, 43, 43, 0.035);
}

.qwerty-home-faq summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    color: var(--qw-heading);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.qwerty-home-faq summary::-webkit-details-marker {
    display: none;
}

.qwerty-home-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: var(--qw-accent);
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
}

.qwerty-home-faq details[open] summary::after {
    content: "−";
}

.qwerty-home-faq details p {
    margin: 0;
    padding: 0 22px 21px;
    color: var(--qw-muted-2);
    font-size: 15px;
    line-height: 1.68;
}

.qwerty-home-faq details a {
    color: var(--qw-accent);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px){
.qwerty-home-faq {
        padding: 34px 16px 54px;
    }
}

@media (max-width: 479px){
.qwerty-home-faq summary {
        padding: 18px 48px 18px 18px;
        font-size: 15px;
    }

.qwerty-home-faq details p {
        padding: 0 18px 18px;
    }
}

.qm-bg-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.45;
}

.qm-bg-hero__meta span {
    position: relative;
    padding-left: 14px;
}

.qm-bg-hero__meta span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8f8cff;
    box-shadow: 0 0 0 4px rgba(143,140,255,.11);
}

.qm-home-products,
.qm-home-proof,
.qm-home-audience,
.qm-home-scenarios,
.qm-home-services {
    padding: 78px 24px;
    background: var(--qw-bg);
}

.qm-home-products__inner,
.qm-home-proof__inner,
.qm-home-audience__inner,
.qm-home-scenarios__inner,
.qm-home-services__inner {
    width: 100%;
    max-width: var(--qw-container-wide);
    margin: 0 auto;
}

/* Bento v2: explicit placement prevents auto-placement collisions and keeps both rows aligned. */
.qm-home-products {
    padding-top: 54px;
}

.qm-home-products .qwerty-section-head {
    margin-bottom: 0;
}

.qm-home-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, 500px);
    gap: 20px;
    margin-top: 30px;
}

.qm-home-bento-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(47,45,212,.09);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(127,99,255,.12), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    box-shadow: 0 22px 60px rgba(48,43,43,.06);
    isolation: isolate;
}

.qm-home-bento-card--builder {
    grid-column: 1 / span 7;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
}

.qm-home-bento-card--triggers {
    grid-column: 8 / -1;
    grid-row: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.qm-home-bento-card--analytics {
    grid-column: 1 / span 5;
    grid-row: 2;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.qm-home-bento-card--smtp {
    grid-column: 6 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
}

.qm-home-bento-card__copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
}

.qm-home-bento-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #5551d8;
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qm-home-bento-card__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7d78ff, #a36fff);
    box-shadow: 0 0 0 5px rgba(93,87,235,.08);
}

.qm-home-bento-card__copy h3 {
    margin: 0;
    color: var(--qw-heading);
    font-size: clamp(27px, 2.15vw, 35px);
    line-height: 1.04;
    font-weight: 750;
    letter-spacing: -.045em;
}

.qm-home-bento-card__copy p {
    max-width: 420px;
    margin: 16px 0 0;
    color: var(--qw-muted-2);
    font-size: 15px;
    line-height: 1.62;
}

.qm-home-bento-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.qm-home-bento-card__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(47,45,212,.12);
    border-radius: 999px;
    background: rgba(47,45,212,.055);
    color: #4a47ce;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

.qm-home-bento-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    color: var(--qw-accent);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.qm-home-bento-card__link span {
    transition: transform .2s ease;
}

.qm-home-bento-card__link:hover span {
    transform: translateX(4px);
}

/* Product visual is now a cropped UI scene rather than a second full card/poster. */
.qm-home-bento-card__visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    margin: 18px;
    border: 1px solid rgba(79,72,218,.08);
    border-radius: 22px;
    background:
        radial-gradient(circle at 80% 12%, rgba(130,112,255,.24), transparent 34%),
        linear-gradient(145deg, #f4f3ff 0%, #ececff 100%);
    box-shadow: 0 18px 42px rgba(47,45,212,.09);
}

.qm-home-bento-card--builder .qm-home-bento-card__visual,
.qm-home-bento-card--smtp .qm-home-bento-card__visual {
    margin-left: 0;
}

.qm-home-bento-card--triggers .qm-home-bento-card__visual,
.qm-home-bento-card--analytics .qm-home-bento-card__visual {
    margin-top: 0;
}

.qm-home-bento-card__visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
    border-radius: inherit;
}

.qm-home-bento-card__visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 20%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(236,236,255,.2));
}

.qm-home-bento-card__visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 40%;
    transform: scale(1.035);
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.qm-home-bento-card:hover .qm-home-bento-card__visual img {
    transform: scale(1.065);
}

.qm-home-bento-card--triggers .qm-home-bento-card__visual img {
    object-position: 50% 34%;
}

.qm-home-bento-card--analytics .qm-home-bento-card__visual img {
    object-position: 50% 28%;
}

.qm-home-bento-card--smtp .qm-home-bento-card__visual img {
    object-position: 50% 36%;
}


.qm-home-more-tools {
    margin-top: 42px;
    padding: 28px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--qw-shadow-sm);
}

.qm-home-more-tools__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.qm-home-more-tools__head h3 {
    margin: 0;
    color: var(--qw-heading);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.qm-home-more-tools__head > a {
    flex: 0 0 auto;
    color: var(--qw-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qm-home-more-tools__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.qm-home-more-tools__grid > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 16px;
    background: #fafafa;
    color: var(--qw-text);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.qm-home-more-tools__grid > a:hover {
    border-color: var(--qw-accent-border);
    background: var(--qw-accent-soft);
}


.qm-home-more-tools__grid strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.qm-home-more-tools__grid small {
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--qw-muted);
    font-size: 11px;
    line-height: 1.2;
}

.qm-home-free {
    padding: 14px 24px 82px;
    background: var(--qw-bg);
}

.qm-home-free__inner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, .78fr);
    grid-template-areas:
        "copy visual"
        "facts visual"
        "action visual"
        "trust visual";
    gap: 22px 34px;
    align-items: center;
    width: 100%;
    max-width: var(--qw-container-wide);
    min-height: 510px;
    margin: 0 auto;
    padding: 48px 50px 42px;
    overflow: hidden;
    border: 1px solid rgba(126,101,255,.28);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 79% 46%, rgba(121,61,255,.46) 0, rgba(80,34,215,.24) 23%, transparent 52%),
        radial-gradient(circle at 18% 5%, rgba(58,68,255,.18), transparent 35%),
        linear-gradient(118deg, #04051b 0%, #0a0725 38%, #16083f 66%, #2a0c72 100%);
    box-shadow: 0 26px 76px rgba(23,15,73,.24);
}

.qm-home-free__inner::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(129,112,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129,112,255,.12) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,.78) 1px, transparent 1.4px);
    background-size: 46px 46px, 46px 46px, 22px 22px;
    background-position: right bottom, right bottom, 80% 10%;
    mask-image: linear-gradient(90deg, transparent 15%, rgba(0,0,0,.35) 58%, #000 100%);
}

.qm-home-free__inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -180px;
    bottom: -260px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(128,73,255,.28), rgba(77,36,255,.08) 48%, transparent 70%);
    filter: blur(8px);
}

.qm-home-free__copy,
.qm-home-free__facts,
.qm-home-free__action,
.qm-home-free__trust,
.qm-home-free__visual {
    position: relative;
    z-index: 2;
}

.qm-home-free__copy {
    grid-area: copy;
    max-width: 760px;
}

.qm-home-free__eyebrow {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 7px;
    border: 1px solid rgba(150,124,255,.34);
    border-radius: 999px;
    background: rgba(87,57,181,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    color: #cfc9ff;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.qm-home-free__eyebrow b {
    display: inline-flex;
    min-width: 43px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2738ff, #7a42ff);
    box-shadow: 0 5px 18px rgba(79,52,255,.35);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0;
}

.qm-home-free h2 {
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(38px, 4.15vw, 58px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.qm-home-free h2 em {
    font-style: normal;
    color: #a98bff;
    background: linear-gradient(90deg, #d6c7ff 0%, #a97dff 30%, #7657ff 68%, #b58cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qm-home-free__copy p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(242,240,255,.72);
    font-size: 15px;
    line-height: 1.6;
}

.qm-home-free__facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.qm-home-free__facts article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 14px 13px;
    border: 1px solid rgba(167,146,255,.16);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}

.qm-home-free__facts article:hover {
    transform: translateY(-2px);
    border-color: rgba(174,151,255,.34);
    background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
}

.qm-home-free__facts img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(72,50,255,.28));
}

.qm-home-free__facts strong,
.qm-home-free__facts span {
    display: block;
}

.qm-home-free__facts strong {
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.26;
    letter-spacing: -.015em;
}

.qm-home-free__facts span {
    margin-top: 5px;
    color: rgba(233,230,255,.56);
    font-size: 9.5px;
    line-height: 1.4;
}

.qm-home-free__action {
    grid-area: action;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.qm-home-free__action a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.qm-home-free__action a:hover {
    transform: translateY(-1px);
}

.qm-home-free__primary {
    min-width: 190px;
    color: #fff;
    background: linear-gradient(135deg, #2436f5 0%, #4e24ff 52%, #8d5cff 100%);
    box-shadow: 0 14px 34px rgba(75,42,255,.35), inset 0 1px 0 rgba(255,255,255,.18);
}

.qm-home-free__primary:hover {
    box-shadow: 0 18px 38px rgba(75,42,255,.45), inset 0 1px 0 rgba(255,255,255,.2);
}

.qm-home-free__primary span {
    font-size: 19px;
    font-weight: 400;
}

.qm-home-free__secondary {
    border: 1px solid rgba(167,146,255,.22);
    color: #eae7ff;
    background: rgba(255,255,255,.04);
}

.qm-home-free__secondary:hover {
    border-color: rgba(178,159,255,.42);
}

.qm-home-free__trust {
    grid-area: trust;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin: -4px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(230,226,255,.61);
    font-size: 10.5px;
    line-height: 1.3;
}

.qm-home-free__trust li {
    position: relative;
    padding-left: 17px;
}

.qm-home-free__trust li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(156,135,255,.62);
    border-radius: 50%;
    background: radial-gradient(circle at center, #8d70ff 0 2px, transparent 2.5px);
    transform: translateY(-50%);
}

.qm-home-free__visual {
    grid-area: visual;
    align-self: stretch;
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    margin: -18px -20px -18px 0;
}

.qm-home-free__visual::before {
    content: "";
    position: absolute;
    width: min(390px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(115,66,255,.38) 0, rgba(64,35,211,.18) 42%, transparent 70%);
    filter: blur(10px);
}

.qm-home-free__visual img {
    position: relative;
    z-index: 2;
    width: min(430px, 115%);
    height: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 28px 45px rgba(34,16,116,.45));
    transform: translateX(5%);
}

.qm-home-free__orbit {
    position: absolute;
    z-index: 1;
    width: 390px;
    height: 132px;
    border: 1px solid rgba(194,181,255,.30);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.qm-home-free__orbit--two {
    width: 340px;
    height: 115px;
    border-color: rgba(111,102,255,.22);
    transform: rotate(19deg);
}

.qm-home-proof {
    padding-top: 72px;
}

.qm-home-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.qm-home-proof__grid article {
    position: relative;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--qw-border-soft);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--qw-shadow-sm);
}

.qm-home-proof__grid b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
    background: var(--qw-accent-soft);
    color: var(--qw-accent);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.03em;
}

.qm-home-proof__grid h3 {
    margin: 28px 0 0;
    color: var(--qw-heading);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.qm-home-proof__grid p {
    margin: 10px 0 0;
    color: var(--qw-muted);
    font-size: 14px;
    line-height: 1.55;
}

.qm-home-audience__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 34px auto 20px;
}

.qm-home-audience__tabs button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--qw-border);
    border-radius: 999px;
    background: #fff;
    color: var(--qw-muted-2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.qm-home-audience__tabs button[aria-selected="true"] {
    border-color: var(--qw-accent);
    background: var(--qw-accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(47,45,212,.16);
}

.qm-home-audience__panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    min-height: 410px;
    padding: 48px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 14%, rgba(169,125,255,.14), transparent 28%),
        #fff;
    box-shadow: var(--qw-shadow);
}

.qm-home-audience__panel[hidden] {
    display: none !important;
}

.qm-home-audience__copy > span {
    display: inline-block;
    color: var(--qw-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.qm-home-audience__copy h3 {
    max-width: 520px;
    margin: 13px 0 0;
    color: var(--qw-heading);
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.qm-home-audience__copy p {
    max-width: 530px;
    margin: 16px 0 0;
    color: var(--qw-muted-2);
    font-size: 15px;
    line-height: 1.65;
}

.qm-home-audience__tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.qm-home-audience__tool-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--qw-accent-soft);
    color: var(--qw-accent);
    font-size: 11px;
    font-weight: 650;
}

.qm-home-audience__copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--qw-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qm-home-audience__flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    background: #f5f5ff;
    border: 1px solid rgba(47,45,212,.08);
}

.qm-home-audience__step {
    min-height: 132px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(48,43,43,.045);
}

.qm-home-audience__step span,
.qm-home-audience__step strong {
    display: block;
}

.qm-home-audience__step span {
    color: #8d8be5;
    font-size: 12px;
    font-weight: 800;
}

.qm-home-audience__step strong {
    margin-top: 38px;
    color: var(--qw-heading);
    font-size: 14px;
    line-height: 1.25;
}

.qm-home-audience__flow i {
    color: #7774e9;
    font-size: 18px;
    font-style: normal;
}

.qm-home-scenarios__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.qm-home-scenario {
    display: flex;
    flex-direction: column;
    min-height: 350px;
    padding: 22px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--qw-shadow-sm);
}

.qm-home-scenario > img {
    display: block;
    width: 100%;
    height: 142px;
    object-fit: cover;
    border-radius: 16px;
    background: #f1f1ff;
}

.qm-home-scenario > div {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
}

.qm-home-scenario h3 {
    margin: 20px 0 0;
    color: var(--qw-heading);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.qm-home-scenario p {
    margin: 10px 0 0;
    color: var(--qw-muted);
    font-size: 13px;
    line-height: 1.58;
}

.qm-home-scenario a {
    margin-top: auto;
    padding-top: 20px;
    color: var(--qw-accent);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.qm-home-services {
    padding-top: 24px;
}

.qm-home-services__inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--qw-shadow);
}

.qm-home-services__copy > span {
    color: var(--qw-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.qm-home-services__copy h2 {
    margin: 13px 0 0;
    color: var(--qw-heading);
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.qm-home-services__copy p {
    max-width: 460px;
    margin: 15px 0 0;
    color: var(--qw-muted-2);
    font-size: 15px;
    line-height: 1.62;
}

.qm-home-services__copy a {
    display: inline-flex;
    gap: 8px;
    margin-top: 24px;
    color: var(--qw-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qm-home-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.qm-home-services__grid div {
    min-height: 118px;
    padding: 20px;
    border: 1px solid var(--qw-border-soft);
    border-radius: 18px;
    background: #fafafa;
}

.qm-home-services__grid strong,
.qm-home-services__grid span {
    display: block;
}

.qm-home-services__grid strong {
    color: var(--qw-heading);
    font-size: 15px;
    line-height: 1.3;
}

.qm-home-services__grid span {
    margin-top: 8px;
    color: var(--qw-muted);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 1100px){
.qm-home-bento {
        grid-template-rows: repeat(2, 470px);
    }

.qm-home-bento-card--builder,
    .qm-home-bento-card--smtp {
        grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr);
    }

.qm-home-bento-card__copy {
        padding: 28px;
    }

.qm-home-more-tools__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.qm-home-free__inner {
        grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
        gap: 20px 24px;
        padding: 44px 38px 38px;
    }

.qm-home-free__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.qm-home-free__visual img {
        width: min(390px, 120%);
    }

.qm-home-proof__grid,
    .qm-home-scenarios__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.qm-home-audience__panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px){
.qm-home-products,
    .qm-home-proof,
    .qm-home-audience,
    .qm-home-scenarios,
    .qm-home-services {
        padding: 62px 16px;
    }

.qm-home-products {
        padding-top: 48px;
    }

.qm-home-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
    }

.qm-home-bento-card--builder,
    .qm-home-bento-card--triggers,
    .qm-home-bento-card--analytics,
    .qm-home-bento-card--smtp {
        grid-column: auto;
        grid-row: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(250px, 1fr);
        min-height: 520px;
        height: auto;
    }

.qm-home-bento-card--builder .qm-home-bento-card__visual,
    .qm-home-bento-card--smtp .qm-home-bento-card__visual {
        margin: 0 18px 18px;
    }

.qm-home-bento-card__link {
        margin-top: 0;
    }

.qm-home-free {
        padding: 0 16px 64px;
    }

.qm-home-free__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "visual"
            "facts"
            "action"
            "trust";
        min-height: 0;
        padding: 40px 34px 34px;
    }

.qm-home-free__visual {
        min-height: 260px;
        margin: -28px 0 -26px;
    }

.qm-home-free__visual img {
        width: min(310px, 72vw);
        transform: none;
    }

.qm-home-free__orbit {
        width: 310px;
        height: 104px;
    }

.qm-home-free__orbit--two {
        width: 270px;
        height: 92px;
    }

.qm-home-services__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px){
.qm-bg-hero__meta {
        gap: 8px 12px;
    }

.qm-home-bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

.qm-home-bento-card--builder,
    .qm-home-bento-card--triggers,
    .qm-home-bento-card--analytics,
    .qm-home-bento-card--smtp {
        min-height: 500px;
    }

.qm-home-bento-card__copy {
        padding: 26px;
    }

.qm-home-bento-card__visual,
    .qm-home-bento-card--builder .qm-home-bento-card__visual,
    .qm-home-bento-card--smtp .qm-home-bento-card__visual {
        margin: 0 14px 14px;
        border-radius: 18px;
    }

.qm-home-bento-card__copy h3 {
        font-size: 27px;
    }

.qm-home-more-tools {
        padding: 20px;
        border-radius: 22px;
    }

.qm-home-more-tools__head {
        align-items: flex-start;
        flex-direction: column;
    }

.qm-home-more-tools__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.qm-home-free {
        padding: 0 16px 62px;
    }

.qm-home-free__inner {
        gap: 18px;
        padding: 32px 22px 28px;
        border-radius: 25px;
    }

.qm-home-free h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

.qm-home-free__copy p {
        font-size: 14px;
    }

.qm-home-free__visual {
        min-height: 230px;
        margin: -24px 0 -24px;
    }

.qm-home-free__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.qm-home-free__facts article {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 12px;
    }

.qm-home-free__facts img {
        width: 40px;
        height: 40px;
    }

.qm-home-free__action {
        align-items: stretch;
        flex-direction: column;
    }

.qm-home-free__action a {
        width: 100%;
    }

.qm-home-proof__grid,
    .qm-home-scenarios__grid,
    .qm-home-services__grid {
        grid-template-columns: 1fr;
    }

.qm-home-audience__tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

.qm-home-audience__tabs::-webkit-scrollbar {
        display: none;
    }

.qm-home-audience__tabs button {
        flex: 0 0 auto;
    }

.qm-home-audience__panel {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 24px;
    }

.qm-home-audience__copy h3 {
        font-size: 27px;
    }

.qm-home-audience__flow {
        grid-template-columns: 1fr;
        padding: 18px;
    }

.qm-home-audience__flow i {
        transform: rotate(90deg);
        justify-self: center;
    }

.qm-home-audience__step {
        min-height: 92px;
    }

.qm-home-audience__step strong {
        margin-top: 20px;
    }

.qm-home-services__inner {
        padding: 30px 22px;
        border-radius: 24px;
    }

.qm-home-services__copy h2 {
        font-size: 29px;
    }
}

@media (max-width: 420px){
.qm-home-more-tools__grid {
        grid-template-columns: 1fr;
    }

.qm-home-bento-card--builder,
    .qm-home-bento-card--triggers,
    .qm-home-bento-card--analytics,
    .qm-home-bento-card--smtp {
        min-height: 470px;
    }

.qm-home-bento-card__visual {
        min-height: 230px;
    }
}

.qm-home-more-tools__grid > a {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 96px;
    padding: 14px 86px 14px 14px;
    overflow: hidden;
}

.qm-home-more-tools__thumb {
    position: absolute;
    right: -14px;
    bottom: -4px;
    width: 102px;
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    opacity: .94;
    transition: transform .22s ease, opacity .22s ease;
}

.qm-home-more-tools__grid > a:hover .qm-home-more-tools__thumb {
    transform: translateY(-3px);
    opacity: 1;
}

.qm-home-more-tools__grid strong,
.qm-home-more-tools__grid small {
    position: relative;
    z-index: 1;
    white-space: normal;
}

@media (max-width: 1100px){
.qm-home-more-tools__grid > a {
        min-height: 92px;
    }
}

@media (max-width: 700px){
.qm-home-more-tools__grid > a {
        min-height: 94px;
        padding-right: 82px;
    }

.qm-home-more-tools__thumb {
        width: 96px;
    }
}

@media (max-width: 520px) {
    .qm-home-free__facts {
        grid-template-columns: 1fr;
    }

    .qm-home-free__visual {
        min-height: 205px;
    }

    .qm-home-free__visual img {
        width: min(270px, 84vw);
    }

    .qm-home-free__trust {
        gap: 8px 14px;
    }
}

.qm-home-proof__link { color: inherit !important; text-decoration: none !important; }
.qm-home-proof__link:hover { color: var(--qw-accent) !important; }
