/* ========================================
   Newsletter
   ======================================== */
.newsletter-section {
  padding: 24px 24px 96px;
}

.newsletter-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(186, 211, 242, 0.48);
  background:
    radial-gradient(130% 90% at 8% 0%, rgba(124, 219, 246, 0.2) 0%, rgba(124, 219, 246, 0) 55%),
    radial-gradient(78% 112% at 86% 100%, rgba(66, 97, 195, 0.3) 0%, rgba(66, 97, 195, 0) 62%),
    linear-gradient(134deg, #0b1f45 0%, #123267 48%, #0d2f64 100%);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: 34px;
  align-items: center;
  min-height: 264px;
  color: #f5f9ff;
  box-shadow:
    0 28px 62px rgba(8, 18, 39, 0.24),
    inset 0 1px 0 rgba(241, 248, 255, 0.24);
}

.newsletter-shell::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: min(420px, 44%);
  height: 4px;
  background: linear-gradient(90deg, #8ee2f4 0%, rgba(142, 226, 244, 0) 100%);
  opacity: 0.92;
  z-index: 0;
}

.newsletter-shell::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -90px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 228, 255, 0.28) 0%, rgba(128, 228, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.newsletter-copy {
  display: grid;
  gap: 0;
  align-content: center;
  position: relative;
  z-index: 1;
}

.newsletter-copy .section-kicker {
  color: rgba(192, 237, 252, 0.95);
  margin: 0 0 12px;
}

.newsletter-copy .section-heading {
  color: #f7fbff;
  font-size: clamp(1.72rem, 2.55vw, 2.2rem);
  margin: 0 0 13px;
  line-height: 1.14;
}

.newsletter-copy .section-subtitle {
  margin: 0;
  color: rgba(223, 239, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.62;
  max-width: 60ch;
}

.newsletter-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
}

.newsletter-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(231, 244, 255, 0.94);
  font-size: 0.85rem;
  line-height: 1.5;
}

.newsletter-points li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(197, 240, 255, 0.52);
  background: radial-gradient(circle at 30% 30%, #b4f1ff 0%, #4bc6ea 65%, #2f84c2 100%);
  box-shadow: 0 0 0 4px rgba(108, 226, 255, 0.14);
}

.newsletter-proof {
  margin: 18px 0 0;
  color: rgba(189, 225, 247, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.5;
}

.newsletter-form {
  margin: 0 0 0 auto;
  width: 100%;
  max-width: 386px;
  display: grid;
  gap: 14px;
  align-content: center;
  position: relative;
  z-index: 1;
  padding: 24px 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(216, 232, 255, 0.26);
  background: linear-gradient(178deg, rgba(244, 250, 255, 0.14) 0%, rgba(217, 234, 255, 0.07) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 34px rgba(7, 17, 36, 0.26);
  backdrop-filter: blur(2px);
}

.newsletter-form-kicker {
  margin: 0;
  color: rgba(192, 234, 255, 0.82);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.newsletter-form-title {
  margin: -4px 0 2px;
  color: #f6fbff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.newsletter-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.newsletter-input {
  width: 100%;
  border: 1px solid rgba(205, 233, 255, 0.46);
  border-radius: 12px;
  background: rgba(248, 252, 255, 0.12);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(220, 240, 255, 0.76);
}

.newsletter-input:focus {
  border-color: rgba(166, 242, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(157, 238, 255, 0.2);
  background: rgba(248, 252, 255, 0.17);
}

.newsletter-btn {
  width: auto;
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #7ee3f5 0%, #5abbe6 40%, #3f5fd2 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(93, 166, 235, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(93, 166, 235, 0.5);
  filter: saturate(1.06);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.newsletter-btn.loading {
  opacity: 0.78;
  cursor: wait;
}

.newsletter-btn.success {
  background: #22c55e;
}

.newsletter-btn.error {
  background: #ef4444;
}

.newsletter-btn:disabled {
  pointer-events: none;
}

.newsletter-input:disabled {
  opacity: 0.65;
}

.newsletter-disclaimer {
  margin: 1px 0 0;
  color: rgba(206, 233, 252, 0.74);
  font-size: 0.76rem;
  line-height: 1.45;
}

