:root { color-scheme: dark; background: #101725; color: #edf2fb; font: 1rem/1.6 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(1050px, 100% - 32px); margin-inline: auto; }
a { color: #9eeacb; }
:focus-visible { outline: 3px solid #ffc783; outline-offset: 4px; }
.top, .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 16px; }
.top { justify-content: space-between; border-bottom: 1px solid #39465f; }
.top div { display: flex; gap: 18px; }
.top a, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { font-weight: 750; color: #edf2fb; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding: clamp(24px, 6vw, 66px); margin-block: 24px 44px; border-radius: 20px; background: #202c41; }
h1, h2 { font-family: Georgia, serif; }
h1 { margin: 10px 0; font-size: clamp(2.6rem, 8vw, 6rem); line-height: .99; letter-spacing: -.05em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 12px; }
.track { font-weight: 750; color: #9eeacb; }
.motif { display: flex; justify-content: center; align-items: center; gap: 12px; color: #9eeacb; font: bold clamp(2.1rem, 6vw, 4.5rem) Georgia, serif; }
.motif span { display: grid; place-items: center; width: clamp(55px, 9vw, 90px); aspect-ratio: 1; background: #172235; border: 1px solid #52736d; border-radius: 12px; }
.motif span:nth-child(2) { transform: translateY(12px); color: #ffc783; }
.action, button { display: inline-block; min-height: 44px; border: 0; border-radius: 8px; padding: 10px 15px; background: #9eeacb; color: #101725; font: inherit; font-weight: 750; cursor: pointer; }
.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.chapter, .panel { display: grid; gap: 8px; padding: clamp(16px, 4vw, 28px); border: 1px solid #39465f; border-radius: 14px; background: #182336; }
.chapter { color: #edf2fb; text-decoration: none; }
.chapter strong { font: bold 1.5rem Georgia, serif; }
.chapter:hover strong { text-decoration: underline; }
.course { max-width: 760px; padding-top: 20px; }
.course h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.panel { margin-block: 16px; }
.panel :is(ul,p) { margin: 0 0 8px; }
.example { padding: 12px; border-left: 3px solid #9eeacb; background: #101725; }
fieldset { margin: 0 0 10px; padding: 8px 12px; border: 1px solid #53627d; border-radius: 8px; }
legend { padding: 0 4px; font-weight: 700; }
label, summary { cursor: pointer; }
fieldset label { display: flex; min-height: 44px; gap: 10px; align-items: center; }
input { accent-color: #9eeacb; }
.question { margin-bottom: 18px; }
.question:last-child { margin-bottom: 0; }
.question [role=status] { margin-top: 8px; color: #b7f4dd; }
summary { padding: 8px 0; color: #9eeacb; }
.foot { margin-top: 36px; border-top: 1px solid #39465f; }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; } .motif { justify-content: flex-start; padding-bottom: 10px; } }
