/* Notabium — brand tokens + primitives
 * Source: Claude Design brand book (Notabium v1.0, edition 01.2026)
 * Use on: marketing site, share-link pages, anywhere brand surfaces.
 * Sharp corners. No gradients. Single ember accent (≤1 per view).
 */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap");

:root {
  /* PAPER (app surface) */
  --nb-paper: #F4F4F3;
  --nb-surface: #EDEDEB;
  --nb-surface-deep: #E4E4E1;
  --nb-divider: #D6D6D3;
  --nb-rule: rgba(17, 17, 17, 0.10);

  /* INK */
  --nb-ink: #111111;
  --nb-ink-soft: #2A2A2A;
  --nb-ink-muted: #6B6B68;
  --nb-ink-dim: #9A9A97;

  /* EMBER — the single accent. Use sparingly, ≤ 1 per view. */
  --nb-accent: #FF5C1A;
  --nb-accent-soft: rgba(255, 92, 26, 0.15);
  --nb-accent-line: rgba(255, 92, 26, 0.4);

  /* NIGHT (landing / marketing) */
  --nb-night: #0F0F0F;
  --nb-night-surface: #1A1A1A;
  --nb-night-surface-hi: #242424;
  --nb-night-line: rgba(255, 255, 255, 0.10);
  --nb-night-text: #F4F4F3;
  --nb-night-muted: #8B8B88;

  /* SIGNAL */
  --nb-good: #3FB984;
  --nb-bad: #E5484D;

  /* TYPE */
  --nb-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nb-font-sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;

  /* SPACING (4px base) */
  --s-0: 0;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* LAYOUT */
  --nb-max: 1280px;
  --nb-gutter: 88px;
}

@media (max-width: 980px) {
  :root { --nb-gutter: 24px; }
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--nb-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* Wordmark — [ notabium_ ] */
.nb-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--nb-font-mono);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}
.nb-wordmark .nb-bracket { color: var(--nb-accent); opacity: 0.7; }
.nb-wordmark .nb-name { color: currentColor; }
.nb-wordmark .nb-caret { color: var(--nb-accent); }

/* Monogram — >N with accent caret + dot */
.nb-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nb-ink);
  color: var(--nb-paper);
  font-family: var(--nb-font-mono);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  position: relative;
  flex: 0 0 auto;
}
.nb-monogram .nb-caret { color: var(--nb-accent); }
.nb-monogram .nb-dot {
  position: absolute;
  bottom: 18%;
  right: 20%;
  width: 10%;
  height: 4.5%;
  background: var(--nb-accent);
}

/* Code label (terminal cursor marker) */
.nb-label {
  font-family: var(--nb-font-mono);
  font-size: 11px;
  letter-spacing: -0.005em;
  color: var(--nb-ink-muted);
}
.nb-label--accent { color: var(--nb-accent); }
.nb-label--muted-night { color: var(--nb-night-muted); }

/* Buttons */
.nb-btn {
  font-family: var(--nb-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 11px 18px;
  border-radius: 0;            /* sharp corners always */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .15s, background .15s, color .15s;
}
.nb-btn:hover { opacity: 0.9; }
.nb-btn--ember { background: var(--nb-accent); color: var(--nb-ink); }
.nb-btn--ember:hover { background: #FF6E33; opacity: 1; }
.nb-btn--ghost-night {
  background: transparent;
  color: var(--nb-paper);
  border: 1px solid var(--nb-night-line);
  padding: 10px 18px;
}
.nb-btn--ghost-night:hover { background: var(--nb-night-surface); }
.nb-btn--ink { background: var(--nb-ink); color: var(--nb-paper); }
.nb-btn--ghost-paper {
  background: var(--nb-paper);
  color: var(--nb-ink);
  border: 1px solid var(--nb-divider);
  padding: 10px 18px;
}
.nb-btn--link { background: transparent; color: var(--nb-night-muted); padding: 11px 8px; }
.nb-btn--link:hover { color: var(--nb-paper); }

/* Recording-dot pulse */
@keyframes nb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.nb-pulse { animation: nb-pulse 1.5s infinite; }

/* Container */
.nb-wrap { max-width: var(--nb-max); margin: 0 auto; padding: 0 var(--nb-gutter); }
