/* Aerios base styles — Google Fonts import, reset, and document defaults.
   Always load AFTER tokens.css. */

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

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

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-default);
  color: var(--text-primary);
  background: var(--page-bg);
  min-height: 100vh;
  /* Inter hyperlegibility cuts: cv11 = single-storey 'a', ss01 = open digits */
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--tr);
}
a:hover { color: var(--primary); }

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

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

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

code,
pre,
.mono {
  font-family: var(--mono);
}

::selection {
  background: var(--accent-light);
  color: var(--primary-dark);
}

/* Subtle scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 2px solid var(--page-bg);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Utilities */
.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;
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-mono { font-family: var(--mono); }
