.hero-section.ai3 {
    min-height: 0;
    padding: 28px 0 40px;
}

.hero-section.ai3 .welcome-content {
    margin-top: 0;
}

.hero-section.ai3 .welcome-content .hero-kicker {
    margin: 0 0 10px;
    color: var(--brand-yellow, #f9ce30);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-section.ai3 .welcome-content h1 {
    margin-bottom: 12px;
}

.hero-section.ai3 .welcome-content .hero-claim {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Product shot sits on the form: rings and overview above the card,
   fading out so the card edge stays clean. */
.scope-stage {
    position: relative;
    margin-top: 150px;
}

.hero-visual {
    position: absolute;
    z-index: 1;
    top: -150px;
    left: 0;
    width: 108%;
    height: 248px;
    margin: 0;
    pointer-events: none;
}

.hero-section.ai3 .hero-visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 78% 18%;
    filter: drop-shadow(0 14px 24px rgba(6, 10, 40, 0.32));
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 48%, transparent 70%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 48%, transparent 70%);
}

.scope-form-col {
    position: relative;
    z-index: 2;
    margin: 0;
}

.scope-card {
    position: relative;
    z-index: 2;
    background: var(--text-color-alt-1, #fff);
    color: var(--text-color-dark, #333);
    border: 1px solid var(--border-color, #e9ecef);
    border-top: 2px solid var(--brand-yellow, #f9ce30);
    border-radius: 0;
    box-shadow: var(--surface-light-card-shadow);
    padding: 18px 20px 16px;
}

.scope-head {
    margin-bottom: 10px;
}

.scope-card h2 {
    margin: 0 0 6px;
    color: var(--important-color, #1e336f);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.scope-lead,
.scope-success p {
    margin: 0;
    color: var(--text-color-muted, #6c757d);
    font-size: 13px;
    line-height: 1.4;
}

.scope-rule {
    margin: 14px 0 18px;
    border: 0;
    border-top: 1px solid var(--border-color, #e9ecef);
}

/* Step bar */
.scope-steps {
    display: flex;
    gap: 16px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.scope-step-num {
    display: none;
}

.scope-step-tab {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--text-color-muted, #6c757d);
    text-align: left;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.scope-step-num {
    color: var(--text-color-muted, #6c757d);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.scope-step-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.scope-step-tab.is-active {
    background: transparent;
    border-bottom-color: var(--brand-navy, #2c2c74);
    color: var(--important-color, #1e336f);
}

.scope-step-tab.is-active .scope-step-num,
.scope-step-tab.is-done .scope-step-num {
    color: var(--brand-blue, #0891de);
}

.scope-step-tab.is-done {
    color: var(--text-color-dark, #333);
}

/* Pane header */
.scope-pane {
    margin: 0;
}

.scope-card:not(.is-stepped) .scope-pane + .scope-pane {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color, #e9ecef);
}

.scope-card:not(.is-stepped) [data-step-next],
.scope-card:not(.is-stepped) [data-step-prev] {
    display: none;
}

/* Test options — three choices side by side so the descriptions stay visible without stacking the card */
.scope-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.scope-options .scope-option-body::before {
    top: 12px;
    transform: none;
}

.scope-option {
    display: block;
    margin: 0;
    position: relative;
    cursor: pointer;
}

.scope-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.scope-option-body {
    display: block;
    height: 100%;
    padding: 10px 12px 10px 34px;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 0;
    background: #fff;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.scope-option-body::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #9aa3b2;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}

.scope-option:hover .scope-option-body {
    border-color: rgba(8, 145, 222, 0.45);
}

.scope-option input:checked + .scope-option-body {
    border-color: var(--brand-navy, #2c2c74);
    border-left-color: var(--brand-navy, #2c2c74);
    background: #fff;
}

.scope-option input:focus-visible + .scope-option-body {
    outline: 2px solid var(--brand-navy, #2c2c74);
    outline-offset: 2px;
}

.scope-option-title,
.scope-option-note {
    display: block;
}

.scope-option-title {
    color: var(--important-color, #1e336f);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.scope-option-note {
    margin-top: 2px;
    color: var(--text-color-muted, #6c757d);
    font-size: 13px;
    line-height: 1.4;
}

/* Fields */
.scope-field {
    margin-bottom: 10px;
}

.scope-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-color-muted, #6c757d);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.scope-field label span {
    color: var(--text-color-muted, #6c757d);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.scope-quick {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.scope-quick button {
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 0;
    background: #fff;
    color: var(--text-color-dark, #333);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.scope-quick button:hover {
    border-color: var(--brand-blue, #0891de);
}

.scope-quick button.is-active {
    border-color: var(--brand-navy, #2c2c74);
    background: var(--brand-navy, #2c2c74);
    color: #fff;
}

.scope-brief {
    min-height: 72px;
}

.scope-box {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.scope-box .scope-tip {
    width: 34px;
    height: 34px;
    line-height: 32px;
}

.scope-box-opt {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.scope-box-opt input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.scope-box-opt span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 1px solid var(--border-color, #e9ecef);
    background: #fff;
    color: var(--text-color-dark, #333);
    padding: 0 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.scope-box-opt input:checked + span {
    border-color: var(--brand-navy, #2c2c74);
    background: var(--brand-navy, #2c2c74);
    color: #fff;
}

.scope-box-opt input:focus-visible + span {
    outline: 2px solid var(--brand-navy, #2c2c74);
    outline-offset: 2px;
}

.scope-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    color: var(--text-color-dark, #333);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.scope-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand-navy, #2c2c74);
}

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

.scope-span {
    grid-column: 1 / -1;
}

[data-exact-field] {
    margin-top: 10px;
}

.scope-card.is-stepped .scope-progress {
    display: none;
}

.scope-progress {
    color: var(--text-color-muted, #6c757d);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.scope-nav .scope-progress {
    margin-right: auto;
}

.scope-nav .scope-btn-back + .scope-progress {
    margin-right: 0;
    margin-left: 4px;
}

.scope-option input[type='radio']:checked + .scope-option-body::before {
    border-color: var(--brand-navy, #2c2c74);
    box-shadow: inset 0 0 0 3px var(--brand-navy, #2c2c74);
}

.scope-tip-wrap {
    display: inline-flex;
}

.scope-tip {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid var(--important-color, #1e336f);
    border-radius: 0;
    background: #fff;
    color: var(--important-color, #1e336f);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    cursor: help;
}

.scope-tip-bubble {
    display: none;
    position: absolute;
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    z-index: 6;
    width: min(260px, 100%);
    padding: 10px 12px;
    background: var(--brand-navy, #2c2c74);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0;
}

.scope-tip-bubble strong {
    font-weight: 700;
}

.scope-tip-wrap:hover .scope-tip-bubble,
.scope-tip-wrap:focus-within .scope-tip-bubble {
    display: block;
}

.scope-card input[type='text'],
.scope-card input[type='email'],
.scope-card input[type='tel'],
.scope-card input[type='number'],
.scope-card select,
.scope-card textarea {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 0;
    background: #fff;
    color: var(--text-color-dark, #333);
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.scope-card textarea {
    height: auto;
    min-height: 72px;
    resize: vertical;
}

.scope-card input:focus,
.scope-card select:focus,
.scope-card textarea:focus {
    border-color: var(--brand-indigo, #4c61db);
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 97, 219, 0.12);
}

.scope-card input[aria-invalid='true'],
.scope-card textarea[aria-invalid='true'] {
    border-color: #c2185b;
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.scope-error,
.scope-banner {
    margin: 8px 0 0;
    color: #c2185b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.scope-banner {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-left: 3px solid #c2185b;
    background: #fdf2f6;
}

/* Step actions */
.scope-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    padding-top: 0;
    border-top: 0;
}

.scope-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.scope-btn-primary {
    margin-left: auto;
    border: 0;
    background: var(--brand-yellow, #f9ce30);
    color: var(--important-color, #1e336f);
}

.scope-btn-primary:hover,
.scope-btn-primary:focus-visible {
    background: var(--accent-color-alt-2, #ffc61b);
    color: var(--important-color, #1e336f);
}

.scope-btn-back {
    padding: 0 14px;
    border: 1px solid var(--border-color, #e9ecef);
    background: #fff;
    color: var(--important-color, #1e336f);
}

.scope-btn-back:hover,
.scope-btn-back:focus-visible {
    border-color: var(--important-color, #1e336f);
}

.scope-again {
    display: inline-block;
    margin-top: 16px;
    color: var(--brand-blue, #0891de);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.scope-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-section.ai3 .welcome-content {
        margin-top: 12px;
    }

    .scope-stage {
        margin-top: 0;
    }

    .hero-visual {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 168px;
        margin: 0 0 -18px;
    }

    .scope-form-col {
        margin-top: 8px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .scope-stage {
        margin-top: 72px;
    }

    .hero-visual {
        top: -72px;
        height: 148px;
    }
}

@media (max-width: 575px) {
    .scope-options {
        grid-template-columns: 1fr;
    }

    .scope-card {
        padding: 18px 16px 14px;
    }

    .scope-step-tab {
        flex-direction: column;
        gap: 2px;
        padding: 9px 8px;
    }

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