/* Página /app — instalar PWA */
:root {
  --app-bg: #0b0f14;
  --app-fg: #f5f5f5;
  --app-muted: #9a9a9a;
  --app-accent: #f5c400;
  --app-line: #2a2a2a;
  --app-font: "DejaVu Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--app-bg);
  color: var(--app-fg);
  font-family: var(--app-font);
}
body {
  padding: 24px 20px 64px;
  max-width: 480px;
  margin-inline: auto;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.app-top img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.app-top strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.app-top span {
  display: block;
  color: var(--app-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

h1 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
}
.lead {
  color: var(--app-muted);
  line-height: 1.45;
  margin: 0 0 28px;
  font-size: 1.02rem;
}

.app-panel[hidden] { display: none !important; }

.app-cta {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--app-accent);
  color: #111;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.app-cta:disabled { opacity: 0.55; cursor: wait; }
.app-cta--ghost {
  background: transparent;
  color: var(--app-fg);
  border: 1px solid var(--app-line);
  margin-top: 12px;
}

.app-note {
  margin-top: 14px;
  color: var(--app-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.app-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.app-steps li {
  border: 1px solid var(--app-line);
  border-radius: 16px;
  overflow: hidden;
  background: #10141a;
}
.app-steps img {
  display: block;
  width: 100%;
  height: auto;
}
.app-steps p {
  margin: 0;
  padding: 12px 14px 14px;
  color: var(--app-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.app-foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--app-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.app-foot a {
  color: var(--app-accent);
  text-decoration: none;
  font-size: 0.92rem;
}
.app-foot a:hover { text-decoration: underline; }
