/* The public site's colours and type (docs/platform/adr/0027): the web app's own (src/styles/tokens.css), the few the
   site uses, so that arvux.ai and the app read as one product. Colours live only here (stylelint enforces it). */

@font-face {
  font-family: Heebo;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Heebo-400.woff") format("woff");
}

@font-face {
  font-family: Heebo;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Heebo-600.woff") format("woff");
}

@font-face {
  font-family: Heebo;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Heebo-700.woff") format("woff");
}

@font-face {
  font-family: "Varela Round";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/VarelaRound.woff") format("woff");
}

:root {
  --accent: #e2a13a;
  --accent-strong: color-mix(in oklab, var(--accent) 55%, #3b1f00);
  --primary: #2d2433;
  --on-primary: #fffaf2;
  --ground: #fbf5ec;
  --band: #f4ead9;
  --body: #fffdf9;
  --rule: #ecdfcb;
  --rule-strong: #d6c3a6;
  --ink: #2d2433;
  --ink-2: #66586a;
  --danger: #a8340a;
  --font: "Heebo", system-ui, sans-serif;
  --display: "Varela Round", "Heebo", system-ui, sans-serif;
  --t-sm: 0.875rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: 2.25rem;
  --r-md: 12px;
  --r-xl: 26px;
  --lift: 0 1px 2px rgb(80 50 20 / 5%), 0 8px 24px -14px rgb(120 80 20 / 28%);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #eab25a;
    --accent-strong: color-mix(in oklab, var(--accent) 80%, #fff);
    --primary: #f6ead9;
    --on-primary: #21181f;
    --ground: #1b1519;
    --band: #221a20;
    --body: #271f25;
    --rule: #3a2f36;
    --rule-strong: #554650;
    --ink: #f6ece2;
    --ink-2: #cdbcb6;
    --danger: #ff9a76;
    --lift: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 26px -14px rgb(0 0 0 / 60%);

    color-scheme: dark;
  }
}
