/* Workyl brand kit. Canonical source of truth.
 *
 * Edit this file, then run `make brand` to copy it into marketing/ and
 * web/public/. Do not edit the generated copies. Tokens are prefixed --wf- so
 * they cannot collide with a surface's local variables.
 */

@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('./fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('./fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  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 {
  color-scheme: light;

  /* Ink and surfaces */
  --wf-ink: #141814;
  --wf-ink-strong: #0b0f0c;
  --wf-muted-strong: #4d5750;
  --wf-muted: #667069;
  --wf-muted-dim: #8a938c;
  --wf-bg: #f6f7f3;
  --wf-bg-soft: #eef1ec;
  --wf-surface: #ffffff;
  --wf-surface-raised: #fbfcfa;
  --wf-rail: #f3f5f1;
  --wf-line: #e2e6e0;
  --wf-line-strong: #cbd1ca;
  --wf-line-soft: #eef1ec;

  /* Accent: one green, two roles (solid on light surfaces, tinted washes) */
  --wf-accent: #275e45;
  --wf-accent-hover: #1f4b37;
  --wf-accent-ink: #ffffff;
  --wf-accent-soft: #e8f1eb;
  --wf-accent-soft-2: #dcebe2;
  --wf-accent-line: #c9ded2;
  --wf-accent-wash: rgba(39, 94, 69, 0.06);
  --wf-accent-wash-2: rgba(39, 94, 69, 0.12);
  --wf-accent-glow: rgba(39, 94, 69, 0.14);
  --wf-accent-glow-soft: rgba(39, 94, 69, 0.08);
  --wf-focus: rgba(39, 94, 69, 0.28);

  /* Semantic */
  --wf-success: #1f6b44;
  --wf-success-soft: #e7f2eb;
  --wf-warning: #8a5600;
  --wf-warning-soft: #fbf3e2;
  --wf-danger: #a83a2a;
  --wf-danger-strong: #7a2418;
  --wf-danger-soft: #fbeeeb;
  --wf-danger-line: #efd2cc;

  /* Contrast surfaces (code, terminals) inside a light UI */
  --wf-code-bg: #141814;
  --wf-code-ink: #f3f6f2;
  --wf-code-muted: #b9c2bb;
  --wf-nav-bg: rgba(246, 247, 243, 0.86);
  --wf-panel-top: rgba(20, 24, 20, 0.03);
  --wf-grid: rgba(20, 24, 20, 0.04);

  /* Shape */
  --wf-radius-sm: 6px;
  --wf-radius: 10px;
  --wf-radius-lg: 14px;
  --wf-radius-pill: 999px;
  --wf-shadow-sm: 0 1px 2px rgba(20, 24, 20, 0.05);
  --wf-shadow-md: 0 18px 50px rgba(20, 24, 20, 0.08);
  --wf-shadow-lg: 0 30px 90px rgba(20, 24, 20, 0.16);

  /* Type */
  --wf-font-sans: 'Schibsted Grotesk Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wf-font-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wf-weight-regular: 400;
  --wf-weight-medium: 500;
  --wf-weight-semibold: 600;
  --wf-weight-bold: 650;
  --wf-text-xs: 11px;
  --wf-text-sm: 12.5px;
  --wf-text-base: 14px;
  --wf-text-lg: 16px;
  --wf-text-xl: 20px;
  --wf-text-2xl: 24px;
  --wf-leading-tight: 1.2;
  --wf-leading: 1.45;
  --wf-tracking-tight: -0.02em;

  /* Spacing */
  --wf-space-1: 4px;
  --wf-space-2: 8px;
  --wf-space-3: 12px;
  --wf-space-4: 16px;
  --wf-space-5: 24px;
  --wf-space-6: 32px;
  --wf-space-7: 48px;
}
