:root {
  --background: #FFFFFF;
  --foreground: #000000;
  --muted: #6F6F6F;
  --soft: #F4F4F4;
  --hairline: rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
  border-radius: 2px;
}

.font-display { font-family: var(--font-display); font-weight: 400; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--foreground); color: var(--background);
  padding: 10px 14px; border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 200ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
