@font-face {
    font-family: Inter;
    src: url(inter-greek.woff2) format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0370-03FF;
}

@font-face {
    font-family: Inter;
    src: url(inter-latin.woff2) format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0300-036F, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    font-family: Inter, system-ui, sans-serif;
    --text: #fff8ff;
    --muted: #c4b4cd;
    --pink: #f4a0d8;
    --line: #ffffff23;
    --success: #a2efca;
    --miss: #ffc3b6;
    background: #180e21;
    color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    min-width: 280px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 82% 28%, #682b6355, transparent 48rem),
        radial-gradient(ellipse at 12% 79%, #4b24594f, transparent 39rem),
        #180e21;
}

[hidden] { display: none !important; }
::selection { color: #200e24; background: #f5b5dd; }
:focus-visible { outline: 2px solid #ffb4e4; outline-offset: 4px; }
a { color: inherit; }

.site {
    width: min(1216px, calc(100% - 104px));
    margin-inline: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 92px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.event {
    color: var(--text);
    font-size: clamp(.85rem, 1.5vw, 1.15rem);
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
}

.header-logo {
    display: grid;
    place-items: center;
    width: 130px;
    height: 62px;
    border: 1px solid #fff8ffbb;
    border-radius: 12px;
    background: #f6f2f8;
}

.header-logo img { display: block; max-width: 100%; height: auto; }
.header-logo-elpen { justify-self: start; }
.header-logo-elpen img { width: 89px; }
.header-logo-platorel { justify-self: end; }
.header-logo-platorel img { width: 101px; }

main { flex: 1; display: grid; align-content: center; padding-block: 48px; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 5.15vw, 78px);
}

.hero-copy { padding-block: 14px; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--pink);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .065em;
}

.eyebrow > span {
    flex: 0 0 18px;
    height: 1px;
    background: #f69ad5;
    box-shadow: 0 0 12px #f69ad5a3;
}

.hero h1 {
    margin: 22px 0 24px;
    font-size: clamp(3rem, 6vw, 5.65rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.076em;
}

.hero h1 em {
    display: block;
    width: fit-content;
    margin-top: .19em;
    padding-inline-end: .08em;
    font-size: .69em;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -.035em;
    color: #f9aae2;
    background: linear-gradient(105deg, #ffbeec, #ef9ddd 57%, #d0a4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    max-width: 43ch;
    margin: 0;
    font-size: clamp(.98rem, 1.35vw, 1.17rem);
    color: var(--muted);
    line-height: 1.72;
}

.intro-text strong {
    color: #dda6f5;
    font-weight: 750;
}

.facts { display: flex; margin: 35px 0 34px; }
.facts > div { display: flex; flex-direction: column-reverse; gap: 7px; padding-inline: 25px; }
.facts > div:first-child { padding-inline-start: 0; }
.facts > div + div { border-inline-start: 1px solid var(--line); }
.facts dt { font-size: .77rem; color: var(--muted); }
.facts dd { margin: 0; font-size: 1.43rem; font-weight: 700; letter-spacing: -.03em; }

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 12px 19px 12px 22px;
    border: 1px solid #ffe2fb85;
    border-radius: 12px;
    background: linear-gradient(112deg, #f8aad9, #d7a5f7);
    box-shadow: 0 9px 29px #e07cd72f, inset 0 1px #fff4fb72;
    color: #251228;
    font: inherit;
    font-size: .91rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button span { font-size: 1.28rem; line-height: 1; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 32px #ee95df50; filter: brightness(1.06); }
.button:active { transform: translateY(0); }

.hero-visual {
    aspect-ratio: 1125 / 855;
    overflow: hidden;
    border-radius: 24px;
    background: #d5d4d9;
    box-shadow: 0 26px 85px #08030c8c, 0 0 76px #a77ac82b, 0 0 0 1px #f4a0d84d;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    display: block;
    aspect-ratio: 1125 / 150;
}

.hero-visual::before {
    background: linear-gradient(90deg, #c5c7ca, #cdd0d2 17%, #c6c7ca 33%, #b4b8bb 50%, #a7abae 67%, #9da1a4 83%, #919598);
}

.hero-visual::after {
    background: linear-gradient(90deg, #fdfdfd, #f9f9f9 17%, #e9ebed 33%, #dee0e2 50%, #d3d5d7 67%, #cbcdcf 83%, #c4c6c8);
}

.hero-visual-scene {
    aspect-ratio: 1125 / 555;
    overflow: hidden;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    min-height: 69px;
    padding-block: 13px;
    border-top: 1px solid var(--line);
    font-size: .75rem;
    color: var(--muted);
}

.footer i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-inline-end: 4px; background: #f4a0d8; }

.quiz-layout { display: grid; grid-template-columns: minmax(180px, 245px) minmax(0, 1fr); gap: clamp(28px, 4vw, 66px); align-items: start; }
.progress-panel { padding: 25px 0; }
.progress-count { margin: 17px 0 12px; font-size: 2.7rem; font-weight: 780; letter-spacing: -.085em; font-variant-numeric: tabular-nums; }
.progress-count span { font-size: .52em; font-weight: 600; color: var(--muted); letter-spacing: -.025em; }

progress { display: block; appearance: none; width: 100%; height: 5px; border: 0; border-radius: 999px; background: #ffffff22; overflow: hidden; }
progress::-webkit-progress-bar { background: #ffffff22; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #f09acb, #b391f7); }
progress::-moz-progress-bar { background: linear-gradient(90deg, #f09acb, #b391f7); }

.steps { padding: 0; list-style: none; margin: 24px 0 0; display: grid; gap: 6px; }
.steps li { display: flex; gap: 9px; align-items: center; min-height: 36px; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.steps .current { color: var(--text); font-weight: 700; }
.step-num {
    flex: 0 0 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .73rem;
    font-weight: 680;
}
.current .step-num { background: #f3a4dd; border-color: #f3a4dd; color: #281329; }
.answered .step-num { color: var(--success); border-color: #a2efca55; }

.panel {
    padding: clamp(25px, 4.1vw, 59px);
    border: 1px solid #efbcee39;
    background: linear-gradient(145deg, #37203c, #25162e 76%);
    border-radius: 24px;
    box-shadow: 0 22px 70px #0d051b60;
}

.panel h1 {
    margin: 17px 0 27px;
    font-size: clamp(1.55rem, 3vw, 2.62rem);
    line-height: 1.25;
    letter-spacing: -.05em;
}
.question-panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.question-panel legend { margin: 0 0 12px; padding: 0; font-size: .86rem; line-height: 1.45; }
.choices { display: grid; gap: 10px; }

.choice {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 13px;
    min-height: 60px;
    padding: 10px 15px 10px 11px;
    border: 1px solid #ffffff29;
    border-radius: 12px;
    background: #fff8ff06;
    cursor: pointer;
    font-size: .96rem;
    font-weight: 560;
    transition: border-color .17s ease, background .17s ease;
}
.choice:hover { background: #fff8ff0e; border-color: #f4b3dd81; }
.choice:has(:checked) { background: #e989cd23; border-color: #f3a6db; }
.choice:has(:focus-visible) { outline: 2px solid #ffb4e4; outline-offset: 3px; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-key {
    display: grid;
    min-height: 36px;
    place-items: center;
    border-radius: 8px;
    background: #cf9bef22;
    color: #fad1ef;
    font-size: .83rem;
    font-weight: 750;
}
.choice:has(:checked) .choice-key { background: #f3a6db; color: #271325; }
.choice-radio { width: 16px; height: 16px; border: 1px solid #b89cbd; border-radius: 50%; }
.choice:has(:checked) .choice-radio { border: 4px solid #f3a6db; }
.actions { display: flex; justify-content: flex-end; margin-top: 24px; }

.feedback {
    --accent: var(--pink);
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--accent);
    border-radius: 13px;
    padding: 20px clamp(13px, 3vw, 27px);
    background: #fff8ff08;
}
.feedback.success { --accent: var(--success); }
.feedback.miss { --accent: #ff777f; }
.feedback p { color: var(--muted); line-height: 1.6; margin: 8px 0; }
.feedback .feedback-status { margin: 0 0 6px; color: var(--accent); font-size: .84rem; font-weight: 750; }
.feedback.success .feedback-status,
.feedback.miss .feedback-status {
    font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.feedback h2 { margin: 0 0 12px; font-size: 1.48rem; letter-spacing: -.04em; }
.feedback-status .selected {
    font-size: .86rem;
    font-weight: 550;
}
.slide-prompt, .slide-answer-label, .answer-title, .answer-explanation { white-space: pre-wrap; }

.question-panel legend,
.feedback .answer-explanation,
.review-body .answer-explanation,
.feedback .slide-answer-label,
.review-body .slide-answer-label,
.feedback-status .selected {
    color: #e6dce9;
}

.feedback .slide-answer-label,
.review-body .slide-answer-label {
    margin-bottom: 30px;
    font-size: .76rem;
    font-weight: 650;
}

.feedback .answer-lead,
.review-body .answer-lead {
    color: #fff;
    font-weight: 650;
}


.slide-figure {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto 0;
    border-radius: 10px;
    background: #fff;
}

.feedback .source,
.review-body .source {
    margin-top: clamp(30px, 4vw, 48px);
    color: #ecc2e0;
    font-size: .8rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chart { margin-top: 23px; overflow-x: auto; }
.chart table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.chart caption { text-align: left; font-size: 1rem; font-weight: 700; margin-bottom: 9px; }
.chart th, .chart td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.chart th { text-align: left; font-weight: 560; }
.chart thead th { color: var(--muted); }
.chart th:last-child, .chart td { text-align: right; }
.chart td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sort-button {
    color: #f9c0e2;
    background: #fff1;
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
}

.results, .unavailable { width: min(100%, 804px); margin-inline: auto; }
.results h1 { margin-bottom: 10px; }
.result-score { margin: 0; font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.09em; color: #f5aade; }
.result-score span { font-size: .52em; color: #cfbad6; letter-spacing: -.055em; }
.result-caption { color: var(--muted); margin: 7px 0 24px; }
.result-list { margin-bottom: 28px; border-top: 1px solid var(--line); }
.review { border-bottom: 1px solid var(--line); font-size: .9rem; }
.review summary { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 8px 22px 8px 0; cursor: pointer; position: relative; list-style: none; }
.review summary::-webkit-details-marker { display: none; }
.review summary::after { content: "+"; position: absolute; inset-inline-end: 4px; color: var(--muted); }
.review[open] summary::after { content: "−"; }
.review-index { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .75rem; }
.review-topic { flex: 1; font-weight: 650; }
.outcome { color: var(--pink); font-size: .74rem; font-weight: 650; text-align: right; }
.outcome.success { color: var(--success); }
.outcome.miss { color: var(--miss); }
.review-body { padding: 0 10px 15px 26px; color: var(--muted); line-height: 1.55; }
.review-body p { margin: 7px 0 0; }
.review-body .slide-prompt,
.review-body strong { color: var(--text); }
.review-body .slide-prompt { margin-bottom: 30px; }
.error { margin: 0 0 17px; color: var(--miss); }

@media (max-width: 1000px) {
    .site { width: calc(100% - 68px); }
    .hero { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 30px; }
    .hero h1 { font-size: clamp(3.2rem, 7.25vw, 5rem); }
    .masthead { min-height: 76px; }
}

@media (max-width: 730px) {
    .site { width: calc(100% - 36px); }
    .masthead { grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr); min-height: 66px; gap: 9px; }
    .event { max-width: 21ch; font-size: clamp(.65rem, 2.65vw, .87rem); }
    .header-logo { width: clamp(65px, 19vw, 110px); max-width: 100%; height: 42px; padding: 3px 5px; border-radius: 8px; }
    .header-logo-elpen img { width: 70px; }
    .header-logo-platorel img { width: 84px; }

    main { align-content: start; padding-block: 25px 31px; }
    .hero { grid-template-columns: 1fr; gap: 25px; }
    .hero-visual { border-radius: 16px; }
    .hero-copy { padding: 11px 1px 0; }
    .hero h1 { margin: 16px 0 17px; font-size: clamp(2.25rem, 10.4vw, 4.7rem); }
    .intro-text { font-size: .94rem; }
    .facts { margin: 23px 0; }
    .facts dd { font-size: 1.22rem; }
    .button { min-height: 50px; }
    .footer { min-height: 62px; font-size: .69rem; }

    .quiz-layout { grid-template-columns: 1fr; gap: 19px; }
    .progress-panel { padding: 0 1px; }
    .progress-panel .eyebrow { font-size: .72rem; }
    .progress-count { font-size: 1.55rem; margin: 5px 0 6px; }
    .steps { display: none; }
    .panel { padding: 22px 17px; border-radius: 18px; }
    .panel h1 { margin: 12px 0 19px; }
    .choice { min-height: 56px; gap: 9px; font-size: .88rem; }
    .actions { margin-top: 18px; }
}

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