:root { color-scheme: dark; }
/* ============================================================
   Forge Content, Shared Site Chrome (header + footer)
   Single source of truth for all public marketing pages.
   Edit this file (and site-chrome.js) to change the header/footer
   everywhere at once.
   ============================================================ */

#main-nav.fc-nav,
nav.fc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 500;
}
.fc-nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.fc-nav-logo img { height: 40px; width: auto; display: block; background: transparent; }
.fc-nav-links { display: flex; align-items: center; gap: 8px; }
.fc-nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; padding: 8px 14px; border-radius: 6px;
  transition: color 0.2s;
}
.fc-nav-links a:hover { color: #36BAFF; }
.fc-nav-actions { display: flex; align-items: center; gap: 10px; }
.fc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.9); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  background: transparent; transition: border-color 0.2s, color 0.2s; cursor: pointer;
}
.fc-btn-ghost:hover { border-color: #36BAFF; color: #36BAFF; }
.fc-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; font-size: 14px; font-weight: 700;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg,#36BAFF,#8B30FF);
  border: none; border-radius: 8px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(54,186,255,0.5); }

.fc-nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.fc-nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: all 0.3s; }

.fc-nav-mobile { display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.98); z-index: 9999; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.fc-nav-mobile.open { display: flex; }
.fc-nav-mobile a { color: rgba(255,255,255,0.9); font-size: 24px; font-weight: 700; text-decoration: none; }
.fc-nav-mobile a:hover { color: #36BAFF; }
.fc-nav-mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 30px; cursor: pointer; line-height: 1; }

/* ---- Footer ---- */
footer.fc-footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 40px; }
.fc-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.fc-footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.fc-footer-logo { display: inline-flex; flex-shrink: 0; }
.fc-footer-logo img { height: 40px; width: auto; display: block; background: transparent; }
.fc-footer-tag { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.55; margin: 0; text-align: left; }
.fc-soc { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); transition: all 0.2s; }
.fc-soc:hover { background: #1877F2; color: #fff; }
.fc-footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.fc-footer-col { display: flex; flex-direction: column; gap: 11px; }
.fc-footer-h { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.fc-footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.fc-footer-col a:hover { color: #36BAFF; }
.fc-footer-bottom { max-width: 1200px; margin: 28px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.fc-footer-copy { color: rgba(255,255,255,0.45); font-size: 13px; }
.fc-footer-cookie { color: rgba(255,255,255,0.45); font-size: 13px; text-decoration: none; }
.fc-footer-cookie:hover { color: #36BAFF; }
/* legacy single-row footer links (fallback) */
.fc-footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.fc-footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.fc-footer-links a:hover { color: #36BAFF; }

@media (max-width: 860px) {
  #main-nav.fc-nav, nav.fc-nav { padding: 16px 20px; }
  .fc-nav-links, .fc-nav-actions .fc-btn-ghost, .fc-nav-actions .fc-btn-primary { display: none; }
  .fc-nav-hamburger { display: flex; }
  footer.fc-footer { padding: 40px 20px; }
  .fc-footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .fc-footer-cols { gap: 40px; }
  .fc-footer-bottom { flex-direction: column; align-items: center; gap: 10px; }
}

/* Defensive resets, protect chrome from stray page-level `a {}` rules */
.fc-nav-logo, .fc-footer-logo { background: transparent !important; padding: 0 !important; }
.fc-nav-links a, .fc-footer-links a, .fc-nav-mobile a { background: transparent !important; }
.fc-nav-links a { box-shadow: none !important; }
