/*
  Circuitfront Kits demo brand.
  Buyers: edit the tokens and wordmark styles here, then update public/brand.js.
  To strip the brand, delete brand.css and brand.js, drop the data-brand hooks
  in index.html, and restyle :root in styles.css.
*/

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/space-grotesk-600.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
}

:root {
  --brand-navy: #0e1630;
  --brand-lime: #c6ff3d;
  --bg: var(--brand-navy);
  --bg-elev: #161e3c;
  --bg-chat: #121a36;
  --line: #2a3558;
  --text: #f3f6ff;
  --muted: #b4bdd6;
  --accent: var(--brand-lime);
  --accent-ink: #0e1630;
  --accent-dim: rgba(198, 255, 61, 0.14);
  --user: #1c2a52;
  --danger: #ffb4b4;
  --shadow: 0 16px 40px rgba(4, 8, 24, 0.45);
  --radius: 18px;
  --brand-font: "Space Grotesk", "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --font: var(--brand-font);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-wordmark {
  margin: 0;
  font-family: var(--brand-font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  line-height: 1.05;
  color: var(--text);
}

.brand-wordmark .kits {
  font-weight: 600;
  color: var(--accent);
  margin-left: 0.28em;
}

.brand-product {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.brand-footer {
  margin: auto 0 0;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.brand-footer-main {
  margin: 0 20px calc(10px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

@media (min-width: 801px) {
  .brand-footer-main { display: none; }
}
