/* ============================================================
   SaaSpocalypse OS — Base Reset & Foundation
   Bloomberg Terminal × UnusualWhales aesthetic
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  background: #0a0a0b;
  color: #e2e2e4;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ── Base Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #f4f4f5;
}

p {
  line-height: 1.6;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: #93c5fd;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ── Focus Styles ── */
:focus-visible {
  outline: 1px solid rgba(96, 165, 250, 0.5);
  outline-offset: 2px;
}

/* ── Selection ── */
::selection {
  background: rgba(96, 165, 250, 0.2);
  color: #f4f4f5;
}

/* ── Monospace Base ── */
code, kbd, pre, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ── Utility: Tabular Numbers ── */
.tabular {
  font-variant-numeric: tabular-nums lining-nums;
  font-family: 'JetBrains Mono', monospace;
}

/* ── Utility: Visually Hidden ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Utility: Truncate ── */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
