/* Nyx Night Theme - Night Indigo #0b0620 & Violet #8b5cf6 */
:root {
  --bg: #0b0620;
  --bg-card: #120c30;
  --bg-input: #080417;
  --ink: #F1F0FB;
  --ink-2: #A5A1C8;
  --ink-3: #6D6990;
  --line: #241b4b;
  --line-2: #342768;
  --accent: #8b5cf6;
  --accent-hover: #9d74f8;
  --accent-glow: rgba(139, 92, 246, 0.35);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; color: #fff; }
h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
h2 { font-size: 28px; line-height: 1.15; margin-top: 48px; }
p { margin: 0; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.topbar { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.pill { pointer-events: auto; width: 100%; max-width: 900px; height: 48px; border-radius: 9999px; background: rgba(20,9,40,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; gap: 6px; padding: 0 14px; box-shadow: 0 1px 0 rgba(139,92,246,.25) inset, 0 12px 40px rgba(7,2,18,.8); border: 1px solid rgba(139,92,246,.28); }
.top { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; font-family: var(--serif); font-size: 21px; color: #fff; }
.logo svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.35)); transition: transform .4s var(--ease); }
.logo:hover svg { transform: rotate(-12deg) scale(1.08); }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 6px 12px; border-radius: 999px; font-size: 14px; position: relative; transition: background .25s, color .25s; color: var(--ink-2); }
.top nav a:hover { background: rgba(139, 92, 246, 0.15); color: #fff; }
.top nav a.cur { background: var(--accent); color: #fff; box-shadow: 0 2px 12px var(--accent-glow); }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 96px 0 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 20px; height: 1px; background: var(--accent); }
.lead { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 560px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; font: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .2s, background .2s; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px var(--accent-glow); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: #fff; background: rgba(139, 92, 246, 0.1); box-shadow: none; }
.code { margin-top: 18px; background: #060312; color: #EDEAFC; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.code .c { color: var(--ink-3); }
.list { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: padding-left .35s var(--ease), color .25s; }
.list li:hover { padding-left: 10px; color: #fff; }
.list li b { display: block; color: #fff; font-weight: 500; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
td.m { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
tr:hover td { background: rgba(139, 92, 246, 0.05); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tag.ok i { box-shadow: 0 0 0 0 rgba(139, 92, 246, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .6); } 70% { box-shadow: 0 0 0 7px rgba(139, 92, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); } }
footer { margin-top: 96px; padding: 28px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: #fff; }
.reveal { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i,0)*90ms); }
@keyframes up { to { opacity: 1; transform: none; } }
/* sign-in card */
.card { max-width: 400px; margin: 120px auto 0; padding: 32px 28px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.card h1 { font-size: 34px; color: #fff; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; }
.field input { width: 100%; height: 44px; background: var(--bg-input); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; outline: none; transition: border-color .25s, box-shadow .25s; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.card .btn { width: 100%; justify-content: center; margin-top: 20px; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
