@import '@fontsource/geist-sans/400.css';
@import '@fontsource/geist-sans/600.css';

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  color-scheme: light;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: theme('colors.paper');
  color: theme('colors.ink');
  font-kerning: normal;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, oklch(93% 0.03 24), transparent 34rem),
    theme('colors.paper');
  font-family: theme('fontFamily.sans');
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid theme('colors.burgundy.600');
  outline-offset: 4px;
}

.measure {
  max-width: 68ch;
}

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

.prose-lite {
  color: theme('colors.ink');
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose-lite p + p {
  margin-top: 1.25rem;
}

.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
