/* Newsletter pop-up, in the Serene palette. The html body prefix outranks the theme's button and field styles. */
html body .tmcb-nl {
  --nl-ink: #24302a;
  --nl-muted: #5d6a62;
  --nl-line: #c9d1c8;
  --nl-sage: #3b5f45;
  --nl-soft: #f1f4ef;
  position: fixed;
  inset: 0;
  z-index: 899000; /* Under the cookie banner, which sits at 900000. */
  display: grid;
  place-items: center;
  padding: 20px max(16px, env(safe-area-inset-left, 0px)) 20px max(16px, env(safe-area-inset-right, 0px));
}
html body .tmcb-nl[hidden] { display: none; }
html.tmcb-nl-open { overflow: hidden; }
html body .tmcb-nl-backdrop { position: absolute; inset: 0; background: rgba(36, 48, 42, .45); opacity: 0; transition: opacity .25s; }
html body .tmcb-nl-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  box-sizing: border-box;
  padding: 36px 32px 28px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nl-ink);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(36, 48, 42, .25);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .25s, opacity .25s;
}
html body .tmcb-nl.is-in .tmcb-nl-backdrop { opacity: 1; }
html body .tmcb-nl.is-in .tmcb-nl-dialog { transform: none; opacity: 1; }
html body .tmcb-nl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--nl-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
html body .tmcb-nl-close:hover { color: var(--nl-ink); background: var(--nl-soft); }
html body .tmcb-nl-eyebrow { margin: 0 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nl-sage); }
html body .tmcb-nl-title { margin: 0 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 2rem; line-height: 1.1; letter-spacing: 0; color: var(--nl-ink); text-wrap: balance; }
html body .tmcb-nl-title:focus { outline: 0; }
html body .tmcb-nl-text { margin: 0 0 20px; color: var(--nl-muted); }
html body .tmcb-nl-form { display: grid; gap: 14px; margin: 0; }
html body .tmcb-nl-field { display: grid; gap: 6px; }
html body .tmcb-nl-field label { font-size: .9rem; font-weight: 500; }
html body .tmcb-nl-field input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 14px;
  font: inherit;
  color: var(--nl-ink);
  background: #fff;
  border: 1px solid var(--nl-line);
  border-radius: 12px;
}
html body .tmcb-nl-field input:focus { outline: 2px solid var(--nl-sage); outline-offset: 1px; border-color: var(--nl-sage); }
html body .tmcb-nl-website { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html body .tmcb-nl-error { margin: 0; font-size: .9rem; color: #8a3b2e; }
html body .tmcb-nl-submit {
  min-height: 50px;
  padding: 12px 28px;
  font: 500 1rem Inter, system-ui, sans-serif;
  color: #fff;
  background: var(--nl-sage);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
html body .tmcb-nl-submit:hover { background: var(--nl-ink); }
html body .tmcb-nl-submit:focus-visible, html body .tmcb-nl-close:focus-visible { outline: 2px solid var(--nl-sage); outline-offset: 2px; }
html body .tmcb-nl-submit[disabled] { opacity: .7; cursor: default; }
html body .tmcb-nl-small { margin: 2px 0 0; font-size: .82rem; color: var(--nl-muted); }
html body .tmcb-nl-small a { color: var(--nl-sage); text-decoration: underline; text-underline-offset: 2px; }
html body .tmcb-nl-done .tmcb-nl-submit { width: 100%; }
@media (max-width: 480px) {
  html body .tmcb-nl-dialog { padding: 32px 22px 24px; }
  html body .tmcb-nl-title { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html body .tmcb-nl-backdrop, html body .tmcb-nl-dialog, html body .tmcb-nl-submit { transition: none; }
}
