:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: #f4f7f5;
  color: #17201a;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(44, 175, 86, .14), transparent 34rem),
    radial-gradient(circle at 82% 88%, rgba(23, 112, 207, .10), transparent 30rem),
    #f4f7f5;
}
.card {
  width: min(100%, 560px);
  padding: 42px 40px 34px;
  text-align: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(23, 32, 26, .08);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(22, 43, 29, .12);
  backdrop-filter: blur(24px);
}
.brand { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #2b8f4c; }
.indicator {
  width: 72px;
  height: 72px;
  margin: 26px auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(43, 175, 82, .12);
  color: #24a84e;
  font-size: 38px;
  font-weight: 750;
}
.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(36, 168, 78, .22);
  border-top-color: #24a84e;
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
.check, .cross { display: none; }
.indicator.is-success .spinner, .indicator.is-error .spinner { display: none; }
.indicator.is-success .check, .indicator.is-error .cross { display: block; }
.indicator.is-error { background: rgba(205, 58, 58, .1); color: #c73b3b; }
h1 { margin: 0; font-size: clamp(26px, 5vw, 34px); letter-spacing: -.025em; }
p { line-height: 1.65; }
#message { min-height: 3.3em; margin: 14px auto 0; color: #59635c; }
.email { margin: 16px 0 0; font-weight: 650; color: #208844; }
.actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}
.primary { background: #27ad52; color: white; }
.secondary { background: rgba(23, 32, 26, .07); color: inherit; }
.recovery { display: inline-block; margin-top: 22px; color: #218d46; font-weight: 650; }
.recovery-form { display: grid; gap: .5rem; margin-block-start: 1.5rem; text-align: start; }
.recovery-form input { min-width: 0; min-height: 48px; margin-block-end: .75rem; padding: .65rem; font: inherit; font-size: max(1rem, 1em); }
.recovery-form button { min-height: 48px; border: 0; background: #18743a; font: inherit; font-weight: 650; cursor: pointer; }
[hidden] { display: none !important; }
.reference { margin: 24px 0 0; font-size: 12px; color: #89918b; overflow-wrap: anywhere; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 1.8s; } }
@media (max-width: 520px) {
  .card { padding: 34px 22px 28px; border-radius: 24px; }
  .actions { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  :root { background: #111713; color: #edf4ef; }
  body { background: radial-gradient(circle at 50% 0, rgba(43, 175, 82, .14), transparent 34rem), #111713; }
  .card { background: rgba(28, 36, 30, .9); border-color: rgba(255, 255, 255, .08); }
  #message { color: #aeb9b1; }
  .secondary { background: rgba(255, 255, 255, .09); }
  .card footer a { color: #90daa4; }
}