:root {
    --ax-bg: #282828;
    --ax-bg-soft: #323232;
    --ax-card: rgba(47, 47, 47, 0.92);
    --ax-card-edge: rgba(98, 179, 169, 0.16);
    --ax-card-edge-strong: rgba(98, 179, 169, 0.35);
    --ax-fg: #fafafa;
    --ax-muted: #cfcfcf;
    --ax-muted-2: #aaaaaa;
    --ax-accent: #62b3a9;
    --ax-accent-strong: #79d3c8;
    --ax-input: #212121;
    --ax-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --ax-radius: 22px;
    --ax-radius-sm: 14px;
    --ax-max: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ax-fg);
    background: linear-gradient(180deg, #202020 0%, #282828 100%);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ax-accent-strong);
}

.page-wrap {
    min-height: 100vh;
    padding: 36px 16px 48px;
}

.page-wrap--inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.shell {
    width: 100%;
    max-width: var(--ax-max);
    margin: 0 auto;
}

.shell--narrow {
    max-width: 820px;
}

.hero-card,
.form-card,
.content-card,
.export-card {
    background: var(--ax-card);
    border: 1px solid var(--ax-card-edge);
    border-radius: var(--ax-radius);
    box-shadow: var(--ax-shadow);
    backdrop-filter: blur(10px);
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 26px;
    padding: 28px;
    margin-bottom: 22px;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 10px;
    border-radius: calc(var(--ax-radius) - 6px);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.logo-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.logo-box,
.bottom-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border-radius: 18px;
    background: #f7f7f7;
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.bottom-logo-box {
    min-height: 190px;
}

.logo-box img,
.bottom-logo-box img {
    max-height: 118px;
    object-fit: contain;
}

.bottom-logo-box img {
    max-height: 145px;
}

.symbol {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--ax-accent);
    line-height: 1;
    text-align: center;
}

.equals {
    margin-top: -2px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(98, 179, 169, 0.12);
    color: var(--ax-accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.prose-card h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.hero-copy p,
.prose-card p,
.section-heading p,
.questionnaire-intro p,
.export-card p {
    color: var(--ax-muted);
    line-height: 1.65;
}

.hero-copy p {
    max-width: 58ch;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 22px;
}

.text-link {
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.stat-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
}

.stat-value {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--ax-accent-strong);
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--ax-muted);
}

.form-card,
.content-card,
.export-card {
    padding: 28px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2,
.questionnaire-intro h3,
.export-card h1,
.prose-card h1 {
    margin: 0 0 10px;
}

.field-grid {
    display: grid;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label,
.question-card legend {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--ax-fg);
}

.field label span,
.reverse-note {
    color: var(--ax-muted-2);
    font-weight: 500;
}

input,
textarea,
button {
    font: inherit;
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--ax-input);
    color: var(--ax-fg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--ax-card-edge-strong);
    box-shadow: 0 0 0 4px rgba(98, 179, 169, 0.12);
}

textarea {
    resize: vertical;
    min-height: 132px;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 0;
    color: var(--ax-muted);
}

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ax-accent);
}

.questionnaire {
    margin-top: 24px;
    padding-top: 10px;
}

.questionnaire-intro {
    margin-bottom: 18px;
}

.question-card {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
}

.question-card legend {
    padding: 0 8px 0 0;
    line-height: 1.5;
}

.question-number {
    color: var(--ax-accent-strong);
    margin-right: 6px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.option-pill {
    display: block;
    position: relative;
    cursor: pointer;
}

.option-pill input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.option-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 10px 12px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.12);
    color: var(--ax-muted);
    line-height: 1.3;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.option-pill input:checked + span,
.option-pill:hover span {
    color: var(--ax-fg);
    border-color: rgba(98, 179, 169, 0.45);
    background: rgba(98, 179, 169, 0.14);
    transform: translateY(-1px);
}

.action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.action-row--left {
    justify-content: flex-start;
}

button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    color: #0f1414;
    background: linear-gradient(180deg, var(--ax-accent-strong) 0%, var(--ax-accent) 100%);
    box-shadow: 0 14px 30px rgba(98, 179, 169, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover,
.button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(98, 179, 169, 0.28);
    filter: brightness(1.02);
}

.message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(98, 179, 169, 0.12);
    border: 1px solid rgba(98, 179, 169, 0.3);
    color: var(--ax-fg);
}

.message.is-error {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.28);
}

.prose-card p + p {
    margin-top: 0.95rem;
}

.export-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.export-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--ax-muted);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

@media (max-width: 940px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
}

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

    .option-pill span {
        justify-content: flex-start;
        min-height: auto;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .page-wrap {
        padding: 20px 12px 28px;
    }

    .hero-card,
    .form-card,
    .content-card,
    .export-card {
        padding: 20px;
        border-radius: 18px;
    }

    .logo-row {
        grid-template-columns: 1fr;
    }

    .symbol {
        margin: 4px 0;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .prose-card h1,
    .export-card h1 {
        font-size: 2rem;
    }
}
