/* Reset, page background and small utilities */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 12% 0%, var(--accent-soft), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(167, 139, 250, 0.08), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #06131f;
  font-weight: 700;
  padding: 0.6rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.muted {
  color: var(--text-muted);
}

.accent-text {
  color: var(--accent);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-subtle);
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
}
