/* AutoKYC design system — "the case file, set in type" */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Schibsted+Grotesk:wght@400;500;600;700&family=Fragment+Mono&display=swap');

:root {
  --ink: #191d2e;
  --ink-2: #232842;
  --ink-3: #2e3454;
  --paper: #f5f1e8;
  --paper-2: #fffdf8;
  --line: #e2dbcc;
  --line-ink: rgba(25, 29, 46, .14);
  --accent: #b8422c;
  --seal: #9d2b1f;
  --verify: #2e7d6b;
  --amber: #b07a1e;
  --muted: #8a8474;
  --muted-ink: #a9adc4;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Schibsted Grotesk', -apple-system, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}
/* paper grain */
.grain::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px; border: 1px solid var(--line-ink);
}
.chip.ready { color: var(--verify); border-color: rgba(46,125,107,.35); background: rgba(46,125,107,.07); }
.chip.running { color: var(--amber); border-color: rgba(176,122,30,.4); background: rgba(176,122,30,.07); }
.chip.review { color: var(--seal); border-color: rgba(157,43,31,.35); background: rgba(157,43,31,.06); }
.seal-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.seal-dot.high { background: var(--seal); box-shadow: 0 0 0 3px rgba(157,43,31,.15); }
.seal-dot.med { background: var(--amber); box-shadow: 0 0 0 3px rgba(176,122,30,.15); }
.btn-primary {
  font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--paper-2);
  background: var(--accent); border: none; border-radius: 4px; padding: 10px 18px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-ghost {
  font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink);
  background: transparent; border: 1px solid var(--line-ink); border-radius: 4px; padding: 9px 14px; cursor: pointer;
}
.mono { font-family: var(--mono); }
