@font-face {
    font-family: "Inter Variable";
    src: url("./assets/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Inter Variable";
    src: url("./assets/inter-cyrillic.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    color-scheme: light;
    --ink: #181d27;
    --ink-soft: #414651;
    --muted: #717680;
    --line: #e9eaeb;
    --surface: #fff;
    --surface-soft: #fafafa;
    --brand: #6941c6;
    --brand-hover: #53389e;
    --brand-soft: #f9f5ff;
    --brand-line: #e9d7fe;
    --radius: 12px;
    font-family: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
    text-wrap: balance;
}

h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    letter-spacing: -1.8px;
}

h2 {
    font-size: clamp(27px, 3vw, 36px);
    letter-spacing: -1px;
}

h3 {
    font-size: 18px;
    letter-spacing: -.35px;
}

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

button, input, select, textarea {
    font: inherit;
}

button, summary {
    cursor: pointer;
}

button, a, select, summary {
    -webkit-tap-highlight-color: transparent;
}

button:disabled {
    cursor: default;
    opacity: .5;
}

:focus-visible {
    outline: 3px solid #9e77ed;
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.container {
    max-width: none;
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 100;
    padding: 10px 18px;
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: #fffffff5;
    backdrop-filter: blur(12px);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.language-switch:hover {
    color: var(--brand);
}

.language-switch svg {
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -.6px;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: #fff;
    background: var(--ink);
    box-shadow: inset 0 1px 0 #ffffff38, 0 1px 2px #10182820;
    font-size: 21px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #535862;
    font-size: 14px;
    font-weight: 500;
}

.site-nav a:hover, .site-nav a[aria-current="location"], .site-footer a:hover {
    color: var(--brand);
}

.site-nav a[aria-current="location"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: background .15s, border-color .15s;
}

.button.primary {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: inset 0 1px 0 #ffffff20, 0 1px 2px #1018280d;
}

.button.primary:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}

.button.secondary {
    color: var(--ink-soft);
    background: #fff;
    border-color: #d5d7da;
    box-shadow: 0 1px 2px #1018280d;
}

.button.secondary:hover {
    background: var(--surface-soft);
}

.button.full {
    width: 100%;
}

.button.text {
    color: var(--muted);
    padding-inline: 0;
    background: transparent;
}

.button.text:hover {
    color: var(--brand);
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.hero {
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 80px;
}

.hero-copy {
    min-width: 0;
}

.hero h1 {
    max-width: 620px;
}

.hero-widget {
    min-width: 0;
}

.hero-widget .widget-chat {
    width: 100%;
    max-height: 520px;
    box-shadow: 0 12px 40px #20222a0d;
    font-family: inherit;
}

.hero-widget > .note {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
}

.hero-subtitle {
    margin: 22px 0 28px;
    max-width: 540px;
    color: #535862;
    font-size: 18px;
    line-height: 1.65;
}

.hero-cta {
    min-height: 48px;
    padding: 13px 22px;
    font-size: 15px;
}

.hero-helper {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.hero-trial {
    margin-top: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft);
}

.widget-placeholder {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--muted);
    text-align: center;
}

.setup-section {
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.setup-steps {
    --step-gap: 32px;
    --step-number-size: 36px;
    --step-connector-inset: calc(var(--step-number-size) / 2 + 16px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--step-gap);
    padding: 0;
    margin: 36px 0 0;
    list-style: none;
}

.setup-step-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.setup-number {
    display: grid;
    place-items: center;
    width: var(--step-number-size);
    height: var(--step-number-size);
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.setup-arrow {
    position: absolute;
    top: 50%;
    left: calc(50% + var(--step-connector-inset));
    width: calc(100% + var(--step-gap) - var(--step-connector-inset) - var(--step-connector-inset));
    transform: translateY(-50%);
    display: block;
    color: #b692f6;
}

.setup-arrow svg {
    display: block;
    width: 100%;
    height: 16px;
    overflow: visible;
}

.setup-visual {
    position: relative;
    height: 174px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f4f3f8;
    font-size: 12px;
    color: var(--ink-soft);
}

.setup-site, .setup-browser {
    width: 100%;
    max-width: 240px;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px #10182808;
}

.setup-url {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}

.setup-page-lines {
    display: grid;
    gap: 7px;
    padding: 15px;
}

.setup-page-lines i {
    height: 5px;
    border-radius: 3px;
    background: #e9eaeb;
}

.setup-page-lines i:first-child { width: 65%; background: #d6bbfb; }
.setup-page-lines i:last-child { width: 80%; }
.setup-caption { display: block; padding: 0 15px 12px; font-size: 10px; color: var(--muted); }
.setup-dialogue { align-items: stretch; }

.setup-question, .setup-answer {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    line-height: 1.4;
}

.setup-question { align-self: flex-end; border-color: var(--brand-line); background: var(--brand-soft); }
.setup-answer { display: flex; align-items: center; gap: 10px; align-self: flex-start; }
.setup-spark { display: flex; flex-shrink: 0; color: var(--brand); }
.setup-spark svg, .setup-chat-button svg { display: block; flex-shrink: 0; }
.setup-browser { position: relative; height: 102px; }
.setup-browser-bar { display: flex; gap: 4px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.setup-browser-bar i { width: 4px; height: 4px; border-radius: 50%; background: #d5d7da; }
.setup-browser .setup-page-lines { width: 75%; }
.setup-chat-button { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; }
.setup-online { font-size: 10px; color: var(--brand); }
.setup-steps h3 { margin-bottom: 12px; }
.setup-steps p { color: #535862; font-size: 14px; }

@media (max-width: 760px) {
    .setup-steps { grid-template-columns: 1fr; }
    .setup-arrow { display: none; }
    .setup-visual { margin-bottom: 18px; }
}

.problem-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
    padding: 40px 0;
}

.problem-layout {
    display: grid;
    grid-template-columns: .95fr 1fr;
    gap: 72px;
    align-items: center;
}

.problem-layout h2 {
    font-size: 26px;
    letter-spacing: -.65px;
}

.problem-copy {
    color: #535862;
}

.problem-copy p + p {
    margin-top: 10px;
}

.section {
    padding: 72px 0;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 32px;
}

.section-copy {
    margin-top: 16px;
    color: #535862;
    font-size: 16px;
}

.note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.value-calculator {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px #10182805;
}

.calculator-inputs {
    display: grid;
    gap: 25px;
    padding: 32px;
}

.range-field > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 13px;
}

.range-field label {
    color: var(--ink-soft);
    font-weight: 500;
}

.range-field output {
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.range-field input {
    display: block;
    width: 100%;
    height: 20px;
    margin: 12px 0 6px;
    accent-color: var(--brand);
    cursor: pointer;
}

.range-field .range-limits {
    color: var(--muted);
    font-size: 11px;
}

.calculator-result {
    padding: 32px;
    background: var(--brand-soft);
    border-left: 1px solid var(--brand-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-label {
    font-size: 13px;
    color: var(--brand);
    font-weight: 500;
}

.result-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 9px;
    margin: 8px 0;
}

.result-total output {
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1.6px;
    font-variant-numeric: tabular-nums;
}

.result-total span, .calculation {
    font-size: 12px;
    color: var(--muted);
}

.result-details {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--brand-line);
    font-size: 13px;
}

.result-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.result-details dt {
    color: #535862;
}

.result-details dd {
    margin: 0;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.break-even {
    margin-top: 20px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 500;
}

.calculator-note {
    margin-top: 12px;
    max-width: 880px;
}

.calculator-billing {
    margin-top: 12px;
}

.benefit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 36px;
}

.benefit-number {
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
}

.benefit-row h3 {
    margin: 9px 0;
    font-size: 16px;
}

.benefit-row p {
    max-width: 290px;
    color: #535862;
    font-size: 14px;
}

.sample-label {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 11px;
    color: #535862;
    background: var(--surface-soft);
}

.billing-switch {
    display: flex;
    gap: 4px;
    width: min(100%, 320px);
    min-width: 0;
    margin: 0 auto 36px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
}

.billing-option {
    position: relative;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.billing-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.billing-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.billing-option:hover input:not(:checked) + .billing-label {
    color: var(--brand);
    background: var(--brand-soft);
}

.billing-option input:checked + .billing-label {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 1px 3px #1018281a;
}

.billing-option input:focus-visible + .billing-label {
    outline: 3px solid #9e77ed;
    outline-offset: 2px;
}

.billing-discount {
    border-radius: 999px;
    padding: 2px 7px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 12px;
}

.billing-option input:checked + .billing-label .billing-discount {
    color: #fff;
    background: #ffffff26;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px #10182805;
}

.pricing-card.featured {
    border-color: #b692f6;
    background: #fdfbff;
}

.plan-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand);
}

.plan-cost {
    min-height: 84px;
    margin: 14px 0;
}

.price {
    font-size: 42px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -1.2px;
    font-variant-numeric: tabular-nums;
}

.price-billing {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 4px;
}

.pricing-card > p:not(.plan-name) {
    color: #535862;
    font-size: 13px;
    min-height: 64px;
}

.pricing-card .button {
    margin: 22px 0 8px;
}

.pricing-card ul {
    display: grid;
    gap: 12px;
    padding: 20px 0 0;
    margin: 12px 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.pricing-card li {
    position: relative;
    padding-left: 23px;
    font-size: 12px;
    color: #535862;
    line-height: 1.6;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-size: 14px;
}

.popular-badge {
    position: absolute;
    top: 26px;
    right: 20px;
    border: 1px solid var(--brand-line);
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--brand);
    background: #f4ebff;
    font-size: 10px;
    font-weight: 500;
}

.faq-section {
    border-top: 1px solid var(--line);
}

.faq-section > .container {
    display: grid;
    grid-template-columns: .65fr 1fr;
    gap: 64px;
}

.faq-section h2 {
    max-width: 300px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
    border-top: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--muted);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

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

.faq-list p {
    font-size: 13px;
    color: #535862;
    margin: -4px 28px 22px 0;
}

.final-cta {
    background: var(--brand-soft);
    border-block: 1px solid var(--brand-line);
}

.final-cta-content {
    text-align: center;
}

.final-cta .button {
    margin: 26px 0 12px;
}

.site-footer {
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    font-size: 11px;
    color: var(--muted);
}

.footer-content .brand {
    margin-right: auto;
    color: var(--ink);
    font-size: 16px;
}

.footer-content .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 17px;
    border-radius: 8px;
}

@media (max-width: 1000px) {
    .site-nav {
        gap: 18px;
    }
    .header-content {
        gap: 20px;
    }
    .header-actions {
        gap: 16px;
    }
    .problem-layout {
        gap: 32px;
    }
    .hero-content {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 32px;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pricing-card {
        padding: 26px 20px;
    }
    .pricing-card:last-child {
        grid-column: 1 / -1;
    }
    .faq-section > .container {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero h1, .hero-subtitle {
        margin-inline: auto;
    }
    .hero-widget {
        width: min(100%, 380px);
        margin-inline: auto;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }
    .header-content {
        min-height: 68px;
        flex-wrap: wrap;
        gap: 4px 12px;
        padding-top: 10px;
    }
    .header-actions {
        gap: 12px;
    }
    .site-nav {
        order: 1;
        width: 100%;
        justify-content: center;
        gap: 28px;
        font-size: 13px;
    }
    .site-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }
    .brand {
        font-size: 17px;
    }
    .header-cta {
        font-size: 12px;
        min-height: 40px;
        padding: 9px 12px;
        gap: 8px;
    }
    .hero {
        padding: 52px 0 44px;
    }
    h1 {
        letter-spacing: -1.1px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .problem-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .problem-layout h2 {
        font-size: 24px;
    }
    .problem-layout h2 br {
        display: none;
    }
    .problem-copy {
        font-size: 14px;
    }
    .section {
        padding: 48px 0;
    }
    .value-calculator {
        grid-template-columns: 1fr;
    }
    .calculator-result {
        border-left: 0;
        border-top: 1px solid var(--brand-line);
        padding: 24px;
    }
    .calculator-inputs {
        padding: 24px;
    }
    .benefit-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .benefit-row article {
        display: grid;
        grid-template-columns: 24px 1fr;
        column-gap: 12px;
    }
    .benefit-number {
        grid-row: 1 / 3;
        padding-top: 2px;
    }
    .benefit-row h3 {
        margin: 0 0 6px;
    }
    .benefit-row p {
        max-width: none;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        padding: 28px 24px;
    }
    .pricing-card > p:not(.plan-name) {
        min-height: 0;
    }
    .popular-badge {
        position: absolute;
        top: 28px;
        right: 24px;
    }
    .faq-section > .container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .faq-section h2 {
        max-width: none;
    }
    .footer-content {
        gap: 16px 24px;
    }
    .footer-content .brand {
        width: 100%;
    }
    .final-cta .section-copy br {
        display: none;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 28px);
    }
    .brand-mark {
        width: 29px;
        height: 29px;
    }
    .header-content {
        gap: 10px;
    }
    .calculator-inputs, .calculator-result {
        padding: 20px;
    }
    .range-field label {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
