/* === HUB v2 — single stylesheet === */



/* --- Layout --- */

.hub {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    min-height: 100vh;
}



.hub-main {
    flex: 1;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Stages: only one visible at a time --- */

.hub-stage {
    display: none;
}

.hub-stage.is-active {
    display: block;
}

/* === GATE === */

.gate {
    padding: 24px 0 40px;
}

.gate h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.gate-subtitle {
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text);
}

/* Gate hero + brand bar */

.gate-hero {
    margin-bottom: 20px;
}

.gate-hero-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px 18px 0 0;
}

.gate-brand-bar {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin-top: -18px;
    border-radius: 13px;
    background: linear-gradient(135deg, #15161b 0%, #20222a 100%);
}

.gate-brand-bar::before,
.gate-brand-bar::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.gate-brand-bar::before {
    inset: 0;
    z-index: 0;
    opacity: 0.14;
    background-image: radial-gradient(rgba(255, 255, 255, 0.62) 1px, transparent 1.4px);
    background-size: 7px 7px;
}

.gate-brand-bar::after {
    right: -34px;
    bottom: -30px;
    z-index: 0;
    width: 116px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.72);
    transform: rotate(-10deg);
}

.gate-brand-bar div {
    position: relative;
    z-index: 1;
    padding: 18px 12px;
    text-align: left;
}

.gate-brand-bar div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-brand-bar strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.gate-brand-bar span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
}

/* Gate bullets */

.gate-bullets-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 12px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.12;
}

.gate-bullets {
    counter-reset: gate-bullets;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.gate-bullets li {
    counter-increment: gate-bullets;
    position: relative;
    min-height: 82px;
    padding: 16px 16px 16px 58px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.38;
    box-shadow: 0 12px 30px rgba(16, 17, 22, 0.04);
}

.gate-bullets li::before {
    content: counter(gate-bullets);
    position: absolute;
    top: 17px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.gate-bullets strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.18;
}

.gate-bullet-copy {
    display: block;
}

/* Gate form */

.gate-form {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.gate-form-head {
    margin-bottom: 14px;
}

.gate-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.08);
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
}

.gate-status[hidden] {
    display: none;
}

.gate-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.gate-form-head strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
}

.gate-form-head span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.35;
}

.gate-phone {
    display: block;
    width: 100%;
    height: 56px;
    margin-bottom: 10px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    font: inherit;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.gate-phone:focus {
    border-color: var(--red);
    background: #fff;
}

.gate-phone.is-error {
    border-color: var(--red);
}

.gate-submit {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.gate-submit::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    opacity: 0;
    transform: skewX(-18deg);
}

.gate-submit:active:not(:disabled) {
    background: var(--red-active);
}

.gate-submit:disabled {
    opacity: 0.65;
    cursor: default;
}

.gate-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 13px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.35;
}

.gate-consent input {
    flex-shrink: 0;
    margin-top: 2px;
}

.gate-consent a {
    color: var(--text);
}

.gate-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

/* Gate state colors */

.gate-form[data-state="sent"] .gate-status-dot {
    background: var(--green);
}

.gate-form[data-state="sent"] .gate-submit {
    opacity: 1;
}

.gate-form[data-state="sent"] .gate-submit::after {
    opacity: 1;
    animation: gate-submit-loading 900ms ease-in-out infinite;
}

.gate-form[data-state="error"] .gate-status {
    background: rgba(255, 59, 34, 0.08);
    color: var(--red-active);
}

.gate-form[data-state="sent"] .gate-status {
    background: rgba(52, 199, 89, 0.1);
    color: #238a44;
}

@keyframes gate-submit-loading {
    to {
        left: 112%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gate-form[data-state="sent"] .gate-submit::after {
        animation: none;
    }
}

/* === LEAD MAGNET === */

.lm {
    padding: 32px 0 40px;
}

.lm-title {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
}

.lm-intro {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.lm-hero-img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 18px;
}

/* --- Scenario nav --- */

.lm-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.lm-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
    color: inherit;
}

.lm-nav-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.lm-nav-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-nav-body strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.lm-nav-body span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

/* --- Scenario --- */

.lm-scenario {
    scroll-margin-top: 78px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.lm-scenario-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.lm-scenario-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.lm-scenario-head h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.lm-scenario-lead {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

/* --- Signal box --- */

.lm-signal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--border);
}

.lm-signal div {
    padding: 12px 10px;
    background: var(--card);
}

.lm-signal span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.lm-signal strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

/* --- Visual / Timeline --- */

.lm-visual {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
}

.lm-visual-label {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
}

.lm-timeline {
    display: flex;
    flex-direction: column;
}

.lm-timeline-item {
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

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

.lm-timeline-item span {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lm-timeline-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.lm-timeline-item p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}

.lm-timeline-item--risk {
    background: rgba(255, 59, 34, 0.04);
}

.lm-timeline-item--risk span {
    color: var(--red);
}

/* --- Route grid --- */

.lm-route-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.lm-route-grid article {
    position: relative;
    overflow: hidden;
    padding: 15px 15px 15px 52px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.lm-route-grid article::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 94px;
    height: 66px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.06);
    transform: rotate(-10deg);
}

.lm-route-grid span {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.lm-route-grid h3,
.lm-route-grid p,
.lm-route-grid strong {
    position: relative;
    z-index: 1;
}

.lm-route-grid h3 {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.lm-route-grid p {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
}

.lm-route-grid strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
}

/* --- Route map --- */

.lm-route-map {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}

.lm-route-map img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border);
}

.lm-route-map figcaption {
    padding: 14px;
}

.lm-route-map-title {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.lm-route-map-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-route-map-items article {
    position: relative;
    padding-left: 36px;
}

.lm-route-map-items span {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.lm-route-map-items h3 {
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.16;
}

.lm-route-map-items p {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.38;
}

.lm-route-map-items strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
}

/* --- Today block --- */

.lm-today {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(52, 199, 89, 0.08);
}

.lm-today span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lm-today strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

/* --- Subheading --- */

.lm-sub {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
}

/* --- Checklist --- */

.lm-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.lm-checklist li {
    position: relative;
    padding: 12px 14px 12px 36px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
}

.lm-checklist li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
}

.lm-checklist strong {
    color: var(--ink);
    font-weight: 700;
}

/* --- Document pack --- */

.lm-doc-pack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.lm-doc-pack div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--card);
}

.lm-doc-pack span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lm-doc-pack strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.18;
}

.lm-doc-pack p {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
}

/* --- Warning --- */

.lm-warning {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 59, 34, 0.05);
}

.lm-warning-title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.lm-warning ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-warning li {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}

.lm-warning strong {
    color: var(--ink);
    font-weight: 700;
}

/* --- Inline CTA --- */

.lm-cta {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
}

.lm-cta div {
    margin-bottom: 12px;
}

.lm-cta span {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lm-cta div strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.lm-cta a {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

/* --- Bridge --- */

.lm-bridge {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.lm-bridge-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lm-bridge h2 {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
}

.lm-bridge p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.lm-markup {
    display: grid;
    gap: 9px;
}

.lm-markup div {
    position: relative;
    overflow: hidden;
    min-height: 58px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.lm-markup div::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -20px;
    width: 90px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.12);
    transform: rotate(-12deg);
}

.lm-markup span {
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lm-markup span::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    top: 49%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.76);
    transform: rotate(-2deg);
}

.lm-markup strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--ink);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.05;
}

/* --- Offer --- */

.lm-offer {
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    padding: 22px 18px;
    border-radius: 22px;
    background: var(--red);
    color: #fff;
}

.lm-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(rgba(0, 0, 0, 0.75) 1px, transparent 1.5px);
    background-size: 7px 7px;
}

.lm-offer::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -54px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(16, 17, 22, 0.28);
}

.lm-offer > * {
    position: relative;
    z-index: 1;
}

.lm-offer-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 17, 22, 0.82);
    font-size: 12px;
    font-weight: 850;
    color: #fff;
}

.lm-offer h2 {
    max-width: 360px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.04;
}

.lm-offer > p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.lm-offer-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.lm-offer-bullets li {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.lm-offer-bullets strong {
    color: #fff;
    font-weight: 850;
}

.lm-offer-reversal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(16, 17, 22, 0.22);
    font-size: 12px;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
}

.lm-offer-cta {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

/* --- Disclaimer --- */

.lm-disclaimer {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.4;
}

/* === TEST === */

.test {
    min-height: 100svh;
    padding: 24px 0 40px;
}

.test-back {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 18px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.test-back[hidden] {
    display: none;
}

.test-intro,
.test-flow {
    display: block;
}

.test-intro[hidden],
.test-flow[hidden] {
    display: none;
}

.test-intro {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.test-intro-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 196px;
    background: linear-gradient(180deg, #f7f8fb 0%, #ebeef3 100%);
}

.test-intro-visual::before,
.test-intro-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.test-intro-visual::before {
    inset: 0;
    opacity: 0.16;
    background-image: radial-gradient(rgba(16, 17, 22, 0.36) 1px, transparent 1.4px);
    background-size: 7px 7px;
}

.test-intro-visual::after {
    right: -46px;
    bottom: -38px;
    width: 190px;
    height: 142px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.78);
    transform: rotate(-11deg);
}

.test-intro-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(56vw, 198px);
    height: auto;
    transform: scaleX(-1);
}

.test-intro-copy {
    padding: 16px 16px 0;
}

.test-intro-copy span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.test-intro-copy h2 {
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 25px;
    font-weight: 950;
    line-height: 1.08;
}

.test-intro-role {
    display: block;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
}

.test-intro-copy p {
    margin-bottom: 11px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.test-intro-copy p:last-child {
    margin-bottom: 0;
}

.test-intro-start {
    display: block;
    width: calc(100% - 36px);
    min-height: 50px;
    margin: 20px 18px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.test-progress {
    margin-bottom: 18px;
}

.test-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.test-progress-head span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.test-flow-back {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.test-flow-back[hidden] {
    display: none;
}

.test-progress-bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 21, 65, 0.08);
}

.test-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--red);
    transition: width 180ms ease;
}

.test-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
}

.result-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.08);
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.test-card h2 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.12;
}

.test-card p {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.test-alina-note {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 59, 34, 0.18);
    border-radius: 16px 16px 16px 4px;
    background: rgba(255, 59, 34, 0.06);
    box-shadow: 0 4px 12px rgba(255, 59, 34, 0.04);
}

.test-alina-note[hidden] {
    display: none;
}

.test-alina-note img {
    align-self: center;
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    background: #ebeef3;
    transform: scaleX(-1);
}

.test-alina-note p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.38;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-option {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 21, 65, 0.02);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.test-option:hover {
    border-color: rgba(15, 18, 29, 0.16);
    background: rgba(15, 18, 29, 0.01);
}

.test-option-multi {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.test-option-check {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 2px solid rgba(16, 17, 22, 0.22);
    border-radius: 7px;
    background: var(--card);
}

.test-option-check::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
}

.test-option-body {
    display: block;
}

.test-option strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.test-option-text {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 450;
    line-height: 1.4;
}

.test-option:active {
    border-color: rgba(255, 59, 34, 0.42);
    background: rgba(255, 59, 34, 0.06);
    transform: scale(0.98);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.test-option.is-selected {
    border-color: var(--ink);
    background: rgba(15, 18, 29, 0.02);
    box-shadow: 0 4px 12px rgba(15, 21, 65, 0.04);
}

.test-option.is-selected .test-option-check {
    border-color: var(--ink);
    background: var(--ink);
}

.test-option.is-selected .test-option-check::after {
    opacity: 1;
}

.test-multi-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.test-multi-actions[hidden] {
    display: none;
}

.test-multi-actions span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.test-multi-actions button {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.test-multi-actions button:disabled {
    cursor: default;
    opacity: 0.45;
}

/* === ANALYSIS === */

.analysis {
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 32px 0 44px;
}

.analysis-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.analysis-card::before {
    content: "";
    position: absolute;
    right: -56px;
    top: -40px;
    width: 156px;
    height: 112px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.14);
    transform: rotate(-10deg);
}

.analysis-card > * {
    position: relative;
    z-index: 1;
}

.analysis-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.analysis-scan {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 16px;
    background: var(--ink);
}

.analysis-scan i {
    display: block;
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.analysis-scan i::before {
    content: "";
    display: block;
    width: 62%;
    height: 100%;
    border-radius: inherit;
    background: var(--red);
    animation: analysis-scan 1050ms ease-in-out infinite;
}

.analysis-scan i:nth-child(2)::before {
    width: 82%;
    animation-delay: 120ms;
}

.analysis-scan i:nth-child(3)::before {
    width: 48%;
    animation-delay: 240ms;
}

.analysis-scan i:nth-child(4)::before {
    width: 70%;
    animation-delay: 360ms;
}

@keyframes analysis-scan {
    0%,
    100% {
        transform: translateX(-12%);
        opacity: 0.64;
    }

    50% {
        transform: translateX(42%);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .analysis-scan i::before {
        animation: none;
    }
}

.analysis-card h2 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 950;
    line-height: 1.08;
}

.analysis-card p {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.analysis-steps {
    display: grid;
    gap: 8px;
}

.analysis-steps div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    background: var(--bg);
}

.analysis-steps strong {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.analysis-steps span {
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}

/* === RESULT === */

.result {
    padding: 32px 0 44px;
}

.result-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 18px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #111 0%, #141728 58%, #11185a 100%);
    color: #fff;
    border: 1px solid rgba(240, 74, 54, 0.22);
    box-shadow: 0 16px 36px rgba(240, 74, 54, 0.06);
}

.health-area-card {
    border: 1px solid rgba(240, 74, 54, 0.22) !important;
    box-shadow: 0 16px 36px rgba(240, 74, 54, 0.06) !important;
}

.result-hero::before,
.result-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.result-hero::before {
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1.45px);
    background-size: 7px 7px;
}

.result-hero::after {
    right: -52px;
    bottom: -50px;
    width: 138px;
    height: 104px;
    border-radius: 999px;
    background: var(--red);
    transform: rotate(-12deg);
}

.result-hero > * {
    position: relative;
    z-index: 1;
}

.result-hero .result-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.result-hero h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 25px;
    font-weight: 950;
    line-height: 1.06;
}

.result-hero p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 0;
}

.result-summary div {
    padding: 9px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
}

.result-summary span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 9px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.result-summary strong {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

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

.result-plan-item {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 4px 10px;
    min-height: 96px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}

.result-plan-item span {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.result-plan-item strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.18;
}

.result-plan-item small {
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.result-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}

.result-section > * {
    position: relative;
    z-index: 1;
}

.result-section-main {
    border-color: rgba(15, 21, 65, 0.1);
    background: var(--card);
}

.result-section-parallel {
    border-color: rgba(15, 21, 65, 0.1);
    background: var(--card);
}

.result-section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.15;
}

.result-section-text {
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.result-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.result-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.result-cards {
    display: grid;
    gap: 10px;
}

.result-card {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(15, 21, 65, 0.06);
    border-radius: 14px;
    background: var(--bg);
}

.result-card::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: rgba(255, 59, 34, 0.76);
}

.result-card h3 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.result-card p {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.result-card ul {
    display: grid;
    gap: 7px;
    list-style: none;
}

.result-card li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.result-card li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 59, 34, 0.72);
}

.result-next {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
}

.result-next::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1.45px);
    background-size: 7px 7px;
}

.result-next::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -30px;
    width: 112px;
    height: 72px;
    border-radius: 999px;
    background: var(--red);
    transform: rotate(-9deg);
}

.result-next > * {
    position: relative;
    z-index: 1;
}

.result-next h2 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
}

.result-next ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.result-next li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.result-next li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.result-note {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 21, 65, 0.05);
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.result-block-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.result-channels {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 22px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #111 0%, #111426 58%, #11185a 100%);
    color: #fff;
}

.result-channels::before {
    content: "";
    position: absolute;
    top: -28px;
    right: -30px;
    width: 118px;
    height: 70px;
    background: var(--red);
    transform: rotate(10deg);
}

.result-channels > * {
    position: relative;
    z-index: 1;
}

.result-channels h2 {
    color: #fff !important;
}

.result-channels h2,
.result-community h2 {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.12;
}

.result-curator {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.result-curator strong {
    font-size: 14px;
    font-weight: 850;
}

.result-curator span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 650;
}

.result-call {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: left;
}

.result-call-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--green);
    font-size: 19px;
    font-weight: 900;
}

.result-call strong,
.result-call small {
    display: block;
}

.result-call strong {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
}

.result-call small {
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.result-divider {
    margin: 16px 0 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

.result-channel-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.result-channel-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
}

.social-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: #fff;
}

.social-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon-telegram {
    background: #2aabee;
}

.social-icon-vk {
    background: #0077ff;
}

.result-channels p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
}

.result-community {
    padding: 20px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.result-community .result-block-label {
    color: var(--muted);
}

.result-community h2 {
    color: var(--ink);
}

.result-community > p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.result-chat {
    display: block;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111 0%, #141728 58%, #11185a 100%);
    color: #fff;
    text-decoration: none;
}

.result-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.result-chat-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 850;
}

.result-chat-head small {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.16);
    color: #ffb5aa;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

.result-chat strong {
    display: block;
    margin-bottom: 3px;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.result-chat > span:not(.result-chat-head) {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.result-chat em {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.result-social-label {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.result-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.result-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    color: inherit;
    text-decoration: none;
}

.result-socials strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.18;
}

.result-socials small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 650;
    line-height: 1.3;
}

.result-about-card {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
}

.result-about-card span,
.aboutv2-kicker {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.08);
    color: var(--red);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

.result-about-card h2 {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.12;
}

.result-about-card p {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.42;
}

.result-about-card button {
    display: block;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
}

/* === ABOUT V2 === */

.aboutv2 {
    padding: 22px 0 44px;
}

.aboutv2-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 0;
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 59, 34, 0.14), transparent 28%),
        linear-gradient(180deg, #fff 0%, #eef4f8 100%);
    color: var(--ink);
}

.aboutv2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.58;
    background-image: radial-gradient(rgba(17, 24, 39, 0.11) 1px, transparent 1.4px);
    background-size: 7px 7px;
    pointer-events: none;
}

.aboutv2-hero > * {
    position: relative;
    z-index: 1;
}

.aboutv2-hero-copy {
    position: relative;
    z-index: 4;
    padding: 24px 18px 12px;
}

.aboutv2-team-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 350px;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 50% 58%, rgba(255, 59, 34, 0.15), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.36));
}

.aboutv2-team-visual img {
    display: block;
    width: min(134%, 560px);
    max-width: none;
    height: 350px;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.24);
    transform-origin: center bottom;
}

.aboutv2 h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 29px;
    font-weight: 950;
    line-height: 1.06;
}

.aboutv2-lead {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.aboutv2-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 0;
}

.aboutv2-stats div {
    padding: 12px 9px;
    border-radius: 15px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.aboutv2-stats strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.05;
}

.aboutv2-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.aboutv2-section {
    position: relative;
    margin-bottom: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.aboutv2-section > * {
    position: relative;
    z-index: 1;
}

.aboutv2-section h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 950;
    line-height: 1.1;
}

.aboutv2-photo-proof {
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
}

.aboutv2-photo-copy {
    padding: 18px 18px 14px;
}

.aboutv2-photo-copy h2 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.08;
}

.aboutv2-photo-copy p {
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.46;
}

.aboutv2-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.aboutv2-photo-grid figure {
    overflow: hidden;
    aspect-ratio: 1.36;
    margin: 0;
    border-radius: 14px;
    background: var(--line);
}

.aboutv2-photo-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aboutv2-roles,
.aboutv2-proof,
.aboutv2-media,
.aboutv2-flow,
.aboutv2-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aboutv2-roles article,
.aboutv2-proof div,
.aboutv2-media a,
.aboutv2-flow div,
.aboutv2-questions div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.aboutv2-roles span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
}

.aboutv2-roles h3 {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 950;
}

.aboutv2-roles p,
.aboutv2-proof span,
.aboutv2-media span,
.aboutv2-flow span,
.aboutv2-questions span,
.aboutv2-section-text {
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.42;
}

.aboutv2-proof strong,
.aboutv2-media strong,
.aboutv2-flow strong,
.aboutv2-questions strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.18;
}

.aboutv2-media a {
    color: inherit;
    text-decoration: none;
}

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

.aboutv2-media a {
    min-height: 106px;
    padding: 12px;
}

.aboutv2-media-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-bottom: 9px;
    padding: 7px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
}

.aboutv2-media-logo img {
    display: block;
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
}

.aboutv2-media a > span:last-child {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.28;
}

.aboutv2-media-logo-combo {
    gap: 9px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0;
}

.aboutv2-media-logo-combo img {
    width: 28px;
    height: 28px;
}

.aboutv2-section-text {
    margin-bottom: 14px;
}

.aboutv2-flow {
    counter-reset: about-flow;
}

.aboutv2-flow div {
    position: relative;
    padding-left: 46px;
}

.aboutv2-flow div::before {
    counter-increment: about-flow;
    content: counter(about-flow);
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.aboutv2-boundaries {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 59, 34, 0.05);
}

.aboutv2-boundaries .aboutv2-proof div {
    border-color: rgba(255, 59, 34, 0.12);
}

.aboutv2-hero .aboutv2-kicker {
    background: rgba(255, 59, 34, 0.1);
    color: var(--red);
}

.aboutv2-public .aboutv2-socials {
    margin-bottom: 12px;
}

.aboutv2-public .aboutv2-media {
    margin-top: 12px;
}

.aboutv2-contact,
.aboutv2-community {
    margin-top: 16px;
}

:focus-visible {
    outline: 2px solid #f04a36 !important; /* using brand red */
    outline-offset: 2px !important;
}

/* === Closure Timeline & Marker Corrections === */

.result-timeline-section {
    margin: 24px 0;
    padding: 20px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
}
.result-timeline-section h2 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
}
.closure-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.closure-timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border);
    z-index: 0;
}
.closure-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.closure-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.closure-step.is-done .closure-step-icon {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}
.closure-step.is-active .closure-step-icon {
    background: rgba(241, 196, 15, 0.1);
    border-color: #f1c40f;
}
.closure-step-body {
    display: flex;
    flex-direction: column;
}
.closure-step-body strong {
    font-size: 14px;
    font-weight: 850;
    color: var(--ink);
}
.closure-step-body span {
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
    line-height: 1.35;
}

/* --- Marker Corrections (Dossier Edition) --- */
.result-markup-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.result-markup {
    position: relative;
    overflow: hidden;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    min-width: 90px;
}
.result-markup::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 60px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.08);
    transform: rotate(-12deg);
    pointer-events: none;
}
.result-markup span {
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.result-markup span::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 59, 34, 0.76);
    transform: rotate(-2deg);
}
.result-markup strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.1;
}

/* === QUIZ PROGRESS RESTORE & EXIT INTENT POPUPS === */

.quiz-restore-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(16, 17, 22, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    animation: fadeIn 0.3s ease;
}

.quiz-restore-card {
    width: 100%;
    max-width: 400px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    box-shadow: 0 12px 32px rgba(15, 21, 65, 0.15);
    text-align: center;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-restore-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.25;
}

.quiz-restore-card p {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 650;
    color: var(--text);
    line-height: 1.45;
}

.quiz-restore-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-restore-actions button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-restore-actions .btn-resume {
    background: var(--red);
    color: #fff;
}

.quiz-restore-actions .btn-resume:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 59, 34, 0.2);
}

.quiz-restore-actions .btn-reset {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.quiz-restore-actions .btn-reset:hover {
    background: rgba(15, 21, 65, 0.04);
}

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(16, 17, 22, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.exit-intent-card {
    width: 100%;
    max-width: 420px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 48px rgba(15, 21, 65, 0.25);
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}



.exit-intent-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 950;
    color: var(--ink);
    line-height: 1.2;
}

.exit-intent-card p {
    margin: 0 0 24px;
    font-size: 15px;
    font-weight: 650;
    color: var(--text);
    line-height: 1.5;
}

.exit-intent-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exit-intent-actions a,
.exit-intent-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.exit-intent-actions .btn-telegram {
    background: var(--red);
    color: #fff;
}

.exit-intent-actions .btn-telegram:hover {
    background: var(--red-hover, #d9301e);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 59, 34, 0.3);
}

.exit-intent-actions .btn-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.exit-intent-actions .btn-close:hover {
    background: rgba(15, 21, 65, 0.04);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Interactive Dossier Checkboxes */
.result-checkbox-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.result-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.custom-checkbox {
    border-radius: 6px;
    border: 2px solid var(--border);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkmark-svg {
    width: 10px;
    height: 8px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 12;
    stroke-dashoffset: 12;
    transition: stroke-dashoffset 0.25s ease;
}

.result-checkbox-hidden:checked + .custom-checkbox {
    background: var(--ink);
    border-color: var(--ink);
}

.result-checkbox-hidden:checked + .custom-checkbox .checkmark-svg {
    stroke-dashoffset: 0;
}

.result-checkbox-hidden:checked ~ .check-text {
    text-decoration: line-through;
    opacity: 0.55;
    color: var(--muted);
}

.result-check-item span {
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

/* Hide default red bullet point when checkbox is present */
li:has(.result-check-item)::before {
    display: none !important;
}

li:has(.result-check-item) {
    padding-left: 0 !important;
}
