:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #090d12;
  color: #f5f7fa;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: #79a5ff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #79a5ff; outline-offset: 3px; }

.site-header, .site-footer { border-color: #252d38; border-style: solid; }
.site-header { border-width: 0 0 1px; }
.site-footer { border-width: 1px 0 0; margin-top: 4rem; }
.bar { max-width: 960px; margin: auto; padding: 1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: .24em; text-decoration: none; }
.brand::before { content: '▰'; color: #3976f6; margin-right: .6rem; }
nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
nav a { color: #aeb9c9; text-decoration: none; font-size: .9rem; }
nav a:hover, nav a[aria-current='page'] { color: #fff; }
main { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.4rem 1rem; }
.eyebrow { color: #78a6ff; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -.035em; margin: .35rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; line-height: 1.3; }
p, li { color: #bcc5d0; }
ul { padding-left: 1.4rem; }
li { margin: .3rem 0; }
.lead { font-size: 1.09rem; color: #d7dfe9; }
.updated { color: #91a0b2; font-size: .86rem; margin: 0 0 2rem; }
.panel { background: #131a23; border: 1px solid #2b3543; border-radius: 16px; padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.panel h2 { margin-top: 0; }
.warning { border-color: #97722c; }
.subtle { color: #91a0b2; font-size: .9rem; }
.form-row { margin: 1.1rem 0; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input[type='email'], input[type='password'] { width: 100%; padding: .85rem .9rem; color: #fff; background: #0c1118; border: 1px solid #415066; border-radius: 10px; font: inherit; }
.check-row { display: flex; align-items: start; gap: .7rem; font-weight: 400; }
.check-row input { margin-top: .4rem; accent-color: #3976f6; }
button { cursor: pointer; border: 0; border-radius: 10px; padding: .8rem 1.15rem; background: #3976f6; color: #fff; font: inherit; font-weight: 700; }
button:disabled { cursor: not-allowed; opacity: .55; }
button.danger { background: #d84b61; }
.status { min-height: 1.5rem; margin-top: 1rem; }
.status[role='alert'] { color: #ff8997; }
.site-footer .bar { color: #91a0b2; font-size: .82rem; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .bar { align-items: flex-start; flex-direction: column; } main { padding-top: 2.5rem; } }
