    /* ── Fonts (self-hosted latin subsets, variable weight) ── */
    @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 100 900;
      font-display: swap;
      src: url("../fonts/inter-latin.260c81a4759b.woff2") format('woff2');
    }
    @font-face {
      font-family: 'JetBrains Mono';
      font-style: normal;
      font-weight: 100 800;
      font-display: swap;
      src: url("../fonts/jetbrains-mono-latin.b058178d7f30.woff2") format('woff2');
    }
    /* Arial scaled to Inter's metrics, so swapping in Inter does not reflow text (no layout shift). */
    @font-face {
      font-family: 'Inter Fallback';
      src: local('Arial'), local('Liberation Sans'), local('Helvetica');
      ascent-override: 90.44%;
      descent-override: 22.52%;
      line-gap-override: 0%;
      size-adjust: 107.12%;
    }

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

    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
      scroll-behavior: smooth;
      scroll-padding-top: 4rem;
    }

    /* ── Design tokens ── */
    :root {
      --font-body:    'Inter', 'Inter Fallback', sans-serif;
      --font-display: 'Inter', 'Inter Fallback', sans-serif;

      --color-bg:              #040610;
      --color-surface:         #0a0d16;
      --color-surface-2:       #0d111c;
      --color-surface-offset:  #131826;
      --color-surface-dynamic: #1e2536;
      --color-divider:         #1e2536;
      --color-border:          #1e2536;

      --color-text:         #e2e8f0;
      --color-text-muted:   #94a3b8;
      --color-text-faint:   #7a879c; /* >= 4.5:1 on every surface */
      --color-text-inverse: #ffffff; /* text on primary backgrounds: 5.3:1 */

      --color-primary:        #005CFF;
      --color-primary-hover:  #337eff;
      --color-primary-active: #004bcc;
      --color-primary-hi:     #001a4d;
      --color-primary-text:   #4d8dff; /* primary as text on dark surfaces: >= 5.5:1 */

      --color-success: #4ade80;
      --color-error:   #f43f5e;
      --color-warning: #fb923c;

      --radius-sm:   0.375rem;
      --radius-md:   0.5rem;
      --radius-lg:   0.75rem;
      --radius-xl:   1rem;
      --radius-full: 9999px;

      --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
      --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.08);
      --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.12);

      --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
    }



    /* ── Body ── */
    body {
      font-family: var(--font-body);
      font-size: 0.875rem; /* Vultr uses smaller text generally */
      line-height: 1.5;
      color: var(--color-text);
      background: var(--color-bg);
    }

    /* ── Typography ── */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-display);
      line-height: 1.2;
      text-wrap: balance;
    }
    p, li { text-wrap: pretty; }

    /* ── Focus ring ── */
    :focus-visible {
      outline: 2px solid var(--color-primary);
      outline-offset: 3px;
      border-radius: var(--radius-sm);
    }

    /* ── Interactive transitions ── */
    a, button, [role="button"], input, select, textarea {
      transition: color var(--transition), background var(--transition),
                  border-color var(--transition), box-shadow var(--transition),
                  opacity var(--transition);
    }
    button { cursor: pointer; }

    /* ── Selection colour ── */
    ::selection {
      background: oklch(from var(--color-primary) l c h / 0.20);
      color: var(--color-text);
    }

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

    /* ── 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-width: 0;
    }
    [x-cloak] { display: none !important; }

    /* ── Scrollbars: dark thumb on a transparent track instead of the browser's white default.
       scrollbar-color is inherited, so this covers the page and every inner scroller; inner
       scrollers (filter panels, chip lists, dropdowns) are thin. Chrome 121+ and Firefox use
       the standard properties; older WebKit falls back to the ::-webkit-scrollbar rules. ── */
    html { scrollbar-color: #334155 transparent; }
    body *:hover { scrollbar-color: #475569 transparent; }
    body * { scrollbar-width: thin; }
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb {
      background: #334155;
      border-radius: var(--radius-full);
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    ::-webkit-scrollbar-thumb:hover { background-color: #475569; }
    ::-webkit-scrollbar-corner { background: transparent; }
    .tabular  { font-variant-numeric: tabular-nums lining-nums; }

    /* ── Skip link ── */
    .skip-link {
      position: absolute; top: -100%; left: 1rem; z-index: 9999;
      padding: .5rem 1rem;
      background: var(--color-primary);
      color: var(--color-text-inverse);
      border-radius: var(--radius-md);
      font-size: .875rem;
      font-weight: 600;
    }
    .skip-link:focus { top: 1rem; }

    /* ── Dashboard Topbar ── */
    #site-topbar {
      background: var(--color-surface);
      border-bottom: 1px solid var(--color-divider);
    }

    /* ── Page entrance animation ── */
    .page-enter {
      animation: pageEnter .22s ease-out both;
    }
    @keyframes pageEnter {
      from { opacity: 0; transform: translateY(5px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── Shimmer skeleton (used on listing page) ── */
    @keyframes shimmer {
      0%   { background-position: -200% 0; }
      100% { background-position:  200% 0; }
    }
    .skeleton {
      background: linear-gradient(
        90deg,
        var(--color-surface-offset) 25%,
        var(--color-surface-dynamic) 50%,
        var(--color-surface-offset) 75%
      );
      background-size: 200% 100%;
      animation: shimmer 1.5s ease-in-out infinite;
      border-radius: var(--radius-sm);
    }

/* ── Homepage providers marquee ── */
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.animate-scroll-x {
  animation: scroll-x 40s linear infinite;
  width: max-content;
}
.animate-scroll-x:hover {
  animation-play-state: paused;
}
