/* Colabry creators site — the fallback pages behind creators.colabry.app links.
   Colors mirror the app's AccentColor / OnBrand / LaunchBackground asset colors. */

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #17171a;
  --text-secondary: #5f5f66;
  --accent: #5146b8;
  --on-accent: #ffffff;
  --border: #e3e3e8;
  --danger: #c4302b;
  --success: #1f8a4c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1f;
    --text: #f2f2f5;
    --text-secondary: #a1a1aa;
    --accent: #a69cec;
    --on-accent: #17171a;
    --border: #2e2e33;
    --danger: #ff6b63;
    --success: #4cc77f;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  width: 100%;
  max-width: 420px;
  padding: 56px 16px 32px;
  flex: 1;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0 0 40px;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; color: var(--text-secondary); }

.stack > * + * { margin-top: 12px; }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled { opacity: 0.55; cursor: default; }

.button.secondary {
  background: var(--surface);
  color: var(--accent);
}

.link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

input[type="password"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.field + .field { margin-top: 16px; }

.hint { font-size: 14px; margin: 8px 0 20px; }

.message {
  font-size: 15px;
  margin: 12px 0 0;
}

.message.error { color: var(--danger); }

.icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
  background: var(--surface);
}

.icon.success { color: var(--success); }
.icon.warning { color: var(--danger); }

footer {
  width: 100%;
  max-width: 420px;
  padding: 24px 16px 32px;
  font-size: 13px;
  color: var(--text-secondary);
}

footer a { color: inherit; }

[hidden] { display: none !important; }
