/* The "Get product updates" box at the top of the sitewide footer (cc-hub-app WP #1907, epic #1902; mock-up GRN-A5).
   Its own file, linked from the footer markup itself (scripts/sync-footer.mjs), so adding the box did not mean bumping
   styles.css on thirty pages. Uses the palette tokens from styles.css, which every footer page loads.
   Inputs are 16px: under that, iOS Safari zooms the page when one takes focus (§8, 2026-09-25). */
.fupd {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 40px; align-items: start;
  padding: 26px 28px; margin-bottom: 40px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.08), rgba(34, 211, 238, 0.05));
}
.fupd__title { color: var(--white); font-size: 20px; margin: 0 0 8px; }
.fupd__lede { margin: 0; font-size: 15px; color: var(--slate-300); max-width: 420px; }
.fupd__row { display: flex; gap: 10px; }
.fupd__row + .fupd__row { margin-top: 10px; }
.fupd__field { flex: 1 1 0; min-width: 0; }
.fupd__field input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--white);
  background: rgba(10, 20, 36, 0.7); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 10px; padding: 11px 14px;
}
.fupd__field input::placeholder { color: var(--slate-500); }
.fupd__field input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.fupd__field input[aria-invalid="true"] { border-color: #f87171; }
.fupd__btn { flex: 0 0 auto; white-space: nowrap; justify-content: center; }
.fupd__btn[disabled] { opacity: 0.6; cursor: progress; }
.fupd__consent { margin: 10px 0 0; font-size: 13px; color: var(--slate-400); }
.fupd__consent a { color: var(--cyan); }
.fupd__msg { margin: 10px 0 0; font-size: 14px; }
.fupd__msg:empty { display: none; }
.fupd__msg--err { color: #fca5a5; }
.fupd__done { margin: 0; font-size: 15px; color: var(--green); }
.fupd__done b { color: var(--white); }
.fupd__sr, .fupd__hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) { .fupd { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
  .fupd { padding: 20px 18px; margin-bottom: 30px; }
  .fupd__row { flex-direction: column; }
  .fupd__btn { width: 100%; }
}
