@import "tailwindcss";

/* Satoshi (Fontshare, ITF Free Font License), self-hosted variable file in src/fonts. */
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("./fonts/satoshi-variable.woff2") format("woff2");
}

/* Dark-only by brief ("tumma teema"). One accent, one neutral family (zinc). */
@theme {
  --font-sans: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --color-ink: #0a0a0b;
  --color-ink-2: #141416;
  --color-fg: #f4f4f5;
  --color-muted: #a1a1aa;
  --color-faint: #8b8b94;
  --color-line: rgb(255 255 255 / 0.09);
  --color-accent: #8fb4ff;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Radius system: media and panels 20px, interactive controls full pill. */

@layer base {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    -webkit-font-smoothing: antialiased;
  }
  /* Page colour lives on <html> only: a body background would paint over the fixed -z-10 video. */
  html {
    background: var(--color-ink);
  }
  body {
    @apply text-fg font-sans;
  }
  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--color-ink-2) !important; backdrop-filter: none !important; }
}
