.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(62px, 9vw, 118px) 0 82px;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    filter: blur(2px);
}

.hero::before {
    top: -160px;
    right: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgb(104 85 231 / 20%), transparent 68%);
}

.hero::after {
    bottom: -120px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgb(65 191 160 / 17%), transparent 68%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    align-items: center;
    gap: clamp(36px, 7vw, 84px);
}

.hero-copy h1 {
    max-width: 720px;
    margin-bottom: 22px;
}

.hero-copy h1 span {
    color: transparent;
    background: linear-gradient(100deg, var(--violet-dark), var(--coral));
    background-clip: text;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 590px;
    color: var(--ink-soft);
    font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
    display: flex;
    margin: 30px 0 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.proof-row span::before {
    margin-right: 5px;
    color: var(--mint);
    content: "✓";
}

.core-preview {
    position: relative;
    padding: 26px;
    transform: rotate(1.4deg);
    box-shadow: var(--shadow);
}

.core-preview::before {
    position: absolute;
    z-index: -1;
    inset: 14px -12px -14px 12px;
    border-radius: 24px;
    background: var(--yellow);
    content: "";
    transform: rotate(-3deg);
}

.preview-top {
    display: flex;
    margin-bottom: 26px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.preview-type {
    color: var(--violet);
    font-size: 58px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.preview-badge {
    padding: 7px 10px;
    border-radius: 999px;
    color: #246954;
    background: #dcf8ef;
    font-size: 12px;
    font-weight: 850;
}

.preview-axis {
    display: grid;
    margin-top: 20px;
    gap: 11px;
}

.mini-axis {
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
}

.mini-axis i {
    height: 7px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--violet) var(--size), var(--violet-soft) var(--size));
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: #f3f0fb;
}

.section-head {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-head p:last-child {
    color: var(--ink-soft);
    font-size: 17px;
}

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

.difference-card {
    min-height: 245px;
    padding: 26px;
}

.difference-card span {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 850;
}

.difference-card h3 {
    font-size: 24px;
}

.difference-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.difference-card.is-highlight {
    border-color: rgb(104 85 231 / 42%);
    background: linear-gradient(150deg, #fff, #f0edff);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.difference-card.is-highlight span {
    color: var(--violet-dark);
}

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

.module-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 25px;
}

.module-card.is-live {
    border-color: rgb(104 85 231 / 30%);
}

.module-card .module-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
    border-radius: 16px;
    color: var(--violet-dark);
    background: var(--violet-soft);
    font-weight: 950;
    place-items: center;
}

.module-card p {
    color: var(--ink-soft);
}

.module-card .tag {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--ink-soft);
    background: #f1eff4;
    font-size: 12px;
    font-weight: 800;
}

.module-card.is-live .tag {
    color: #fff;
    background: var(--violet);
}

.flywheel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.flywheel article {
    padding: 23px;
}

.flywheel b {
    display: block;
    margin-bottom: 8px;
    color: var(--violet);
    font-size: 13px;
}

.flywheel p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.final-cta-section {
    padding-top: 72px;
}

.final-cta-card {
    display: flex;
    padding: clamp(28px, 6vw, 58px);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(135deg, #fff, #f2efff 72%, #fff2ee);
    box-shadow: var(--shadow);
}

.final-cta-card h2 {
    margin-bottom: 14px;
}

.final-cta-card p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.final-cta-card .button {
    min-width: 240px;
}

.test-shell {
    min-height: calc(100vh - 66px);
    padding: 28px 0 72px;
}

.test-top {
    display: grid;
    margin-bottom: 36px;
    gap: 9px;
}

.progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.progress-track {
    overflow: hidden;
    height: 9px;
    border-radius: 99px;
    background: #e9e5f2;
}

.progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--violet), var(--coral));
    transition: width 250ms ease;
}

.intro-card,
.question-card {
    padding: clamp(24px, 6vw, 48px);
    text-align: center;
    box-shadow: var(--shadow);
}

.intro-symbol {
    display: grid;
    width: 88px;
    height: 88px;
    margin: 4px auto 25px;
    border-radius: 28px 28px 28px 9px;
    color: white;
    background: linear-gradient(145deg, var(--violet), var(--coral));
    font-size: 31px;
    font-weight: 950;
    place-items: center;
    transform: rotate(-4deg);
}

.intro-card h1 {
    margin-bottom: 16px;
    font-size: clamp(35px, 7vw, 58px);
}

.intro-list {
    display: flex;
    margin: 24px 0 30px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.intro-list span {
    padding: 7px 10px;
    border-radius: 99px;
    color: var(--ink-soft);
    background: #f2eff9;
    font-size: 13px;
    font-weight: 750;
}

.question-number {
    margin-bottom: 18px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 900;
}

.question-card h1 {
    max-width: 580px;
    min-height: 125px;
    margin: 0 auto 32px;
    font-size: clamp(26px, 5vw, 38px);
}

.scale-labels {
    display: flex;
    max-width: 520px;
    margin: 0 auto 10px;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
}

.answer-scale {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 4vw, 28px);
}

.answer-choice {
    display: grid;
    width: var(--choice-size);
    height: var(--choice-size);
    padding: 0;
    border: 3px solid var(--choice-color);
    border-radius: 50%;
    color: transparent;
    background: white;
    cursor: pointer;
    place-items: center;
    transition: transform 130ms ease, background 130ms ease;
}

.answer-choice:hover,
.answer-choice:focus-visible,
.answer-choice.is-selected {
    background: var(--choice-color);
    outline: none;
    transform: scale(1.08);
}

.answer-choice.neutral {
    border-color: #aaa5b7;
}

.answer-choice.neutral:hover,
.answer-choice.neutral:focus-visible,
.answer-choice.neutral.is-selected {
    background: #aaa5b7;
}

.test-controls {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}

.text-button {
    padding: 9px 6px;
    border: 0;
    color: var(--ink-soft);
    background: transparent;
    cursor: pointer;
    font-weight: 750;
}

.result-hero {
    overflow: hidden;
    padding: clamp(28px, 6vw, 52px);
    color: white;
    background: linear-gradient(145deg, #4d3bc0, #7964ee 60%, #ff765f 150%);
    box-shadow: var(--shadow);
}

.result-kicker {
    color: #ddd8ff;
    font-size: 13px;
    font-weight: 850;
}

.result-code {
    margin: 5px 0 -3px;
    font-size: clamp(70px, 18vw, 118px);
    font-weight: 950;
    letter-spacing: -0.085em;
    line-height: 1;
}

.result-hero h1 {
    margin: 12px 0 15px;
    font-size: clamp(30px, 6vw, 48px);
}

.result-hero > p:last-of-type {
    max-width: 620px;
    color: #f2efff;
    font-size: 18px;
}

.result-actions {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 9px;
}

.result-actions .button-secondary {
    border-color: rgb(255 255 255 / 25%);
    color: white;
    background: rgb(255 255 255 / 13%);
}

.result-section {
    margin-top: 18px;
    padding: clamp(22px, 5vw, 34px);
}

.axis-list {
    display: grid;
    gap: 22px;
}

.axis-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.axis-head strong {
    font-size: 18px;
}

.axis-head span {
    color: var(--violet);
    font-weight: 900;
}

.axis-bar {
    overflow: hidden;
    height: 11px;
    margin: 9px 0 7px;
    border-radius: 99px;
    background: #ece8f5;
}

.axis-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--violet), var(--coral));
}

.axis-item p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.insight-box {
    padding: 20px;
    border-radius: 17px;
    background: #f5f2fb;
}

.insight-box b {
    display: block;
    margin-bottom: 6px;
    color: var(--violet-dark);
    font-size: 13px;
}

.insight-box p {
    margin-bottom: 0;
}

.bullet-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 10px;
    list-style: none;
}

.bullet-list li {
    position: relative;
    padding-left: 26px;
}

.bullet-list li::before {
    position: absolute;
    left: 0;
    color: var(--mint);
    content: "✦";
}

.feedback-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.feedback-options input {
    position: absolute;
    opacity: 0;
}

.feedback-options span {
    display: grid;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    place-items: center;
    font-weight: 850;
}

.feedback-options input:checked + span {
    border-color: var(--violet);
    color: var(--violet-dark);
    background: var(--violet-soft);
}

.bonus-callout {
    padding: 18px;
    border: 1px dashed rgb(104 85 231 / 35%);
    border-radius: 15px;
    color: var(--violet-dark);
    background: var(--violet-soft);
}

.action-card {
    border-color: rgb(65 191 160 / 25%);
    background: #effbf7;
}

.action-card .button-primary {
    background: #23836c;
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 42px;
}

.auth-card {
    padding: clamp(24px, 5vw, 38px);
}

.my-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    padding: 20px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
}

.action-row {
    display: flex;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.action-row:last-child {
    border-bottom: 0;
}

@media (max-width: 820px) {
    .hero-grid,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .core-preview {
        max-width: 500px;
        margin: 0 auto;
    }

    .difference-grid,
    .module-grid,
    .flywheel {
        grid-template-columns: repeat(2, 1fr);
    }

    .difference-card.is-highlight {
        transform: none;
    }

    .final-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 54px;
    }

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

    .difference-grid,
    .module-grid,
    .flywheel,
    .insight-grid,
    .my-summary {
        grid-template-columns: 1fr;
    }

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

    .question-card {
        padding-inline: 18px;
    }

    .answer-scale {
        gap: 10px;
    }

    .answer-choice {
        width: calc(var(--choice-size) * 0.84);
        height: calc(var(--choice-size) * 0.84);
    }

    .result-code {
        font-size: 72px;
    }
}
