/* ============================================================
   neWave Fiber Lab 3D — design tokens & reset
   Tone: teknik, i saktë, i qetë. Dark navy + cyan fiber accent.
   ============================================================ */

:root {
  color-scheme: dark;

  /* Neutral blue-tinted grays */
  --bg:        #0a1424;
  --bg-2:      #0d1a2e;
  --panel:     #101d33;
  --panel-2:   #142339;
  --border:    #223850;
  --border-strong: #2f4a68;

  --text:        #dde6f2;
  --text-dim:    #9db0c8;
  --text-faint:  #6b7f99;

  /* Brand — fiber cyan */
  --brand:        #22d3ee;
  --brand-strong: #0ea5e9;
  --brand-soft:   rgba(34, 211, 238, 0.13);
  --brand-ring:   #7dd3fc;

  /* Semantic */
  --ok:     #34d399;
  --ok-bg:  rgba(52, 211, 153, 0.12);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.13);
  --warn:   #fbbf24;
  --warn-bg: rgba(251, 191, 36, 0.13);

  /* Shape & depth */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --shadow-1: 0 1px 2px rgba(1, 6, 16, 0.5);
  --shadow-2: 0 10px 30px rgba(1, 6, 16, 0.55);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
}

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

html, body { margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, dl, dd, dt, figure { margin: 0; }

ul { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: var(--brand-ring); }

:focus-visible {
  outline: 2px solid var(--brand-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Figures & numbers line up */
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Utilities */
.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;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--brand);
  color: #06212b;
  font-weight: 600;
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: top 150ms ease-out;
}
.skip-link:focus-visible { top: 12px; }

.ic {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

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