/* Drive Auditor — shared design foundation ("the filing cabinet, audited").
   Loaded by both the marketing site (before site.css) and the app (before
   app.css): fonts, palette tokens, reset, and the shared primitives. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --paper: #FAF8F2;
  --ink: #1C2B24;
  --ink-soft: #46564D;
  --manila: #EDD9A3;
  --manila-deep: #D9BC72;
  --line: #DDD6C4;
  --green: #2F6B46;
  --green-deep: #245236;
  --alert: #C4442A;
  --alert-wash: #FBEFEA;
  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;  /* Editorial headings (system stand-in) */
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
}

a { color: var(--green); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--body);
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: #275a3b; }
.btn-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-quiet:hover { border-color: var(--ink-soft); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ----------------------------------------------------------------- chips */

.chip {
  font-size: 0.62rem;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
}
.chip-public {
  border-color: var(--alert);
  color: var(--alert);
  background: var(--alert-wash);
}

/* ---------------------------------------------------------------- labels */

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 14px;
}
