/* Reset minimo e tipografia */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #0f172a;             /* slate-900 */
  background: #f1f5f9;        /* slate-100 */
}

/* Layout */
.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

/* Card */
.card {
  width: min(920px, 100%);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;  /* slate-200 */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

/* Header */
.card__header {
  padding: 26px 26px 18px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
}

.card__title {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0.2px;
}

.card__subtitle {
  margin: 6px 0 0;
  opacity: 0.85;
  font-size: 0.98rem;
}

/* Content */
.card__content {
  padding: 26px;
}

.card__content p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: #0f172a;
}

.divider {
  margin: 18px 0 18px;
  text-align: center;
  color: #64748b; /* slate-500 */
  letter-spacing: 2px;
  user-select: none;
}

/* Firma */
.signature {
  margin-top: 10px;
  font-weight: 650;
  color: #0f172a;
}

/* Pulsante */
.actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 650;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.btn:hover {
  transform: translateY(-1px);
  background: #111c33;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.btn:focus-visible {
  outline: 3px solid #93c5fd; /* blue-300 */
  outline-offset: 3px;
}

/* Footer */
.card__footer {
  padding: 14px 26px;
  border-top: 1px solid #e2e8f0;
  color: #64748b; /* slate-500 */
  background: #fbfdff;
}
