:root {
    --bg: #000;
    --ink: #fff;
    --muted: rgba(255, 255, 255, 0.58);
    --line: rgba(255, 255, 255, 0.72);
    --line-soft: rgba(255, 255, 255, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    align-items: center;
    background: var(--bg);
    color: var(--ink);
    display: flex;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

.scorecard-shell {
    align-items: center;
    display: grid;
    gap: 36px;
    justify-items: center;
    max-width: 780px;
    text-align: center;
    width: 100%;
}

.mark {
    display: grid;
    gap: 18px;
    justify-items: center;
    margin-bottom: 8px;
}

.mark img {
    height: auto;
    max-width: 290px;
    width: 100%;
}

.mark-label {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.question-wrap {
    display: grid;
    gap: 16px;
    justify-items: center;
    max-width: 680px;
}

.progress-copy {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    max-width: 12ch;
}

.support-copy {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.9;
    margin: 0;
    max-width: 52ch;
}

.option-stack {
    display: grid;
    gap: 14px;
    max-width: 520px;
    width: 100%;
}

.option {
    align-items: center;
    background: transparent;
    border: 2px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 5px;
    justify-items: center;
    min-height: 82px;
    padding: 16px 22px;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
    width: 100%;
}

.option span {
    font-size: 1.05rem;
    font-weight: 500;
}

.option small {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.option:hover,
.option:focus-visible {
    background: var(--ink);
    color: #000;
    outline: none;
    transform: translateY(-1px);
}

.option:hover small,
.option:focus-visible small {
    color: rgba(0, 0, 0, 0.58);
}

.nav-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.ghost-link {
    color: var(--muted);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.progress-dots {
    display: flex;
    gap: 10px;
}

.dot {
    background: var(--line-soft);
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

.dot.active {
    background: var(--ink);
    width: 38px;
}

.summary-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: 28px;
    display: grid;
    gap: 10px;
    max-width: 520px;
    padding: 20px 22px;
    width: 100%;
}

.summary-box strong {
    font-size: 1rem;
    font-weight: 500;
}

.summary-box p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.capture-form {
    display: grid;
    gap: 14px;
    max-width: 520px;
    width: 100%;
}

.capture-form input:not([type='checkbox']),
.capture-form select,
.capture-form textarea {
    background: transparent;
    border: 2px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font: inherit;
    min-height: 64px;
    outline: none;
    padding: 0 20px;
    width: 100%;
}

.capture-form textarea {
    border-radius: 28px;
    min-height: 120px;
    padding: 18px 20px;
    resize: vertical;
}

.capture-form input:not([type='checkbox'])::placeholder,
.capture-form textarea::placeholder,
.capture-form select {
    color: var(--muted);
}

.capture-form input:not([type='checkbox']):focus,
.capture-form select:focus,
.capture-form textarea:focus {
    border-color: var(--ink);
}

.capture-form .cta[disabled] {
    cursor: wait;
    opacity: 0.76;
}

.checkline {
    align-items: flex-start;
    color: var(--muted);
    display: grid;
    gap: 12px;
    grid-template-columns: 22px 1fr;
    line-height: 1.65;
    text-align: left;
}

.checkline input {
    accent-color: #fff;
    border: 0;
    border-radius: 0;
    min-height: 0;
    margin-top: 2px;
    padding: 0;
    width: 20px;
    height: 20px;
}

.status-copy {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
    min-height: 1.4em;
}

.sr-only-field {
    left: -9999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.micro-copy {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0;
}

.thanks-copy {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
    margin: 0;
    max-width: 48ch;
}

.thanks-name {
    color: var(--ink);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.stack-tight {
    display: grid;
    gap: 10px;
}

body[data-step='thanks'] .scorecard-shell {
    gap: 56px;
}

body[data-step='thanks'] .question-wrap.stack-tight {
    gap: 20px;
    max-width: 720px;
    padding-top: 24px;
}

body[data-step='thanks'] .option-stack {
    gap: 18px;
    margin-top: 8px;
}

body[data-step='thanks'] .thanks-copy {
    max-width: 52ch;
}

.cta {
    background: var(--ink);
    border: none;
    border-radius: 999px;
    color: #000;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    min-height: 68px;
    padding: 0 28px;
    align-items: center;
    width: 100%;
}

.footer-note {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    max-width: 42ch;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    body {
        padding: 24px 14px;
    }

    .scorecard-shell {
        gap: 28px;
    }

    h1 {
        max-width: 13ch;
    }

    .option {
        min-height: 76px;
        padding: 14px 18px;
    }

    .capture-form input,
    .capture-form select {
        min-height: 60px;
    }
}
