/* ============================================
   ON THE DAY — Reset & Base
   ============================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  cursor: none; /* custom cursor replaces native */
}

/* Restore native cursor on touch/reduced-motion */
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  button { cursor: pointer; }
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
}

::selection {
  background: var(--otd-green-200);
  color: var(--otd-green-900);
}

/* Focus ring for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--otd-green-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Smooth height transitions for collapsibles */
[data-collapse] {
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out-expo);
}
