.newsletter-footer-band {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 2rem 0;
  margin-bottom: 1.25rem;
}

.newsletter-footer-inner {
  max-width: 720px;
}

.newsletter-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.newsletter-footer-links a {
  color: #2563eb;
  text-decoration: none;
}

.newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.newsletter-form-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.newsletter-form-header p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.newsletter-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter-form-row input[type='email'],
.newsletter-form-row input[type='text'] {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.newsletter-form-row input[name='country'] {
  flex-basis: 160px;
  max-width: 180px;
}

.newsletter-form-row button {
  border: 0;
  border-radius: 0.5rem;
  background: #0076d7;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.newsletter-form-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-streams {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.newsletter-stream-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.newsletter-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-consent,
.newsletter-compliance {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.newsletter-field-hint {
  margin: -0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.newsletter-form-status {
  min-height: 1.25rem;
  font-size: 0.875rem;
  color: #0f766e;
}

.newsletter-inline-block a,
.newsletter-consent a,
.newsletter-compliance a {
  text-decoration: none;
}

.newsletter-inline-block a:hover,
.newsletter-consent a:hover,
.newsletter-compliance a:hover {
  color: var(--ae-color-accent-brand, #2563eb);
}

.newsletter-inline-block {
  margin: 2.5rem auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  max-width: 80rem;
}

/* =========================================
   Simple blog subscribe card
   ========================================= */
.newsletter-simple-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
  margin: 0 auto 2.5rem;
  padding: 2rem 2.25rem;
  border-radius: 18px;
  background: #141a24;
  color: #f8fafc;
  overflow: hidden;
  position: relative;
}

.newsletter-simple-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.newsletter-simple-copy,
.newsletter-simple-visual {
  position: relative;
  z-index: 1;
}

.newsletter-form-simple {
  gap: 0.85rem;
}

.newsletter-form-simple .newsletter-form-header h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #ffffff;
}

.newsletter-form-simple .newsletter-form-header p {
  margin: 0;
  max-width: 38rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.newsletter-form-simple .newsletter-email-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.newsletter-form-row-simple {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  align-items: stretch;
}

.newsletter-form-simple .newsletter-form-row input[type='email'] {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  color: #f8fafc;
  padding: 0.8rem 0.95rem;
}

.newsletter-form-simple .newsletter-form-row input[type='email']::placeholder {
  color: #64748b;
}

.newsletter-form-simple .newsletter-form-row input[type='email']:focus {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 1px;
  border-color: #3b82f6;
}

.newsletter-form-simple .newsletter-form-row button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 650;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
}

.newsletter-form-simple .newsletter-form-row button:hover {
  background: #e2e8f0;
}

.newsletter-form-simple .newsletter-consent {
  color: #94a3b8;
  font-size: 0.78rem;
}

.newsletter-form-simple .newsletter-consent a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter-form-simple .newsletter-form-status {
  color: #6ee7b7;
  min-height: 1.1rem;
}

.newsletter-simple-visual {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  min-height: 180px;
}

.newsletter-simple-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.newsletter-simple-doc {
  width: min(100%, 220px);
  min-height: 150px;
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  background:
    linear-gradient(160deg, rgba(29, 110, 240, 0.35), transparent 55%),
    linear-gradient(200deg, #1e293b 0%, #0b1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.newsletter-simple-doc span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.7);
}

.newsletter-simple-doc strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: #ffffff;
}

@media (max-width: 820px) {
  .newsletter-simple-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.35rem;
  }

  .newsletter-simple-visual {
    order: -1;
    min-height: 0;
  }

  .newsletter-simple-doc {
    width: min(100%, 260px);
    min-height: 120px;
  }

  .newsletter-form-row-simple {
    flex-wrap: wrap;
  }

  .newsletter-form-simple .newsletter-form-row button {
    width: 100%;
  }
}

.updates-page {
  padding: 3rem 0 4rem;
}

.updates-hero h1 {
  margin: 0 0 0.5rem;
}

.updates-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.5rem 0;
}

.updates-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.updates-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
}

.updates-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.updates-stream {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.updates-detail-body {
  margin-top: 1rem;
}

.updates-markdown {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 1rem;
}

.unsubscribe-page {
  padding: 3rem 0 4rem;
  max-width: 640px;
  margin: 0 auto;
}

.unsubscribe-status {
  font-size: 1rem;
  line-height: 1.6;
  margin: 1rem 0 2rem;
}

/* Confirm / unsubscribe utility pages — light shell matching marketing chrome */
body.utility-page {
  background: #f4f7fa !important;
  background-image: none !important;
  color: #0f172a !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.utility-page .utility-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
}

body.utility-page .utility-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

body.utility-page .utility-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
}

body.utility-page .utility-logo .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

body.utility-page .utility-logo .text-blue {
  color: #5eb8ff;
}

body.utility-page .utility-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

body.utility-page .utility-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

body.utility-page .utility-nav a:hover {
  color: #ffffff;
}

body.utility-page .utility-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

body.utility-page .utility-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: left;
}

body.utility-page .utility-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0076d7;
}

body.utility-page .utility-card h1 {
  margin: 0 0 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a !important;
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.utility-page .utility-status,
body.utility-page .unsubscribe-status {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155 !important;
}

body.utility-page .utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

body.utility-page .utility-links a {
  color: #0076d7;
  font-weight: 600;
  text-decoration: none;
}

body.utility-page .utility-links a:hover {
  text-decoration: underline;
}

body.utility-page .utility-resubscribe {
  margin: 0 0 1.5rem;
}

body.utility-page footer {
  margin-top: auto;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
}

body.utility-page footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

body.utility-page footer p,
body.utility-page footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0;
  font-size: 0.9rem;
}

body.utility-page footer a {
  text-decoration: none;
  margin-left: 1rem;
}

body.utility-page footer a:hover {
  color: #ffffff !important;
}

@media (max-width: 640px) {
  body.utility-page .utility-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Site footer on utility pages */
body.utility-page .site-footer {
  background: #050b12;
}
body.utility-page .site-footer__btn--primary {
  background: #ffffff;
  color: #0b1220;
}
