/* ================================================================
   FINDMEACLUB — RESET & BASE
   ================================================================ */

*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--clr-bg-1);
  color: var(--clr-txt-1);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Typography base ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-txt-0);
  letter-spacing: -0.01em;
}

p { max-width: 70ch; }
p.wide { max-width: 90ch; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ── Custom scrollbar ────────────────────────────────────── */
::-webkit-scrollbar          { width: 5px; height: 5px; }
::-webkit-scrollbar-track    { background: var(--clr-bg-1); }
::-webkit-scrollbar-thumb    { background: var(--clr-bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-txt-3); }

/* ── Selection ───────────────────────────────────────────── */
::selection {
  background: var(--clr-cyan);
  color: var(--clr-bg-0);
}

/* ── Focus ring ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-cyan);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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