/* drycraf brand tokens (from repos/web/packages/brand/tokens.css), with Jersey 10 served from this site
   instead of @fontsource so the page needs nothing from a third party. */
@font-face {
  font-family: "Jersey 10";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/jersey-10-latin-400-normal.woff2") format("woff2");
}

:root {
  --night: #241238;
  --dusk: #381c57;
  --slate: #2c3350;
  --vellum: #ede6fa;
  --heather: #a090c9;
  --ember: #ee8a5e;
  --rune: #63d69b;

  --pixel: "Jersey 10", ui-monospace, monospace;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.5rem;
  --step-2: 2rem;
  --step-3: 2.667rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--night);
  color: var(--vellum);
  font-family: var(--pixel);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body { margin: 0; font-size: var(--step-0); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
