/* CARIBOU site menu (see site-menu.js). Self-contained so it works on every page, light or dark. */
.cm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(15,21,36,.85); color: #F7FAFD; font: 700 15px/1 "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; flex: none; }
.cm-btn:hover { border-color: #2EDBFF; }
.cm-btn:focus-visible, .cm-panel a:focus-visible, .cm-close:focus-visible { outline: 2px solid #2EDBFF; outline-offset: 3px; }
.cm-bars { display: grid; gap: 4px; width: 18px; }
.cm-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
header.top .wrap .cm-btn { margin-left: 10px; }
/* Pages with the dark header: the old inline links hide on phones; the Menu button takes over. */
@media (max-width: 760px) { .cm-hide-links header.top nav.links { display: none !important; } .cm-btn > span:last-child { display: none; } .cm-btn { padding: 8px 11px; } }
.cm-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: rgba(7,10,18,.94); border-bottom: 1px solid rgba(255,255,255,.1); }
.cm-brand { color: #F7FAFD; text-decoration: none; font: 800 20px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .22em; }
.cm-lock, .cm-lock body { overflow: hidden; }
.cm-panel { position: fixed; inset: 0; z-index: 1000; background: rgba(3,6,12,.6); opacity: 0; transition: opacity .2s; }
.cm-panel.cm-open { opacity: 1; }
.cm-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); overflow-y: auto; background: #0B1120; color: #F7FAFD; border-left: 1px solid rgba(255,255,255,.1); padding: 16px 20px 40px; transform: translateX(24px); transition: transform .2s; font: 16px/1.4 "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif; box-sizing: border-box; }
.cm-open .cm-sheet { transform: none; }
.cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cm-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #F7FAFD; font-size: 18px; cursor: pointer; }
.cm-home, .cm-cta { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; text-decoration: none; font-weight: 700; margin-bottom: 10px; }
.cm-home { border: 1px solid rgba(255,255,255,.18); color: #F7FAFD; }
.cm-cta { background: linear-gradient(135deg, #22D3EE, #0EA5E9); color: #04121A; }
.cm-group h2 { margin: 22px 0 6px; font: 600 12px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: #2EDBFF; }
.cm-group ul { list-style: none; margin: 0; padding: 0; }
.cm-group a { display: block; padding: 10px 0; color: #DCE4EF; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.cm-group a:hover { color: #2EDBFF; }
.cm-group a[aria-current="page"] { color: #2EDBFF; font-weight: 700; }
.cm-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; font-size: 14px; }
.cm-social a { color: #8A94A8; }
@media (prefers-reduced-motion: reduce) { .cm-panel, .cm-sheet { transition: none; } }
@media (max-width: 760px) { header.top #open-login { white-space: nowrap; } }
