/* ===========================================================================
   CLIQ — Base element defaults & helpers.
   Light-touch resets so specimen cards & kits render consistently.
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0;
}

/* Accessible focus — visible, high-contrast violet ring */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

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

/* ---- Utility: brand "topographic" line texture (decorative bg) ----
   Subtle layered wavy lines seen behind marketing slides. Apply to a
   positioned container; it paints into ::before. */
.cliq-topo {
  position: relative;
  overflow: hidden;
}
.cliq-topo::before {
  content: "";
  position: absolute;
  inset: -10% -10% -10% 40%;
  background-image: repeating-radial-gradient(
    circle at 120% 50%,
    transparent 0,
    transparent 16px,
    rgba(34, 212, 164, 0.18) 16px,
    rgba(34, 212, 164, 0.18) 17px
  );
  pointer-events: none;
  z-index: 0;
}

.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;
}
