/* Thinker registration page: system fonts and inline SVG only. */
:root {
  --paper: #faf8f4;
  --ink: #1c1b19;
  --muted: #6b675f;
  --line: #e6e1d8;
  --line-strong: #d3cdc1;
  --accent: #4d3fd6;
  --accent-hover: #3f32bd;
  --idea: #ffc93c;
  --ok: #1d7a4a;
  --ok-soft: #e3f2e9;
  --whatsapp: #117a43;
  --whatsapp-hover: #0d6537;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(circle at 85% -10%, #e6e1fb 0, transparent 45%),
    radial-gradient(circle at -10% 110%, #fff0c7 0, transparent 40%),
    var(--paper);
}
[hidden] {
  display: none !important;
}
main {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 40px 20px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.mark {
  width: 36px;
  height: 36px;
}
.mark .bubble {
  fill: var(--accent);
}
.mark .spark {
  fill: var(--idea);
}
.wordmark,
h1 {
  font-family:
    ui-serif, "New York", "Iowan Old Style", Charter, Georgia, Cambria, serif;
  font-weight: 600;
}
.wordmark {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 26px;
  box-shadow:
    0 1px 2px rgb(28 27 25 / 5%),
    0 4px 16px rgb(28 27 25 / 4%);
  text-align: center;
}
h1 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}
.lead strong {
  color: var(--ink);
}
form {
  text-align: left;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(77 63 214 / 22%);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
input:focus-visible {
  outline: none;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover {
  background: var(--accent-hover);
}
.primary:disabled {
  opacity: 0.6;
  cursor: default;
}
.whatsapp {
  background: var(--whatsapp);
}
.whatsapp:hover {
  background: var(--whatsapp-hover);
}
.whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.link {
  min-height: 36px;
  margin-top: 14px;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.link:hover {
  text-decoration: underline;
}
.error {
  margin: 10px 0 0;
  font-size: 14px;
  color: #a3271b;
}
.fine {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.waiting + .fine {
  margin-top: 4px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}
.result-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f6ece2;
  color: #8a4a12;
  font-size: 28px;
  font-weight: 700;
}
.done .result-icon {
  background: var(--ok-soft);
  color: var(--ok);
}
footer {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 400px) {
  .card {
    padding: 26px 20px;
  }
  h1 {
    font-size: 24px;
  }
}
