/*
 * SSR /newsletter page — rich "Cinema in Your Inbox" layout.
 *
 * Dark page: cream-on-black. The .nl-* rules below are ported from the old
 * client-side #screen-newsletter SPA screen (static/css/pages/home.css) so the
 * SSR page renders at parity with production. The :root block re-points the
 * shared surface aliases to their dark (cream-on-black) values for this page.
 */
:root {
  /* Border / opacity utilities — dark page: cream-on-black */
  --border: rgba(227, 218, 201, 0.1);
  --border-strong: rgba(227, 218, 201, 0.22);
  --cream-dim: rgba(227, 218, 201, 0.55);
}
body {
  background: var(--color-primary);
  color: var(--color-base);
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.newsletter-screen {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px;
}
.nl-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.nl-title {
  font-family: "Playfair Display", serif;
  font-size: 2.375rem;
  font-weight: 400;
  color: var(--color-base);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.05;
}
.nl-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(227, 218, 201, 0.7);
  margin-bottom: 32px;
}
.nl-features {
  margin-bottom: 40px;
}
.nl-feature {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.nl-feature-num {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--red);
  flex-shrink: 0;
  width: 28px;
}
.nl-feature-title {
  font-family: "Playfair Display", serif;
  font-size: 0.9375rem;
  color: var(--color-base);
  margin-bottom: 4px;
}
.nl-feature-desc {
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.6;
}
.nl-sub-area {
  background: var(--black);
  padding: 28px 32px;
}
.nl-sub-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.nl-sub-title {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  color: var(--off-white);
  margin-bottom: 18px;
}
.nl-input-row {
  display: flex;
  gap: 10px;
}
.nl-email {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #2a2a2a;
  background: #161616;
  color: var(--off-white);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}
.nl-email::placeholder {
  color: var(--cream-dim);
}
.nl-email:focus {
  border-color: var(--red);
  outline: none;
}
.nl-btn {
  padding: 12px 24px;
  background: var(--red);
  color: var(--off-white);
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.nl-btn:hover {
  background: #a00e26;
}
.nl-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Status / success message — toggled by newsletter_signup.js (style.display). */
.nl-msg {
  display: none;
  margin-top: 14px;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6fcf85;
}

@media (max-width: 640px) {
  .newsletter-screen {
    padding: 32px 20px 60px;
  }
  .nl-title {
    font-size: 2rem;
  }
  .nl-sub-area {
    padding: 24px 20px;
  }
  .nl-input-row {
    flex-direction: column;
  }
  .nl-email,
  .nl-btn {
    width: 100%;
  }
}
