/* GENERATED from tokens.json by scripts/build-tokens.mjs. Do not edit by hand.
 * INTELLEXIA design kit 0.1.0. Every value carries its source file key (see tokens.json "sources").
 * Default: INTELLEXIA dark. Light: data-theme="light". Brands: data-brand="aware" | "hsr" (scope to any element). */

/* base: Scales shared by every brand (INTELLEXIA values unless a source note says otherwise) plus raw palettes per brand */
:root {
  --ik-font-display: 'Roboto', 'Noto Sans SC', Arial, sans-serif; /* ix:--ix-font-display */
  --ik-font-body: 'Roboto', 'Noto Sans SC', Arial, sans-serif; /* ix:--ix-font-body */
  --ik-font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; /* ix:--ix-font-mono */
  --ik-type-display: clamp(44px, 7vw, 112px); /* ix:--ix-type-display */
  --ik-type-title: clamp(36px, 4.5vw, 72px); /* ix:--ix-type-title */
  --ik-type-heading: clamp(28px, 3vw, 48px); /* ix:--ix-type-heading */
  --ik-type-subhead: clamp(22px, 2.2vw, 32px); /* ix:--ix-type-subhead */
  --ik-type-h4: clamp(18px, 1.6vw, 24px); /* ix:--ix-type-h4 */
  --ik-type-lead: clamp(17px, 1.3vw, 20px); /* ix:--ix-type-lead */
  --ik-type-body: 16px; /* ix:--ix-type-body */
  --ik-type-small: 14px; /* ix:--ix-type-small */
  --ik-type-ui: 12px; /* ix:--ix-type-ui */
  --ik-type-micro: 11px; /* ix:--ix-type-micro | type floor: nothing renders under this */
  --ik-space-1: 4px; /* aw-sem:--aw-space-1 */
  --ik-space-2: 8px; /* aw-sem:--aw-space-2 */
  --ik-space-3: 12px; /* aw-sem:--aw-space-3 */
  --ik-space-4: 16px; /* aw-sem:--aw-space-4 */
  --ik-space-5: 20px; /* aw-sem:--aw-space-5 */
  --ik-space-6: 24px; /* aw-sem:--aw-space-6 */
  --ik-space-7: 28px; /* aw-sem:--aw-space-7 */
  --ik-space-8: 32px; /* aw-sem:--aw-space-8 */
  --ik-space-10: 40px; /* aw-sem:--aw-space-10 */
  --ik-space-12: 48px; /* aw-sem:--aw-space-12 */
  --ik-space-section: clamp(56px, 6vw, 96px); /* ix:--space-section */
  --ik-space-band: clamp(40px, 4vw, 64px); /* ix:--space-band */
  --ik-space-head: clamp(32px, 3.5vw, 56px); /* ix:--space-head */
  --ik-space-block: clamp(24px, 2.5vw, 40px); /* ix:--space-block */
  --ik-pad: 20px; /* ix:--ix-pad | page gutter; 32px from 700px, 5.5vw from 1024px */
  --ik-control-h: 48px; /* ix:--ctl-h */
  --ik-control-h-sm: 40px; /* ix:--ctl-h-sm */
  --ik-control-h-xs: 36px; /* ix:--ctl-h-xs */
  --ik-control-pad: 24px; /* ix:--ctl-pad */
  --ik-radius-control: 0px; /* ix:--ix-radius | square corners everywhere except the pill */
  --ik-radius-card: 0px; /* ix:--ix-radius */
  --ik-radius-panel: 0px; /* ix:--ix-radius */
  --ik-radius-pill: 999px; /* ix:--ix-radius-pill */
  --ik-dur: 240ms; /* ix:--ix-ease */
  --ik-ease: ease; /* ix:--ix-ease */
  --ik-dur-fast: 140ms; /* aw-sem:--aw-dur-fast | INTELLEXIA source has one duration only (240ms) */
  --ik-dur-slow: 320ms; /* aw-sem:--aw-dur-emphasis */
  --ik-ease-soft: cubic-bezier(.16, 1, .3, 1); /* aw-sem:--aw-ease-soft | identical to HSR --ease-luxury */
  --ik-ease-exit: cubic-bezier(.4, 0, 1, 1); /* aw-sem:--aw-ease-exit */
  --ik-z-dialog: 1000; /* aw-sem:--aw-z-dialog */
  --ik-z-loader: 9999; /* aw-sem:--aw-z-loader */
  --ik-shadow-1: none; /* derived from none | INTELLEXIA source defines no shadow token (flat monochrome); none is the absence */
  --ik-shadow-2: none; /* derived from none | same as --ik-shadow-1 */
  --ik-ix-black: #000000; /* ix:--ix-black */
  --ik-ix-white: #ffffff; /* ix:--ix-white */
  --ik-ix-graphite: #242424; /* ix:--ix-graphite */
  --ik-ix-metal: #777777; /* ix:--ix-metal */
  --ik-ix-danger: #c45c4a; /* ix:--ix-danger */
  --ik-aware-purple: #685bc7; /* aw-brand:--aw-purple */
  --ik-aware-purple-hover: #483bab; /* aw-brand:--aw-purple-hover */
  --ik-aware-deep: #332a7a; /* aw-brand:--aw-deep | A-WARE CLAUDE.md calls #332a7a 'la marca' */
  --ik-aware-accent: #8176d0; /* aw-sem:--aw-accent | fails contrast as text on light: non-text use only (aw-claude) */
  --ik-aware-text: #1e293b; /* aw-brand:--aw-text */
  --ik-aware-text-secondary: #475569; /* aw-brand:--aw-text-secondary */
  --ik-aware-canvas-app: #f7f7fc; /* aw-brand:--aw-canvas-app */
  --ik-aware-canvas-sitio: #fbf9f5; /* aw-brand:--aw-canvas-sitio */
  --ik-aware-night: #14112e; /* aw-sem:--aw-bg-canvas (dark) */
  --ik-hsr-porcelain: #F6F1EA; /* hsr:--hsr-porcelain */
  --ik-hsr-limestone: #D9CEC0; /* hsr:--hsr-limestone */
  --ik-hsr-obsidian: #171717; /* hsr:--hsr-obsidian */
  --ik-hsr-espresso: #3C302A; /* hsr:--hsr-espresso */
  --ik-hsr-gold: #AD8649; /* hsr:--hsr-gold */
  --ik-hsr-sage: #8C9386; /* hsr:--hsr-sage */
}

@media (min-width: 700px) {
  :root {
    --ik-pad: 32px; /* ix:--ix-pad */
  }
}

@media (min-width: 1024px) {
  :root {
    --ik-pad: 5.5vw; /* ix:--ix-pad */
  }
}

/* ix-dark: INTELLEXIA dark (default) */
:root, [data-theme="dark"] {
  --ik-bg: #030303; /* ix:--ix-bg */
  --ik-surface: #0d0d0d; /* ix:--ix-surface */
  --ik-surface-2: #121212; /* ix:--ix-surface-2 */
  --ik-text: #ffffff; /* ix:--ix-text */
  --ik-muted: #a5a5a5; /* ix:--ix-muted */
  --ik-border: rgba(255, 255, 255, 0.14); /* ix:--ix-border */
  --ik-accent: #ffffff; /* ix:--ix-highlight | INTELLEXIA is monochrome: the accent is the text colour */
  --ik-focus: #ffffff; /* derived from ix:--ix-highlight | source has no focus token; uses the highlight */
  --ik-danger: #c45c4a; /* ix:--ix-danger */
  --ik-scrim: rgba(0, 0, 0, 0.82); /* ix:--ix-scrim */
  --ik-btn-bg: #ffffff; /* derived from ix:--paper | no button token in source; inverse pair taken from --ix-text on --ix-bg */
  --ik-btn-text: #030303; /* derived from ix:--ix-bg */
  --ik-skeleton: #242424; /* derived from ix:--ix-graphite | source has no skeleton token; graphite reused */
  --ik-skeleton-shine: rgba(255, 255, 255, 0.14); /* derived from ix:--ix-border */
  --ik-mark-filter: invert(1); /* derived from ix-isotipo | the isotipo SVG is #111111; the website component follows the text colour, an img cannot, so the kit inverts it on dark */
}

/* ix-light: INTELLEXIA light */
[data-theme="light"] {
  --ik-bg: #ffffff; /* ix:html[data-theme=light] --ix-bg */
  --ik-surface: #ffffff; /* ix:html[data-theme=light] --ix-surface */
  --ik-surface-2: #ededed; /* ix:html[data-theme=light] --ix-surface-2 */
  --ik-text: #111111; /* ix:html[data-theme=light] --ix-text */
  --ik-muted: #5c5c5c; /* ix:html[data-theme=light] --ix-muted */
  --ik-border: rgba(17, 17, 17, 0.14); /* ix:html[data-theme=light] --ix-border */
  --ik-accent: #000000; /* ix:html[data-theme=light] --ix-highlight */
  --ik-focus: #000000; /* derived from ix:html[data-theme=light] --ix-highlight */
  --ik-scrim: rgba(255, 255, 255, 0.86); /* ix:html[data-theme=light] --ix-scrim */
  --ik-btn-bg: #111111; /* derived from ix:html[data-theme=light] --ix-text */
  --ik-btn-text: #ffffff; /* derived from ix:html[data-theme=light] --ix-bg */
  --ik-skeleton: #d8d8d8; /* derived from ix:html[data-theme=light] --ix-graphite */
  --ik-skeleton-shine: #ffffff; /* derived from ix:html[data-theme=light] --ix-bg */
  --ik-mark-filter: none; /* derived from ix-isotipo | SVG is #111111, already right on light */
}

/* aware: A-WARE Conecta, light (its default) */
[data-brand="aware"] {
  --ik-font-display: Jakarta, 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; /* aw-brand:--aw-font */
  --ik-font-body: Jakarta, 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; /* aw-brand:--aw-font */
  --ik-bg: #f7f7fc; /* aw-brand:--aw-canvas-app */
  --ik-surface: #ffffff; /* aw-sem:--aw-bg-surface */
  --ik-surface-2: #f5f4fd; /* aw-sem:--aw-bg-muted */
  --ik-text: #1e293b; /* aw-brand:--aw-text */
  --ik-muted: #475569; /* aw-brand:--aw-text-secondary */
  --ik-border: #e8e6f9; /* aw-sem:--aw-border-subtle */
  --ik-accent: #685bc7; /* aw-brand:--aw-purple */
  --ik-accent-hover: #483bab; /* aw-brand:--aw-purple-hover */
  --ik-focus: #685bc7; /* aw-sem:--aw-focus */
  --ik-danger: #b91c1c; /* aw-sem:--aw-danger-fg */
  --ik-scrim: rgba(20, 17, 46, 0.45); /* aw-sem:--aw-scrim */
  --ik-btn-bg: #332a7a; /* derived from aw-brand:--aw-deep | no button token; deep indigo is 'la marca' per aw-claude and the dark control colour --aw-control-on */
  --ik-btn-text: #ffffff; /* aw-sem:--aw-fg-on-brand */
  --ik-skeleton: #edecf9; /* aw-sem:--aw-bg-skeleton */
  --ik-skeleton-shine: rgba(255, 255, 255, 0.7); /* aw-sem:--aw-bg-skeleton-shine */
  --ik-mark-filter: none; /* derived from aw-theme | A-WARE marks are coloured PNG/SVG, never inverted */
  --ik-shadow-1: 0 8px 20px rgba(51, 42, 122, 0.05); /* aw-sem:--aw-shadow-1 */
  --ik-shadow-2: 0 14px 34px rgba(51, 42, 122, 0.12); /* aw-sem:--aw-shadow-2 */
  --ik-radius-control: 10px; /* aw-sem:--aw-radius-button | aw-brand says --aw-radius-control 8px: conflict inside A-WARE, see conflicts */
  --ik-radius-card: 12px; /* aw-sem:--aw-radius-card */
  --ik-radius-panel: 16px; /* aw-sem:--aw-radius-panel */
  --ik-control-h: 44px; /* aw-brand:--aw-control */
  --ik-dur: 220ms; /* aw-sem:--aw-dur-normal */
  --ik-ease: cubic-bezier(.2, .8, .2, 1); /* aw-sem:--aw-ease-ui */
}

/* aware-dark: A-WARE Conecta, dark */
[data-brand="aware"][data-theme="dark"] {
  --ik-bg: #14112e; /* aw-sem:--aw-bg-canvas (dark) */
  --ik-surface: #1c1840; /* aw-sem:--aw-bg-surface (dark) */
  --ik-surface-2: #252050; /* aw-sem:--aw-bg-muted (dark) */
  --ik-text: #ecebfa; /* aw-sem:--aw-fg (dark) */
  --ik-muted: #b8b4dc; /* aw-sem:--aw-fg-secondary (dark) */
  --ik-border: rgba(157, 147, 224, 0.22); /* aw-sem:--aw-border-subtle (dark) */
  --ik-accent: #685bc7; /* aw-sem:--aw-brand (dark) */
  --ik-accent-hover: #5a4dbd; /* aw-sem:--aw-brand-hover (dark) */
  --ik-focus: #a79ee6; /* aw-sem:--aw-focus (dark) */
  --ik-danger: #fca5a5; /* aw-sem:--aw-danger-fg (dark) */
  --ik-scrim: rgba(8, 6, 24, 0.60); /* aw-sem:--aw-scrim (dark) */
  --ik-btn-bg: #685bc7; /* derived from aw-sem:--aw-control-on (dark) */
  --ik-btn-text: #ffffff; /* aw-sem:--aw-fg-on-brand (dark) */
  --ik-skeleton: #252050; /* aw-sem:--aw-bg-skeleton (dark) */
  --ik-skeleton-shine: rgba(157, 147, 224, 0.18); /* aw-sem:--aw-bg-skeleton-shine (dark) */
  --ik-shadow-1: 0 8px 20px rgba(0, 0, 0, 0.35); /* aw-sem:--aw-shadow-1 (dark) */
  --ik-shadow-2: 0 14px 34px rgba(0, 0, 0, 0.40); /* aw-sem:--aw-shadow-2 (dark) */
}

/* hsr: HSR Real Estate (single light theme in source) */
[data-brand="hsr"] {
  --ik-font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; /* hsr:--font-display */
  --ik-font-body: 'Inter', system-ui, sans-serif; /* hsr:--font-body */
  --ik-label-tracking: 0.28em; /* hsr:--label-tracking */
  --ik-bg: #F6F1EA; /* hsr:--bg (--hsr-porcelain) */
  --ik-surface: #FFFDF9; /* hsr:--surface */
  --ik-surface-2: #D9CEC0; /* hsr:--surface-2 (--hsr-limestone) */
  --ik-text: #171717; /* hsr:--text (--hsr-obsidian) */
  --ik-muted: #5E6358; /* hsr:--text-muted */
  --ik-border: #E4DBCF; /* hsr:--border */
  --ik-accent: #AD8649; /* hsr:--accent (--hsr-gold) */
  --ik-focus: #AD8649; /* derived from hsr:--accent | source has no focus token */
  --ik-btn-bg: #171717; /* hsr:--btn-bg */
  --ik-btn-text: #F6F1EA; /* hsr:--btn-text */
  --ik-skeleton: #E4DBCF; /* derived from hsr:--border | source has no skeleton token */
  --ik-skeleton-shine: #FFFDF9; /* derived from hsr:--surface */
  --ik-mark-filter: none; /* derived from none | no HSR logo file exists in the repos searched */
  --ik-shadow-1: 0 18px 44px rgba(23, 23, 23, 0.08); /* hsr:--shadow-soft */
  --ik-shadow-2: 0 26px 70px rgba(23, 23, 23, 0.15); /* hsr:--shadow-lift */
  --ik-radius-control: 12px; /* hsr:--radius-sm */
  --ik-radius-card: 26px; /* hsr:--radius-card */
  --ik-radius-panel: 32px; /* hsr:--radius-panel */
  --ik-ease: cubic-bezier(.16, 1, .3, 1); /* hsr:--ease-luxury */
}
