body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.newsletter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

.newsletter-intro { max-width: 500px; }
.newsletter-intro h1 { margin-bottom: 24px; }
.newsletter-intro p:not(.eyebrow) { color: var(--muted); }
.newsletter-card { padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.newsletter-card h2 { font-family: Prata, serif; font-size: 28px; font-weight: 400; margin: 0; }
.newsletter-step { display: grid; gap: 18px; }
.newsletter-card button { cursor: pointer; }
.newsletter-card button:disabled { cursor: wait; opacity: .6; }
.newsletter-card .newsletter-consent { display: flex; align-items: flex-start; gap: 14px; font-weight: 400; }
.newsletter-privacy { font-size: 13px; color: var(--muted); margin: 0; }
.newsletter-privacy a { text-decoration: underline; }
.newsletter-card .account-message { margin: 12px 0 0; }
.newsletter-card .account-message:empty { display: none; }

.checkbox-wrapper-25 { flex: none; padding: 5px 0; }
.checkbox-wrapper-25 input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 75px;
  height: 25px;
  margin: 0;
  padding: 0 25px 0 0;
  border: 0;
  border-radius: 25px;
  background-image: linear-gradient(hsla(0, 0%, 0%, .1), hsla(0, 0%, 100%, .1)), linear-gradient(to right, #f66 50%, #6cf 50%);
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 15px 0;
  box-shadow: inset 0 1px 4px hsla(0, 0%, 0%, .5), inset 0 0 10px hsla(0, 0%, 0%, .5), 0 0 0 1px hsla(0, 0%, 0%, .1), 0 -1px 2px 2px hsla(0, 0%, 0%, .25), 0 2px 2px 2px hsla(0, 0%, 100%, .75);
  cursor: pointer;
  transition: .25s;
}

.checkbox-wrapper-25 input[type="checkbox"]::after {
  content: '';
  display: block;
  width: 50px;
  height: 25px;
  border-radius: 25px;
  background: #eee linear-gradient(hsla(0, 0%, 100%, .1), hsla(0, 0%, 0%, .1));
  box-shadow: inset 0 1px 1px 1px hsla(0, 0%, 100%, 1), inset 0 -1px 1px 1px hsla(0, 0%, 0%, .25), 0 1px 3px 1px hsla(0, 0%, 0%, .5), 0 0 2px hsla(0, 0%, 0%, .25);
}

.checkbox-wrapper-25 input[type="checkbox"]:checked { background-position: 0 0, 35px 0; padding-left: 25px; padding-right: 0; }
.checkbox-wrapper-25 input[type="checkbox"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

@media (max-width: 800px) {
  .newsletter-layout { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .checkbox-wrapper-25 input[type="checkbox"] { transition: none; }
}

@media (forced-colors: active) {
  .checkbox-wrapper-25 input[type="checkbox"],
  .checkbox-wrapper-25 input[type="checkbox"]:checked { appearance: auto; -webkit-appearance: auto; width: 25px; height: 25px; padding: 0; }
  .checkbox-wrapper-25 input[type="checkbox"]::after { display: none; }
}
