/* ============================================================
   Parastatiko — Base layer
   Synced from the Claude Design project. Light reset wired to
   the design tokens; loaded after them.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font: var(--type-body);
  color: var(--text-body);
  background: var(--surface-app);
  /* Greek diacritics render crisply with default kerning + ligatures */
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: var(--transition-colors);
}
a:hover { text-decoration: underline; color: var(--azure-700); }

button { font-family: inherit; }

/* Monospace data: tabular figures, never wider than they need */
code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "zero" 1;
  letter-spacing: var(--tracking-mono);
}

.tnum { font-variant-numeric: tabular-nums; }

::selection {
  background: var(--azure-100);
  color: var(--azure-800);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* Thin, calm scrollbars for back-office density */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-pill);
  border: 3px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
