:root {
    color-scheme: light;
    font-family: "Inter", system-ui, sans-serif;
    color: #123047;
    background: #edf5f8;
    --blue: #075b86;
    --green: #117553;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(740px, calc(100% - 32px)); margin: 42px auto 60px; }
.hero {
    padding: clamp(24px, 6vw, 48px);
    border-radius: 24px;
    color: white;
    background: linear-gradient(115deg, #082a47, #086386);
    border-bottom: 6px solid #168058;
    box-shadow: 0 14px 30px #10334818;
}
.eyebrow { color: #d1edfa; font-size: .78rem; letter-spacing: .15em; font-weight: 700; }
h1 { margin: 10px 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.hero p { margin: 0; color: #dbf2f8; font-size: 1.1rem; }
h2 { margin: 0; font-size: 1.45rem; }
.card {
    padding: clamp(16px, 4vw, 28px);
    margin: 22px 0;
    border: 1px solid #d1e3eb;
    border-radius: 18px;
    background: #fff;
}
.muted { color: #446175; overflow-wrap: anywhere; }
.field { display: block; font-weight: 700; margin: 24px 0 8px; }
#name {
    width: 100%; padding: 13px 14px; border: 1px solid #91aeba;
    border-radius: 10px; font: inherit; color: inherit; background: #f9fcfd;
}
button {
    margin-top: 18px; border: 0; border-radius: 10px; padding: 13px 21px;
    background: var(--blue); color: white; font: inherit; font-weight: 700; cursor: pointer;
}
button:hover { background: #084466; }
:focus-visible { outline: 3px solid #0090bb; outline-offset: 3px; }
.error { background: #fff0ef; color: #892925; border-radius: 10px; padding: 14px; }
.progress-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
progress { width: 100%; margin-top: 10px; accent-color: var(--green); }
.question { min-width: 0; margin-inline: 0; }
legend { padding: 0 6px; font-weight: 750; line-height: 1.5; }
.question-number { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #ddf0f8; color: #064f76; }
.option {
    display: flex; gap: 10px; align-items: baseline; padding: 11px;
    border: 1px solid #dbe8ef; border-radius: 10px; margin: 8px 0; cursor: pointer;
}
.option:hover, .option:focus-within { background: #edf8fc; }
.option:has(input:checked) { border-color: var(--blue); background: #eaf7fb; }
.option input { margin: 0; accent-color: var(--blue); }
.result { text-align: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.stats div { padding: 16px 5px; background: #edf7f6; border-radius: 12px; }
.stats strong { display: block; color: var(--green); font-size: clamp(1.45rem, 6vw, 2.65rem); }
.stats span { font-size: .93rem; }

.hero-flag {
    display: block;
    width: clamp(112px, 25vw, 152px);
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    outline: 1px solid #ffffff60;
    box-shadow: 0 6px 16px #031d3455;
}
