
:root {
  color-scheme: dark;
  --background: hsl(220 20% 7%);
  --foreground: hsl(220 10% 90%);
  --card: hsl(220 18% 10%);
  --card-2: hsl(220 15% 13%);
  --muted: hsl(220 10% 58%);
  --border: hsl(220 15% 18%);
  --primary: hsl(210 100% 60%);
  --primary-strong: hsl(210 100% 68%);
  --danger: hsl(0 84% 60%);
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0,0,0,.38), 0 0 42px hsl(210 100% 60% / .08);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, hsl(210 100% 60% / .12), transparent 38rem),
    var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(hsl(220 15% 18% / .32) 1px, transparent 1px), linear-gradient(90deg, hsl(220 15% 18% / .32) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.card {
  position: relative;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid hsl(210 100% 60% / .4); border-radius: 11px;
  background: hsl(210 100% 60% / .08); color: var(--primary);
  font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 0 0 24px hsl(210 100% 60% / .12);
}
.brand-copy strong { display: block; font-size: 15px; letter-spacing: .01em; }
.brand-copy span { display: block; margin-top: 2px; color: var(--muted); font: 500 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.lead { margin: 8px 0 26px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.stack { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: hsl(220 10% 78%); font-size: 13px; font-weight: 600; }
input {
  width: 100%; padding: 12px 13px; border: 1px solid var(--border); border-radius: 10px;
  background: hsl(220 20% 7% / .7); color: var(--foreground); outline: none;
  font: inherit; transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: hsl(210 100% 60% / .7); box-shadow: 0 0 0 3px hsl(210 100% 60% / .12); }
button, .button {
  appearance: none; width: 100%; border: 1px solid transparent; border-radius: 10px;
  padding: 12px 14px; background: var(--primary); color: hsl(220 20% 7%);
  font: 700 14px/1.2 inherit; cursor: pointer; text-align: center;
  transition: transform .08s, filter .15s, border-color .15s, background .15s;
}
button:hover, .button:hover { filter: brightness(1.06); text-decoration: none; }
button:active, .button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: wait; }
.button.secondary, button.secondary { color: var(--foreground); background: var(--card-2); border-color: var(--border); }
.button.danger, button.danger { color: #fff; background: hsl(0 65% 45%); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: hsl(220 10% 45%); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.social-btn { min-height: 42px; padding: 9px 12px; display:inline-flex; align-items:center; justify-content:center; }
.social-icon,.social-icon svg { width:20px; height:20px; display:block; }
.message { display: none; margin: 0 0 16px; padding: 10px 12px; border: 1px solid hsl(0 84% 60% / .32); border-radius: 9px; background: hsl(0 84% 60% / .08); color: hsl(0 85% 78%); font-size: 13px; line-height: 1.45; }
.message.show { display: block; }
.footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account { display: grid; gap: 4px; margin: 18px 0 22px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: hsl(220 20% 7% / .45); }
.account strong { font-size: 14px; }
.account span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-bottom: 18px; padding: 6px 9px; border: 1px solid hsl(145 70% 45% / .25); border-radius: 999px; background: hsl(145 70% 45% / .07); color: hsl(145 65% 67%); font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.scope-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 22px; }
.scope { padding: 6px 8px; border-radius: 7px; border: 1px solid var(--border); background: var(--card-2); color: hsl(220 10% 78%); font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.actions { display: grid; gap: 10px; }
.meta { margin-top: 16px; color: hsl(220 10% 45%); font-size: 11px; text-align: center; }
@media (max-width: 520px) { .card { padding: 24px 20px; border-radius: 14px; } h1 { font-size: 25px; } }
