/* Email sign-up box, the same on every STE page that has one (About, Ideas, Briefing): an email field, the lists to
   receive (Briefing daily, Ideas on Sunday) and a Subscribe button. Markup: subscribeHTML() in chrome.mjs, mirrored by
   SIGNUP_FORM in ste-briefing build.py (server-rendered so it works without JavaScript); behaviour: initSubscribe().
   Published at /foundations/shared/ste-subscribe.css. Design tokens only (from ste-tokens.css). */
.ste-sub { max-width: var(--measure); margin: var(--space-16) 0 0; padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--surface); color: var(--text-primary); }
.ste-sub.ste-sub--solo { margin-top: var(--space-6); }
.ste-sub h2.ste-sub__title { margin: 0 0 var(--space-4); padding: 0; border: 0; color: var(--text-primary); font-family: var(--font-interface); font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ste-sub h2.ste-sub__title::before { display: none; }
.ste-sub__form { margin: 0; }
.ste-sub__row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ste-sub__row input { flex: 1 1 240px; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-control); background: var(--surface); color: var(--text-primary); font: inherit; font-size: 16px; }
.ste-sub__row input::placeholder { color: var(--text-tertiary); }
.ste-sub__row input[aria-invalid="true"] { border-color: var(--danger); }
.ste-sub__row button { height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-control); background: var(--brand-700); color: var(--on-brand); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .16s; }
.ste-sub__row button:hover { background: var(--brand-800); }
.ste-sub__row button[disabled] { opacity: .6; cursor: progress; }
.ste-sub__lists { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: var(--space-3) 0 0; padding: 0; border: 0; }
.ste-sub__lists legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ste-sub__lists label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; font-size: 15px; cursor: pointer; }
.ste-sub__lists input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-700); }
.ste-sub__msg { margin: var(--space-2) 0 0; font-size: 14px; line-height: 1.45; }
.ste-sub__msg:empty { display: none; }
.ste-sub__msg.err { color: var(--danger); }
.ste-sub__msg.ok { color: var(--positive); font-weight: 600; }
.ste-sub__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .ste-sub { padding: 20px 16px; } .ste-sub__row button { flex: 1 1 100%; } }
@media print { .ste-sub { display: none; } }
