/* styles.css — minimal custom CSS (Tailwind handles the rest via CDN) */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll margin for anchor navigation (matches header height) */
.scroll-mt-20 {
  scroll-margin-top: 5rem;
}

/* Typography baseline */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Hide scrollbar on horizontal scroll (ToC chips) */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #14b8a6; /* teal-500 */
  outline-offset: 2px;
}
