.footer-newsletter[hidden],
.footer-newsletter [hidden] {
  display: none;
}

.site-footer .footer-newsletter:not([hidden]) {
  grid-column: 1 / -1;
  background: var(--paper);
  color: var(--ink);
  padding: 28px 24px 32px;
}

.site-footer .footer-newsletter p {
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 68ch;
}

.site-footer .footer-newsletter h2 {
  margin: 0 0 12px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .95;
  letter-spacing: -.045em;
}

.site-footer .footer-newsletter .eyebrow {
  margin-bottom: 10px;
}

.friday-note-fields {
  display: grid;
  gap: 14px;
  margin: 8px 0 18px;
}

.friday-note-fields label,
.friday-note-city {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-weight: 700;
}

.friday-note-fields input[type="email"],
.friday-note-city select {
  width: min(100%, 420px);
  min-height: 52px;
  border: 1px solid var(--ink);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 16px;
}

.friday-note-fields .friday-note-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  max-width: 62ch;
}

.friday-note-consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: none;
}

.friday-note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 4px 0 16px;
}

.footer-newsletter .button {
  text-decoration: none;
}

.friday-note-status:focus {
  outline: none;
}

.friday-note-frame {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 720px;
  border: 1px solid var(--ink);
  background: #fff;
}

@media (min-width: 1024px) {
  .site-footer .footer-newsletter:not([hidden]) .friday-note-hosted {
    box-sizing: border-box;
    width: min(100%, 640px);
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .site-footer .footer-newsletter:not([hidden]) .friday-note-hosted p,
  .site-footer .footer-newsletter:not([hidden]) .friday-note-hosted h2 {
    max-width: none;
  }

  .site-footer .footer-newsletter:not([hidden]) .friday-note-frame {
    width: 100%;
    max-width: 100%;
    height: 720px;
  }
}

@media (max-width: 700px) {
  .site-footer .footer-newsletter:not([hidden]) {
    padding: 24px 0 8px;
  }

  .friday-note-fields input[type="email"],
  .friday-note-city select,
  .footer-newsletter .friday-note-actions .button {
    width: 100%;
  }

  .friday-note-frame {
    max-width: none;
    height: 860px;
  }
}
