:root {color-scheme:dark; font-family:Inter,"Segoe UI",sans-serif; color:#e5edf4; background:#101923; line-height:1.55}
* {box-sizing:border-box}
body {margin:0}
main,footer {width:min(72rem,100%); margin:auto; padding:1.4rem clamp(1rem,4vw,3rem)}
footer {font-size:.93rem}
main {padding-top:1.4rem}
a {color:#8adcca; text-underline-offset:.16em}
main h1,main h2 {line-height:1.15; letter-spacing:-.025em}
main h1 {font-size:clamp(2rem,5vw,3.1rem); margin:.65rem 0}
.intro {font-size:1.1rem; color:#c4d1d9; margin:0 0 1.6rem}
.grid {display:grid; gap:1rem; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:start}
main section {background:#182633; border:1px solid #385063; border-radius:.9rem; padding:clamp(1rem,3vw,1.55rem); margin:0 0 1rem}
main h2 {margin:0 0 .75rem; font-size:1.25rem}
p {margin:.7rem 0}
ol {margin:.7rem 0 0; padding-left:1.3rem}
li+li {margin-top:.55rem}
.actions {display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0}
main button {background:#9ee7cc; color:#122620; border:1px solid transparent; border-radius:.45rem; font:inherit; font-weight:650; padding:.55rem .9rem; cursor:pointer}
main button.secondary {color:#e5edf4; background:#233749; border-color:#567084}
main button:disabled {opacity:.5; cursor:not-allowed}
:focus-visible {outline:3px solid #ffd179; outline-offset:3px}
[role=status] {color:#b1e6d7; font-size:.92rem; overflow-wrap:anywhere}
p:empty {display:none}
.stage {aspect-ratio:16 / 10; background:#0c1218; position:relative; border-radius:.5rem; overflow:hidden}
video {width:100%;height:100%;object-fit:contain; display:block}
.stage span {position:absolute; bottom:.5rem; left:.6rem; padding:.1rem .45rem; border-radius:.3rem; font-size:.8rem; color:#fff; background:#141b24e8}
main details {padding-top:.8rem; margin-top:.8rem; border-top:1px solid #385063}
main summary {cursor:pointer; font-weight:600}
label {display:flex; gap:.55rem}
input {align-self:flex-start; margin-top:.35rem; flex-shrink:0; accent-color:#9ee7cc}
@media(max-width:48rem) {.grid {grid-template-columns:1fr}}

.skip-main {position:absolute; left:-9999px; z-index:950}
.skip-main:focus {left:1rem; top:1rem; padding:.5rem 1rem; background:#101923; color:white}
html[data-theme="light"] {color-scheme:light; color:#18283d; background:#f7f9fc}
html[data-theme="light"] main section {background:white; border-color:#c8d6df}
html[data-theme="light"] .intro {color:#394e62}
html[data-theme="light"] :is(main,footer) a {color:#056757}
html[data-theme="light"] main [role="status"] {color:#226345}
html[data-theme="light"] main button.secondary {color:#19344a; background:#e1eaf0; border-color:#9aafbe}
#message-form {margin-top:1rem}
#message-form .actions {margin:.4rem 0}
#message {flex:1 1 12rem; min-width:0; margin:0; align-self:stretch; padding:.55rem; border:1px solid #78909e; border-radius:.45rem; font:inherit}
