:root {
    color-scheme: light;
    --purple: #7a5fc6;
    --purple-dark: #6b58d6;
    --purple-blue: #7282e8;
    --yellow: #ffe64d;
    --ink: #26384d;
    --muted: #64748b;
    --soft: #eef4ff;
    --panel: #ffffff;
    --line: rgba(121, 126, 191, .18);
    --shadow: 0 22px 70px rgba(76, 84, 160, .18);
    --error: #b42318;
    --success: #126b45;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #eef4ff;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 522px;
    padding: 32px 16px 72px;
    background: linear-gradient(118deg, var(--purple-blue), #855bb1);
    color: #fff;
}

.nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1232px, 100%);
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 900;
}

.brand__icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    font-size: 20px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    margin: 66px auto 0;
    text-align: center;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: 72px;
    line-height: .98;
    letter-spacing: 0;
}

h1 span {
    display: block;
    color: var(--yellow);
}

.hero__content p {
    margin: 0 auto;
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.28;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.stats span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 800;
}

.bubble {
    position: absolute;
    border-radius: 999px;
    opacity: .34;
}

.bubble--left {
    left: 40px;
    top: 80px;
    width: 80px;
    height: 80px;
    background: #aab7ff;
}

.bubble--right {
    right: 80px;
    top: 148px;
    width: 64px;
    height: 64px;
    background: #d2b17e;
}

.section {
    width: min(1110px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

.section__heading {
    max-width: 740px;
    margin: 0 auto 54px;
    text-align: center;
}

.section__heading h2 {
    margin-bottom: 18px;
    color: var(--purple-dark);
    font-size: 48px;
    line-height: 1.12;
}

.section__heading p {
    color: #2d4b68;
    font-size: 23px;
    line-height: 1.35;
}

.browser-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(rgba(124, 133, 226, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 133, 226, .055) 1px, transparent 1px),
        rgba(255, 255, 255, .7);
    background-size: 22px 22px;
    box-shadow: var(--shadow);
}

.browser-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
}

.browser-card h3 {
    margin-bottom: 0;
    color: #94a0b2;
    font-size: 24px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #f1b7bd;
}

.dots span:nth-child(2) {
    background: #f2dc7b;
}

.dots span:nth-child(3) {
    background: #9adbb8;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product {
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 38px rgba(112, 125, 190, .11);
}

.product img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.6;
    object-fit: cover;
    border-radius: 7px;
    filter: saturate(.92) contrast(.96) brightness(1.03);
}

.product h4 {
    margin: 18px 0 8px;
    color: #7d8799;
    font-size: 17px;
}

.product p {
    margin-bottom: 14px;
    color: #a7b0bf;
    font-weight: 700;
}

.product__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.product__meta strong {
    color: #b7c8ff;
}

.product__meta span {
    color: #9aa5b5;
}

.primary-button,
.signup button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(118deg, #6f7ff0, #8a57b4);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

button {
    font: inherit;
}

.primary-button--center {
    width: fit-content;
    margin: 34px auto 0;
}

.cta-band {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 78px 16px;
    background: linear-gradient(118deg, var(--purple-blue), #855bb1);
    color: #fff;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: .24;
}

.cta-band::before {
    width: 104px;
    height: 104px;
    left: 7%;
    top: 38px;
    background: #aab7ff;
}

.cta-band::after {
    width: 78px;
    height: 78px;
    right: 9%;
    bottom: 52px;
    background: #d2b17e;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    width: min(1110px, 100%);
    margin: 0 auto;
}

.cta-band h2 {
    max-width: 780px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 42px;
    line-height: 1.15;
}

.cta-band__inner > div > p {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 21px;
    line-height: 1.45;
}

.cta-band .primary-button {
    background: #fff;
    color: #6d55c9;
    box-shadow: 0 18px 42px rgba(43, 27, 92, .2);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal:target,
.modal.is-open {
    display: flex;
}

.modal--visible {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(23, 32, 42, .54);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5547a8;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.info-modal {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-modal--wide {
    width: min(620px, 100%);
    text-align: left;
}

.info-modal h3 {
    margin-bottom: 12px;
    color: #2f2b75;
    font-size: 28px;
}

.info-modal p {
    color: var(--muted);
    line-height: 1.6;
}

.info-modal .primary-button {
    margin-top: 8px;
}

.info-modal__icon {
    display: inline-grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: linear-gradient(118deg, #eef2ff, #f7edff);
    color: #745bd0;
}

.info-modal__icon svg,
.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.text-link {
    color: #6d55c9;
    font-weight: 900;
}

.signup {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.signup__header h3 {
    margin-bottom: 8px;
    color: #2f2b75;
    font-size: 27px;
}

.signup__header p {
    color: var(--muted);
    line-height: 1.45;
}

label {
    display: block;
    margin-top: 16px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #d8deea;
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
}

input[type="text"],
input[type="email"] {
    min-height: 46px;
    padding: 0 12px;
}

textarea {
    min-height: 118px;
    padding: 12px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(111, 127, 240, .18);
    border-color: #7b6fd6;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.check input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    accent-color: #735dd4;
    flex: 0 0 auto;
}

.signup button {
    width: 100%;
    margin-top: 20px;
}

.notice {
    margin: 16px 0 4px;
    padding: 12px;
    border-radius: 7px;
    font-weight: 800;
    line-height: 1.4;
}

.notice--success {
    background: #e7f6ef;
    color: var(--success);
}

.notice--error {
    background: #fdeceb;
    color: var(--error);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.benefits .section__heading {
    grid-column: 1 / -1;
    margin-bottom: 28px;
}

.benefits article {
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.benefits h3 {
    color: #2f2b75;
    font-size: 23px;
}

.benefit-icon {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(118deg, #eef2ff, #f7edff);
    color: #735dd4;
}

.benefits p {
    color: var(--muted);
    line-height: 1.55;
}

.footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px 32px;
    padding: 48px max(16px, calc((100vw - 1110px) / 2));
    background: #111827;
    color: #fff;
    text-align: center;
}

.footer .brand {
    justify-content: center;
    font-size: 24px;
}

.footer p {
    max-width: 620px;
    margin: 14px auto 0;
    color: #9ca3af;
    line-height: 1.5;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 18px;
    align-items: start;
    color: #9ca3af;
    font-weight: 800;
}

.footer__links a,
.footer__links button {
    min-height: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .45);
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-weight: 800;
}

@media (max-width: 920px) {
    h1 {
        font-size: 58px;
    }

    .hero__content p,
    .section__heading p {
        font-size: 20px;
    }

    .products,
    .benefits,
    .cta-band__inner,
    .footer {
        grid-template-columns: 1fr;
    }

    .cta-band__inner .primary-button {
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: auto;
        padding-bottom: 58px;
    }

    .brand {
        gap: 10px;
        font-size: 19px;
    }

    .brand__icon {
        width: 34px;
        height: 34px;
    }

    .ghost-button {
        min-height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }

    h1 {
        font-size: 44px;
    }

    .hero__content p {
        font-size: 18px;
    }

    .section,
    .cta-band {
        width: min(100% - 22px, 1110px);
        padding: 52px 0;
    }

    .cta-band {
        width: 100%;
        padding: 52px 11px;
    }

    .section__heading h2,
    .cta-band h2 {
        font-size: 34px;
    }

    .browser-card,
    .signup,
    .benefits article {
        padding: 20px;
    }
}
