/* ============================================================
   socialslink.io — design tokens
   Single source of truth. Loaded by every public page AND the
   admin console, so the two can never drift apart.
   ============================================================ */

:root {
  /* surfaces: near-black, four steps of lift */
  --bg:          #08090b;
  --surface:     #0d0f13;
  --surface-2:   #12151b;
  --surface-3:   #171b23;

  /* hairlines */
  --line:        #1b1f27;
  --line-strong: #272d38;

  /* type */
  --text:        #e9ebef;
  --text-2:      #99a1ae;
  --text-3:      #757d8b;

  /* the single accent — used for signal, never for decoration */
  --accent:      #35e0a1;
  --accent-dim:  #1d9a6d;
  --accent-wash: rgba(53, 224, 161, 0.10);

  /* status */
  --danger:      #ff6b6b;
  --danger-wash: rgba(255, 107, 107, 0.12);
  --warn:        #f5b84b;
  --warn-wash:   rgba(245, 184, 75, 0.12);

  /* primary action is white-on-black, never a gradient */
  --btn-bg:      #ffffff;
  --btn-fg:      #08090b;

  /* radius scale — four distinct steps, never one value everywhere */
  --r-xs: 5px;
  --r-sm: 9px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* page measure — .shell depends on both of these */
  --shell: 1040px;
  --gutter: 24px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ring: 0 0 0 3px rgba(53, 224, 161, 0.28);
  --lift: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 48px -24px rgba(0,0,0,0.9);
}

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

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

button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #06231a; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
