:root { color-scheme: light; font: 100%/1.55 Inter, "Segoe UI", system-ui, sans-serif; color: #192143; background: #f4f4fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 15% 20%, #e9e4fc, transparent 55%); }
header { background: #eeedf9; border-bottom: 1px solid #cbcee1; }
.bar { max-width: 68rem; padding: 1.15rem 1.4rem; margin: auto; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; }
.bar span, .hint, small { color: #505b76; }
a { color: #39309b; text-underline-offset: .22em; }
.brand { text-decoration: none; font-weight: 800; letter-spacing: .07em; color: #182142; }
.brand b { color: #39309b; }
main { max-width: 46rem; margin: auto; padding: clamp(2rem, 6vw, 4.5rem) 1.4rem 5rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; margin: .4em 0; }
h2 { line-height: 1.2; margin: 1.1em 0 .4em; }
.lead { font-size: 1.1rem; color: #434e6a; }
form, article, details { margin-block: 1.3rem; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #cbcee1; border-radius: .85rem; background: #fff; }
label { display: block; font-weight: 650; margin-bottom: .35rem; }
input, textarea { display: block; width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid #8e97b3; border-radius: .45rem; background: #fafaff; }
textarea { resize: vertical; }
input + label { margin-top: 1rem; }
button, .button { display: inline-block; font: inherit; font-weight: 650; cursor: pointer; color: white; background: #3c34a1; border: 0; border-radius: .6rem; padding: .65rem 1rem; text-decoration: none; margin-top: .7rem; }
:focus-visible { outline: 3px solid #8975ed; outline-offset: 3px; }
.hint { font-size: .94rem; margin: .45rem 0; }
.message, article p, code, h2 { overflow-wrap: anywhere; }
.message { white-space: pre-wrap; }
.answer { border-left: .25rem solid #3b7b65; padding: .65rem 1rem; background: #e0f0e8; }
.error { background: #fee9e2; padding: .7rem; }
summary { cursor: pointer; }
