/* Catklaws · próximamente. Fondo negro, texto blanco, rosa de la caja como acento. */
:root {
  --negro: #000;
  --blanco: #fff;
  --gris: #a9a9a9;
  --linea: #6b6b6b;
  --rosa: #f4b6c6;
  --error: #ff8a8a;
  --letra: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--negro);
  color: var(--blanco);
  font: 16px/1.5 var(--letra);
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
           max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 3px;
}

.arriba { display: flex; align-items: center; }
.marca { display: inline-flex; color: var(--blanco); padding: 4px 0; }
.wordmark { width: 128px; height: auto; display: block; }

.centro {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 0 20px;
}
.garra { width: 64px; height: auto; color: var(--rosa); margin: 0 0 10px; }
.antetitulo {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rosa);
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 14.5vw, 104px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.promesa { margin: 0 0 18px; color: #e6e6e6; max-width: 30em; }

.lista { width: 100%; text-align: left; }
.oculto, .trampa {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
input[type=email] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 17px;
  color: var(--blanco);
  background: transparent;
  border: 1px solid var(--linea);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
}
input[type=email]::placeholder { color: #8a8a8a; }
input[type=email]:focus { border-color: var(--blanco); outline: none; }

.tallas { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.tallas legend {
  padding: 0;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.opciones { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; gap: 6px; }
.opciones label { position: relative; display: block; cursor: pointer; }
.opciones input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opciones span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.opciones input:checked + span { background: var(--rosa); border-color: var(--rosa); color: var(--negro); }
.opciones input:focus-visible + span { outline: 2px solid var(--rosa); outline-offset: 3px; }

.ayuda { margin: 8px 0 0; font-size: 13px; color: var(--gris); }
.ayuda summary { cursor: pointer; width: max-content; text-decoration: underline; text-underline-offset: 3px; }
.ayuda p { margin: 6px 0 0; }

.casilla { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: #d6d6d6; cursor: pointer; }
.casilla input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rosa); cursor: pointer; }

button {
  display: block;
  width: 100%;
  height: 52px;
  margin: 16px 0 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--negro);
  background: var(--blanco);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
button:hover { background: var(--rosa); }
button[disabled] { opacity: .6; cursor: progress; }

.mensaje { margin: 0; font-size: 15px; font-weight: 600; text-align: center; }
.mensaje:not(:empty) { margin-top: 10px; }
.mensaje.mal { color: var(--error); }
.info { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: #8f8f8f; text-align: center; }

.hecho:focus { outline: none; }
.hecho { width: 100%; text-align: center; border: 1px solid var(--rosa); border-radius: 18px; padding: 22px 18px; }
.hecho p { margin: 0; font-size: 18px; font-weight: 700; }
.hecho p + p { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--gris); }

.abajo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8f8f8f;
}
.abajo nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.abajo a { text-decoration: none; }
.abajo a:hover { color: var(--blanco); text-decoration: underline; }

/* Páginas de texto (legales, gracias, errores) */
.texto { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 28px 0 40px; }
.texto h1 { font-size: clamp(34px, 9vw, 56px); margin: 0 0 18px; }
.texto h2 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--rosa); margin: 28px 0 8px; }
.texto p, .texto li { color: #dcdcdc; }
.texto ul { padding-left: 20px; }
.texto .aviso { font-size: 18px; font-weight: 600; }
body.simple .texto { display: flex; flex-direction: column; justify-content: center; text-align: center; }

@media (min-width: 720px) {
  body { padding: 20px 40px 16px; }
  .wordmark { width: 150px; }
  .garra { width: 56px; margin-bottom: 10px; }
  h1 { font-size: clamp(48px, 6.4vw, 84px); }
  .promesa { font-size: 17px; max-width: 36em; }
  .centro { max-width: 600px; }
}
@media (min-width: 720px) and (max-height: 760px) {
  .garra { width: 44px; margin-bottom: 6px; }
  h1 { font-size: 64px; margin-bottom: 10px; }
  .promesa { margin-bottom: 12px; }
  .tallas, .casilla { margin-top: 10px; }
  button { margin-top: 12px; height: 48px; }
  .centro { padding: 6px 0 12px; }
}
@media (max-height: 700px) and (max-width: 719px) {
  .garra { width: 48px; margin-bottom: 6px; }
  h1 { font-size: clamp(40px, 12.5vw, 64px); }
  .promesa { font-size: 15px; margin-bottom: 14px; }
}
@media (max-width: 359px) {
  .opciones { grid-template-columns: repeat(4, 1fr); }
  .opciones .ancha { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .garra { animation: asoma .7s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes asoma { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
}
