/* install.css — Public install page for the mobile app (shared by link).
 *
 * Commercial surface, NOT a panel section: it deliberately follows the LANDING identity
 * (landing.css palette) instead of the panel design tokens, so a lead who arrives from a
 * shared link sees the same brand as magicdeal.online. Light theme only, matching the
 * landing — there is no dark variant on purpose.
 */

:root {
  /* Espejo de landing.css — si allí cambia la paleta, cámbiala también aquí. */
  --inst-bg: #e2e5e9;
  --inst-surface: #fcfbf9;
  --inst-border: rgba(0, 0, 0, 0.11);
  --inst-text: #1a1d21;
  --inst-muted: #5a5e63;
  --inst-teal: #1d9e75;
  --inst-teal-dark: #17876a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--inst-bg);
  color: var(--inst-text);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.inst {
  width: 100%;
  max-width: 26rem;
  text-align: center;
  background: var(--inst-surface);
  border: 1px solid var(--inst-border);
  border-radius: 20px;
  padding: 2.5rem 1.75rem 2rem;
}

.inst__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1.75rem;
  display: block;
}

.inst__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.inst__sub {
  color: var(--inst-muted);
  margin-bottom: 2rem;
}

.inst__block {
  border-top: 1px solid var(--inst-border);
  padding-top: 1.75rem;
}

.inst__cta {
  display: block;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: var(--inst-teal);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.inst__cta:hover { background: var(--inst-teal-dark); transform: translateY(-1px); }
.inst__cta:disabled { background: #d9dce1; color: var(--inst-muted); cursor: default; transform: none; }

.inst__hint {
  margin-top: 1rem;
  color: var(--inst-muted);
  font-size: 0.9rem;
}

.inst__steps {
  list-style: none;
  counter-reset: paso;
  text-align: left;
}

.inst__steps li {
  counter-increment: paso;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.inst__steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(29, 158, 117, 0.1);
  border: 1px solid rgba(29, 158, 117, 0.28);
  color: var(--inst-teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.inst__foot {
  margin-top: 2rem;
  color: var(--inst-muted);
  font-size: 0.8rem;
}

.hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  .inst__cta { transition: none; }
  .inst__cta:hover { transform: none; }
}
