/* SureContact form pages only (/newsletter/, /contact/). Loaded with its own ?v= stamp from build.py. */
.sc-form { max-width: 640px; min-height: 120px; margin-top: 24px; }
.sc-fallback { max-width: 62ch; margin-top: 20px; font-size: 16px; }
.fine { max-width: 62ch; margin-top: 20px; font-size: 15px; color: var(--muted); }
.lic-note { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--accent, #E8462A); background: var(--bg2, #F4F4F2); font-weight: 600; }
.bare { padding: 20px; }
.page-newsletter_embed .bare { padding: 0; }
.page-newsletter_embed .wrap { width: 100%; max-width: none; padding: 0; }
.page-newsletter_embed .band { padding: 0; }
.page-newsletter_embed .sc-form { margin: 0; max-width: none; }

/* Footer sign-up: one compact row on the footer's dark background (Jon, 4 Nov 2026). */
html:has(.page-newsletter_embed), .page-newsletter_embed { background: #141414 !important; }
.page-newsletter_embed .sc-form { min-height: 0; color: #CFCFCB; }
.page-newsletter_embed .scf-form { display: flex !important; flex-wrap: wrap; gap: 8px; align-items: stretch; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.page-newsletter_embed .scf-message-container { flex: 1 0 100%; }
.page-newsletter_embed .scf-message-container:empty { display: none; }
.page-newsletter_embed .scf-fields { display: flex !important; flex: 1 1 320px; gap: 8px; margin: 0 !important; }
.page-newsletter_embed .scf-field { flex: 1 1 0; min-width: 0; width: auto !important; margin: 0 !important; padding: 0 !important; }
.page-newsletter_embed .scf-field:has(.scf-paragraph), .page-newsletter_embed .scf-paragraph { display: none !important; }
.page-newsletter_embed .scf-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page-newsletter_embed .scf-input { height: 42px; margin: 0 !important; padding: 0 12px !important; background: #1F1F1F !important; border: 1px solid #3A3A38 !important; border-radius: 8px !important; color: #fff !important; font-size: 14px !important; }
.page-newsletter_embed .scf-input::placeholder { color: #9A9A95; }
.page-newsletter_embed .scf-input:focus { border-color: #E8462A !important; outline: 0; box-shadow: none !important; }
.page-newsletter_embed .scf-submit-btn { width: auto !important; height: 42px; margin: 0 !important; padding: 0 18px !important; background: #E8462A !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; white-space: nowrap; }
.page-newsletter_embed .scf-error-message { font-size: 12px; }
@media (max-width: 480px) {
  .page-newsletter_embed .scf-fields { flex: 1 0 100%; flex-direction: column; }
  .page-newsletter_embed .scf-field { flex: none; }
  .page-newsletter_embed .scf-submit-btn { width: 100% !important; }
}

/* License popup (/license/, Jon 10 Nov 2026): the track is the heading, no form title, no topic
   menu (forms.js sets it to "Licensing a track" and adds .topic-set), and a flat form in the site's
   own type and colors instead of SureContact's card. */
.page-license .bare { padding: 24px 24px 20px; }
.license-form h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.license-form .lic-artist { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.license-form .lic-intro { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); }
.license-form .sc-form { max-width: none; margin-top: 16px; }
.license-form .scf-form { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; font-family: var(--body) !important; }
.license-form .scf-field:has(.scf-paragraph) { display: none !important; }
.license-form .topic-set .scf-field:has(.scf-custom-select) { display: none !important; }
.license-form .scf-fields { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px 14px !important; }
.license-form .scf-field { width: auto !important; min-width: 0; margin: 0 !important; grid-column: span 1 !important; }
.license-form .scf-field:has(textarea), .license-form .scf-field:has(.scf-custom-select) { grid-column: 1 / -1 !important; }
.license-form .scf-label { margin-bottom: 6px !important; font-size: 13px !important; font-weight: 600 !important; color: var(--ink) !important; }
.license-form .scf-required { color: var(--accent) !important; }
.license-form .scf-input, .license-form .scf-textarea, .license-form .scf-custom-select-trigger {
  border: 1px solid #D6D6D1 !important; border-radius: var(--r) !important; background: #fff !important;
  font-family: var(--body) !important; font-size: 15px !important; color: var(--ink) !important; box-shadow: none !important; }
.license-form .scf-textarea { min-height: 220px !important; line-height: 1.5 !important; resize: vertical; }
.license-form .scf-input:focus, .license-form .scf-textarea:focus { border-color: var(--accent) !important; outline: 0; box-shadow: 0 0 0 3px rgba(232, 70, 42, .15) !important; }
.license-form .scf-submit-btn { width: 100% !important; min-height: 48px; margin-top: 18px !important; border: 0 !important; border-radius: 99px !important;
  background: var(--accent) !important; color: var(--accent-ink) !important; font-family: var(--body) !important; font-size: 16px !important; font-weight: 600 !important; }
.license-form .scf-submit-btn:hover { filter: brightness(1.08); }
.license-form .fine { margin-top: 14px; font-size: 13px; text-align: center; }
@media (max-width: 480px) {
  .page-license .bare { padding: 18px 16px 16px; }
  .license-form h1 { font-size: 22px; }
  .license-form .scf-fields { grid-template-columns: 1fr !important; }
  .license-form .scf-textarea { min-height: 200px !important; }
}
