/* Testea · fichas de marca compartidas (web, app y admin)
   Idea visual: los tres globos del logo son los tres pasos — ❓ te preguntamos, ✓ respondes, $ ganas. */
:root {
  --tinta: #17161b;
  --tinta-2: #24222a;
  --tinta-3: #34313c;
  --papel: #fff8ea;
  --papel-2: #f5ecd8;
  --blanco: #ffffff;
  --amarillo: #f5c211;
  --azul: #009fe3;
  --azul-texto: #0074ad;
  --rojo: #e6194b;
  --verde: #12a150;
  --gris: #6b6672;
  --gris-claro: #a7a1ad;
  --suave: rgba(23, 22, 27, .05);

  --f-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --f-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;

  --curva: cubic-bezier(.2, 0, 0, 1);
  --curva-sale: cubic-bezier(.23, 1, .32, 1);

  --sombra-sm: 0 0 0 1px rgba(23, 22, 27, .06), 0 1px 2px rgba(23, 22, 27, .06);
  --sombra: 0 0 0 1px rgba(23, 22, 27, .06), 0 2px 4px rgba(23, 22, 27, .05), 0 8px 24px -8px rgba(23, 22, 27, .12);
  --sombra-md: 0 0 0 1px rgba(23, 22, 27, .07), 0 4px 8px rgba(23, 22, 27, .06), 0 24px 48px -16px rgba(23, 22, 27, .22);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-texto); color: var(--tinta); background: var(--papel); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.etiqueta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Píldora de acción */
.pildora {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -.005em;
  transition: transform 160ms var(--curva-sale), box-shadow 200ms var(--curva), background-color 200ms var(--curva);
}
.pildora:active { transform: scale(.97); }
.pildora .flecha { transition: transform 200ms var(--curva-sale); }
@media (hover: hover) and (pointer: fine) { .pildora:hover .flecha { transform: translateX(3px); } }
.pildora--amarilla { background: var(--amarillo); color: var(--tinta); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 20px -6px rgba(245,194,17,.6); }
.pildora--tinta { background: var(--tinta); color: var(--blanco); }
.pildora--contorno { background: transparent; color: inherit; box-shadow: 0 0 0 1.5px currentColor inset; }
.pildora--suave { background: var(--suave); color: inherit; }
.pildora[disabled] { opacity: .45; pointer-events: none; }

.campo { display: grid; gap: 6px; }
.campo > span { font-size: 14px; font-weight: 600; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font-size: 16px; border-radius: 14px;
  border: 0; background: var(--blanco); box-shadow: var(--sombra-sm);
  transition: box-shadow 160ms var(--curva);
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--azul); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
