/*
 * Cernola web (cernola.com) — feuille de style commune aux pages d'action
 * (reset-password, verify-email, retour Stripe) et à la landing minimale.
 * Palette alignée sur le player. Contrastes vérifiés RGAA (AA) sur fond sombre.
 */

:root {
  --ground: #0e1917;
  --surface: #16221f;
  --line: #263531;
  --ink: #e9e7de;
  --faint: #9db3ac;
  --accent: #43b199;
  --accent-ink: #062019;
  --danger: #e57373;
  --radius: 12px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.brand {
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

main.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

h1 {
  font-size: 22px;
  margin: 0 0 6px;
}

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

label {
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--ink);
}

input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  margin: 0 0 16px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button,
.btn {
  display: inline-block;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
}

.status.ok {
  color: var(--accent);
  background: rgba(67, 177, 153, 0.12);
}

.status.error {
  color: var(--danger);
  background: rgba(229, 115, 115, 0.12);
}

.status.info {
  color: var(--faint);
  background: rgba(157, 179, 172, 0.1);
}

.foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.foot a {
  color: var(--accent);
}

[hidden] {
  display: none !important;
}
