/* Same typeface and palette as the story. Fonts are served locally: no new
   third-party font connection or relaxation of the signup CSP is needed. */
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-regular.ttf') format('truetype');
}
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/newsreader-medium.ttf') format('truetype');
}
:root { --night: #0C0E26; --blue: #1B1F4A; --light: #F4F0E8; --red: #E1140A; }
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--light);
  font: 400 clamp(1.125rem, 2vw, 1.25rem)/1.5 Newsreader, Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 40rem;
  margin: auto;
  overflow-wrap: anywhere;
  padding: max(2rem, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}
.brand { text-align: center; }
.brand a { display: inline-block; font-size: 1rem; }
.brand img { display: block; width: clamp(124px, 24vw, 164px); height: auto; margin: 0 auto .75rem; }
.brand span { display: block; padding: .25rem 0; }
h1 { margin: 1.5rem 0; font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.012em; text-align: center; text-wrap: balance; }
h2 { font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.draft { border: 1px solid #65677D; padding: .875rem 1rem; font-size: 1rem; background: var(--blue); }
.help { font-size: 1rem; overflow-wrap: anywhere; }
#emailHelp { margin: .5rem 0 0; }
label, button, input { font: inherit; }
input[type=email] { display: block; width: 100%; min-height: 54px; padding: .75rem; margin-top: .5rem; background: var(--light); color: var(--night); border: 2px solid transparent; border-radius: 2px; }
.consent { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; cursor: pointer; }
input[type=checkbox] { flex-shrink: 0; width: 24px; height: 24px; margin: .15rem 0 0; accent-color: var(--red); }
button { border: 1px solid var(--red); border-radius: 2px; padding: .85rem 1.5rem; background: var(--red); color: #fff; font-size: 1.125rem; font-weight: 500; letter-spacing: .01em; line-height: 1.4; cursor: pointer; margin: 1rem 0; min-height: 54px; max-width: 100%; }
button:hover:not(:disabled), button:focus-visible { background: #C51108; border-color: #C51108; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 5px; }
#email:focus-visible { outline-offset: 3px; }
#status { min-height: 1.5em; overflow-wrap: anywhere; margin: 1.25rem 0; }
#captcha { min-height: 65px; margin-top: 1rem; }
footer { display: flex; flex-wrap: wrap; gap: 0 1.5rem; border-top: 1px solid #65677D; margin-top: 1.5rem; padding-top: 1rem; font-size: 1rem; }
footer a { display: inline-block; padding: .5rem 0; }
@media (max-width: 400px) { button { width: 100%; } }
[hidden] { display: none !important; }
