/* Newsletter — Arqpedia editorial */
.aq-newsletter {
  background: #faf7f2;
  color: #1a1814;
  padding: 48px 32px;
  border-radius: 16px;
  margin: 0 auto 32px;
  max-width: 1320px;
}
.aq-nl-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .aq-nl-inner { grid-template-columns: 1fr; gap: 24px; } .aq-newsletter { padding: 32px 20px; } }
.aq-nl-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: .6875rem;
  color: #c4654e; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px;
}
.aq-nl-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.05; letter-spacing: -.025em;
  margin: 0 0 12px; color: #1a1814;
}
.aq-nl-desc { font-size: .9375rem; color: #5c5651; line-height: 1.55; }
.aq-nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.aq-nl-form input {
  flex: 1; min-width: 200px;
  padding: 14px 18px; font-size: 1rem;
  font-family: 'Inter Tight', system-ui, sans-serif;
  background: #fff; border: 1px solid rgba(26, 24, 20, .12); border-radius: 999px; color: #1a1814;
}
.aq-nl-form input:focus { outline: none; border-color: #1a1814; box-shadow: 0 0 0 3px rgba(26, 24, 20, .08); }
.aq-nl-form button {
  padding: 14px 28px; font-size: .9375rem; font-weight: 500;
  font-family: 'Inter Tight', system-ui, sans-serif;
  background: #1a1814; color: #faf7f2; border: 0; border-radius: 999px;
  cursor: pointer; transition: background .2s;
}
.aq-nl-form button:hover { background: #c4654e; }
.aq-nl-form button:disabled { opacity: .5; cursor: default; }
.aq-nl-msg { width: 100%; font-size: .875rem; margin-top: 8px; font-weight: 500; }

/* Exit modal */
.aq-exit-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.aq-exit-backdrop { position: absolute; inset: 0; background: rgba(26, 24, 20, .72); backdrop-filter: blur(8px); }
.aq-exit-card {
  position: relative; background: #faf7f2; border-radius: 20px;
  padding: 48px 48px 36px; max-width: 540px; margin: 20px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .25);
  font-family: 'Inter Tight', system-ui, sans-serif;
}
.aq-exit-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  background: transparent; border: 0; border-radius: 50%;
  font-size: 1.75rem; cursor: pointer; color: #5c5651; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.aq-exit-close:hover { background: #f2ede5; color: #1a1814; }
.aq-exit-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: .6875rem;
  color: #c4654e; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px;
}
.aq-exit-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: 1.875rem; line-height: 1.08; letter-spacing: -.025em;
  margin: 0 0 16px; color: #1a1814;
}
.aq-exit-desc { font-size: 1rem; color: #5c5651; line-height: 1.5; margin: 0 0 24px; }
.aq-exit-form { display: flex; gap: 8px; flex-wrap: wrap; }
.aq-exit-form input {
  flex: 1; min-width: 200px;
  padding: 14px 18px; font-size: 1rem;
  font-family: inherit; background: #fff; border: 1px solid rgba(26, 24, 20, .12);
  border-radius: 999px; color: #1a1814;
}
.aq-exit-form input:focus { outline: none; border-color: #1a1814; }
.aq-exit-form button {
  padding: 14px 28px; font-size: .9375rem; font-weight: 500;
  font-family: inherit; background: #c4654e; color: #fff; border: 0; border-radius: 999px;
  cursor: pointer;
}
.aq-exit-form button:hover { background: #a85440; }
.aq-exit-msg { font-size: .875rem; margin-top: 12px; font-weight: 500; }
.aq-exit-footnote { font-size: .75rem; color: #8b8275; margin-top: 16px; }
