/* GENERATED by scripts/brand.py from brands/dfrnt/brand.json (DFRNT Group, updated 2026-11-23).
   Never edit this file. Change brand.json (or run brand.py verdict) and rebuild.
   Load it AFTER Arc's foundation.css and AFTER UI SDK's web.css, and BEFORE the project's own stylesheets.
   Fonts: https://fonts.googleapis.com/css2?family=Onest:wght@400..700&display=swap
   --brand-* is the brand. The Arc names (--accent, --surface ...) and the UI SDK names (--ui-*) alias it. */

:root,
:root:has(.arc) {
  color-scheme: light;
  --brand-background: #fcfcf9;
  --background: var(--brand-background);
  --ui-background: var(--brand-background);
  --brand-surface: #ffffff;
  --surface: var(--brand-surface);
  --brand-surface-raised: #ffffff;
  --surface-raised: var(--brand-surface-raised);
  --brand-surface-muted: #f0f2ec;
  --surface-muted: var(--brand-surface-muted);
  --ui-muted: var(--brand-surface-muted);
  --brand-foreground: #18392e;
  --foreground: var(--brand-foreground);
  --ui-foreground: var(--brand-foreground);
  --brand-text-secondary: #3a5248;
  --text-secondary: var(--brand-text-secondary);
  --brand-text-muted: #58665d;
  --text-muted: var(--brand-text-muted);
  --ui-muted-foreground: var(--brand-text-muted);
  --brand-border: #dce1d9;
  --border: var(--brand-border);
  --ui-border: var(--brand-border);
  --brand-border-subtle: #e3e7df;
  --border-subtle: var(--brand-border-subtle);
  --brand-border-strong: #6f8f80;
  --border-strong: var(--brand-border-strong);
  --ui-input: var(--brand-border-strong);
  --brand-accent: #276650;
  --accent: var(--brand-accent);
  --ui-primary: var(--brand-accent);
  --brand-accent-strong: #143e32;
  --accent-strong: var(--brand-accent-strong);
  --ui-ring-border: var(--brand-accent-strong);
  --brand-accent-subtle: #e4f0e9;
  --accent-subtle: var(--brand-accent-subtle);
  --brand-accent-foreground: #ffffff;
  --accent-foreground: var(--brand-accent-foreground);
  --ui-primary-foreground: var(--brand-accent-foreground);
  --brand-control-on: #276650;
  --control-on: var(--brand-control-on);
  --control-fill: var(--brand-control-on);
  --brand-control-glyph: #ffffff;
  --control-glyph: var(--brand-control-glyph);
  --brand-success: #276650;
  --success: var(--brand-success);
  --brand-warning: #9a4a1f;
  --warning: var(--brand-warning);
  --brand-danger: #b91c1c;
  --danger: var(--brand-danger);
  --ui-destructive: var(--brand-danger);
  --brand-focus: #276650;
  --focus-outline: var(--brand-focus);
  --ui-ring: var(--brand-focus);
  --brand-overlay: #0a261d80;
  --ui-overlay: var(--brand-overlay);
  --brand-series-1: #276650;
  --series-1: var(--brand-series-1);
  --brand-series-2: #78a894;
  --series-2: var(--brand-series-2);
  --brand-series-3: #9a4a1f;
  --series-3: var(--brand-series-3);
  --brand-series-4: #143e32;
  --series-4: var(--brand-series-4);
  --brand-font-display: "Onest", system-ui, sans-serif;
  --font-display: var(--brand-font-display);
  --brand-font-body: "Onest", system-ui, sans-serif;
  --font-body: var(--brand-font-body);
  --ui-font-sans: var(--brand-font-body);
  --brand-font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --font-mono: var(--brand-font-mono);
  --ui-font-mono: var(--brand-font-mono);
  --brand-weight-display: 560;
  --brand-tracking-display: -0.04em;
  --tracking-display: var(--brand-tracking-display);
  --brand-leading-display: 1.04;
  --leading-display: var(--brand-leading-display);
  --brand-weight-body: 400;
  --brand-weight-strong: 600;
  --brand-tracking-body: 0em;
  --tracking-body: var(--brand-tracking-body);
  --brand-leading-body: 1.5;
  --leading-body: var(--brand-leading-body);
  --ui-line-height: var(--brand-leading-body);
  --brand-text-xs: 12px;
  --text-xs: var(--brand-text-xs);
  --brand-text-sm: 14px;
  --text-sm: var(--brand-text-sm);
  --ui-font-size: var(--brand-text-sm);
  --brand-text-base: 15px;
  --text-base: var(--brand-text-base);
  --brand-text-lg: 18px;
  --text-lg: var(--brand-text-lg);
  --brand-text-xl: 20px;
  --text-xl: var(--brand-text-xl);
  --brand-text-2xl: 28px;
  --text-2xl: var(--brand-text-2xl);
  --brand-text-3xl: 36px;
  --text-3xl: var(--brand-text-3xl);
  --brand-text-4xl: 48px;
  --text-4xl: var(--brand-text-4xl);
  --brand-text-5xl: 72px;
  --text-5xl: var(--brand-text-5xl);
  --brand-radius-control: 12px;
  --radius-control: var(--brand-radius-control);
  --ui-radius: var(--brand-radius-control);
  --brand-radius-button: 999px;
  --brand-radius-panel: 16px;
  --radius-panel: var(--brand-radius-panel);
  --brand-radius-surface: 22px;
  --radius-surface: var(--brand-radius-surface);
  --brand-radius-pill: 9999px;
  --radius-pill: var(--brand-radius-pill);
  --brand-border-width: 1px;
  --brand-space-unit: 4px;
  --ui-spacing: var(--brand-space-unit);
  --brand-control-height-sm: 36px;
  --control-height-sm: var(--brand-control-height-sm);
  --brand-control-height-md: 44px;
  --control-height-md: var(--brand-control-height-md);
  --brand-control-height-lg: 50px;
  --control-height-lg: var(--brand-control-height-lg);
  --brand-page-padding: 24px;
  --brand-section-y: 96px;
  --brand-content-width: 1200px;
  --brand-duration-instant: 120ms;
  --duration-instant: var(--brand-duration-instant);
  --brand-duration-fast: 160ms;
  --duration-fast: var(--brand-duration-fast);
  --brand-duration-standard: 240ms;
  --duration-standard: var(--brand-duration-standard);
  --brand-duration-considered: 480ms;
  --brand-ease-enter: cubic-bezier(.16,1,.3,1);
  --ease-enter: var(--brand-ease-enter);
  --brand-ease-standard: cubic-bezier(.22,1,.36,1);
  --ease-standard: var(--brand-ease-standard);
  --brand-ease-exit: cubic-bezier(.7,0,.84,0);
  --ease-exit: var(--brand-ease-exit);
  --brand-shadow-resting: 0 1px 2px rgba(20,62,50,.05);
  --shadow-resting: var(--brand-shadow-resting);
  --brand-shadow-raised: 0 6px 18px rgba(20,62,50,.08), 0 1px 3px rgba(20,62,50,.04);
  --shadow-raised: var(--brand-shadow-raised);
  --brand-shadow-floating: 0 20px 48px rgba(20,62,50,.14), 0 3px 10px rgba(20,62,50,.06);
  --shadow-floating: var(--brand-shadow-floating);
  --ui-shadow: var(--brand-shadow-floating);
}

/* Touch screens: controls under 44px tall are raised to it. */
@media (pointer: coarse) {
  :root,
  :root:has(.arc) {
    --brand-control-height-sm: 44px;
  }
}

:where(button:not([role]), a[role="button"], a[class*="button" i], [data-slot="button"], input[type="submit"], input[type="button"]) {
  --radius-control: var(--brand-radius-button);
  --ui-radius: var(--brand-radius-button);
}

/* Arc's main button is filled with the brand accent, as each brand's own site does (Arc's default fills it with the text colour); UI SDK's solid button already reads the accent */
:where(button, a)[class*="primary"]:where(button, a)[class*="primary"] {
  --foreground: var(--brand-accent);
  --background: var(--brand-accent-foreground);
}

/* the static dashboard kit in assets/dashboard (dash.css): its --dash-* names read the brand */
.dash.dash {
  --dash-bg: var(--brand-background);
  --dash-bg-deep: var(--brand-background);
  --dash-surface: var(--brand-surface);
  --dash-strip: var(--brand-surface-muted);
  --dash-hover: var(--brand-surface-muted);
  --dash-text: var(--brand-foreground);
  --dash-muted: var(--brand-text-secondary);
  --dash-faint: var(--brand-text-muted);
  --dash-rule: var(--brand-border-subtle);
  --dash-border: var(--brand-border);
  --dash-accent: var(--brand-accent);
  --dash-wash: var(--brand-accent-subtle);
  --dash-pass: var(--brand-success);
  --dash-warn: var(--brand-warning);
  --dash-fail: var(--brand-danger);
  --dash-tone-low: var(--brand-text-muted);
  --dash-tone-mid: var(--brand-accent);
  --dash-tone-high: var(--brand-danger);
  --dash-font: var(--brand-font-body);
  --dash-mono: var(--brand-font-mono);
}
