/* content.css — validador-de-email · contenido, footer, toast, responsive */
.content {
  max-width: 880px; margin: 0 auto; padding: 10px 20px 56px;
  display: grid; gap: clamp(28px, 5vw, 44px);
}
.content article h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 14px; color: var(--texto);
}
.content article > p { color: var(--texto-2); margin-bottom: 12px; max-width: 72ch; }
.content strong { color: var(--texto); }
.content code {
  background: var(--bg-2); border: 1px solid var(--linea); border-radius: 5px;
  padding: 1px 6px; font-size: .82em; color: #9ff5c0;
}

.pasos { list-style: none; counter-reset: paso; display: grid; gap: 12px; margin-top: 16px; }
.pasos li {
  counter-increment: paso; position: relative; padding-left: 46px;
  color: var(--texto-2); font-size: .95rem;
}
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-dim); color: var(--accent);
  font-weight: 800; font-size: .88rem; border: 1px solid rgba(74, 222, 128, .35);
}

.usecases { list-style: none; display: grid; gap: 10px; }
.usecases li { padding-left: 26px; position: relative; color: var(--texto-2); font-size: .94rem; }
.usecases li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}

/* FAQ */
#faq details {
  background: var(--panel); border: 1px solid var(--linea); border-radius: 10px;
  padding: 0 18px; margin-bottom: 10px; transition: border-color .2s;
}
#faq details[open] { border-color: rgba(74, 222, 128, .35); }
#faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 700; font-size: .95rem;
  color: var(--texto); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.25rem; transition: transform .2s; }
#faq details[open] summary::after { transform: rotate(45deg); }
#faq details p { color: var(--texto-2); font-size: .92rem; padding-bottom: 15px; }

.cta-box {
  text-align: center; padding: clamp(24px, 5vw, 40px) 20px;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(74, 222, 128, .09), transparent 70%),
    var(--panel);
  border: 1px solid rgba(74, 222, 128, .3); border-radius: 14px;
}
.cta-box p { color: var(--texto-2); margin-bottom: 18px; }

/* Footer */
.footer {
  border-top: 1px solid var(--linea); background: var(--bg-2);
  padding: 28px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__brand { color: var(--texto-2); font-size: .86rem; font-weight: 600; }
.footer__brand span { color: var(--accent); }
.footer__links { display: flex; list-style: none; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--texto-3); text-decoration: none; font-size: .82rem; transition: color .18s; }
.footer__links a:hover { color: var(--accent); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px);
  background: var(--panel-2); border: 1px solid var(--accent); color: var(--texto);
  padding: 11px 22px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--sombra); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; z-index: 99;
  max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 640px) {
  .topbar__nav { display: none; }
  .checks { grid-template-columns: 1fr; }
  .tabla th:nth-child(1), .tabla td:first-child { display: none; }
  .tabla { min-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
