/* Marz-OS Tokens — port of Omarchy Commons/Style.qml + Color.qml */

/* Self-hosted fonts — latin subset woff2, variable weight range (no render-blocking third-party fetch) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/marz-os/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/marz-os/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Marz cat palette: plum night, toasted gold, peach, and heart pink. */
  --marz-bg: #120b15;
  --marz-bg-elevated: #21141e;
  --marz-bg-panel: rgba(31, 18, 28, 0.84);
  --marz-bg-bar: rgba(18, 10, 21, 0.78);
  --marz-bg-window: #21171f;
  --marz-fg: #fff4e5;
  --marz-fg-muted: #c7aeb0;
  --marz-accent: #e7c575;
  --marz-accent-rgb: 231, 197, 117;
  --marz-accent-2: #fcb5b5;
  --marz-urgent: #f08a86;
  --marz-accent-contrast: #2a1119;
  --marz-border: rgba(255, 244, 229, 0.11);
  --marz-border-strong: rgba(255, 244, 229, 0.18);
  --marz-corner: 12px;
  --marz-corner-sm: 8px;
  --marz-corner-xs: 6px;
  --marz-gap: 8px;
  --marz-bar-h: 32px;

  /* Exclusive zones claimed by anchored surface plugins (bar, dock, ...).
     Core tiles windows into what is left; 0 until a surface claims one. */
  --marz-exclusive-top: 0px;
  --marz-exclusive-bottom: 0px;
  --marz-exclusive-left: 0px;
  --marz-exclusive-right: 0px;
  --marz-blur: 18px;
  --marz-shadow: 0 8px 32px rgba(17, 6, 15, 0.58), 0 1px 0 rgba(255, 232, 193, 0.08) inset;
  --marz-shadow-window: 0 16px 48px rgba(17, 6, 15, 0.62), 0 0 0 1px rgba(255, 232, 193, 0.08);
  --marz-font: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --marz-font-display: 'Inter', system-ui, -apple-system, sans-serif;
  /* Wayland/Hyprland easing - same as Hyprland bezier 0.2,0.8,0.2,1 */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hypr: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur-normal: 200ms;
  --dur-slow: 320ms;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--marz-border-strong) transparent;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--marz-border-strong);
  border-radius: 999px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* Hyprland-like hairline borders + rounded corners via tokens */
.marz-hairline {
  height: 1px;
  background: var(--marz-border);
}
