@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Grotesk"; src: url(fonts/grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  --bg: #0a0b10; --bg-2: #10121a; --card: rgba(255,255,255,.035); --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --fg: #eef0f6; --muted: #9aa0b4; --dim: #6b7086; --a1: #7c8cff; --a2: #35e0c2; --err: #ff7b8a; --warn: #ffc46b;
  --grad: linear-gradient(110deg, var(--a1), var(--a2) 55%, var(--a1));
  --display: "Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--bg); color: var(--fg); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
a { color: var(--a2); text-decoration: none; } a:hover { text-decoration: underline; }
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(90px); opacity: .18; animation: drift 28s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--a1); top: -28vmax; left: -18vmax; }
.aurora i:nth-child(2) { background: var(--a2); bottom: -30vmax; right: -25vmax; opacity: .1; animation-delay: -10s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }
@keyframes shine { to { background-position: -200% 0; } }

.top { width: min(calc(100% - 32px), 1120px); margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1rem/1 var(--display); letter-spacing: -.02em; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .78rem; background: var(--grad); background-size: 200% 100%; color: var(--bg); }
.top nav { display: flex; align-items: center; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; font-family: inherit; }
.pill:hover { color: var(--fg); border-color: var(--line-strong); text-decoration: none; }

main { flex: 1; width: min(calc(100% - 32px), 460px); margin: 0 auto; padding: 8vh 0 48px; }
main.wide { width: min(calc(100% - 32px), 1000px); padding-top: 48px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(124,140,255,.6), transparent 40%, transparent 60%, rgba(53,224,194,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; background: rgba(124,140,255,.12); color: var(--a1); border: 1px solid rgba(124,140,255,.25); }
.icon svg { width: 22px; height: 22px; }
.icon.ok { background: rgba(53,224,194,.1); color: var(--a2); border-color: rgba(53,224,194,.25); }
h1 { font: 700 1.9rem/1.15 var(--display); letter-spacing: -.035em; margin: 0 0 .4rem; }
h2 { font: 600 1.15rem/1.3 var(--display); letter-spacing: -.02em; margin: 0 0 1rem; }
.sub { color: var(--muted); margin: 0 0 1.6rem; font-size: .97rem; }
label { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 .4rem; }
.field { margin-bottom: 1rem; }
input[type=text], input[type=email], input[type=password] {
  width: 100%; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 12px; color: var(--fg);
  font: inherit; padding: .8rem .95rem; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: rgba(124,140,255,.7); box-shadow: 0 0 0 3px rgba(124,140,255,.15); }
input.code { font: 600 1.6rem/1 var(--display); letter-spacing: .4em; text-align: center; padding: .9rem; }
.hint { color: var(--dim); font-size: .8rem; margin-top: .35rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; font: 600 .97rem/1 "Inter", sans-serif;
  padding: .95rem 1.2rem; border-radius: 12px; border: 0; cursor: pointer; background: var(--fg); color: var(--bg); transition: transform .15s, background .2s; margin-top: .4rem; }
.btn:hover { background: #fff; transform: translateY(-1px); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: rgba(255,255,255,.05); }
.btn.inline { width: auto; }
.alert { border-radius: 12px; padding: .75rem .95rem; font-size: .9rem; margin-bottom: 1.2rem; border: 1px solid; }
.alert.err { color: var(--err); border-color: rgba(255,123,138,.35); background: rgba(255,123,138,.07); }
.alert.ok { color: var(--a2); border-color: rgba(53,224,194,.35); background: rgba(53,224,194,.07); }
.alert.warn { color: var(--warn); border-color: rgba(255,196,107,.35); background: rgba(255,196,107,.07); }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.small { font-size: .8rem; color: var(--dim); margin-top: 1rem; }
.qr { background: #fff; border-radius: 16px; padding: 10px; width: fit-content; margin: 0 auto 1.2rem; }
.qr svg { display: block; width: 220px; height: 220px; max-width: 100%; }
details { margin: 0 0 1.2rem; font-size: .88rem; color: var(--muted); }
details code { display: block; margin-top: .5rem; font: 600 .95rem/1.5 ui-monospace, monospace; color: var(--fg); background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; word-break: break-all; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 1rem; padding: 0; list-style: none; }
.codes li { font: 600 1rem/1 ui-monospace, monospace; text-align: center; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.3); letter-spacing: .05em; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.badge { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--a2); border-color: rgba(53,224,194,.35); }
.badge.warn { color: var(--warn); border-color: rgba(255,196,107,.35); }
.badge.err { color: var(--err); border-color: rgba(255,123,138,.35); }
.stack > * + * { margin-top: 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.kpi { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--card); }
.kpi strong { display: block; font: 700 2rem/1 var(--display); letter-spacing: -.03em; }
.kpi span { color: var(--muted); font-size: .85rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; color: var(--dim); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
td.muted { color: var(--muted); font-variant-numeric: tabular-nums; }
footer.site { text-align: center; color: var(--dim); font-size: .8rem; padding: 24px; }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr 1fr; } .card { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
