/* The newsletter carries the Ideas editorial language into a focused signup. */
.newsletter-page [hidden] { display: none !important; }

.newsletter-hero {
  padding: 132px 0 clamp(76px, 8vw, 115px);
  background: #0a0a0b;
  color: var(--ideas-paper);
}

.newsletter-hero .breadcrumb { margin-bottom: clamp(64px, 8vw, 112px); }

.newsletter-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .6fr);
  align-items: end;
  gap: clamp(32px, 6vw, 100px);
}

.newsletter-hero h1 {
  max-width: 980px;
  margin-top: 17px;
  font-family: var(--serif);
  font-size: clamp(58px, 7.6vw, 108px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .99;
  text-wrap: balance;
}

.newsletter-hero h1 em { color: #a89ff0; font-weight: 400; }

.newsletter-hero__intro {
  max-width: 35ch;
  padding-bottom: 8px;
  color: rgba(245, 241, 232, .72);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

.newsletter-hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: clamp(56px, 7vw, 94px);
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 232, .18);
  color: rgba(245, 241, 232, .6);
  font-size: 12px;
}

.newsletter-hero__foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ideas-paper);
  font-size: 13px;
  font-weight: 500;
}

.newsletter-hero__foot a:hover { color: #a89ff0; }

.newsletter-paper {
  padding: clamp(76px, 8vw, 116px) 0 clamp(90px, 9vw, 132px);
  background: var(--ideas-paper);
  color: var(--ideas-ink);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(42px, 7vw, 112px);
}

.newsletter-paper .ideas-kicker { color: #534ab7; }
.newsletter-signup { min-width: 0; }

.newsletter-signup h2,
.newsletter-explainer h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-wrap: balance;
}

.newsletter-signup h2 {
  margin-top: 15px;
  font-size: clamp(47px, 5.5vw, 76px);
}

.newsletter-signup__intro {
  max-width: 55ch;
  margin-top: 26px;
  color: var(--ideas-muted);
  font-size: 17px;
  line-height: 1.67;
}

.newsletter-signup__intro a,
.newsletter-explainer a,
.newsletter-form__consent a {
  color: #433b9a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.newsletter-signup__intro a:hover,
.newsletter-explainer a:hover,
.newsletter-form__consent a:hover { color: #282173; }

.newsletter-form-status {
  max-width: 52ch;
  margin-top: 31px;
  padding: 16px 18px;
  border-left: 2px solid #534ab7;
  background: rgba(83, 74, 183, .06);
  color: #383477;
  font-size: 14px;
  line-height: 1.55;
}

.newsletter-form-status.is-error {
  border-color: #a34035;
  background: rgba(163, 64, 53, .07);
  color: #712a22;
}

.newsletter-form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-form { margin-top: 32px; }
.newsletter-form > label:first-child { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; }

.newsletter-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.newsletter-form__row input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(26, 26, 24, .32);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ideas-ink);
  font: inherit;
  font-size: 16px;
}

.newsletter-form__row input::placeholder { color: #78766f; }
.newsletter-form__row input:focus-visible,
.newsletter-form__consent input:focus-visible,
.newsletter-form__row button:focus-visible {
  outline: 2px solid #534ab7;
  outline-offset: 3px;
}

.newsletter-form__row button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #534ab7;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.newsletter-form__row button:hover { background: #423a9c; transform: translateY(-2px); }
.newsletter-form__row button:disabled { cursor: wait; opacity: .64; transform: none; }
.newsletter-form__help { margin-top: 11px; color: var(--ideas-muted); font-size: 12px; line-height: 1.55; }

.newsletter-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: fit-content;
  min-height: 44px;
  margin-top: 28px;
  color: var(--ideas-muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
}

.newsletter-form__consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #534ab7;
  cursor: pointer;
}

.newsletter-success {
  max-width: 540px;
  margin-top: 32px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--ideas-rule);
  background: #eee9df;
}

.newsletter-success:focus { outline: none; }
.newsletter-success__mark { color: #534ab7; font-size: 26px; line-height: 1; }
.newsletter-success h3 { margin-top: 16px; font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); font-weight: 400; line-height: 1.1; }
.newsletter-success p { max-width: 47ch; margin-top: 12px; color: var(--ideas-muted); font-size: 15px; line-height: 1.65; }

.newsletter-explainer {
  min-width: 0;
  padding-left: clamp(32px, 5vw, 74px);
  border-left: 1px solid var(--ideas-rule);
}

.newsletter-explainer h2 { max-width: 11ch; margin-top: 17px; font-size: clamp(39px, 4.2vw, 58px); }
.newsletter-explainer ol { margin-top: 36px; list-style: none; }

.newsletter-explainer li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 17px;
  padding: 24px 0;
  border-top: 1px solid var(--ideas-rule);
}

.newsletter-explainer li > span { padding-top: 4px; color: #534ab7; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.newsletter-explainer h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; }
.newsletter-explainer li p { max-width: 47ch; margin-top: 8px; color: var(--ideas-muted); font-size: 14px; line-height: 1.65; }

.newsletter-note { padding: clamp(70px, 7vw, 100px) 0; background: #101012; color: var(--ideas-paper); }
.newsletter-note .wrap { display: grid; grid-template-columns: minmax(160px, .43fr) minmax(0, 1fr); gap: 30px; }
.newsletter-note .wrap > div > p:first-child { max-width: 43ch; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.27; }
.newsletter-note a { text-decoration: underline; text-decoration-color: rgba(245, 241, 232, .5); text-underline-offset: 5px; }
.newsletter-note a:hover { color: #a89ff0; }
.newsletter-note__review { margin-top: 22px; color: rgba(245, 241, 232, .52); font-size: 12px; }

@media (max-width: 900px) {
  .newsletter-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-hero__intro { max-width: 56ch; }
  .newsletter-layout { grid-template-columns: 1fr; gap: 72px; }
  .newsletter-explainer { padding-left: 0; padding-top: 48px; border-left: 0; border-top: 1px solid var(--ideas-rule); }
}

@media (max-width: 600px) {
  .newsletter-hero { padding-top: 116px; padding-bottom: 66px; }
  .newsletter-hero .breadcrumb { margin-bottom: 63px; }
  .newsletter-hero h1 { font-size: clamp(52px, 12.5vw, 72px); }
  .newsletter-hero__foot { margin-top: 54px; }
  .newsletter-form__row { grid-template-columns: 1fr; }
  .newsletter-form__row button { width: 100%; }
  .newsletter-note .wrap { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-form__row button { transition: none; }
  .newsletter-form__row button:hover { transform: none; }
}
