:root {
    --orange: #ef4a27;
    --acid: #dce000;
    --ink: #101010;
    --muted: #5d5d5d;
    --line: #171717;
    --paper: #fff;
    --error: #b42318;
    --focus: #1967d2;
    --page: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

a { color: inherit; text-underline-offset: .18em; }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 495px;
    background:
        repeating-radial-gradient(circle at 50% 54%,
            #090909 0 76px,
            var(--acid) 76px 145px,
            #090909 145px 214px,
            var(--acid) 214px 288px,
            #090909 288px 362px,
            var(--acid) 362px 448px,
            #090909 448px 540px);
}

.hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .28;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.hero__inner {
    width: min(var(--page), calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 42px;
}

.logo {
    display: grid;
    width: fit-content;
    color: var(--orange);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: .76;
    text-transform: none;
    text-shadow: .015em .015em 0 rgba(0,0,0,.09);
}

.logo__small {
    margin-left: .15em;
    margin-bottom: .08em;
    font-size: clamp(38px, 5vw, 63px);
    letter-spacing: -.045em;
}

.logo__main { font-size: clamp(72px, 11.2vw, 154px); white-space: nowrap; }
.logo__quiz { font-size: clamp(84px, 12.5vw, 170px); }

.hero__strips {
    display: grid;
    gap: 4px;
    width: min(100%, 1010px);
    margin-top: 55px;
    font-weight: 800;
    font-size: clamp(18px, 2.05vw, 29px);
}

.hero__strips p {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 10px 15px 9px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.hero__strip-row { display: flex; align-items: stretch; gap: 3px; flex-wrap: wrap; }

.page-shell {
    width: min(var(--page), calc(100% - 48px));
    margin: 0 auto;
}

.quiz-form { position: relative; }

.form-progress {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 -12px;
    padding: 10px 12px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e2e2e2;
    backdrop-filter: blur(8px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.form-progress__bar {
    width: 150px;
    height: 5px;
    overflow: hidden;
    background: #ececec;
    border-radius: 99px;
}

.form-progress__bar span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .2s ease; }

.question {
    min-inline-size: 0;
    margin: 0;
    padding: 66px 0 48px;
    border: 0;
    border-bottom: 2px solid var(--line);
}

.question legend {
    float: left;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(23px, 2.35vw, 34px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.question legend + * { clear: both; }
.question__accent { color: var(--orange); }
.question__title { color: var(--ink); }

.question__text {
    margin: 0 0 27px;
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.34;
}

.question__text em { font-size: .94em; }

.options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 30px;
}

.options--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.option {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.28;
}

.option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.option__control {
    position: relative;
    width: 36px;
    height: 36px;
    border: 4px solid var(--ink);
    background: #fff;
    transition: transform .12s ease, border-color .12s ease;
}

.option__control::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid #aaa;
    border-radius: 50%;
    background: #fff;
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.option:hover .option__control { transform: translateY(-1px); }
.option input:checked + .option__control::after { background: var(--orange); border-color: var(--orange); transform: scale(.83); }
.option input:focus-visible + .option__control { outline: 3px solid var(--focus); outline-offset: 3px; }

.question--invalid { border-bottom-color: var(--error); }

.field-error {
    margin: 14px 0 0;
    color: var(--error);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.participate {
    margin-top: 48px;
    padding: 48px 0 55px;
    border-top: 2px solid var(--line);
}

.participate h2 {
    margin: 0 0 10px;
    color: var(--acid);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
    font-size: clamp(44px, 5.9vw, 78px);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: .95;
}

.participate__intro {
    max-width: 1080px;
    margin: 0 0 35px;
    font-size: clamp(18px, 2vw, 25px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 35px;
    margin: 35px 0 35px;
}

.field { display: grid; gap: 7px; }
.field label { font-size: 15px; }

.field input {
    width: 100%;
    min-height: 64px;
    padding: 12px 15px;
    border: 4px solid var(--ink);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font-size: 20px;
    outline: none;
}

.field input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(25,103,210,.16); }
.field--invalid input { border-color: var(--error); }

.consent {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 13px;
    align-items: start;
    max-width: 1000px;
    margin-top: 10px;
    font-size: 16px;
    font-style: italic;
    cursor: pointer;
}

.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent__box { position: relative; width: 26px; height: 26px; border: 3px solid var(--ink); background: #fff; }
.consent input:checked + .consent__box::after { content: '✓'; position: absolute; left: 3px; top: -6px; color: var(--orange); font: 900 28px/1 Arial,sans-serif; }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--focus); outline-offset: 3px; }
.consent--invalid .consent__box { border-color: var(--error); }
.field-error--consent { margin-left: 43px; }

.privacy-link { margin: 14px 0 0 43px; font: 14px Arial,sans-serif; }

.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid #dadada;
}

.submit-row p { margin: 0; font-style: italic; font-size: 17px; }

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-width: 290px;
    min-height: 66px;
    padding: 13px 21px;
    border: 4px solid var(--ink);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.submit-button:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.submit-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.submit-button__arrow { font-size: 28px; line-height: 1; }

.alert {
    margin-top: 30px;
    padding: 16px 18px;
    border: 2px solid;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}
.alert--error { border-color: var(--error); color: var(--error); background: #fff5f3; }

.success-panel {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    margin: 70px 0 85px;
    padding: clamp(28px, 5vw, 55px);
    border: 4px solid var(--ink);
}
.success-panel__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--acid); font: 900 38px/1 Arial,sans-serif; }
.success-panel h1 { margin: 0 0 8px; font-family: Arial,sans-serif; font-size: clamp(30px,4vw,52px); }
.success-panel p { margin: 0; font-size: 19px; }

.footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 18px;
    width: min(var(--page), calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 45px;
    color: var(--orange);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
}
.footer > span:first-child { align-self: center; font-size: 22px; }
.footer strong { font-size: 35px; line-height: .78; text-align: right; }
.footer__target { font-size: 60px; line-height: .7; }

.hp {
    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;
}

@media (max-width: 920px) {
    .hero { min-height: 420px; }
    .hero__inner, .page-shell, .footer { width: min(100% - 34px, var(--page)); }
    .logo__main { white-space: normal; }
    .options, .options--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { gap: 18px; }
}

@media (max-width: 620px) {
    .hero { min-height: 445px; background-position: center; }
    .hero__inner { padding-top: 38px; }
    .logo { line-height: .8; }
    .logo__small { font-size: 36px; }
    .logo__main { font-size: clamp(58px, 18vw, 88px); }
    .logo__quiz { font-size: clamp(68px, 22vw, 105px); }
    .hero__strips { margin-top: 48px; font-size: 17px; }
    .hero__strips p { padding: 8px 10px; }

    .form-progress { justify-content: space-between; }
    .form-progress__bar { flex: 1 1 auto; width: auto; }
    .form-progress #progress-text { white-space: nowrap; font-size: 11px; }

    .question { padding: 47px 0 36px; }
    .question legend { font-size: 27px; }
    .question__text { font-size: 17px; margin-bottom: 22px; }
    .options, .options--compact { grid-template-columns: 1fr; gap: 11px; }
    .option { min-height: 51px; padding: 7px 8px; background: #fafafa; }

    .participate { padding-top: 38px; }
    .participate h2 { font-size: 48px; }
    .participate__intro { font-size: 18px; }
    .contact-grid { grid-template-columns: 1fr; }
    .field input { min-height: 58px; border-width: 3px; }
    .submit-row { align-items: stretch; flex-direction: column; }
    .submit-button { width: 100%; min-width: 0; }

    .success-panel { grid-template-columns: 1fr; }

    .footer { grid-template-columns: 1fr auto; padding-bottom: 30px; }
    .footer > span:first-child { display: none; }
    .footer strong { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
