/* The main site's header and footer, for pages that have their own styles
   (the knowledge base). Same look as index.html's nav and footer, under
   ccs- class names so the page's own nav/footer/.wrap rules can't touch it. */
.ccs-nav, .ccs-footer { --ccs-pink: #D4166A; --ccs-ink: #2A0A1C; --ccs-ink-soft: #6B4257; --ccs-line: #F2CCDD; --ccs-gold: #F4A03E;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Inter, sans-serif; line-height: 1.55; box-sizing: border-box; }
.ccs-nav *, .ccs-footer * { box-sizing: border-box; }
.ccs-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,247,250,.88); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ccs-line); margin: 0; }
.ccs-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 5vw; gap: 14px; max-width: none; margin: 0; }
.ccs-nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; text-decoration: none; }
.ccs-nav-logo img { height: 52px; width: auto; max-width: none; display: block; }
.ccs-beta-pill { font-size: .62rem; font-weight: 800; letter-spacing: .12em; color: #fff; background: var(--ccs-gold);
  border-radius: 999px; padding: 3px 10px; text-transform: uppercase; white-space: nowrap; line-height: 1.55; }
.ccs-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-left: auto; font-size: .86rem; font-weight: 600; }
.ccs-nav-links a { color: var(--ccs-ink-soft); text-decoration: none; white-space: nowrap; font-weight: 600; background: none; padding: 0; border: 0; }
.ccs-nav-links a:hover { color: var(--ccs-pink); }
.ccs-nav-links a.ccs-btn { display: inline-block; cursor: pointer; text-decoration: none; font-weight: 800; border-radius: 999px;
  transition: transform .12s, box-shadow .12s; background: transparent; color: var(--ccs-pink); border: 2px solid var(--ccs-pink);
  padding: 7px 18px; font-size: .82rem; line-height: normal; }
.ccs-nav-links a.ccs-btn:hover { transform: translateY(-1px); color: var(--ccs-pink); }
@media (max-width: 980px) { .ccs-nav-links a:not(.ccs-btn) { display: none; } .ccs-nav-logo img { height: 42px; } }
@media (max-width: 420px) { .ccs-beta-pill { display: none; } }
.ccs-footer { padding: 34px 22px; text-align: center; font-size: .87rem; color: var(--ccs-ink-soft); margin: 0; background: none; border: 0; }
.ccs-footer-inner { max-width: 1060px; margin: 0 auto; }
.ccs-footer a { color: var(--ccs-pink); font-weight: 700; text-decoration: none; }
.ccs-footer .ccs-beta-pill { vertical-align: middle; margin-left: 6px; }
/* Embedded inside another page (?embed): no site header or footer. */
html.embed .ccs-nav, html.embed .ccs-footer { display: none !important; }
/* Pages style bare nav/header/footer/a elements; none of that may leak into the shared header and footer. */
.ccs-nav-links, .ccs-nav-inner, .ccs-footer-inner { border: 0 !important; box-shadow: none !important; background: none !important;
  position: static !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ccs-nav-links a, .ccs-nav-links a:visited { border-bottom: 0; box-shadow: none; }
.ccs-footer .ccs-legal { margin-top: 8px; opacity: .85; }
