@font-face {
  font-family: 'Geist';
  src: url('assets/geist.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --negro: #0D0D0D;
  --blanco: #FFFFFF;
  --gris-medio: #8A8A8A;
  --teal-1: #0C9778;
  --teal-2: #0FAB96;
  --teal-3: #12938E;
  --naranja: #F28C28;
  --borde: rgba(255, 255, 255, 0.1);
  --texto-suave: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--negro);
  color: var(--blanco);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Una sola fuente de color: resplandor teal desde arriba a la derecha, con grano. */
.glow {
  position: fixed;
  right: -35vmax;
  top: -40vmax;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-2) 0%, var(--teal-1) 30%, var(--teal-3) 45%, transparent 70%);
  opacity: 0.45;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top, main, .foot { position: relative; z-index: 2; }

.top { padding: 28px 20px 0; max-width: 640px; margin: 0 auto; }
.logo { height: 21px; width: auto; display: block; }

main { max-width: 640px; margin: 0 auto; padding: 48px 20px 40px; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.destello { color: var(--naranja); }

h1 {
  font-weight: 300;
  font-size: clamp(38px, 9vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 22px;
}
.lead { margin-top: 18px; font-size: 18px; font-weight: 300; color: var(--texto-suave); }
.note { margin-top: 12px; font-size: 14px; color: var(--gris-medio); }

.var {
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(15, 171, 150, 0.16);
  color: #7FE0CF;
  font-weight: 500;
  white-space: nowrap;
}

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }

.card { padding: 24px; }

/* Termómetro */
.termometro { margin-top: 48px; }
.niveles { margin: 0; }
.nivel { display: grid; grid-template-columns: 130px 1fr; column-gap: 16px; row-gap: 4px; padding: 16px 0; }
.nivel:first-child { padding-top: 0; }
.nivel:last-child { padding-bottom: 0; }
.nivel + .nivel { border-top: 1px solid var(--borde); }
.nivel dt { grid-row: span 2; font-size: 22px; font-weight: 300; line-height: 1.2; }
.nivel dd { margin: 0; font-size: 15px; }
.nivel .si { color: var(--texto-suave); }
.nivel .hacer b { font-weight: 500; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 3px; }
.dot.caliente { background: var(--teal-2); box-shadow: 0 0 12px var(--teal-2); }
.dot.tibio { background: rgba(15, 171, 150, 0.45); }
.dot.frio { border: 1px solid var(--gris-medio); }

/* Mensajes */
.mensajes { margin-top: 56px; display: flex; flex-direction: column; gap: 36px; }
.msg { display: grid; grid-template-columns: 52px 1fr; column-gap: 4px; }
.msg > * { grid-column: 2; }
.num { grid-column: 1; grid-row: 1 / span 2; font-size: 36px; font-weight: 200; line-height: 1; letter-spacing: -0.03em; }
.msg h3 { font-size: 19px; font-weight: 400; line-height: 1.3; }
.consejo { margin-top: 4px; font-size: 14px; color: var(--texto-suave); }
.burbuja { margin-top: 12px; padding: 18px 20px 16px; border-top-left-radius: 8px; }
.texto { font-size: 16px; line-height: 1.6; }

.copiar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--blanco);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.copiar:hover { background: rgba(255, 255, 255, 0.08); }
.copiar.copiado { background: var(--blanco); color: var(--negro); border-color: var(--blanco); }

/* Cierre */
.cta { margin-top: 64px; }
.cta h2 { font-weight: 300; font-size: clamp(24px, 5.5vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.cta p { margin-top: 12px; font-size: 16px; color: var(--texto-suave); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--blanco);
  color: var(--negro);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.9; }

.descarga { margin-top: 20px; text-align: center; font-size: 14px; }
.descarga a { color: var(--gris-medio); }

.foot { text-align: center; color: var(--gris-medio); font-size: 13px; padding: 0 20px 32px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blanco);
  color: var(--negro);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .btn, .copiar, .toast { transition: none; }
}

@media (max-width: 420px) {
  .nivel { grid-template-columns: 1fr; }
  .nivel dt { grid-row: auto; margin-bottom: 4px; }
  .msg { grid-template-columns: 1fr; }
  .num { grid-row: auto; font-size: 30px; margin-bottom: 8px; }
  .msg > *, .num { grid-column: 1; }
}
