/* ============================================
   CLIENTI360 — Base / Reset / Global
   ============================================ */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--c-dark);
  color: var(--c-white);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast);
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* — Container — */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.container--text {
  max-width: var(--max-w-text);
}

/* — Sections — */
.section {
  padding: var(--s-120) 0;
}

.section--surface {
  background: var(--c-surface);
}

.section--compact {
  padding: var(--s-80) 0;
}

/* — Section Headers — */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  padding: 6px var(--s-16);
  border: 1px solid var(--c-teal);
  border-radius: var(--radius-full);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--c-teal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--c-teal-dim);
  margin-bottom: var(--s-20);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--s-24);
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--c-gray);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle {
  margin: 0 auto;
}

/* — Utility — */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.teal { color: var(--c-teal); }
.coral { color: var(--c-coral); }
.blue { color: var(--c-blue); }
.gold { color: var(--c-gold); }
.gray { color: var(--c-gray); }

/* — Selection — */
::selection {
  background: var(--c-teal);
  color: var(--c-dark);
}

/* — Scrollbar — */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-dark); }
::-webkit-scrollbar-thumb {
  background: var(--c-surface-2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-gray);
}

/* — Focus visible — */
:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 2px;
}

/* — Reduced Motion — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
