body[data-product="newsletter"] {
  background: var(--xp-black);
}

.xn-section {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(144px, 12vw, 200px) clamp(88px, 8vw, 140px);
}

.xn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}

.xn-intro h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.xn-intro p {
  max-width: 36ch;
  margin: 32px 0 0;
  color: rgba(247, 247, 245, 0.75);
  font-size: 24px;
  line-height: 1.5;
}

.xn-signup {
  min-width: 0;
  padding-top: 32px;
  border-top: 4px solid var(--xp-blue);
}

.xn-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 24px;
  line-height: 1.45;
}

.xn-form input[type="email"],
.xn-form input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(247, 247, 245, 0.45);
  border-radius: 0;
  background: var(--xp-charcoal);
  color: var(--xp-white);
  font: inherit;
}

.xn-form input::placeholder {
  color: #aaa;
}

.xn-form input:focus-visible,
.xn-submit:focus-visible,
.xn-success:focus-visible,
.xn-success a:focus-visible {
  outline: 2px solid var(--xp-blue);
  outline-offset: 5px;
}

.xn-consent {
  margin: 0;
  color: #bdbdbb;
  font-size: 24px;
  line-height: 1.45;
}

.xn-submit {
  width: fit-content;
  min-width: 200px;
  border-color: var(--xp-blue);
  background: var(--xp-blue);
  color: var(--xp-black);
  cursor: pointer;
}

.xn-submit:hover {
  background: var(--xp-white);
  border-color: var(--xp-white);
}

.xn-form [disabled] {
  cursor: wait;
  opacity: 0.65;
}

.xn-error {
  margin: 0;
  color: #ffb4ab;
}

.xn-success h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
}

.xn-success p,
.xn-success a {
  font-size: 24px;
  line-height: 1.5;
}

.xn-success p {
  margin: 0 0 32px;
}

.xn-success a {
  color: var(--xp-blue);
  text-underline-offset: 5px;
}

.xn-form[hidden],
.xn-error[hidden],
.xn-success[hidden] {
  display: none !important;
}

.xn-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

@media (max-width: 900px) {
  .xn-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .xn-submit {
    width: 100%;
  }
}
