* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #09090b;
  --panel: #18181b;
  --text: #fafafa;
  --muted: #a1a1aa;
  --accent: #fe2c55;
  --accent-dim: #c41f42;
  --border: #27272a;
}

html,
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overscroll-behavior: none;
  touch-action: manipulation;
}

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  gap: 1rem;
}

.brand {
  text-align: center;
}

.brand .logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand .tag {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.screen {
  display: none;
  width: 100%;
  max-width: 24rem;
}

.screen.active {
  display: block;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

h1 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.85rem;
}

label span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #0f0f12;
  color: var(--text);
  font-size: 1rem;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:active {
  background: var(--accent-dim);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
