:root {
  --newsletter-bg: #080808;
  --newsletter-panel: #10100f;
  --newsletter-ink: #f4f0e8;
  --newsletter-muted: rgba(244, 240, 232, 0.62);
  --newsletter-line: rgba(244, 240, 232, 0.16);
  --newsletter-accent: #c9ff3d;
}

.newsletter-signup {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: center;
  width: 100%;
  padding: clamp(52px, 7vw, 92px) max(24px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  color: var(--newsletter-ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(201, 255, 61, 0.08), transparent 30%),
    var(--newsletter-panel);
  border-top: 1px solid var(--newsletter-line);
  border-bottom: 1px solid var(--newsletter-line);
}

.newsletter-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(255, 255, 255, 0.16) 25%
  );
}

.newsletter-kicker {
  margin: 0 0 16px;
  color: var(--newsletter-accent);
  font: 700 10px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.newsletter-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--newsletter-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.newsletter-copy p:last-child {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--newsletter-muted);
  font: 400 clamp(15px, 1.4vw, 18px)/1.65 Inter, Arial, sans-serif;
  text-wrap: pretty;
}

.newsletter-form {
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--newsletter-line);
}

.newsletter-form .ml-form-embedContainer,
.newsletter-form .ml-form-embedWrapper,
.newsletter-form .ml-form-embedBody,
.newsletter-form .ml-form-embedContent,
.newsletter-form form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.newsletter-form .ml-form-embedContent h4,
.newsletter-form .ml-form-embedContent p {
  color: var(--newsletter-ink) !important;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  min-height: 54px !important;
  color: #111 !important;
  background: #f4f0e8 !important;
  border: 1px solid #f4f0e8 !important;
  border-radius: 0 !important;
}

.newsletter-form button,
.newsletter-form .primary {
  min-height: 54px !important;
  color: #080808 !important;
  background: var(--newsletter-accent) !important;
  border: 1px solid var(--newsletter-accent) !important;
  border-radius: 0 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.newsletter-form a {
  color: var(--newsletter-ink);
}

@media (max-width: 760px) {
  .newsletter-signup {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 22px;
  }

  .newsletter-signup::before {
    background-image: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.12) 50%
    );
  }

  .newsletter-copy h2 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .newsletter-copy p:last-child {
    margin-top: 18px;
  }

  .newsletter-form {
    padding: 20px;
  }
}
