/* Root background + dark-themed scrollbar.
   The default browser scrollbar track was white, showing as a thin white line
   on the right against the dark sections. Navy root bg fills the gutter; the
   scrollbar is themed dark to match the brand. Safe: every section paints its
   own solid/gradient background over this. */
html { background-color: #080E1C; }
html { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.26) #080E1C; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080E1C; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.35); }

/* Text-fragment links (e.g. a Google result that deep-links to a phrase with
   #:~:text=...) tell the browser to highlight matching text. Chrome's default
   is a jarring pink that can look like a rendering fault on the page. Neutralise
   that auto-highlight, and brand ordinary text selection to match the site. */
::selection { background: rgba(77, 184, 154, 0.30); color: inherit; }
::-moz-selection { background: rgba(77, 184, 154, 0.30); color: inherit; }
::target-text { background-color: transparent; color: inherit; }



/* ── The CFO Briefing native form ────────────────────────────────────────
   Elegant, on-brand form wired to MailerLite via /api/subscribe. */
.cfo-form { max-width: 460px; }
.cfo-input {
  width: 100%; padding: 15px 18px; margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
  background: rgba(255,255,255,0.05); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; outline: none;
  transition: border-color 0.3s;
}
.cfo-input::placeholder { color: rgba(255,255,255,0.28); }
.cfo-input:focus { border-color: var(--teal); }
.cfo-form .email-input { border-radius: 4px 0 0 4px; }
.cfo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cfo-msg { margin-top: 14px; font-size: 0.9rem; line-height: 1.6; }
.cfo-msg.cfo-ok { color: var(--teal); }
.cfo-msg.cfo-err { color: #f0a58f; }
.btn-subscribe[disabled] { opacity: 0.6; cursor: default; }
