/* ========================================
   ASSESSMENT TOOL — Centre Channel
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f0e8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.assessment {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 24px;
}

.assessment__container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Screen visibility */
.screen {
    display: none;
    opacity: 0;
    transition: opacity 150ms ease;
}

.screen--active {
    display: block;
}

.screen--visible {
    opacity: 1;
}

/* ========================================
   PROGRESS INDICATOR
   ======================================== */
.progress {
    display: flex;
    gap: 4px;
    margin-bottom: 48px;
}

.progress__segment {
    flex: 1;
    height: 2px;
    background-color: #d8d6d0;
    border-radius: 1px;
    transition: background-color 250ms ease;
}

.progress__segment--active {
    background-color: #b8976a;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.assessment__label {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8976a;
    margin-bottom: 16px;
}

.assessment__headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.assessment__headline--large {
    font-size: 32px;
}

.assessment__body {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.assessment__body--secondary {
    color: #666;
    font-size: 0.9375rem;
}

/* ========================================
   OPENING SCREEN
   ======================================== */
.open__intro {
    margin-bottom: 48px;
}

.open__intro .assessment__headline {
    margin-bottom: 24px;
}

.open__intro .assessment__body {
    margin-bottom: 0;
}

/* ========================================
   ANSWER OPTIONS
   ======================================== */
.options {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    padding: 20px 24px;
    border: 1px solid #d8d6d0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #1a1a1a;
    text-align: left;
    transition: background-color 150ms ease, border-color 150ms ease;
    width: 100%;
}

.option:hover {
    background-color: #ebe6db;
}

.option--selected {
    border-color: #b8976a;
    background-color: #faf8f4;
}

/* ========================================
   CONFIRMATION SCREENS
   ======================================== */
.confirm__copy {
    border-left: 2px solid #b8976a;
    padding-left: 24px;
    margin-bottom: 32px;
}

.confirm__copy p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 0;
}

.confirm__source {
    font-size: 0.6875rem;
    font-weight: 400;
    color: #888;
    margin-top: 12px;
    line-height: 1.5;
}

/* Auto-advance bar */
.confirm__advance {
    margin-top: 48px;
}

.confirm__skip {
    display: block;
    text-align: right;
    margin-bottom: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #b8976a;
    text-decoration: none;
    cursor: pointer;
}

.confirm__skip:hover {
    color: #96784d;
}

.confirm__bar-track {
    width: 100%;
    height: 2px;
    background-color: #d8d6d0;
    border-radius: 1px;
    overflow: hidden;
}

.confirm__bar-fill {
    height: 100%;
    width: 100%;
    background-color: #b8976a;
    border-radius: 1px;
    transform-origin: left;
    transition: none;
}

.confirm__bar-fill--animating {
    transition: transform 6s linear;
    transform: scaleX(0);
}

/* ========================================
   PAUSE SCREEN
   ======================================== */
.pause__text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 48px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #b8976a;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
    color: #b8976a;
    background: transparent;
}

.btn:hover {
    background-color: #b8976a;
    color: #ffffff;
}

.btn--primary {
    background-color: #b8976a;
    color: #ffffff;
}

.btn--primary:hover {
    background-color: #96784d;
    border-color: #96784d;
}

/* ========================================
   OUTCOME SCREENS
   ======================================== */
.outcome__label {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8976a;
    margin-bottom: 16px;
}

.outcome__headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.outcome__body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.outcome__body p:last-child {
    margin-bottom: 0;
}

.outcome__social-proof {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
    margin-top: 24px;
    margin-bottom: 0;
}

.outcome__divider {
    border: none;
    border-top: 1px solid #d8d6d0;
    margin: 32px 0;
}

/* CTA section */
.outcome__cta {
    margin-bottom: 0;
}

/* Email section */
.outcome__email {
    margin-top: 0;
}

.outcome__email-label {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.outcome__email-sublabel {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 16px;
}

.outcome__email-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.outcome__email-input {
    flex: 1;
    padding: 12px 16px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #d8d6d0;
    border-radius: 4px;
    outline: none;
    transition: border-color 150ms ease;
}

.outcome__email-input:focus {
    border-color: #b8976a;
}

.outcome__email-submit {
    padding: 12px 24px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b8976a;
    background: transparent;
    border: 1px solid #b8976a;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
    white-space: nowrap;
}

.outcome__email-submit:hover {
    background-color: #b8976a;
    color: #ffffff;
}

.outcome__email-confirm {
    display: none;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #666;
}

.outcome__email-confirm--visible {
    display: block;
}

.outcome__email-error {
    display: none;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #b85c5c;
}

.outcome__email-error--visible {
    display: block;
}

/* Start again link */
.outcome__restart {
    display: inline-block;
    margin-top: 32px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #888;
    text-decoration: none;
    cursor: pointer;
}

.outcome__restart:hover {
    color: #1a1a1a;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 480px) {
    .assessment {
        padding: 32px 20px;
    }

    .assessment__headline {
        font-size: 24px;
    }

    .assessment__headline--large {
        font-size: 28px;
    }

    .pause__text {
        font-size: 22px;
    }

    .outcome__headline {
        font-size: 24px;
    }

    .option {
        padding: 16px 20px;
    }

    .outcome__email-form {
        flex-direction: column;
    }

    .outcome__email-submit {
        width: 100%;
    }
}
