:root {
    --thessia-assessment-bg: #081525;
    --thessia-assessment-bg-soft: #ffffff;
    --thessia-assessment-surface: #ffffff;
    --thessia-assessment-border: rgba(7, 21, 37, 0.12);
    --thessia-assessment-border-strong: rgba(7, 21, 37, 0.22);
    --thessia-assessment-copy: #122235;
    --thessia-assessment-copy-soft: rgba(18, 34, 53, 0.72);
    --thessia-assessment-gold: #ffe24b;
    --thessia-assessment-gold-soft: rgba(255, 226, 75, 0.18);
    --thessia-assessment-gold-line: rgba(255, 226, 75, 0.48);
    --thessia-assessment-blue: #244a79;
    --thessia-assessment-blue-soft: rgba(36, 74, 121, 0.12);
}

.Thessia-assessment-page {
    background: linear-gradient(180deg, #050507 0, #050507 34rem, #ffffff 34rem, #ffffff 100%);
    color: var(--thessia-assessment-copy);
}

.Thessia-assessment-hero,
.Thessia-assessment-result-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 226, 75, 0.13), transparent 28rem),
        radial-gradient(circle at 82% 16%, rgba(255, 226, 75, 0.08), transparent 24rem),
        linear-gradient(180deg, #060608 0%, #090913 58%, #050507 100%);
}

.Thessia-assessment-hero__halo {
    position: absolute;
    inset: auto auto -8rem -8rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 226, 75, 0.2) 0%, rgba(255, 226, 75, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
}

.Thessia-assessment-hero__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 226, 75, 0.85);
}

.Thessia-assessment-snapshot__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6510;
}

.Thessia-assessment-idle__eyebrow,
.Thessia-assessment-result-block__eyebrow,
.Thessia-assessment-offer__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #75530a;
}

.Thessia-assessment-hero__title {
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0;
    margin: 0;
}

.Thessia-assessment-hero__lead,
.Thessia-assessment-result-hero__headline {
    max-width: 44rem;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.Thessia-assessment-hero__stat {
    min-height: 100%;
    padding: 1.15rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.Thessia-assessment-hero__stat-value {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.Thessia-assessment-hero__stat-label,
.Thessia-assessment-hero__note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.Thessia-assessment-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.94rem;
}

.Thessia-assessment-hero__button,
.Thessia-assessment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid #081525;
    background: var(--thessia-assessment-gold);
    color: #081525;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.Thessia-assessment-hero__button:hover,
.Thessia-assessment-submit:hover,
.Thessia-assessment-hero__button:focus-visible,
.Thessia-assessment-submit:focus-visible {
    background: #fff0a0;
    color: #081525;
    transform: translateY(-1px);
}

.Thessia-assessment-page .Thessia-assessment-hero__button.is-busy,
.Thessia-assessment-page .Thessia-assessment-hero__button:disabled {
    opacity: 1;
    cursor: wait;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.14);
    background-image: none;
    color: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.22);
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.Thessia-assessment-page .Thessia-assessment-hero__button.is-busy .Thessia-assessment-loading-dots span,
.Thessia-assessment-page .Thessia-assessment-hero__button:disabled .Thessia-assessment-loading-dots span {
    color: var(--thessia-assessment-gold);
}

.Thessia-assessment-hero__button--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.Thessia-assessment-hero__button--secondary:hover,
.Thessia-assessment-hero__button--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.Thessia-assessment-loading-dots {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 1.1em;
    margin-left: 0.08em;
}

.Thessia-assessment-loading-dots span {
    display: inline-block;
    animation: ThessiaAssessmentDotPulse 1.15s infinite ease-in-out;
    opacity: 0.28;
}

.Thessia-assessment-loading-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.Thessia-assessment-loading-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes ThessiaAssessmentDotPulse {
    0%,
    80%,
    100% {
        opacity: 0.28;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-1px);
    }
}

.Thessia-assessment-shell {
    background: linear-gradient(180deg, rgba(5, 5, 7, 0) 0, rgba(5, 5, 7, 0) 7rem, #ffffff 7rem, #ffffff 100%);
}

.Thessia-assessment-shell > .container {
    padding-bottom: clamp(6.5rem, 10vw, 11rem) !important;
}

.Thessia-assessment-surface {
    padding: 2rem;
    background: var(--thessia-assessment-surface);
    border: 1px solid var(--thessia-assessment-border);
    box-shadow: 0 28px 80px rgba(7, 21, 37, 0.08);
}

.Thessia-assessment-progress__label,
.Thessia-assessment-progress__count,
.Thessia-assessment-scorecard__label,
.Thessia-assessment-breakdown__strength {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thessia-assessment-copy-soft);
}

.Thessia-assessment-progress__count,
.Thessia-assessment-scorecard__value {
    color: var(--thessia-assessment-copy);
    font-weight: 600;
}

.Thessia-assessment-progress__track {
    position: relative;
    height: 0.4rem;
    background: rgba(36, 74, 121, 0.14);
    overflow: hidden;
}

.Thessia-assessment-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #d6b544 0%, #ffe24b 100%);
    transition: width 220ms ease;
}

.Thessia-assessment-question__prompt,
.Thessia-assessment-snapshot__title,
.Thessia-assessment-idle__title,
.Thessia-assessment-result-block__title,
.Thessia-assessment-offer__title {
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--thessia-assessment-copy);
}

.Thessia-assessment-question__prompt {
    font-size: clamp(1.75rem, 2.35vw, 2.45rem);
    line-height: 1.12;
}

.Thessia-assessment-question {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 1.25rem;
    padding-top: clamp(0.75rem, 1.4vw, 1.25rem);
    min-height: 35rem;
    height: 38rem;
}

.Thessia-assessment-options {
    display: grid;
    gap: 1rem;
    align-content: start;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.Thessia-assessment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--thessia-assessment-border);
    background: rgba(255, 255, 255, 0.86);
    color: var(--thessia-assessment-copy);
    text-align: left;
    transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.Thessia-assessment-option:hover,
.Thessia-assessment-option:focus-visible {
    border-color: var(--thessia-assessment-border-strong);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(7, 21, 37, 0.06);
}

.Thessia-assessment-option.is-selected {
    border-color: rgba(214, 181, 68, 0.6);
    background: linear-gradient(180deg, rgba(255, 226, 75, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 10px 22px rgba(214, 181, 68, 0.14);
}

.Thessia-assessment-option.is-selected .Thessia-assessment-option__key {
    background: rgba(214, 181, 68, 0.22);
    color: #6b5310;
}

.Thessia-assessment-option:disabled {
    cursor: wait;
    opacity: 0.72;
}

.Thessia-assessment-option__key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(36, 74, 121, 0.1);
    color: var(--thessia-assessment-blue);
    font-weight: 600;
}

.Thessia-assessment-option__text {
    font-size: 1.02rem;
    line-height: 1.5;
}

.Thessia-assessment-question__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.35rem;
    border-top: 1px solid var(--thessia-assessment-border);
}

.Thessia-assessment-link {
    color: var(--thessia-assessment-blue);
    font-weight: 500;
}

.Thessia-assessment-link--muted {
    color: rgba(18, 34, 53, 0.52);
}

.Thessia-assessment-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--thessia-assessment-blue);
    font-weight: 600;
    line-height: 1.2;
    transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.Thessia-assessment-secondary-action:hover,
.Thessia-assessment-secondary-action:focus-visible {
    color: #173a63;
    transform: translateY(-1px);
}

.Thessia-assessment-secondary-action:focus-visible {
    outline: 2px solid rgba(214, 181, 68, 0.45);
    outline-offset: 6px;
}

.Thessia-assessment-secondary-action:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    transform: none;
}

.Thessia-assessment-secondary-action--muted {
    color: rgba(18, 34, 53, 0.58);
    font-weight: 500;
}

.Thessia-assessment-secondary-action--muted:hover,
.Thessia-assessment-secondary-action--muted:focus-visible {
    color: var(--thessia-assessment-copy);
}

.Thessia-assessment-idle__body,
.Thessia-assessment-leadgate__body,
.Thessia-assessment-result-block__body,
.Thessia-assessment-offer__body,
.Thessia-assessment-offer__fit,
.Thessia-assessment-breakdown__summary,
.Thessia-assessment-breakdown__detail,
.Thessia-assessment-snapshot__body {
    color: var(--thessia-assessment-copy-soft);
    line-height: 1.6;
}

.Thessia-assessment-idle__list {
    display: grid;
    gap: 1rem;
}

.Thessia-assessment-idle__item {
    padding: 1rem 0 1rem 1.2rem;
    border-top: 1px solid var(--thessia-assessment-border);
    color: var(--thessia-assessment-copy);
    position: relative;
}

.Thessia-assessment-idle__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.4rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--thessia-assessment-gold);
}

.Thessia-assessment-snapshot {
    display: grid;
    gap: 2rem;
    padding-top: 0.65rem;
}

.Thessia-assessment-scorecard,
.Thessia-assessment-leadgate,
.Thessia-assessment-result-block,
.Thessia-assessment-offer {
    padding: 1.5rem;
    border: 1px solid var(--thessia-assessment-border);
    background: #ffffff;
}

.Thessia-assessment-scorecard__findings,
.Thessia-assessment-result-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--thessia-assessment-copy);
    display: grid;
    gap: 0.8rem;
}

.Thessia-assessment-scorecard__findings li,
.Thessia-assessment-result-list li {
    line-height: 1.55;
}

.Thessia-assessment-result-list--muted li {
    color: var(--thessia-assessment-copy-soft);
}

.Thessia-assessment-input {
    min-height: 3.5rem;
    border-radius: 0;
    border: 1px solid var(--thessia-assessment-border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--thessia-assessment-copy);
}

.Thessia-assessment-input:focus {
    border-color: rgba(214, 181, 68, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(255, 226, 75, 0.18);
}

.Thessia-assessment-leadgate__note {
    color: var(--thessia-assessment-copy-soft);
    font-size: 0.94rem;
}

.Thessia-assessment-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.Thessia-assessment-error {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(155, 41, 41, 0.18);
    background: rgba(155, 41, 41, 0.06);
    color: #7b1f1f;
}

.Thessia-assessment-result-section {
    background: #ffffff;
}

.Thessia-assessment-result-section:not(.Thessia-assessment-result-section--offers) > .container {
    padding-bottom: clamp(3rem, 4.5vw, 4.5rem) !important;
}

.Thessia-assessment-result-section--offers {
    background: #ffffff;
}

.Thessia-assessment-result-section--offers > .container {
    padding-top: clamp(2rem, 3vw, 3rem) !important;
    padding-bottom: clamp(8.5rem, 13vw, 12rem) !important;
}

.Thessia-assessment-breakdown {
    display: grid;
    gap: 1.2rem;
}

.Thessia-assessment-breakdown__item {
    padding: 1.25rem;
    border: 1px solid var(--thessia-assessment-border);
    background: #ffffff;
}

.Thessia-assessment-breakdown__label,
.Thessia-assessment-scorecard__value {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
}

.Thessia-assessment-offer--primary {
    background: linear-gradient(180deg, rgba(255, 226, 75, 0.18) 0%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(214, 181, 68, 0.4);
}

.Thessia-assessment-offer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.Thessia-assessment-result-hero__score {
    max-width: 44rem;
}

.Thessia-assessment-result-hero__title {
    max-width: 16ch;
    font-size: clamp(2.2rem, 4.1vw, 4.2rem);
    display: grid;
    gap: 0.05em;
}

.Thessia-assessment-result-hero__title-line {
    display: block;
}

.Thessia-assessment-result-hero__title-meta {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.18em;
}

.Thessia-assessment-result-hero__title-prefix {
    white-space: nowrap;
    color: #fff;
}

.Thessia-assessment-result-hero__cards {
    max-width: 61rem;
}

.Thessia-assessment-result-hero__panel {
    height: 100%;
    padding: 1.4rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.Thessia-assessment-result-hero__tier-panel {
    max-width: 100%;
}

.Thessia-assessment-result-hero__summary {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
}

.Thessia-assessment-tier-placement {
    display: grid;
    gap: 0.8rem;
}

.Thessia-assessment-tier-placement__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

.Thessia-assessment-tier-placement__dot {
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.Thessia-assessment-tier-placement__status {
    color: var(--thessia-assessment-gold);
    font-size: 0.98rem;
    font-weight: 600;
    white-space: nowrap;
}

.Thessia-assessment-tier-placement__item.is-current {
    color: #fff;
    font-weight: 600;
}

.Thessia-assessment-tier-placement__item.is-current .Thessia-assessment-tier-placement__dot {
    background: var(--thessia-assessment-gold);
    box-shadow: 0 0 0 0.35rem rgba(255, 226, 75, 0.16);
    animation: ThessiaAssessmentTierPulse 2.4s infinite ease-in-out;
}

@keyframes ThessiaAssessmentTierPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0.35rem rgba(255, 226, 75, 0.16);
    }

    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 0.5rem rgba(255, 226, 75, 0.24);
    }
}

@media (max-width: 991.98px) {
    .Thessia-assessment-page {
        background: linear-gradient(180deg, #050507 0, #050507 30rem, #ffffff 30rem, #ffffff 100%);
    }

    .Thessia-assessment-result-hero {
        background:
            radial-gradient(circle at 50% -4rem, rgba(255, 226, 75, 0.1), transparent 18rem),
            radial-gradient(circle at 88% 8%, rgba(255, 226, 75, 0.045), transparent 16rem),
            linear-gradient(180deg, #060608 0%, #090913 52%, #050507 100%);
    }

    .Thessia-assessment-result-hero .Thessia-assessment-hero__halo {
        inset: -10rem -8rem auto auto;
        width: 22rem;
        height: 22rem;
        opacity: 0.62;
        background: radial-gradient(circle, rgba(255, 226, 75, 0.12) 0%, rgba(255, 226, 75, 0) 70%);
    }

    .Thessia-assessment-tier-placement__status {
        font-size: 1rem;
    }

    .Thessia-assessment-tier-placement__dot {
        width: 0.84rem;
        height: 0.84rem;
    }

    .Thessia-assessment-surface {
        padding: 1.5rem;
    }

    .Thessia-assessment-question {
        min-height: 33rem;
        height: 35rem;
    }

    .Thessia-assessment-question__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .Thessia-assessment-shell > .container {
        padding-bottom: 5.5rem !important;
    }

    .Thessia-assessment-hero__title {
        max-width: 10ch;
        font-size: clamp(2.5rem, 12vw, 3.6rem);
    }

    .Thessia-assessment-question {
        min-height: 31rem;
        height: auto;
    }

    .Thessia-assessment-result-hero__title {
        max-width: 100%;
        font-size: clamp(2.2rem, 9.3vw, 3.25rem);
    }

    .Thessia-assessment-result-hero__title-meta {
        flex-wrap: wrap;
    }

    .Thessia-assessment-tier-placement__status {
        font-size: 0.98rem;
    }

    .Thessia-assessment-tier-placement__dot {
        width: 0.86rem;
        height: 0.86rem;
    }

    .Thessia-assessment-surface,
    .Thessia-assessment-scorecard,
    .Thessia-assessment-leadgate,
    .Thessia-assessment-result-block,
    .Thessia-assessment-offer,
    .Thessia-assessment-breakdown__item {
        padding: 1.15rem;
    }

    .Thessia-assessment-option {
        padding: 1rem;
        gap: 0.8rem;
    }

    .Thessia-assessment-option__text {
        font-size: 0.98rem;
    }
}
