:root {
  --brand: #1a365d;
  --brand-contrast: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --bg: #fafafa;
  --danger: #b91c1c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  text-align: center;
}

.brand { margin-bottom: 2rem; }

.logo {
  max-width: 140px;
  max-height: 80px;
  margin: 0 auto 0.75rem;
  display: block;
}

.business-name {
  font-size: 1.5rem;
  color: var(--brand);
  margin: 0;
  font-weight: 700;
}

.prompt {
  font-size: 1.125rem;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.star {
  background: transparent;
  border: none;
  padding: 0.5rem;
  font-size: 2.5rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  transition: color 80ms ease, transform 80ms ease;
}
.star:hover, .star:focus-visible { color: #f59e0b; outline: none; }
.star:active { transform: scale(0.92); }
.star.selected { color: #f59e0b; }

#outcome {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-contrast);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  min-width: 240px;
  border: none;
  cursor: pointer;
}

.cta.whatsapp { background: #25d366; color: #062e1c; }
.cta.red { background: var(--danger); color: white; }

.cta.glow {
  animation: glow 1.6s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

.outcome-msg {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink);
}

.stealth-link {
  opacity: 0.4;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: underline;
}
.stealth-link:hover { opacity: 0.6; }

.error {
  color: var(--danger);
  padding: 2rem 1rem;
}

@media (min-width: 600px) {
  main { padding-top: 3rem; }
  .business-name { font-size: 1.875rem; }
  .star { font-size: 3rem; }
}
