/* AfrikaBurn – The Big Question. Minimal, page-native treatment using Krub
   and the 2027 theme-page pastel palette as a restrained accent only. */
.abq {
    --abq-ink: #171717;
    --abq-accent: #51AF9F;
    width: min(100%, 980px);
    margin: clamp(2.5rem, 7vw, 7rem) auto;
    color: inherit;
    font-family: "Krub", sans-serif;
}

.abq[data-palette="0"] { --abq-accent: #51AF9F; }
.abq[data-palette="1"] { --abq-accent: #F0EB97; }
.abq[data-palette="2"] { --abq-accent: #C8D7DC; }
.abq[data-palette="3"] { --abq-accent: #D5C8DC; }
.abq[data-palette="4"] { --abq-accent: #D0DCC8; }
.abq[data-palette="5"] { --abq-accent: #F0D0D5; }
.abq[data-palette="6"] { --abq-accent: #D6F8F7; }

.abq *, .abq *::before, .abq *::after {
    box-sizing: border-box;
    font-family: "Krub", sans-serif;
}

/* Deliberately no card, panel, shaded block or decorative background. */
.abq__question,
.abq__success {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.abq__mark,
.abq__success-mark,
.abq__eyebrow {
    display: none !important;
}

.abq__prompt {
    margin: 0 0 .65rem;
    font: inherit;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    font-weight: 500;
}

.abq__question-text {
    max-width: 18ch;
    margin: 0;
    font: inherit;
    font-size: clamp(2.1rem, 5.4vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.abq__report {
    width: max-content;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
}
.abq__report:hover,
.abq__report:focus-visible { opacity: .65; }

.abq__form {
    padding: clamp(2.8rem, 6vw, 5rem) 0 0;
}

.abq__field { position: relative; margin: 0; }
.abq__field label {
    display: block;
    margin: 0 0 .85rem;
    color: inherit;
    font: inherit;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
}

.abq__field textarea {
    display: block;
    width: 100%;
    min-height: 150px;
    resize: vertical;
    margin: 0;
    padding: 1rem 0 1.15rem;
    border: 0;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.35;
    appearance: none;
}
.abq__field textarea::placeholder { color: currentColor; opacity: .36; }
.abq__field textarea:focus {
    border-color: var(--abq-ink);
    box-shadow: inset 0 -5px 0 var(--abq-accent);
}

.abq__counter {
    display: block;
    margin-top: .4rem;
    text-align: right;
    font-size: .72rem;
    opacity: .55;
}

.abq__field--optional {
    margin-top: clamp(2.6rem, 5vw, 4.5rem);
}

.abq__field--optional label {
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 600;
}

.abq__rules {
    margin: clamp(2rem, 4vw, 3rem) 0 1.15rem;
    max-width: 58ch;
    font: inherit;
    font-size: .86rem;
    line-height: 1.45;
    opacity: .7;
}

.abq__submit,
.abq__again {
    border: 0;
    border-radius: 0;
    background: var(--abq-ink);
    color: #fff;
    padding: 1rem 1.35rem;
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    transition: transform .16s ease, background-color .16s ease, color .16s ease;
}
.abq__submit:hover,
.abq__submit:focus-visible,
.abq__again:hover,
.abq__again:focus-visible {
    transform: translateY(-2px);
    background: var(--abq-accent);
    color: var(--abq-ink);
}
.abq__submit[disabled] { opacity: .45; cursor: wait; transform: none; }

.abq__notice {
    min-height: 1.5em;
    margin-top: .9rem;
    font-size: .9rem;
    font-weight: 600;
}
.abq__notice.is-error { color: #a42121; }

.abq__success {
    padding-top: .25rem;
}

.abq__success-text {
    max-width: 24ch;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    font: inherit;
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.02;
}

.abq__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.abq__stat {
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(.75rem, 2vw, 1.25rem);
}

.abq__stat + .abq__stat {
    border-left: 1px solid rgba(23,23,23,.2);
}

.abq__stat strong,
.abq__stat span {
    display: block;
}

.abq__stat strong {
    margin: 0 0 .2rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.abq__stat span {
    font-size: clamp(.74rem, 1.4vw, .9rem);
    font-weight: 600;
    line-height: 1.25;
    opacity: .68;
}

.abq__again { width: max-content; }

.abq__trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.abq.is-loading .abq__question-text { opacity: .42; }

@media (max-width: 767px) {
    .abq { margin: 2.5rem auto; }
    .abq__question-text { font-size: clamp(2.2rem, 11vw, 3.8rem); max-width: 13ch; }
    .abq__form { padding-top: 2.8rem; }
    .abq__field textarea { min-height: 135px; }
    .abq__stats { grid-template-columns: 1fr; }
    .abq__stat { padding-left: 0; padding-right: 0; }
    .abq__stat + .abq__stat { border-left: 0; border-top: 1px solid rgba(23,23,23,.2); }
    .abq__submit, .abq__again { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .abq__submit, .abq__again { transition: none; }
}
