:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #12161b;
  --panel-2: #171c22;
  --text: #e9edf1;
  --muted: #9aa5b1;
  --line: #2a313a;
  --accent: #d8e1ea;
  --accent-2: #8fa3b8;
  --danger: #d9a3a3;
  --max: 980px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.035), transparent 28rem), linear-gradient(180deg, #0b0d10 0%, #090b0e 100%); }
body { margin: 0; min-height: 100vh; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; color: var(--text); line-height: 1.6; }
a { color: inherit; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.splash { min-height: 100vh; display: grid; place-items: center; padding: 2rem 0; }
.splash-card { width: min(100%, 560px); padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 18px; background: rgba(18, 22, 27, .94); box-shadow: 0 28px 80px rgba(0,0,0,.36); text-align: center; }
.mark { display: block; width: min(290px, 76%); margin: 0 auto 1.35rem; }
.kicker { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { margin: .5rem 0 .4rem; font-size: clamp(2.35rem, 9vw, 4.3rem); letter-spacing: .08em; font-weight: 700; }
h2 { margin-top: 2.2rem; font-size: 1.55rem; }
h3 { margin-top: 1.6rem; font-size: 1.06rem; }
.lede { margin: .5rem auto 1.6rem; max-width: 43rem; color: var(--muted); }
.access-form { display: grid; grid-template-columns: 1fr auto; gap: .65rem; margin-top: 1.5rem; }
input, button { font: inherit; border-radius: 10px; border: 1px solid var(--line); min-height: 3rem; }
input { min-width: 0; padding: .72rem .9rem; background: #0d1115; color: var(--text); outline: none; }
input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(143,163,184,.13); }
button, .button { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; background: var(--accent); color: #101317; border-color: var(--accent); text-decoration: none; cursor: pointer; font-weight: 700; }
button:hover, .button:hover { filter: brightness(1.06); }
.micro { color: #6f7c89; font-size: .78rem; margin-top: 1rem; }
.topbar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(11,13,16,.92); backdrop-filter: blur(12px); }
.topbar-inner { min-height: 4rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.brand img { width: 42px; height: 42px; }
.nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: flex-end; }
.nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
main { padding: 3.1rem 0 5rem; }
.page-head { margin-bottom: 2.3rem; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.45rem); letter-spacing: -.03em; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { display: block; padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; }
.card:hover { border-color: #3a4652; background: var(--panel-2); }
.card h2, .card h3 { margin-top: 0; margin-bottom: .45rem; }
.card p { margin: 0; color: var(--muted); }
.callout { padding: 1rem 1.1rem; border-left: 3px solid var(--accent-2); background: var(--panel); color: var(--muted); }
.warning { border-left-color: var(--danger); }
pre, code { font-family: inherit; }
code { padding: .12rem .3rem; border-radius: 5px; background: #11161b; border: 1px solid #252c34; }
pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #0d1115; color: #dfe7ee; line-height: 1.5; }
pre code { padding: 0; border: 0; background: transparent; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
th, td { padding: .72rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.3rem 0; }
.footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: #687480; font-size: .82rem; }
.status-pill { display: inline-flex; gap: .5rem; align-items: center; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #8da19a; }
.denied { color: var(--danger); letter-spacing: .03em; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: .35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 720px) { .access-form, .grid { grid-template-columns: 1fr; } .topbar-inner { align-items: flex-start; padding: .85rem 0; } .nav { max-width: 62%; } main { padding-top: 2.2rem; } }
