/* ============================================
   TradeBrain site footer — ONE footer for every page.
   Self-contained (own font, colours, resets) so it renders the same on tb.css,
   base.css and blog templates. Markup: <footer class="tbf"> (see footer.html).
   Colour rules on h5/p are prefixed `html body` to beat global-enhance.css's
   `body:not([data-page=blog]) h5/p` sweep on the older pages.
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

.tbf { --tbf-cyan: #2c98d9; --tbf-navy: #415c76; --tbf-text: #a9bccf; --tbf-muted: #8296ac;
  display: block; background: #0e1b34; color: #b9c8d9; padding: 68px 0 32px; margin: 0;
  border-top: 3px solid; border-image: linear-gradient(90deg, var(--tbf-navy), var(--tbf-cyan)) 1;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.5; text-align: left; }
.tbf *, .tbf *::before, .tbf *::after { box-sizing: border-box; }
.tbf p, .tbf h5, .tbf form { margin: 0; padding: 0; }
.tbf a { text-decoration: none; background: none; border: 0; }
.tbf-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tbf-inner { display: grid; gap: 40px; }
@media (min-width: 860px) { .tbf-inner { grid-template-columns: 1.2fr 2fr; } }
.tbf-brand img { display: block; height: 40px; width: auto; margin: 0 0 18px; filter: brightness(0) invert(1); }
html body .tbf .tbf-brand > p { font-size: 14.5px; line-height: 1.6; max-width: 300px; margin-bottom: 20px; color: var(--tbf-text); }
.tbf-social { display: flex; gap: 10px; margin-top: 16px; }
.tbf-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.tbf-social a:hover { background: var(--tbf-cyan); transform: translateY(-2px); }
.tbf-social svg { width: 16px; height: 16px; fill: #fff; }
html body .tbf h5 { font-family: 'Manrope', system-ui, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; line-height: 1.4; }
.tbf-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 560px) { .tbf-nav { grid-template-columns: 1fr 1fr; } }
html body .tbf .tbf-col h5 { margin-bottom: 16px; }
.tbf-col a { display: block; font-size: 14.5px; line-height: 1.5; color: var(--tbf-text); margin-bottom: 10px; transition: color .2s; }
.tbf-col a:hover { color: #7fc4ee; }
.tbf-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: var(--tbf-muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Brainwave signup */
.tbf-bw { margin-top: 28px; max-width: 340px; }
html body .tbf .tbf-bw h5 { margin-bottom: 10px; }
html body .tbf .tbf-bw p { font-size: 14px; line-height: 1.55; color: var(--tbf-text); margin-bottom: 12px; }
.tbf-bw form { display: flex; gap: 8px; }
.tbf-bw input[type=email] { flex: 1; min-width: 0; height: auto; margin: 0; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; box-shadow: none; }
.tbf-bw input[type=email]::placeholder { color: #7f93a8; opacity: 1; }
.tbf-bw input[type=email]:focus { outline: 2px solid var(--tbf-cyan); outline-offset: 1px; }
.tbf-bw button { margin: 0; padding: 11px 18px; border: 0; border-radius: 8px; background: var(--tbf-cyan); color: #0e1b34; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.5; cursor: pointer; box-shadow: none; }
.tbf-bw button:disabled { opacity: .6; cursor: default; }
html body .tbf .tbf-bw .tbf-bw-msg { margin: 10px 0 0; color: #fff; min-height: 1em; }
.tbf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
