:root {
  --brandDark: #111827;
  --brandLime: #84CC16;
  --limeHover: #a3e635;
  --surfaceDark: #1f2937;
  --surfaceLight: #374151;
  --text: #d1d5db;
  --muted: #9ca3af;
  --white: #fff;
  --border: #1f2937;
  --error: #f87171;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--brandDark);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
  padding: 112px 16px 48px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: rgba(17, 24, 39, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  z-index: 10;
}

@media (min-width: 640px) {
  .topbar { padding: 0 1.5rem; }
}

main {
  width: min(440px, 100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  object-fit: contain;
  display: block;
}

.talo { color: var(--white); }
.box { color: var(--brandLime); }

.card {
  background: var(--surfaceDark);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 28px 24px;
}

h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

p { margin: 0 0 16px; line-height: 1.625; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.ok { color: var(--brandLime); }
.bad { color: var(--error); }

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid var(--surfaceLight);
  border-radius: 0.75rem;
  background: var(--surfaceDark);
  color: var(--white);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--brandLime);
}

button, .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 0.5rem;
  background: var(--brandLime);
  color: var(--brandDark);
  padding: 0.625rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

button:hover, .button:hover { background: var(--limeHover); }
button:disabled { opacity: 0.6; cursor: default; }

.site {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: var(--brandLime);
  font-weight: 700;
  text-decoration: none;
}

.site:hover { color: var(--brandLime); }

.hidden { display: none; }
