:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1e222b;
  --border: #2a2f3a;
  --text: #e8eaed;
  --muted: #9aa3b2;
  --accent: #36d399;
  --accent-ink: #042018;
  --danger: #ff6b6b;
  --radius: 12px;
  --maxw: 760px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
}

.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-text { letter-spacing: 0.2px; }

.header-right { display: flex; align-items: center; gap: 0.9rem; font-size: 0.9rem; }
.user { color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

.hero, .notice { max-width: 640px; margin: 3rem auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem;
  color: var(--accent); margin: 0 0 0.5rem;
}
.lead { color: var(--muted); font-size: 1.05rem; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 2.2rem 0 0.6rem; }

a { color: var(--accent); }

.btn {
  display: inline-block; margin-top: 1.25rem;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600;
  padding: 0.7rem 1.2rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 1rem;
}
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.linkbtn {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font: inherit; padding: 0; text-decoration: underline;
}

.doc-meta { border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 0.5rem; }
.muted { color: var(--muted); font-size: 0.9rem; }

.doc section { margin-bottom: 0.5rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: 0.35rem 0; }

code {
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.1rem 0.4rem; border-radius: 6px; font-size: 0.9em;
}

.callout {
  background: var(--surface-2); border-left: 3px solid var(--accent);
  padding: 0.9rem 1.1rem; border-radius: 8px;
}

.notice-deny h1 { color: var(--danger); }

.site-footer {
  border-top: 1px solid var(--border); color: var(--muted);
  font-size: 0.8rem; text-align: center; padding: 1.25rem;
}

form { display: inline; }
