/* ═══════════════════════════════════════════════════════════════════
   mt-a · Newsletter — banda di iscrizione (blog, guide) e riga nel footer
   Dipende dai token definiti in mta-theme.css. Caricato solo se MailPoet è attivo.
   ═══════════════════════════════════════════════════════════════════ */

/* Banda dentro le pagine */
.mta-nl { padding-block: clamp(40px, 6vw, 80px); }
.mta-nl-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  border-top: var(--mta-rule); padding-top: clamp(28px, 4vw, 48px);
}
.mta-nl-title {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: var(--tracking-tight);
  font-size: clamp(26px, 3vw, 42px); line-height: 1.1; color: var(--ink); margin-top: 10px;
}
.mta-nl-lead { color: var(--text-muted); margin-top: 12px; font-size: var(--text-lg); line-height: var(--leading-relaxed); max-width: 44ch; }

/* Modulo */
.mta-nl-form { display: flex; flex-direction: column; gap: 14px; position: relative; }
.mta-nl-row { display: flex; gap: 10px; }
.mta-nl-row .mta-input { flex: 1 1 auto; min-width: 0; padding-block: 12px; }
.mta-nl-row .mta-btn { flex-shrink: 0; padding: 12px 22px; }
.mta-nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mta-nl-msg { font-size: var(--text-sm); line-height: 1.5; color: var(--text-muted); margin: 0; }
.mta-nl-msg.is-error { color: var(--red-strong); }
.mta-nl-form.is-sending .mta-btn { opacity: .6; pointer-events: none; }

/* Stato "iscritto" */
.mta-nl-done { display: flex; gap: 14px; align-items: flex-start; }
.mta-nl-done .mark {
  width: 44px; height: 44px; border-radius: var(--radius-pill); flex-shrink: 0;
  background: var(--red-wash); color: var(--red); display: flex; align-items: center; justify-content: center;
}
.mta-nl-done h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--text-xl); color: var(--ink); margin: 0 0 4px; line-height: 1.2; }
.mta-nl-done p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.55; margin: 0; max-width: 46ch; }

/* Riga compatta nel footer (fondo ink) */
.mta-footer-nl {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 48px; align-items: center;
  padding-bottom: clamp(28px, 4vw, 40px); margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(247,247,246,.18);
}
.mta-footer-nl h4 {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: rgba(247,247,246,.55); margin: 0 0 8px;
}
.mta-footer-nl > div > p { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--paper); margin: 0; }
.mta-footer-nl .mta-input { background: rgba(247,247,246,.06); border-color: rgba(247,247,246,.28); color: var(--paper); }
.mta-footer-nl .mta-input::placeholder { color: rgba(247,247,246,.5); }
.mta-footer-nl .mta-input:focus { border-color: var(--paper); box-shadow: none; }
.mta-footer-nl .mta-checkbox-row span { color: rgba(247,247,246,.6); }
.mta-footer-nl .mta-checkbox-row a { color: var(--paper); }
.mta-footer-nl .mta-nl-msg { color: rgba(247,247,246,.75); }
.mta-footer-nl .mta-nl-msg.is-error { color: #F3A79E; }
.mta-footer-nl .mta-nl-done .mark { background: rgba(247,247,246,.1); color: var(--paper); }
.mta-footer-nl .mta-nl-done h3 { color: var(--paper); }
.mta-footer-nl .mta-nl-done p { color: rgba(247,247,246,.7); }

@media (max-width: 860px) {
  .mta-nl-inner, .mta-footer-nl { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mta-nl-row { flex-direction: column; }
  .mta-nl-row .mta-btn { width: 100%; }
}

/* ── Landing /newsletter/ ─────────────────────────────────────────────── */
.mta-header--light { position: static; }
.mta-header-in--light { display: flex; align-items: center; justify-content: space-between; grid-template-columns: none; }
.mta-header-back { color: var(--text-muted); }
.mta-landing-hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.mta-landing-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.mta-landing-title {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: var(--tracking-tight);
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.05; color: var(--ink); margin-top: 16px;
}
.mta-landing-lead { max-width: 48ch; margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); line-height: var(--leading-relaxed); color: var(--text-body); }
.mta-landing-extra { margin-top: 20px; }
.mta-landing-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-md); }
.mta-nl-card-head { margin-bottom: 18px; }
.mta-nl-card-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: var(--ink); margin-top: 8px; }
.mta-nl-card-head p { color: var(--text-muted); font-size: var(--text-sm); margin-top: 8px; line-height: 1.5; }
.mta-nl-form .mta-nl-nome { padding-block: 12px; }
.mta-landing-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4vw, 48px); }
.mta-landing-point { border-top: 1px solid var(--border-default); padding-top: 20px; }
.mta-landing-point .k { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--red); letter-spacing: var(--tracking-wide); }
.mta-landing-point h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--ink); margin-top: 12px; }
.mta-landing-point p { color: var(--text-muted); line-height: var(--leading-relaxed); margin-top: 10px; font-size: var(--text-md); }
.mta-landing-who { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mta-landing-who-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.mta-landing-who-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--ink); margin-top: 12px; }
.mta-landing-who p { color: var(--text-body); line-height: var(--leading-relaxed); margin-top: 16px; max-width: 56ch; font-size: var(--text-lg); }
.mta-landing-who .mta-btn { margin-top: 16px; padding-left: 0; }
.mta-landing .mta-nl { padding-top: 0; }
@media (max-width: 900px) {
  .mta-landing-grid, .mta-landing-who { grid-template-columns: 1fr; }
  .mta-landing-points { grid-template-columns: 1fr; gap: 24px; }
}
