/*
 * FAZORE brand foundation
 * -----------------------
 * Shared visual decisions for marketing, product, learning and utility pages.
 * Page-specific styles should consume these --fz-* tokens rather than copying
 * hex values or forcing landing-page layouts onto task-focused interfaces.
 */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400-600-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;

  --fz-ink: #0a1b3d;
  --fz-ink-deep: #060f26;
  --fz-ink-secondary: #3a4866;
  --fz-ink-muted: #6b7591;
  --fz-paper: #e9eef7;
  --fz-paper-soft: #f2f5fa;
  --fz-powder: #ddebfb;
  --fz-white: #ffffff;
  --fz-blue: #2a6fdb;
  --fz-blue-high: #4d8aea;
  --fz-blue-deep: #1f4fa0;
  --fz-line: #cbd5e6;
  --fz-line-soft: #e2e7f1;
  --fz-success: #2e8b6b;
  --fz-warning: #a64b22;
  --fz-error: #9c2b2b;
  --fz-advise: #e5ddea;
  --fz-enable: #dbeadd;

  --fz-font-editorial: "Newsreader", Georgia, serif;
  --fz-font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fz-font-mono: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fz-space-1: 4px;
  --fz-space-2: 8px;
  --fz-space-3: 12px;
  --fz-space-4: 16px;
  --fz-space-5: 24px;
  --fz-space-6: 32px;
  --fz-space-7: 40px;
  --fz-space-8: 48px;
  --fz-space-10: 64px;
  --fz-space-12: 96px;
  --fz-space-16: 128px;

  /* Editorial layouts favour crisp geometry. Product controls may use the
     softer radii where shape improves scanning or touch affordance. */
  --fz-radius-editorial: 0;
  --fz-radius-control: 10px;
  --fz-radius-card: 18px;
  --fz-radius-panel: 28px;
  --fz-radius-pill: 999px;

  --fz-shadow-print: 7px 7px 0 rgba(6, 15, 38, .13);
  --fz-shadow-card: 0 1px 2px rgba(10, 27, 61, .05), 0 18px 40px -22px rgba(10, 27, 61, .24);
  --fz-ease-enter: cubic-bezier(.16, 1, .3, 1);
  --fz-duration-fast: 160ms;
  --fz-duration-medium: 320ms;
}

::selection {
  background: var(--fz-powder);
  color: var(--fz-ink-deep);
}

img.wordmark-mark {
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  transform: none;
  filter: brightness(0) invert(1);
}

img.mark {
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  filter: brightness(0) invert(1);
}

:focus-visible {
  outline: 3px solid var(--fz-blue-high);
  outline-offset: 3px;
}

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