/* The newsletter sign-up (templates/_newsletter_form.html and the home page's static copy). Plain text, no pills. */
.nl { display: grid; gap: 0.5rem; margin-block: var(--sp-2, 1rem); max-width: 40rem; }
.nl__lead { margin: 0; max-width: 56ch; }
.nl__row { display: flex; flex-wrap: wrap; align-items: end; gap: 0.5rem 0.75rem; }
.nl__label { flex: 1 0 100%; font-weight: 800; }
.nl__input { flex: 1 1 14rem; min-width: 0; max-width: 100%; }
.nl__go { flex: 0 0 auto; min-height: 48px; }
.nl__fine { margin: 0; font-size: var(--s-small, 0.9rem); }
.nl__msg { margin: 0; font-weight: 800; }
.nl__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl--compact { margin-block: 0.5rem 1rem; }
.nl--compact .nl__fine { display: none; }
.nl-band { display: grid; gap: 0.5rem; padding: var(--sp-3, 1.5rem); margin-block: var(--sp-3, 1.5rem); border: var(--stroke, 3px) solid var(--ink, #1a1a1a);
  border-radius: 16px; background: var(--sheet, #fff); }
.nl-band h2 { margin: 0; }
@media (max-width: 499px) { .nl__go { flex: 1 0 100%; } .nl-band { padding: var(--sp-2, 1rem); } }

/* The pop-up after "Make the sheet" (static/newsletter/name_popup.js): a dialog over a dimmed page. */
.nl-pop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(26, 26, 26, 0.55); }
.nl-pop[hidden] { display: none; }
.nl-pop__box { position: relative; width: min(34rem, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 0.75rem;
  padding: var(--sp-3, 1.5rem); border: var(--stroke, 3px) solid var(--ink, #1a1a1a); border-radius: 16px; background: var(--sheet, #fff); }
.nl-pop__box h2 { margin: 0; padding-right: 2.5rem; font-family: var(--font-display, inherit); }
.nl-pop__box .nl { margin: 0; }
.nl-pop__x { position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink, #1a1a1a); cursor: pointer; }
.nl-pop__no { justify-self: start; min-height: 44px; border: 0; background: none; padding: 0; font: inherit; font-weight: 800;
  color: var(--ink, #1a1a1a); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.nl-pop__x:focus-visible, .nl-pop__no:focus-visible { outline: 3px solid var(--ink, #1a1a1a); outline-offset: 3px; }
html.nl-pop-open, html.nl-pop-open body { overflow: hidden; }
@media (max-width: 499px) { .nl-pop__box { padding: var(--sp-2, 1rem); } }
