/* ═══════════════════════════════════════════════════════════════
   ASO Nexus Hub – listmonk Public Pages Custom CSS
   Paste into: Settings > Appearance > Public (Custom CSS)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Import Outfit font (ASO Nexus brand typeface) ────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── Base / Body ──────────────────────────────────────────── */
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f1923 0%, #1A2A3A 40%, #1e3548 100%);
  color: #1A2A3A;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Main container / wrap ────────────────────────────────── */
.container.wrap {
  background: #ffffff;
  max-width: 520px;
  margin: 3rem auto;
  padding: 2.5rem 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ─── Header & Logo ────────────────────────────────────────── */
.header {
  border-bottom: 2px solid #F2F6FA;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.header .logo img {
  max-height: 48px;
  margin: 0 auto;
}

/* ─── Section headings ─────────────────────────────────────── */
section h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1A2A3A;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* ─── Form ─────────────────────────────────────────────────── */
.form {
  margin-top: 0.5rem;
}

.form p {
  margin-bottom: 1rem;
}

.form label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #1A2A3A;
  margin-bottom: 0.375rem;
}

.form input[type="email"],
.form input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #1A2A3A;
  background: #F2F6FA;
  border: 2px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.form input[type="email"]:focus,
.form input[type="text"]:focus {
  border-color: #4BACC6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(75, 172, 198, 0.15);
}

.form input[type="email"]::placeholder,
.form input[type="text"]::placeholder {
  color: #8A9AAB;
}

/* Honeypot field (keep hidden) */
.form .nonce {
  display: none;
}

/* ─── List checkboxes ──────────────────────────────────────── */
.lists {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  background: #F2F6FA;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.lists h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8A9AAB;
  margin-bottom: 0.75rem;
}

.lists li {
  padding: 0.375rem 0;
}

.lists li label {
  display: inline;
  font-weight: 500;
  font-size: 1rem;
  color: #1A2A3A;
  cursor: pointer;
  margin-left: 0.375rem;
}

.lists li input[type="checkbox"] {
  accent-color: #4BACC6;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
}

.lists .description {
  font-size: 0.8125rem;
  color: #8A9AAB;
  margin: 0.125rem 0 0 1.625rem;
  line-height: 1.5;
}

/* ─── Submit button ────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #4BACC6, #38899E);
  border: none;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(75, 172, 198, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(75, 172, 198, 0.5);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(75, 172, 198, 0.3);
}

/* ─── Archive link ─────────────────────────────────────────── */
.right {
  text-align: right;
  margin-top: 0.75rem;
}

.right a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4BACC6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.right a:hover {
  color: #38899E;
  text-decoration: underline;
}

/* ─── Messages (success, error) ────────────────────────────── */
.message {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.success {
  background: rgba(75, 172, 198, 0.1);
  color: #38899E;
  border: 1px solid rgba(75, 172, 198, 0.25);
}

.error {
  background: rgba(232, 145, 58, 0.1);
  color: #d47a28;
  border: 1px solid rgba(232, 145, 58, 0.25);
}

/* ─── Captcha container ────────────────────────────────────── */
.captcha {
  margin: 1rem 0;
}

/* ─── Footer ───────────────────────────────────────────────── */
footer.container {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 1.25rem 0 2rem;
  max-width: 520px;
  margin: 0 auto;
}

footer.container a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.container a:hover {
  color: #4BACC6;
}

/* ─── Subscription management page ─────────────────────────── */
.subscription {
  font-size: 0.9375rem;
}

.subscription a {
  color: #4BACC6;
  font-weight: 500;
  text-decoration: none;
}

.subscription a:hover {
  text-decoration: underline;
  color: #38899E;
}

/* ─── Archive page ─────────────────────────────────────────── */
.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #F2F6FA;
}

.archive-list li:last-child {
  border-bottom: none;
}

.archive-list a {
  color: #1A2A3A;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-list a:hover {
  color: #4BACC6;
}

.archive-list .date {
  font-size: 0.8125rem;
  color: #8A9AAB;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .container.wrap {
    margin: 1rem;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 16px;
  }

  section h2 {
    font-size: 1.25rem;
  }

  .form input[type="email"],
  .form input[type="text"] {
    padding: 0.625rem 0.875rem;
    font-size: 1rem;
  }

  .button {
    padding: 0.75rem 1.5rem;
  }
}

/* ─── Scrollbar (webkit) ───────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F2F6FA;
}

::-webkit-scrollbar-thumb {
  background: #8A9AAB;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4BACC6;
}