/* ============================================================
   FAERI Design System — Base / Reset / Typography
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem;   font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--silver);
  line-height: 1.65;
}

/* ── Lists ── */
ul, ol {
  list-style: none;
  padding: 0;
}

ul li::before {
  content: '\25B8';          /* ▸ */
  color: var(--cyan);
  display: inline-block;
  width: 1.2em;
  margin-left: 0;
}

/* Opt-out for nav/footer/utility lists */
.nav-links li::before,
.footer-links li::before,
.no-marker li::before {
  content: none;
}

/* ── Links ── */
a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* ── Images ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.7);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--navy);
}

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

::-moz-selection {
  background: var(--cyan);
  color: var(--navy);
}

/* ── Color Utilities ── */
.c-cyan   { color: var(--cyan);   }
.c-orange { color: var(--orange); }
.c-gold   { color: var(--gold);   }
.c-white  { color: var(--white);  }
.c-muted  { color: var(--muted);  }
.c-silver { color: var(--silver); }

/* ── Weight Utilities ── */
.fw-700 { font-weight: 700; }
