/* ценаиоценка.рф — основной стиль */
:root {
    --purple-950: #241036;
    --purple-900: #34134f;
    --purple-800: #4e1f78;
    --purple-700: #642a9f;
    --purple-600: #7438b7;
    --purple-500: #8b50cd;
    --purple-300: #cbb0e8;
    --purple-200: #decdf0;
    --purple-100: #f0e7fa;
    --purple-50: #faf7fe;
    --ink: #1d1722;
    --ink-soft: #4e4655;
    --muted: #756d7c;
    --line: #e9e1ef;
    --line-strong: #d9cbe4;
    --white: #ffffff;
    --success: #237a4b;
    --danger: #b43145;
    --shadow-sm: 0 6px 22px rgba(49, 24, 72, .07);
    --shadow-md: 0 18px 55px rgba(49, 24, 72, .12);
    --shadow-lg: 0 26px 80px rgba(49, 24, 72, .17);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1200px;
    --header-height: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.58;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

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

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

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

button {
    color: inherit;
}

::selection {
    color: var(--white);
    background: var(--purple-600);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 11px 16px;
    color: var(--white);
    background: var(--purple-800);
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--purple-700);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: linear-gradient(180deg, #fcfaff 0%, #f8f4fc 100%);
}

.section-dark {
    color: var(--white);
    background:
        radial-gradient(circle at 15% 15%, rgba(164, 105, 219, .32), transparent 30%),
        linear-gradient(135deg, var(--purple-950), var(--purple-800));
}

.section-heading {
    display: grid;
    gap: 18px;
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading.center .eyebrow {
    justify-self: center;
}

.section-heading h2,
.article-content h2,
.legal-content h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.section-heading p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.section-dark .section-heading p {
    color: rgba(255, 255, 255, .74);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.nav-dropdown-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.quiz-option:focus-within {
    outline: 3px solid rgba(116, 56, 183, .24);
    outline-offset: 3px;
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    box-shadow: 0 12px 28px rgba(100, 42, 159, .25);
}

.button-primary:hover {
    box-shadow: 0 18px 34px rgba(100, 42, 159, .32);
}

.button-secondary {
    color: var(--purple-800);
    background: var(--white);
    border-color: var(--line-strong);
}

.button-secondary:hover {
    border-color: var(--purple-400);
    box-shadow: var(--shadow-sm);
}

.button-ghost {
    min-height: 44px;
    padding: 9px 14px;
    color: var(--ink-soft);
    background: transparent;
    border-color: var(--line);
}

.button-wide {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--purple-700);
    font-weight: 800;
}

.text-link:hover {
    color: var(--purple-900);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: var(--purple-800);
    background: var(--purple-100);
    border: 1px solid var(--purple-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(230, 221, 237, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    min-width: 222px;
    align-items: center;
    gap: 12px;
}

.brand img {
    flex: 0 0 auto;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(103, 45, 161, .18);
}

.brand-copy {
    display: grid;
    line-height: 1.16;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: -.03em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.desktop-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 25px;
    white-space: nowrap;
}

.desktop-nav > a,
.nav-dropdown-toggle {
    position: relative;
    padding: 28px 0 25px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.desktop-nav > a::after,
.nav-dropdown-toggle::after {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--purple-600);
    border-radius: 999px;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown-toggle:hover {
    color: var(--purple-800);
}

.desktop-nav > a:hover::after,
.desktop-nav > a.is-active::after,
.nav-dropdown-toggle:hover::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-toggle svg {
    transition: transform .2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 7px);
    left: 50%;
    display: grid;
    width: 330px;
    padding: 12px;
    visibility: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    padding: 11px 13px;
    color: var(--ink-soft);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
}

.nav-dropdown-menu a:hover {
    color: var(--purple-800);
    background: var(--purple-50);
}

.header-cta {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 11px 17px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--purple-800);
    background: var(--purple-50);
    border: 1px solid var(--line);
    border-radius: 13px;
    cursor: pointer;
}

.menu-icon-close {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
    display: block;
}

.mobile-menu {
    position: fixed;
    z-index: 999;
    inset: var(--header-height) 0 0;
    overflow-y: auto;
    color: var(--ink);
    background: rgba(255, 255, 255, .99);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-nav {
    display: grid;
    gap: 2px;
    padding-top: 24px;
    padding-bottom: 110px;
}

.mobile-nav > a:not(.button) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 750;
}

.mobile-nav .button {
    margin-top: 18px;
}

/* Home hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 15%, rgba(142, 79, 211, .12), transparent 31%),
        linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: .36;
    background-image: url("data:image/svg+xml,%3Csvg width='360' height='220' viewBox='0 0 360 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-12 35c62-54 111 26 181-13S296-2 378 28M-20 88c74-45 124 35 203-4s127-17 196 9M-15 150c73-39 123 28 202 4s119-4 191 25M-9 205c75-35 122 13 196 1s121 12 186 39' fill='none' stroke='%23e3d3f0' stroke-width='1.4'/%3E%3C/svg%3E");
}

.hero-inner {
    display: grid;
    min-height: 650px;
    align-items: center;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 46px;
    padding-top: 60px;
    padding-bottom: 58px;
}

.hero-copy h1 {
    max-width: 730px;
    margin: 0;
    font-size: clamp(42px, 5.4vw, 70px);
    line-height: 1.02;
    letter-spacing: -.052em;
}

.hero-copy h1 span {
    color: var(--purple-700);
}

.hero-lead {
    max-width: 670px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.55;
}

.hero-points {
    display: grid;
    margin: 31px 0 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    list-style: none;
}

.hero-points li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 700;
}

.hero-points .icon-bubble {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--purple-700);
    background: var(--white);
    border: 1px solid var(--purple-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.hero-actions .button {
    min-height: 60px;
    padding-inline: 26px;
}

.price-block {
    display: grid;
    min-width: 128px;
    line-height: 1.15;
}

.price-block small {
    color: var(--muted);
    font-size: 12px;
}

.price-block strong {
    margin-top: 4px;
    font-size: 24px;
    letter-spacing: -.025em;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-image-card {
    position: relative;
    overflow: hidden;
    background: #fbf8ff;
    border: 1px solid var(--purple-200);
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
}

.hero-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.68 / 1;
    object-fit: cover;
}

.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(222, 205, 240, .94);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(9px);
}

.hero-float svg {
    color: var(--purple-700);
}

.hero-float span {
    display: grid;
    line-height: 1.2;
}

.hero-float small {
    color: var(--muted);
    font-size: 11px;
}

.hero-float strong {
    margin-top: 3px;
    font-size: 15px;
}

.hero-float.one {
    top: 8%;
    left: -5%;
}

.hero-float.two {
    right: -4%;
    bottom: 9%;
}

.trust-strip {
    position: relative;
    z-index: 3;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 12px 40px rgba(45, 22, 68, .04);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
    display: flex;
    min-height: 102px;
    align-items: center;
    gap: 13px;
    padding: 22px 24px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item svg {
    flex: 0 0 auto;
    color: var(--purple-700);
}

.trust-item span {
    display: grid;
    line-height: 1.25;
}

.trust-item strong {
    font-size: 15px;
}

.trust-item small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
    position: relative;
    min-height: 270px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.process-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
    border-radius: 14px;
    font-weight: 900;
}

.process-card .process-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    color: var(--purple-700);
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 18px;
}

.process-card h3 {
    margin: 21px 0 8px;
    font-size: 19px;
    line-height: 1.25;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.process-card::after {
    position: absolute;
    z-index: 2;
    top: 48px;
    right: -22px;
    width: 26px;
    height: 2px;
    content: "";
    background: var(--purple-300);
}

.process-card:last-child::after {
    display: none;
}

/* Deliverables */
.split-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 66px;
}

.illustration-card {
    overflow: hidden;
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.illustration-card img {
    display: block;
    width: 100%;
}

.feature-list {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    gap: 14px;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: var(--ink-soft);
}

.check-circle {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--purple-600);
    border-radius: 50%;
}

.feature-list strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
}

.feature-list span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 14px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.result-card {
    min-height: 185px;
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
}

.result-card .result-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #f4dcff;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
}

.result-card h3 {
    margin: 18px 0 7px;
    font-size: 18px;
}

.result-card p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

/* Use cases and cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    display: flex;
    min-height: 255px;
    flex-direction: column;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.info-card:hover {
    border-color: var(--purple-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.info-card .card-icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--purple-700);
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 15px;
}

.info-card h3 {
    margin: 21px 0 9px;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.info-card p {
    margin: 0 0 19px;
    color: var(--muted);
    font-size: 14px;
}

.info-card .text-link {
    margin-top: auto;
    font-size: 14px;
}

.type-card {
    position: relative;
    overflow: hidden;
}

.type-card::after {
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 140px;
    height: 140px;
    content: "";
    background: var(--purple-100);
    border-radius: 50%;
    opacity: .72;
}

/* Quiz */
.quiz-section {
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    position: absolute;
    top: -140px;
    right: -120px;
    width: 420px;
    height: 420px;
    content: "";
    background: radial-gradient(circle, rgba(143, 82, 207, .17), transparent 66%);
    pointer-events: none;
}

.quiz-shell {
    position: relative;
    display: grid;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
}

.quiz-sidebar {
    display: flex;
    flex-direction: column;
    padding: 38px;
    color: var(--white);
    background:
        radial-gradient(circle at 5% 7%, rgba(255, 255, 255, .15), transparent 30%),
        linear-gradient(145deg, var(--purple-900), var(--purple-700));
}

.quiz-sidebar h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.14;
    letter-spacing: -.035em;
}

.quiz-sidebar > p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .73);
    font-size: 14px;
}

.quiz-benefits {
    display: grid;
    margin: 30px 0 0;
    padding: 0;
    gap: 15px;
    list-style: none;
}

.quiz-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 650;
}

.quiz-benefits span {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
}

.quiz-price {
    display: grid;
    margin-top: auto;
    padding-top: 32px;
    line-height: 1.1;
}

.quiz-price small {
    color: rgba(255, 255, 255, .64);
}

.quiz-price strong {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -.04em;
}

.quiz-main {
    min-width: 0;
    padding: 38px 42px 34px;
}

.quiz-topline {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.quiz-progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.quiz-progress {
    height: 7px;
    overflow: hidden;
    background: var(--purple-100);
    border-radius: 999px;
}

.quiz-progress-bar {
    width: 8.333%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple-500), var(--purple-800));
    border-radius: inherit;
    transition: width .3s ease;
}

.quiz-alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    color: #7a2130;
    background: #fff1f3;
    border: 1px solid #f1cbd1;
    border-radius: 12px;
    font-size: 14px;
}

.quiz-step[hidden] {
    display: none;
}

.quiz-step h3 {
    margin: 0;
    font-size: clamp(25px, 3.2vw, 35px);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.quiz-step > p {
    margin: 10px 0 0;
    color: var(--muted);
}

.quiz-options {
    display: grid;
    margin-top: 25px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quiz-options.one-column {
    grid-template-columns: 1fr;
}

.quiz-option {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.quiz-option:hover {
    border-color: var(--purple-300);
    background: var(--purple-50);
}

.quiz-option:has(input:checked) {
    color: var(--purple-900);
    background: #f6effd;
    border-color: var(--purple-600);
    box-shadow: 0 0 0 2px rgba(116, 56, 183, .08);
}

.quiz-option input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--purple-700);
}

.quiz-option span {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.quiz-field {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.quiz-field label,
.contact-grid label {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.quiz-field input,
.quiz-field select,
.quiz-field textarea,
.contact-grid input,
.contact-grid select,
.contact-grid textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.quiz-field textarea,
.contact-grid textarea {
    min-height: 105px;
    resize: vertical;
}

.quiz-field input:focus,
.quiz-field select:focus,
.quiz-field textarea:focus,
.contact-grid input:focus,
.contact-grid select:focus,
.contact-grid textarea:focus {
    border-color: var(--purple-600);
    box-shadow: 0 0 0 4px rgba(116, 56, 183, .1);
}

.field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
    margin-top: 24px;
}

.field-row .quiz-field {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.contact-grid .field-full {
    grid-column: 1 / -1;
}

.contact-grid > div {
    display: grid;
    gap: 8px;
}

.quiz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 30px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
}

.quiz-actions .button-primary {
    margin-left: auto;
}

.quiz-error {
    display: none;
    margin: 15px 0 0;
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
}

.quiz-error.is-visible {
    display: block;
}

.payment-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.form-honeypot {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    color: var(--ink);
    background: transparent;
    border: 0;
    text-align: left;
    font-weight: 800;
}

.faq-question svg {
    flex: 0 0 auto;
    color: var(--purple-700);
    transition: transform .2s ease;
}

.faq-item.is-open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px 21px;
    color: var(--muted);
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    margin: 0;
}

/* CTA */
.cta-panel {
    display: grid;
    align-items: center;
    padding: 44px;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .16), transparent 27%),
        linear-gradient(135deg, var(--purple-900), var(--purple-600));
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 45px);
    line-height: 1.13;
    letter-spacing: -.04em;
}

.cta-panel p {
    max-width: 680px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .74);
}

.cta-panel .button {
    min-width: 230px;
    color: var(--purple-900);
    background: var(--white);
}

/* Article pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 70px;
    background:
        radial-gradient(circle at 83% 10%, rgba(139, 80, 205, .17), transparent 30%),
        linear-gradient(180deg, #fff, #faf7fe);
    border-bottom: 1px solid var(--line);
}

.page-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg width='360' height='220' viewBox='0 0 360 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-12 35c62-54 111 26 181-13S296-2 378 28M-20 88c74-45 124 35 203-4s127-17 196 9M-15 150c73-39 123 28 202 4s119-4 191 25' fill='none' stroke='%23d9c4eb' stroke-width='1.4'/%3E%3C/svg%3E");
}

.page-hero-grid {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
    gap: 58px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 21px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--purple-700);
}

.page-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -.05em;
}

.page-hero-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 19px;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
}

.page-hero-visual {
    overflow: hidden;
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.page-hero-visual img {
    display: block;
    width: 100%;
}

.article-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 60px;
}

.article-content {
    min-width: 0;
}

.article-content > p:first-child {
    margin-top: 0;
    color: var(--ink-soft);
    font-size: 19px;
}

.article-content h2 {
    margin-top: 50px;
    font-size: clamp(27px, 3.4vw, 39px);
}

.article-content h3 {
    margin: 34px 0 11px;
    font-size: 23px;
    line-height: 1.25;
}

.article-content p {
    margin: 16px 0;
    color: var(--ink-soft);
}

.article-content ul,
.article-content ol,
.legal-content ul,
.legal-content ol {
    display: grid;
    margin: 18px 0;
    padding-left: 23px;
    gap: 10px;
    color: var(--ink-soft);
}

.article-content li::marker,
.legal-content li::marker {
    color: var(--purple-700);
    font-weight: 800;
}

.article-callout {
    margin: 34px 0;
    padding: 24px 26px;
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-left: 5px solid var(--purple-600);
    border-radius: 16px;
}

.article-callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--purple-900);
    font-size: 17px;
}

.article-callout p {
    margin: 0;
    font-size: 14px;
}

.article-table-wrap {
    max-width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.article-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.article-table th,
.article-table td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-table th {
    color: var(--purple-900);
    background: var(--purple-50);
    font-size: 13px;
}

.article-table td {
    color: var(--ink-soft);
    font-size: 14px;
}

.article-table tr:last-child td {
    border-bottom: 0;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h2 {
    margin: 0;
    font-size: 18px;
}

.sidebar-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.sidebar-card .button {
    width: 100%;
    margin-top: 17px;
}

.sidebar-links {
    display: grid;
    gap: 3px;
    margin-top: 13px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.sidebar-links a:last-child {
    border-bottom: 0;
}

.sidebar-links a:hover {
    color: var(--purple-700);
}

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

.related-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.related-card small {
    color: var(--purple-700);
    font-weight: 800;
}

.related-card h3 {
    margin: 12px 0 9px;
    font-size: 19px;
    line-height: 1.27;
}

.related-card p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 13px;
}

.related-card .text-link {
    margin-top: auto;
    font-size: 13px;
}

/* Legal, contacts, success */
.legal-hero {
    padding: 66px 0 55px;
    background: var(--purple-50);
    border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.legal-hero p {
    margin: 15px 0 0;
    color: var(--muted);
}

.legal-content {
    padding: 65px 0 90px;
}

.legal-content h2 {
    margin-top: 42px;
    font-size: 30px;
}

.legal-content h3 {
    margin-top: 28px;
    font-size: 21px;
}

.legal-content p {
    color: var(--ink-soft);
}

.contact-shell {
    display: grid;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.contact-info {
    padding: 42px;
    color: var(--white);
    background: linear-gradient(145deg, var(--purple-900), var(--purple-600));
}

.contact-info h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
}

.contact-info p {
    color: rgba(255, 255, 255, .72);
}

.contact-email-large {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 21px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    font-weight: 800;
}

.contact-form-placeholder {
    padding: 42px;
}

.contact-form-placeholder h2 {
    margin: 0;
    font-size: 30px;
}

.contact-form-placeholder p {
    color: var(--muted);
}

.success-page,
.error-page {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding: 70px 0 100px;
    background:
        radial-gradient(circle at 80% 15%, rgba(139, 80, 205, .18), transparent 30%),
        linear-gradient(180deg, #fff, #f9f5fd);
}

.success-card,
.error-card {
    width: min(calc(100% - 40px), 760px);
    padding: 48px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    display: inline-flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, #2f9d65, #1f7148);
    border-radius: 50%;
    box-shadow: 0 18px 36px rgba(35, 122, 75, .23);
}

.success-card h1,
.error-card h1 {
    margin: 26px 0 0;
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.success-card > p,
.error-card > p {
    max-width: 610px;
    margin: 17px auto 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.success-timeline {
    display: grid;
    margin-top: 31px;
    gap: 12px;
    text-align: left;
}

.success-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 15px;
}

.success-step span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--purple-700);
    border-radius: 11px;
    font-weight: 900;
}

.success-step strong {
    display: block;
}

.success-step small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.success-card .button,
.error-card .button {
    margin-top: 29px;
}

/* Footer */
.site-footer {
    color: rgba(255, 255, 255, .8);
    background:
        radial-gradient(circle at 12% 8%, rgba(161, 94, 219, .25), transparent 26%),
        linear-gradient(145deg, #2b123f, #4d1b76);
}

.footer-grid {
    display: grid;
    padding-top: 62px;
    padding-bottom: 50px;
    grid-template-columns: 1.7fr repeat(4, 1fr);
    gap: 42px;
}

.brand-inverse {
    min-width: 0;
    color: var(--white);
}

.brand-inverse .brand-copy small {
    color: rgba(255, 255, 255, .62);
}

.footer-brand p {
    max-width: 310px;
    margin: 20px 0;
    color: rgba(255, 255, 255, .64);
    font-size: 13px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.footer-grid h2 {
    margin: 5px 0 16px;
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) span {
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}

.footer-grid > div:not(.footer-brand) a:hover {
    color: var(--white);
}

.footer-bottom {
    background: rgba(18, 6, 28, .24);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-inner {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .53);
    font-size: 12px;
}

.mobile-cta {
    display: none;
}

/* Content remains visible even if JavaScript or observers are unavailable. */
[data-reveal] {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
    .desktop-nav {
        gap: 16px;
    }

    .desktop-nav > a,
    .nav-dropdown-toggle {
        font-size: 13px;
    }

    .header-inner {
        gap: 18px;
    }

    .brand {
        min-width: 205px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
        gap: 26px;
    }

    .footer-grid {
        grid-template-columns: 1.6fr repeat(2, 1fr);
    }

    .footer-grid > div:nth-child(4),
    .footer-grid > div:nth-child(5) {
        margin-top: 10px;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 70px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 54px;
    }

    .hero-copy {
        max-width: 800px;
    }

    .hero-visual {
        width: min(100%, 740px);
        margin-inline: auto;
    }

    .hero-float.one {
        left: 2%;
    }

    .hero-float.two {
        right: 2%;
    }

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

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

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

    .process-card::after {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-layout .illustration-card {
        width: min(100%, 720px);
        margin-inline: auto;
    }

    .card-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quiz-shell {
        grid-template-columns: 1fr;
    }

    .quiz-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px 28px;
    }

    .quiz-sidebar > p,
    .quiz-benefits {
        grid-column: 1;
    }

    .quiz-price {
        grid-row: 1 / span 3;
        grid-column: 2;
        align-self: center;
        padding-top: 0;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .page-hero-visual {
        width: min(100%, 650px);
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 72px;
    }

    .container,
    .narrow {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 43px;
        height: 43px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        display: none;
    }

    .hero-inner {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 11vw, 55px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-points {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .price-block {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 9px;
    }

    .price-block strong {
        font-size: 21px;
    }

    .hero-image-card {
        border-radius: 24px;
    }

    .hero-float {
        position: static;
        margin-top: 10px;
    }

    .hero-float.two {
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: 82px;
        padding: 17px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .process-grid,
    .process-grid-three,
    .card-grid,
    .related-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 0;
    }

    .quiz-sidebar {
        display: block;
        padding: 28px;
    }

    .quiz-benefits {
        margin-top: 24px;
    }

    .quiz-price {
        margin-top: 25px;
        padding-top: 23px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .quiz-main {
        padding: 28px 20px 24px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .field-row,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid .field-full {
        grid-column: auto;
    }

    .quiz-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .quiz-actions .button {
        width: 100%;
        margin-left: 0;
    }

    .cta-panel {
        padding: 32px 24px;
        grid-template-columns: 1fr;
    }

    .cta-panel .button {
        width: 100%;
        min-width: 0;
    }

    .page-hero {
        padding: 54px 0 48px;
    }

    .page-hero h1 {
        font-size: clamp(36px, 11vw, 51px);
    }

    .page-hero-lead {
        font-size: 17px;
    }

    .page-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .page-hero-actions .button {
        width: 100%;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        padding-top: 48px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-grid > div:nth-child(4),
    .footer-grid > div:nth-child(5) {
        margin-top: 0;
    }

    .footer-bottom-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 19px;
        padding-bottom: 19px;
        gap: 6px;
    }

    .mobile-cta {
        position: fixed;
        z-index: 1100;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        min-height: 68px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 9px max(14px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
        color: var(--white);
        background: rgba(43, 18, 63, .97);
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 -10px 30px rgba(28, 10, 42, .2);
        backdrop-filter: blur(12px);
    }

    .mobile-cta span {
        display: grid;
        line-height: 1.05;
    }

    .mobile-cta small {
        color: rgba(255, 255, 255, .62);
        font-size: 10px;
    }

    .mobile-cta strong {
        margin-top: 4px;
        font-size: 18px;
    }

    .mobile-cta b {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 11px 13px;
        color: var(--purple-900);
        background: var(--white);
        border-radius: 11px;
        font-size: 13px;
    }

    .contact-info,
    .contact-form-placeholder {
        padding: 30px 22px;
    }

    .contact-email-large {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .success-card,
    .error-card {
        padding: 34px 20px;
    }
}

@media (max-width: 430px) {
    .brand-copy strong {
        font-size: 15px;
    }

    .hero-copy h1 {
        font-size: 39px;
    }

    .hero-note {
        align-items: flex-start;
    }

    .quiz-sidebar h2 {
        font-size: 26px;
    }

    .quiz-step h3 {
        font-size: 27px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .mobile-cta b {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
