/*
 * The bar along the top of the pages beside the app (About, Privacy, Contact, the guides, 404), and the footer every page
 * shows, the app's included. One stylesheet, so the two can't drift apart again; src/lib/siteChrome.test.ts checks that each
 * page carries the same markup. Self-contained: these pages don't share the app's tokens, so the colours are written out.
 */

.site-bar { background: #0b0d0f; color: #fff; box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.12); }
.site-bar-inner, .site-foot-inner { box-sizing: border-box; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.site-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; }

.site-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; text-decoration: none; }
.site-dots { display: inline-flex; gap: 3px; }
.site-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #64d48a; }
.site-dots i:nth-child(2) { background: #ff8c45; }
.site-dots i:nth-child(3) { background: #55a9ff; }

/* One button, saying the same on every page. */
.site-open { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; transition: background-color 160ms ease; }
.site-open:hover { background: #e4e1d9; }

/* Two quiet lines: the name, the pages and where else FlickCue runs; then the fine print. */
.site-foot { flex-shrink: 0; margin-top: auto; background: #0b0d0f; border-top: 1px solid rgb(255 255 255 / 0.12); color: #c2c6ca; font-size: 13px; line-height: 1.4; }
.site-foot-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding: 8px 0 6px; }
.site-foot-brand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-right: auto; }
.site-foot-brand .site-dots i { width: 8px; height: 8px; }
.site-foot-tag { color: #9aa1a8; }
.site-foot-links, .site-foot-get { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 40px; color: #c2c6ca; font-weight: 400; text-decoration: none; transition: color 160ms ease; }
.site-foot a:hover, .site-foot a[aria-current="page"] { color: #fff; }
.site-foot .site-brand { min-height: 0; color: #fff; font-weight: 800; }
.site-foot-ext::after { content: "\2197" / ""; margin-left: 4px; font-size: 11px; opacity: 0.7; }
.site-foot-chip { padding: 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); color: #9aa1a8; font: 500 10px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.site-foot-fine { margin: 0; padding: 10px 0 14px; border-top: 1px solid rgb(255 255 255 / 0.12); color: #9aa1a8; font-size: 12px; }

.site-bar a:focus-visible, .site-foot a:focus-visible { outline: 2px solid #d7ff86; outline-offset: 2px; }

@media (max-width: 700px) {
  .site-open { height: 40px; }
  .site-foot-main { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 16px; }
  .site-foot-brand { margin: 0 0 6px; }
  .site-foot a { min-height: 44px; }
  .site-foot-links { gap: 0 22px; }
  /* Phones can't install the extension: its links stay for a wider screen. */
  .site-foot-ext { display: none !important; }
  .site-foot-get { margin-bottom: 8px; }
  .site-foot-fine { padding-bottom: 20px; }
}
