:root { font-family: system-ui, sans-serif; color: #18212b; background: var(--brand-page, #f5f6f8); min-height: 100%; }
main { max-width: 680px; margin: 3rem auto; padding: 2rem; background: white; border-radius: 12px; }
h1 { font-size: 1.8rem; color: var(--brand-primary, inherit); }
.logo { display: block; max-width: 240px; max-height: 80px; margin-bottom: 1rem; }
.help { margin-top: 2rem; font-size: .9rem; color: #536170; } .help a { color: var(--brand-primary, #194c78); } h2 { margin-top: 2rem; font-size: 1.2rem; }
.newsletter { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #ddd; }
.newsletter small { display: block; margin-top: .3rem; color: #536170; }
input[type=email] { box-sizing: border-box; display: block; width: 100%; margin: 1rem 0; padding: .8rem; }
button { padding: .8rem 1.2rem; background: var(--brand-primary, #194c78); color: white; border: 0; border-radius: 5px; cursor: pointer; }
button:disabled { opacity: .6; } #message { line-height: 1.6; }
@media (max-width: 720px) { main { margin: 1rem; padding: 1.2rem; } }
/* First view (sent in the HTML, so it shows before any script runs): a shimmer
   until branding and the newsletter list have both arrived; portal.js then
   swaps in the real page at once, so the logo does not pop in and shift it. */
main.loading h1 { visibility: hidden; height: 0; margin: 0; }
.sk { border-radius: 6px; background: linear-gradient(90deg, #eceff3 25%, #f6f7f9 37%, #eceff3 63%); background-size: 400% 100%; animation: sk-sweep 1.4s ease infinite; }
.sk-logo { width: 200px; height: 56px; margin-bottom: 1.4rem; }
.sk-line { width: 55%; height: 1.4rem; margin-bottom: 1.6rem; }
.sk-row { height: 3.2rem; margin: .9rem 0; }
.sk-input { height: 2.8rem; margin: 1.4rem 0 1rem; }
.sk-button { width: 8rem; height: 2.6rem; }
@keyframes sk-sweep { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
