/* Generated from tokens/tokens-core.json. */

:root {
    /* Font families */
    --ff-primary: "Zalando Sans SemiExpanded";
    --ff-secondary: "IBM Plex Sans";
    --ff-icon: "Font Awesome 5 Pro";

    /* Font sizes */
    --fs-xs: calc(var(--fs-sm) * 3 / 4);
    --fs-sm: calc(var(--fs-base) * 3 / 4);
    --fs-base: 0.9375rem; /* 15px */
    --fs-lg: calc(var(--fs-base) * 4 / 3);
    --fs-xl: calc(var(--fs-lg) * 4 / 3);
    --fs-2xl: calc(var(--fs-xl) * 4 / 3);
    --fs-3xl: calc(var(--fs-2xl) * 4 / 3);
    --fs-4xl: calc(var(--fs-3xl) * 4 / 3);
    --fs-5xl: calc(var(--fs-4xl) * 4 / 3);
    --fs-6xl: calc(var(--fs-5xl) * 4 / 3);
    --fs-7xl: calc(var(--fs-6xl) * 4 / 3);
    --fs-8xl: calc(var(--fs-7xl) * 4 / 3);

    /* Font weights and style */
    --fw-extralight: 200;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Line heights */
    --lh-xs: 0.75;
    --lh-base: 1;
    --lh-sm: 1.25;
    --lh-md: 1.5;
    --lh-lg: 1.75;
    --lh-xl: 2;

    /* Text case */
    --tc-none: none;
    --tc-upper: uppercase;
    --tc-cap: capitalize;

    /* Letter spacing */
    --ls-tightest: -0.03em;
    --ls-tighter: -0.02em;
    --ls-tight: -0.01em;
    --ls-base: 0em;
    --ls-xs: 0.01em;
    --ls-sm: 0.02em;
    --ls-md: 0.03em;
    --ls-lg: 0.04em;

    /* Base Colors */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-slate-100: #F6F7F9;
    --color-slate-200: #E1E5EA;
    --color-slate-300: #C6CBD3;
    --color-slate-400: #A4ABB5;
    --color-slate-500: #737C88;
    --color-slate-600: #424853;
    --color-slate-700: #292D34;
    --color-slate-800: #16191D;

    /* Spacing */
    --sp-5xs: calc(var(--sp-4xs) * 3 / 4);
    --sp-4xs: calc(var(--sp-3xs) * 3 / 4);
    --sp-3xs: calc(var(--sp-2xs) * 3 / 4);
    --sp-2xs: calc(var(--sp-xs) * 3 / 4);
    --sp-xs: calc(var(--sp-sm) * 3 / 4);
    --sp-sm: calc(var(--sp-base) * 3 / 4);
    --sp-base: 0.9375rem;
    --sp-lg: calc(var(--sp-base) * 4 / 3);
    --sp-xl: calc(var(--sp-lg) * 4 / 3);
    --sp-2xl: calc(var(--sp-xl) * 4 / 3);
    --sp-3xl: calc(var(--sp-2xl) * 4 / 3);
    --sp-4xl: calc(var(--sp-3xl) * 4 / 3);
    --sp-5xl: calc(var(--sp-4xl) * 4 / 3);
    --sp-6xl: calc(var(--sp-5xl) * 4 / 3);
    --sp-7xl: calc(var(--sp-6xl) * 4 / 3);
    --sp-8xl: calc(var(--sp-7xl) * 4 / 3);

    /* Border radii */
    --br-none: 0;
    --br-xs: 2px;
    --br-sm: 4px;
    --br-md: 6px;
}

/* Semantic Colors */
/* (Defaults) Theme: primary, Mode: light
   Set data-theme="primary|secondary|tertiary" and data-mode="light|dark" on <html>.
   Each override block falls back to these defaults for omitted tokens. */
:root {
    --color-surface-primary: var(--color-white);
    --color-surface-secondary: var(--color-slate-100);
    --color-logo-background: var(--color-logo-bg-primary-const);
    --color-logo-foreground: var(--color-logo-fg-primary-const);
    --color-logo-bg-primary: var(--color-slate-700);
    --color-logo-bg-primary-const: var(--color-slate-700);
    --color-logo-bg-secondary: var(--color-slate-200);
    --color-logo-bg-secondary-const: var(--color-slate-200);
    --color-logo-fg-primary: var(--color-slate-100);
    --color-logo-fg-primary-const: var(--color-slate-100);
    --color-logo-fg-secondary: var(--color-slate-600);
    --color-logo-fg-secondary-const: var(--color-slate-600);
    --color-heading-primary: var(--color-slate-700);
    --color-heading-secondary: var(--color-slate-500);
    --color-heading-tertiary: var(--color-slate-300);
    --color-text-primary: var(--color-slate-700);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-400);
}
/* Mode: dark, specific changes */
:root[data-mode="dark"] {
    --fw-extralight: 100;
    --fw-light: 200;
    --fw-regular: 300;
    --fw-medium: 400;
    --fw-semibold: 500;
    --fw-bold: 600;
    --fw-extrabold: 700;
    --color-logo-bg-secondary: var(--color-slate-600);
    --color-logo-bg-secondary-const: var(--color-slate-600);
    --color-logo-fg-secondary: var(--color-slate-300);
    --color-logo-fg-secondary-const: var(--color-slate-300);
}

/* Theme: primary, Mode: dark */
:root:not([data-theme="secondary"], [data-theme="tertiary"])[data-mode="dark"] {
    --color-surface-primary: var(--color-black);
    --color-surface-secondary: var(--color-slate-800);
    --color-heading-primary: var(--color-slate-100);
    --color-heading-secondary: var(--color-slate-400);
    --color-heading-tertiary: var(--color-slate-600);
    --color-text-primary: var(--color-slate-200);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-600);
}

/* Theme: secondary, Mode: light */
:root[data-theme="secondary"]:not([data-mode="dark"]) {
    --color-surface-primary: var(--color-slate-100);
    --color-surface-secondary: var(--color-white);
    --color-heading-primary: var(--color-slate-700);
    --color-heading-secondary: var(--color-slate-500);
    --color-heading-tertiary: var(--color-slate-300);
    --color-text-primary: var(--color-slate-700);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-400);
}

/* Theme: secondary, Mode: dark */
:root[data-theme="secondary"][data-mode="dark"] {
    --color-surface-primary: var(--color-slate-800);
    --color-surface-secondary: var(--color-black);
    --color-heading-primary: var(--color-slate-100);
    --color-heading-secondary: var(--color-slate-400);
    --color-heading-tertiary: var(--color-slate-600);
    --color-text-primary: var(--color-slate-200);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-600);
}

/* Theme: tertiary, Mode: light */
:root[data-theme="tertiary"]:not([data-mode="dark"]) {
    --color-surface-primary: var(--color-slate-200);
    --color-surface-secondary: var(--color-white);
    --color-heading-primary: var(--color-slate-700);
    --color-heading-secondary: var(--color-slate-500);
    --color-heading-tertiary: var(--color-slate-400);
    --color-text-primary: var(--color-slate-700);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-400);
}

/* Theme: tertiary, Mode: dark */
:root[data-theme="tertiary"][data-mode="dark"] {
    --color-logo-bg-primary-const: var(--color-slate-800);
    --color-logo-bg-secondary-const: var(--color-slate-300);
    --color-surface-primary: var(--color-slate-700);
    --color-surface-secondary: var(--color-slate-800);
    --color-heading-primary: var(--color-slate-100);
    --color-heading-secondary: var(--color-slate-400);
    --color-heading-tertiary: var(--color-slate-500);
    --color-text-primary: var(--color-slate-200);
    --color-text-base: var(--color-slate-500);
    --color-text-tertiary: var(--color-slate-600);
}

/* Utilities */
.flow > * + * {
    margin-top: var(--flow-space, 1em);
}
/* Font families */
.ff-primary {
    font-family: var(--ff-primary);
}
.ff-secondary {
    font-family: var(--ff-secondary);
}
.ff-icon {
    font-family: var(--ff-icon);
}

/* Font sizes */
.fs-xs {
    font-size: var(--fs-xs);
}
.fs-sm {
    font-size: var(--fs-sm);
}
.fs-base {
    font-size: var(--fs-base);
}
.fs-lg {
    font-size: var(--fs-lg);
}
.fs-xl {
    font-size: var(--fs-xl);
}
.fs-2xl {
    font-size: var(--fs-2xl);
}
.fs-3xl {
    font-size: var(--fs-3xl);
}
.fs-4xl {
    font-size: var(--fs-4xl);
}
.fs-5xl {
    font-size: var(--fs-5xl);
}
.fs-6xl {
    font-size: var(--fs-6xl);
}
.fs-7xl {
    font-size: var(--fs-7xl);
}
.fs-8xl {
    font-size: var(--fs-8xl);
}

/* Font weights and style */
.fw-extralight {
    font-weight: var(--fw-extralight);
}
.fw-light {
    font-weight: var(--fw-light);
}
.fw-regular {
    font-weight: var(--fw-regular);
}
.fw-medium {
    font-weight: var(--fw-medium);
}
.fw-semibold {
    font-weight: var(--fw-semibold);
}
.fw-bold {
    font-weight: var(--fw-bold);
}
.fw-extrabold {
    font-weight: var(--fw-extrabold);
}

/* Line heights */
.lh-xs {
    line-height: var(--lh-xs);
}
.lh-base {
    line-height: var(--lh-base);
}
.lh-sm {
    line-height: var(--lh-sm);
}
.lh-md {
    line-height: var(--lh-md);
}
.lh-lg {
    line-height: var(--lh-lg);
}
.lh-xl {
    line-height: var(--lh-xl);
}

/* Text case */
.tc-none {
    text-transform: var(--tc-none);
}
.tc-upper {
    text-transform: var(--tc-uppercase);
}
.tc-cap {
    text-transform: var(--tc-capitalize);
}

/* Letter spacing */
.ls-tightest {
    letter-spacing: var(--ls-tightest);
}
.ls-tighter {
    letter-spacing: var(--ls-tighter);
}
.ls-tight {
    letter-spacing: var(--ls-tight);
}
.ls-base {
    letter-spacing: var(--ls-base);
}
.ls-xs {
    letter-spacing: var(--ls-xs);
}
.ls-sm {
    letter-spacing: var(--ls-sm);
}
.ls-md {
    letter-spacing: var(--ls-md);
}
.ls-lg {
    letter-spacing: var(--ls-lg);
}

/* Base Colors */
.c-black {
    color: var(--color-black);
}
.c-bg-black {
    background-color: var(--color-black);
}
.c-white {
    color: var(--color-white);
}
.c-bg-white {
    background-color: var(--color-white);
}
.c-slate-100 {
    color: var(--color-slate-100);
}
.c-bg-slate-100 {
    background-color: var(--color-slate-100);
}
.c-slate-200 {
    color: var(--color-slate-200);
}
.c-bg-slate-200 {
    background-color: var(--color-slate-200);
}
.c-slate-300 {
    color: var(--color-slate-300);
}
.c-bg-slate-300 {
    background-color: var(--color-slate-300);
}
.c-slate-400 {
    color: var(--color-slate-400);
}
.c-bg-slate-400 {
    background-color: var(--color-slate-400);
}
.c-slate-500 {
    color: var(--color-slate-500);
}
.c-bg-slate-500 {
    background-color: var(--color-slate-500);
}
.c-slate-600 {
    color: var(--color-slate-600);
}
.c-bg-slate-600 {
    background-color: var(--color-slate-600);
}
.c-slate-700 {
    color: var(--color-slate-700);
}
.c-bg-slate-700 {
    background-color: var(--color-slate-700);
}
.c-slate-800 {
    color: var(--color-slate-800);
}
.c-bg-slate-800 {
    background-color: var(--color-slate-800);
}

/* Semantic Colors */
.c-surface-primary {
    background-color: var(--color-surface-primary);
}
.c-surface-secondary {
    background-color: var(--color-surface-secondary);
}
.c-surface-teriary {
    background-color: var(--color-surface-tertiary);
}
.c-heading-primary {
    color: var(--color-heading-primary);
}
.c-bg-heading-primary {
    background-color: var(--color-heading-primary);
}
.c-heading-secondary {
    color: var(--color-heading-secondary);
}
.c-bg-heading-secondary {
    background-color: var(--color-heading-secondary);
}
.c-heading-tertiary {
    color: var(--color-heading-tertiary);
}
.c-bg-heading-tertiary {
    background-color: var(--color-heading-tertiary);
}
.c-text-primary {
    color: var(--color-text-primary);
}
.c-bg-text-primary {
    background-color: var(--color-text-primary);
}
.c-text-base {
    color: var(--color-text-base);
}
.c-bg-text-base {
    background-color: var(--color-text-base);
}
.c-text-tertiary {
    color: var(--color-text-tertiary);
}
.c-bg-text-tertiary {
    background-color: var(--color-text-tertiary);
}

/* Spacing: components can consume var(--space) on any spacing property. */
.sp-5xs {
    --space: var(--sp-5xs);
}
.sp-4xs {
    --space: var(--sp-4xs);
}
.sp-3xs {
    --space: var(--sp-3xs);
}
.sp-2xs {
    --space: var(--sp-2xs);
}
.sp-xs {
    --space: var(--sp-xs);
}
.sp-sm {
    --space: var(--sp-sm);
}
.sp-base {
    --space: var(--sp-base);
}
.sp-lg {
    --space: var(--sp-lg);
}
.sp-xl {
    --space: var(--sp-xl);
}
.sp-2xl {
    --space: var(--sp-2xl);
}
.sp-3xl {
    --space: var(--sp-3xl);
}
.sp-4xl {
    --space: var(--sp-4xl);
}
.sp-5xl {
    --space: var(--sp-5xl);
}
.sp-6xl {
    --space: var(--sp-6xl);
}
.sp-7xl {
    --space: var(--sp-7xl);
}
.sp-8xl {
    --space: var(--sp-8xl);
}

/* Border radii */
.br-none {
    border-radius: var(--br-none);
}
.br-xs {
    border-radius: var(--br-xs);
}
.br-sm {
    border-radius: var(--br-sm);
}
.br-md {
    border-radius: var(--br-md);
}
