*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    
    :root {
      --bg:       #07090f;
      --bg1:      #0c0f1a;
      --bg2:      #111520;
      --bg3:      #181d2e;
      --bg4:      #1e2438;
      --border:   rgba(100,160,255,0.12);
      --border2:  rgba(100,160,255,0.25);
      --border3:  rgba(100,160,255,0.4);
      --blue:     #5b9cf6;
      --cyan:     #38d9c0;
      --green:    #4ade80;
      --amber:    #fbbf24;
      --pink:     #f472b6;
      --red:      #f87171;
      --purple:   #a78bfa;
      --text:     #e8eaf0;
      --muted:    #5a6080;
      --muted2:   #8892b0;
      --mono:     'IBM Plex Mono', monospace;
      --sans:     'DM Sans', sans-serif;
      --r:        10px;
      --r2:       14px;
    }
    
    html { font-size: 16px; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      min-height: 100vh;
      overflow-x: hidden;
      width: 100%;
    }
    html, body { max-width: 100%; overflow-x: hidden; }
    
    /* Subtle grid */
    body::after {
      content:'';
      position:fixed; inset:0; z-index:0; pointer-events:none;
      background:
        linear-gradient(rgba(91,156,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,156,246,0.03) 1px, transparent 1px);
      background-size: 48px 48px;
    }

    /* ─── Accessibility: keyboard focus ──────────────────────────────── */
    :focus { outline: none; }
    :focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
      border-radius: 4px;
    }
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    [tabindex]:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
      box-shadow: 0 0 0 4px rgba(91,156,246,0.18);
    }

    /* Skip-to-content link (visually hidden until focused) */
    .skip-link {
      position: fixed;
      top: -100px;
      left: 12px;
      background: var(--bg3);
      color: var(--text);
      padding: 10px 16px;
      border-radius: 8px;
      border: 1px solid var(--border2);
      font-family: var(--mono);
      font-size: 13px;
      z-index: 10000;
      text-decoration: none;
      transition: top 0.18s ease;
    }
    .skip-link:focus,
    .skip-link:focus-visible {
      top: 12px;
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }

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

    /* Respect users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }