/* ERPFlow design tokens for the web (OpenSpec add-native-mobile-apps D14, D19).
 *
 * The same values as the native token files, which are the source of truth:
 *   iOS      apps/ios/ERPFlow/DesignSystem/Tokens.swift         (DS, Motion, Glass, HomePalette)
 *   Android  apps/android/app/src/main/kotlin/ai/erpflow/app/theme/Tokens.kt (parity-tested against Tokens.swift)
 * A value changes in all three files together, never here alone.
 *
 * Layout of this file:
 *   1. Appearance palette: light on :root and [data-theme="light"]; dark on [data-theme="dark"], .dark
 *      and under prefers-color-scheme: dark. Content on the brand gradient ([data-on-gradient]) always
 *      takes the DARK palette, in both appearances, as the iOS app forces `.dark` over the gradient (D19).
 *   2. Gradient colours, which follow the appearance but never [data-on-gradient].
 *   3. Constants: tints, chip fills, scales, type, motion.
 *   4. Derived tokens (glass fills, gradients), recomputed in every scope so a nested [data-theme]
 *      gets its own glass.
 *   5. A Tailwind v4 `@theme inline` block mapping the tokens to `ds-` utilities (bg-ds-surface,
 *      rounded-ds-md, text-ds-headline, shadow-ds-card, ease-ds-press). A browser without Tailwind
 *      skips that block as an unknown at-rule, so this file also works as plain CSS.
 *
 * Units: iOS points and Android dp are CSS px one to one. Type sizes are rem (16 px base) so they
 * follow the browser's text size, the web's equivalent of Dynamic Type and Android font scale.
 *
 * Fonts: the web uses the brand's public face from the marketing site (Inter, Inter Tight, Geist Mono),
 * loaded by the product itself (Google Fonts or @fontsource); this file only names them. The native apps
 * keep the platform's system font (D14; update-android-pilot A7).
 */

/* 1. Appearance palette ------------------------------------------------------------------------ */

/* Tokens.swift DS.Palette (light side of each `dynamic(light:dark:)`); secondary text from
 * `secondaryTextUI`. */
:root,
[data-theme="light"] {
  --ds-brand: #1F59F0;
  --ds-brand-bright: #1F59F0;
  --ds-background: #F4F6FB;
  --ds-surface: #FFFFFF;
  --ds-elevated: #FFFFFF;
  --ds-text: #0F172A;
  --ds-text-secondary: #566176;
  --ds-separator: #DDE2EC;
  --ds-success: #0B7A55;
  --ds-warning: #A85A00;
  --ds-danger: #C62A1F;
}

/* Tokens.swift DS.Palette (dark side). Secondary text is white at Glass.secondaryTextAlpha (0.78). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ds-brand-bright: #7FA3FF;
    --ds-background: #0B0E14;
    --ds-surface: #151922;
    --ds-elevated: #1F2430;
    --ds-text: #F1F4F9;
    --ds-text-secondary: rgb(255 255 255 / 0.78);
    --ds-separator: #2B3240;
    --ds-success: #3DDC97;
    --ds-warning: #FBBF24;
    --ds-danger: #FF8A80;
  }
}

/* `.dark` is the web app's current dark switch (apps/web/src/index.css), kept so adopting this file
 * needs no change to how the web toggles. [data-on-gradient] marks content on the brand gradient. */
[data-theme="dark"],
.dark,
[data-on-gradient] {
  --ds-brand-bright: #7FA3FF;
  --ds-background: #0B0E14;
  --ds-surface: #151922;
  --ds-elevated: #1F2430;
  --ds-text: #F1F4F9;
  --ds-text-secondary: rgb(255 255 255 / 0.78);
  --ds-separator: #2B3240;
  --ds-success: #3DDC97;
  --ds-warning: #FBBF24;
  --ds-danger: #FF8A80;
}

/* 2. Gradient colours (Tokens.swift HomePalette, Glass) ----------------------------------------- */

:root,
[data-theme="light"] {
  --ds-gradient-top: #1F59F0;
  --ds-gradient-glow: #5B5CF0;
  --ds-gradient-indigo: #2D2AA6;
  --ds-gradient-base: #0C0F33;
  /* BrandBackdrop.swift: the radial glow layer is at full opacity in light, 0.6 in dark. */
  --ds-gradient-glow-layer-opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ds-gradient-top: #17409E;
    --ds-gradient-glow: #3D44B8;
    --ds-gradient-indigo: #1A1A66;
    --ds-gradient-base: #060919;
    --ds-gradient-glow-layer-opacity: 0.6;
  }
}

[data-theme="dark"],
.dark {
  --ds-gradient-top: #17409E;
  --ds-gradient-glow: #3D44B8;
  --ds-gradient-indigo: #1A1A66;
  --ds-gradient-base: #060919;
  --ds-gradient-glow-layer-opacity: 0.6;
}

/* 3. Constants ---------------------------------------------------------------------------------- */

:root {
  /* Monogram and avatar tints, indexed by FNV-1a of the lower-cased name (Tokens.swift DS.Palette.tints,
   * Avatars.swift MonogramTint). Index 0 is "Northmark Advisory", 5 is "Acme Bakery" (DesignSystemTests). */
  --ds-tint-0: #1F59F0;
  --ds-tint-1: #7C3AED;
  --ds-tint-2: #0E9F6E;
  --ds-tint-3: #D9480F;
  --ds-tint-4: #C2255C;
  --ds-tint-5: #0C8599;
  --ds-tint-6: #5F3DC4;
  --ds-tint-7: #2F9E44;

  /* Status chip fills over the glass, white text on top (RecordComponents.swift ChipTone.fillSpec).
   * Tones follow the web's invoice StatusBadge: draft neutral, issued blue, overdue amber,
   * partially paid violet, overpaid orange, paid emerald, void muted (struck through). */
  --ds-chip-neutral: rgb(255 255 255 / 0.16);
  --ds-chip-muted: rgb(255 255 255 / 0.16);
  --ds-chip-blue: #1F59F0;
  --ds-chip-amber: #A85A00;
  --ds-chip-violet: #6D28D9;
  --ds-chip-orange: #C2410C;
  --ds-chip-emerald: #0B7A55;
  --ds-chip-text: #FFFFFF;
  --ds-chip-border: rgb(255 255 255 / 0.22);

  /* The unread badge. iOS uses UIColor.systemRed; Android draws it as #D32F2F (Tokens.kt BADGE_RED_HEX,
   * white on it 4.98:1). The web draws its own capsule, so it takes Android's explicit value. */
  --ds-badge-red: #D32F2F;

  /* Gradient geometry (BrandBackdrop.swift; Tokens.kt GradientStops). The scrolling gradient is
   * measured against the first screen, at least 600 px tall. */
  --ds-gradient-min-height: 600px;
  --ds-gradient-scroll-glow-at: 30%;
  --ds-gradient-scroll-indigo-at: 50%;
  --ds-gradient-scroll-base-at: 70%;
  --ds-gradient-fixed-glow-at: 18%;
  --ds-gradient-fixed-indigo-at: 40%;
  --ds-gradient-fixed-base-at: 62%;
  --ds-gradient-glow-center-y: 0.22;
  --ds-gradient-glow-radius: 0.34;
  --ds-gradient-glow-alpha: 0.7;
  /* The wave mark drifting in the bright part of Home (white 9%, 260 x 200). */
  --ds-gradient-mark: rgb(255 255 255 / 0.09);

  /* Glass (Tokens.swift Glass; DashboardViews.swift HomeGlass; Tokens.kt Glass.BORDER_ALPHA). */
  --ds-glass-fill-alpha: 0.34;
  --ds-glass-border: rgb(255 255 255 / 0.14);
  --ds-glass-text-secondary-alpha: 0.78;
  /* Material for the header and tab bar only. iOS uses the system Liquid Glass; Android draws it
   * (backdrop/Glass.kt glassBlur): a 24 dp blur under the base at 45%, or the base at 86% without blur. */
  --ds-material-blur: 24px;
  --ds-material-fill-alpha: 0.45;
  --ds-material-flat-alpha: 0.86;
  /* Over the bright hero the header glass is tinted with the gradient's top colour at 50% (GlassHeader.swift). */
  --ds-material-hero-tint-alpha: 0.5;

  /* White-on-gradient controls (DashboardViews.swift, MonthControl.swift, Surfaces.swift). */
  --ds-on-gradient-label: rgb(255 255 255 / 0.9);
  --ds-on-gradient-body: rgb(255 255 255 / 0.86);
  --ds-on-gradient-placeholder: rgb(255 255 255 / 0.82);
  --ds-on-gradient-control: rgb(255 255 255 / 0.2);
  --ds-on-gradient-control-border: rgb(255 255 255 / 0.18);
  --ds-on-gradient-arrow: rgb(255 255 255 / 0.14);
  /* A change chip on the gradient sits on a neutral capsule; a status colour never touches the gradient. */
  --ds-on-hero-chip: rgb(0 0 0 / 0.34);

  /* Washes and states. */
  --ds-wash-alpha: 0.16;            /* change chip on a card, avatar initials in light (tint at 16%) */
  --ds-highlight-fill-alpha: 0.14;  /* overdue row: warning at 14% ... */
  --ds-highlight-stroke-alpha: 0.6; /* ... edged with warning at 60%, 1.5 px */
  --ds-highlight-stroke-width: 1.5px;
  --ds-banner-fill-alpha: 0.12;     /* banner and toast: tint at 12%, edged at 35% */
  --ds-banner-stroke-alpha: 0.35;
  --ds-empty-disc-alpha: 0.12;      /* empty state: brand at 12% behind the icon */
  --ds-disabled-opacity: 0.45;
  --ds-stepper-disabled-opacity: 0.35;
  --ds-stale-opacity: 0.6;          /* figures for a month still loading */
  --ds-secondary-stroke-width: 1.5px;
  --ds-avatar-dark-mix: 30%;        /* dark: initials in white over the tint mixed 30% towards black */

  /* Spacing (Tokens.swift DS.Space). */
  --ds-space-xs: 4px;
  --ds-space-sm: 8px;
  --ds-space-md: 12px;
  --ds-space-lg: 16px;
  --ds-space-xl: 24px;
  --ds-space-xxl: 32px;
  --ds-tap: 44px;                   /* iOS minimum target; Android uses 48 dp (Tokens.kt Space.tap) */
  --ds-tap-android: 48px;
  --ds-control: 54px;               /* buttons and text fields */
  --ds-row-min: 64px;               /* list rows (RecordComponents.swift RecordCard) */
  --ds-header-gap: 12px;            /* pinned header to the first thing on the page */
  --ds-content-max: 480px;

  /* Corner radii (Tokens.swift DS.Radius; Home's glass cards use 24, DashboardViews.swift homeGlass). */
  --ds-radius-sm: 10px;
  --ds-radius-md: 14px;
  --ds-radius-lg: 20px;
  --ds-radius-home: 24px;
  --ds-radius-sheet: 32px;
  --ds-radius-full: 9999px;

  /* Shadows (Tokens.swift DS.Shadow: black at 8%, radius 14, y 6; black at 18%, radius 24, y 12).
   * Only off the gradient: plain cards in sheets and the toast. The glass casts none. */
  --ds-shadow-card: 0 6px 14px rgb(0 0 0 / 0.08);
  --ds-shadow-lifted: 0 12px 24px rgb(0 0 0 / 0.18);

  /* Type families. The web uses the marketing site's faces (erpflow-ai-marketing app/[locale]/layout.tsx,
   * app/globals.css --mkt-body-family, --mkt-display-family, .mkt-mono): Inter for body and UI, Inter Tight
   * for display (titles, the hero figure, metric figures), Geist Mono for code and token values. The native
   * apps keep the system font: SF Pro, with SF Pro Rounded where Tokens.swift DS.Font says `.rounded`, on
   * iOS; Roboto on Android, which has no rounded system face. Inter is the closest web match to SF Pro. */
  --ds-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ds-font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ds-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Display tracking tightens as the size grows (marketing .mkt-display): under 30 px, 30 to 36 px, and
   * 48 px and up (with line-height 1.04). Cyrillic takes most of it back (:lang(ru)). Body text keeps
   * Inter's own spacing. Weights in use: Inter 400, 500, 600, 700; Inter Tight 600, 700. */
  --ds-tracking-display: -0.02em;
  --ds-tracking-display-md: -0.028em;
  --ds-tracking-display-lg: -0.035em;
  --ds-tracking-display-ru: -0.008em;
  --ds-tracking-display-md-ru: -0.012em;
  --ds-tracking-display-lg-ru: -0.016em;
  /* Sizes and line heights: Apple's default (Large) text styles, as Android's Theme.kt writes them out. */
  --ds-text-large-title: 2.125rem;    /* 34 / 41, bold, display */
  --ds-text-large-title-lh: 2.5625rem;
  --ds-text-title: 1.375rem;          /* 22 / 28, semibold, display (iOS title2) */
  --ds-text-title-lh: 1.75rem;
  --ds-text-title3: 1.25rem;          /* 20 / 25 (Android Theme.kt) */
  --ds-text-title3-lh: 1.5625rem;
  --ds-text-headline: 1.0625rem;      /* 17 / 22, semibold */
  --ds-text-headline-lh: 1.375rem;
  --ds-text-body: 1.0625rem;          /* 17 / 24 */
  --ds-text-body-lh: 1.5rem;
  --ds-text-callout: 1rem;            /* 16 / 22 */
  --ds-text-callout-lh: 1.375rem;
  --ds-text-caption: 0.8125rem;       /* 13 / 18 (iOS footnote) */
  --ds-text-caption-lh: 1.125rem;
  --ds-text-button: 1.0625rem;        /* 17 / 22, semibold */
  --ds-text-button-lh: 1.375rem;
  --ds-text-wordmark: 2.125rem;       /* 34 / 41, semibold, display */
  --ds-text-hero: 3.5rem;             /* 56, bold, display: Home's revenue figure (HeroCard) */
  --ds-text-hero-minor: 1.625rem;     /* 26, semibold, display: its decimals and symbol */
  --ds-text-metric: 1.5rem;           /* 24, bold, display: a metric card's figure */
  /* Amounts, counts and dates set in tabular figures, as the apps' monospacedDigit(). */
  --ds-numeric: tabular-nums;

  /* Motion (Tokens.swift Motion; D12). iOS springs are (response, dampingFraction). The linear()
   * curves sample the damped spring's step response x(t) = 1 - e^(-zw t)(cos(wd t) + (zw / wd) sin(wd t)),
   * w = 2 pi / response, z = dampingFraction, wd = w sqrt(1 - z^2), at 28 even steps until it stays
   * within 0.1% of rest; the duration is that settling time. Android converts the same pairs (Tokens.kt
   * SpringToken: stiffness (2 pi / response)^2, damping ratio z). */
  --ds-spring-glide-response: 0.7;
  --ds-spring-glide-damping: 0.82;
  --ds-spring-glide-duration: 960ms;
  --ds-spring-glide: linear(0, 0.043, 0.143, 0.27, 0.403, 0.528, 0.64, 0.734, 0.811, 0.871, 0.917, 0.951, 0.975, 0.991, 1.001, 1.007, 1.01, 1.011, 1.011, 1.01, 1.008, 1.007, 1.006, 1.004, 1.003, 1.002, 1.002, 1);
  --ds-spring-screen-response: 0.45;
  --ds-spring-screen-damping: 0.9;
  --ds-spring-screen-duration: 599ms;
  --ds-spring-screen: linear(0, 0.04, 0.133, 0.249, 0.371, 0.486, 0.59, 0.679, 0.754, 0.814, 0.863, 0.9, 0.929, 0.951, 0.967, 0.978, 0.987, 0.992, 0.996, 0.999, 1, 1.001, 1.001, 1.002, 1.001, 1.001, 1.001, 1);
  --ds-spring-press-response: 0.25;
  --ds-spring-press-damping: 0.6;
  --ds-spring-press-duration: 404ms;
  --ds-spring-press: linear(0, 0.06, 0.205, 0.386, 0.57, 0.736, 0.872, 0.972, 1.039, 1.078, 1.093, 1.093, 1.082, 1.066, 1.048, 1.032, 1.017, 1.006, 0.999, 0.994, 0.992, 0.991, 0.992, 0.993, 0.995, 0.996, 0.998, 1);
  /* Staggered entrances: Motion.stagger (0.5, 0.85), 40 ms per sibling; Home's rise uses 70 ms. */
  --ds-spring-stagger-response: 0.5;
  --ds-spring-stagger-damping: 0.85;
  --ds-spring-stagger-duration: 696ms;
  --ds-spring-stagger: linear(0, 0.044, 0.145, 0.272, 0.404, 0.527, 0.636, 0.728, 0.803, 0.862, 0.907, 0.94, 0.964, 0.981, 0.992, 0.999, 1.003, 1.005, 1.006, 1.006, 1.006, 1.005, 1.004, 1.003, 1.003, 1.002, 1.001, 1);
  /* List rows (RecordComponents.swift RowEntrance): (0.4, 0.88), 35 ms per row, the first 8 rows only. */
  --ds-spring-row-response: 0.4;
  --ds-spring-row-damping: 0.88;
  --ds-spring-row-duration: 553ms;
  --ds-spring-row: linear(0, 0.043, 0.142, 0.266, 0.393, 0.513, 0.62, 0.71, 0.784, 0.843, 0.888, 0.923, 0.949, 0.967, 0.981, 0.99, 0.995, 0.999, 1.001, 1.002, 1.003, 1.003, 1.003, 1.002, 1.002, 1.002, 1.001, 1);
  /* The month slide (HomeView.swift): SwiftUI's .smooth spring (response 0.5, critically damped) for 0.4 s. */
  --ds-spring-smooth-duration: 400ms;
  --ds-spring-smooth: linear(0, 0.029, 0.099, 0.189, 0.286, 0.381, 0.471, 0.552, 0.625, 0.687, 0.741, 0.787, 0.825, 0.858, 0.884, 0.906, 0.924, 0.939, 0.951, 1);

  --ds-duration-quick: 200ms;        /* Motion.quick, easeOut */
  --ds-ease-quick: cubic-bezier(0, 0, 0.58, 1);
  --ds-duration-reduced: 200ms;      /* Motion.reduced, easeInOut: the Reduce Motion cross-fade */
  --ds-ease-reduced: cubic-bezier(0.42, 0, 0.58, 1);
  --ds-duration-tab-fade: 220ms;     /* tab content cross-fade (MainTabView.swift) */
  --ds-duration-shake: 400ms;        /* Motion.shakeDuration: 3 cycles, 9 px */
  --ds-shake-distance: 9px;
  --ds-duration-count-up: 900ms;     /* CountUp.durationSeconds, easeOut */
  --ds-count-up-stagger: 60ms;       /* per figure, capped at 300 ms (CountUp.maxStagger) */
  --ds-count-up-stagger-max: 300ms;
  --ds-duration-ring: 900ms;         /* SetupRing fill, easeOut, after 300 ms */
  --ds-ring-delay: 300ms;
  --ds-stagger-step: 40ms;
  --ds-rise-stagger-step: 70ms;
  --ds-row-stagger-step: 35ms;
  --ds-rise-distance: 22px;
  --ds-row-rise-distance: 14px;
  --ds-month-slide-distance: 36px;
  --ds-month-fade-from: 0.6;         /* the incoming month fades from 0.6 to 1 over 250 ms, linear */
  --ds-month-fade-duration: 250ms;
  --ds-press-scale: 0.97;            /* buttons, cards and rows */
  --ds-press-scale-glass: 0.94;      /* header glass controls */
  --ds-badge-pop-scale: 1.25;        /* the unread badge, once, when the count goes up */
  --ds-badge-pop-hold: 160ms;
  --ds-duration-toast: 3s;
  --ds-duration-confetti: 2.6s;
  --ds-duration-mark-drift: 9s;      /* easeInOut, there and back, forever; still under Reduce Motion */
  --ds-duration-shimmer: 1.3s;       /* skeleton sweep, linear; none under Reduce Motion */
}

/* 4. Derived tokens: recomputed wherever the appearance or the gradient context changes ---------- */

:root,
[data-theme],
.dark,
[data-on-gradient] {
  --ds-glass-fill: rgb(from var(--ds-gradient-base) r g b / var(--ds-glass-fill-alpha));
  --ds-material-fill: rgb(from var(--ds-gradient-base) r g b / var(--ds-material-fill-alpha));
  --ds-material-flat-fill: rgb(from var(--ds-gradient-base) r g b / var(--ds-material-flat-alpha));
  --ds-material-hero-tint: rgb(from var(--ds-gradient-top) r g b / var(--ds-material-hero-tint-alpha));
  --ds-gradient-height: max(100svh, var(--ds-gradient-min-height));
  /* The scroll-attached gradient: Home and every scrolling screen. Size it to --ds-gradient-height at the
   * top of the content and let the page continue in --ds-gradient-base. */
  --ds-gradient-scroll: linear-gradient(to bottom,
      var(--ds-gradient-top) 0%,
      var(--ds-gradient-glow) var(--ds-gradient-scroll-glow-at),
      var(--ds-gradient-indigo) var(--ds-gradient-scroll-indigo-at),
      var(--ds-gradient-base) var(--ds-gradient-scroll-base-at),
      var(--ds-gradient-base) 100%);
  /* The static gradient for a screen that does not scroll (sign-in, search results). */
  --ds-gradient-fixed: linear-gradient(to bottom,
      var(--ds-gradient-top) 0%,
      var(--ds-gradient-glow) var(--ds-gradient-fixed-glow-at),
      var(--ds-gradient-indigo) var(--ds-gradient-fixed-indigo-at),
      var(--ds-gradient-base) var(--ds-gradient-fixed-base-at),
      var(--ds-gradient-base) 100%);
  /* The violet-blue glow behind the hero: a circle of 34% of the gradient's height, centred 22% down. */
  --ds-gradient-glow-spot: radial-gradient(
      circle calc(var(--ds-gradient-height) * var(--ds-gradient-glow-radius))
        at 50% calc(var(--ds-gradient-height) * var(--ds-gradient-glow-center-y)),
      rgb(from var(--ds-gradient-glow) r g b / calc(var(--ds-gradient-glow-alpha) * var(--ds-gradient-glow-layer-opacity))),
      transparent);
}

/* 5. Tailwind v4 mapping ------------------------------------------------------------------------ */

@theme inline {
  --color-ds-brand: var(--ds-brand);
  --color-ds-brand-bright: var(--ds-brand-bright);
  --color-ds-background: var(--ds-background);
  --color-ds-surface: var(--ds-surface);
  --color-ds-elevated: var(--ds-elevated);
  --color-ds-text: var(--ds-text);
  --color-ds-text-secondary: var(--ds-text-secondary);
  --color-ds-separator: var(--ds-separator);
  --color-ds-success: var(--ds-success);
  --color-ds-warning: var(--ds-warning);
  --color-ds-danger: var(--ds-danger);
  --color-ds-gradient-top: var(--ds-gradient-top);
  --color-ds-gradient-glow: var(--ds-gradient-glow);
  --color-ds-gradient-indigo: var(--ds-gradient-indigo);
  --color-ds-gradient-base: var(--ds-gradient-base);
  --color-ds-glass: var(--ds-glass-fill);
  --color-ds-glass-border: var(--ds-glass-border);
  --color-ds-material: var(--ds-material-fill);
  --color-ds-on-gradient-label: var(--ds-on-gradient-label);
  --color-ds-on-gradient-body: var(--ds-on-gradient-body);
  --color-ds-on-gradient-control: var(--ds-on-gradient-control);
  --color-ds-on-gradient-control-border: var(--ds-on-gradient-control-border);
  --color-ds-on-hero-chip: var(--ds-on-hero-chip);
  --color-ds-chip-neutral: var(--ds-chip-neutral);
  --color-ds-chip-muted: var(--ds-chip-muted);
  --color-ds-chip-blue: var(--ds-chip-blue);
  --color-ds-chip-amber: var(--ds-chip-amber);
  --color-ds-chip-violet: var(--ds-chip-violet);
  --color-ds-chip-orange: var(--ds-chip-orange);
  --color-ds-chip-emerald: var(--ds-chip-emerald);
  --color-ds-chip-border: var(--ds-chip-border);
  --color-ds-badge: var(--ds-badge-red);
  --color-ds-tint-0: var(--ds-tint-0);
  --color-ds-tint-1: var(--ds-tint-1);
  --color-ds-tint-2: var(--ds-tint-2);
  --color-ds-tint-3: var(--ds-tint-3);
  --color-ds-tint-4: var(--ds-tint-4);
  --color-ds-tint-5: var(--ds-tint-5);
  --color-ds-tint-6: var(--ds-tint-6);
  --color-ds-tint-7: var(--ds-tint-7);

  /* The families take Tailwind's own names, so importing this file makes font-sans Inter app-wide. */
  --font-sans: var(--ds-font-sans);
  --font-display: var(--ds-font-display);
  --font-mono: var(--ds-font-mono);

  --tracking-ds-display: var(--ds-tracking-display);
  --tracking-ds-display-md: var(--ds-tracking-display-md);
  --tracking-ds-display-lg: var(--ds-tracking-display-lg);

  --text-ds-large-title: var(--ds-text-large-title);
  --text-ds-large-title--line-height: var(--ds-text-large-title-lh);
  --text-ds-large-title--font-weight: 700;
  --text-ds-large-title--letter-spacing: var(--ds-tracking-display-md);
  --text-ds-title: var(--ds-text-title);
  --text-ds-title--line-height: var(--ds-text-title-lh);
  --text-ds-title--font-weight: 600;
  --text-ds-title--letter-spacing: var(--ds-tracking-display);
  --text-ds-title3: var(--ds-text-title3);
  --text-ds-title3--line-height: var(--ds-text-title3-lh);
  --text-ds-headline: var(--ds-text-headline);
  --text-ds-headline--line-height: var(--ds-text-headline-lh);
  --text-ds-headline--font-weight: 600;
  --text-ds-body: var(--ds-text-body);
  --text-ds-body--line-height: var(--ds-text-body-lh);
  --text-ds-callout: var(--ds-text-callout);
  --text-ds-callout--line-height: var(--ds-text-callout-lh);
  --text-ds-caption: var(--ds-text-caption);
  --text-ds-caption--line-height: var(--ds-text-caption-lh);
  --text-ds-button: var(--ds-text-button);
  --text-ds-button--line-height: var(--ds-text-button-lh);
  --text-ds-button--font-weight: 600;
  --text-ds-wordmark: var(--ds-text-wordmark);
  --text-ds-wordmark--line-height: var(--ds-text-large-title-lh);
  --text-ds-wordmark--font-weight: 600;
  --text-ds-hero: var(--ds-text-hero);
  --text-ds-hero--line-height: 1.04;
  --text-ds-hero--font-weight: 700;
  --text-ds-hero--letter-spacing: var(--ds-tracking-display-lg);
  --text-ds-hero-minor: var(--ds-text-hero-minor);
  --text-ds-hero-minor--font-weight: 600;
  --text-ds-metric: var(--ds-text-metric);
  --text-ds-metric--line-height: 1.2;
  --text-ds-metric--font-weight: 700;
  --text-ds-metric--letter-spacing: var(--ds-tracking-display);

  --spacing-ds-xs: var(--ds-space-xs);
  --spacing-ds-sm: var(--ds-space-sm);
  --spacing-ds-md: var(--ds-space-md);
  --spacing-ds-lg: var(--ds-space-lg);
  --spacing-ds-xl: var(--ds-space-xl);
  --spacing-ds-xxl: var(--ds-space-xxl);
  --spacing-ds-tap: var(--ds-tap);
  --spacing-ds-control: var(--ds-control);
  --spacing-ds-row: var(--ds-row-min);
  --spacing-ds-header-gap: var(--ds-header-gap);
  --container-ds-content: var(--ds-content-max);

  --radius-ds-sm: var(--ds-radius-sm);
  --radius-ds-md: var(--ds-radius-md);
  --radius-ds-lg: var(--ds-radius-lg);
  --radius-ds-home: var(--ds-radius-home);
  --radius-ds-sheet: var(--ds-radius-sheet);

  --shadow-ds-card: var(--ds-shadow-card);
  --shadow-ds-lifted: var(--ds-shadow-lifted);

  --blur-ds-material: var(--ds-material-blur);

  --ease-ds-quick: var(--ds-ease-quick);
  --ease-ds-reduced: var(--ds-ease-reduced);
  --ease-ds-glide: var(--ds-spring-glide);
  --ease-ds-screen: var(--ds-spring-screen);
  --ease-ds-press: var(--ds-spring-press);
  --ease-ds-stagger: var(--ds-spring-stagger);
  --ease-ds-row: var(--ds-spring-row);
  --ease-ds-smooth: var(--ds-spring-smooth);
}
