/* TravelCorpo design tokens — GENERATED from tokens.json by tools/build_tokens.py.
   Do not edit this file: edit tokens.json and re-run the generator.
   Source: TravelCorpo developer specification, section 14.2. */

:root {
  color-scheme: light;

  /* ---- colour, light ---- */
  --tc-surface: #F5F7FA;
  --tc-surface-raised: #FFFFFF;
  --tc-surface-sunken: #ECF1F7;
  --tc-ink: #0B1B33;
  --tc-ink-muted: #56657A;
  --tc-navy: #032E62;
  --tc-navy-deep: #022247;
  --tc-navy-soft: #E4ECF7;
  --tc-navy-ink: #032E62;
  --tc-on-navy: #FFFFFF;
  --tc-on-navy-muted: #B9CBDF;
  --tc-gold: #FBBB00;
  --tc-on-gold: #032E62;
  --tc-gold-soft: #FFF3C4;
  --tc-gold-ink: #7A5A00;
  --tc-success: #1A7A47;
  --tc-success-soft: #E7F4ED;
  --tc-warning: #B04A06;
  --tc-warning-soft: #FDF1E7;
  --tc-danger: #B42318;
  --tc-on-danger: #FFFFFF;
  --tc-danger-soft: #FDECEA;
  --tc-line: #DFE6EF;
  --tc-line-strong: #8290A3;
  --tc-focus: #032E62;
  --tc-overlay: rgba(11, 27, 51, 0.48);

  /* ---- type, spacing, radii, shadows, motion ---- */
  --tc-font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --tc-font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --tc-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --tc-font-arabic: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
  --tc-text-display: 30px;
  --tc-leading-display: 36px;
  --tc-weight-display: 700;
  --tc-tracking-display: -0.02em;
  --tc-family-display: var(--tc-font-display);
  --tc-text-title: 22px;
  --tc-leading-title: 28px;
  --tc-weight-title: 600;
  --tc-tracking-title: -0.01em;
  --tc-family-title: var(--tc-font-display);
  --tc-text-heading: 18px;
  --tc-leading-heading: 24px;
  --tc-weight-heading: 600;
  --tc-tracking-heading: 0;
  --tc-family-heading: var(--tc-font-display);
  --tc-text-subhead: 16px;
  --tc-leading-subhead: 22px;
  --tc-weight-subhead: 600;
  --tc-tracking-subhead: 0;
  --tc-family-subhead: var(--tc-font-sans);
  --tc-text-body: 15px;
  --tc-leading-body: 22px;
  --tc-weight-body: 400;
  --tc-tracking-body: 0;
  --tc-family-body: var(--tc-font-sans);
  --tc-text-label: 13px;
  --tc-leading-label: 18px;
  --tc-weight-label: 500;
  --tc-tracking-label: 0;
  --tc-family-label: var(--tc-font-sans);
  --tc-text-caption: 12px;
  --tc-leading-caption: 16px;
  --tc-weight-caption: 500;
  --tc-tracking-caption: 0.02em;
  --tc-family-caption: var(--tc-font-sans);
  --tc-font-weight-body: 400;
  --tc-font-weight-medium: 500;
  --tc-font-weight-semibold: 600;
  --tc-font-weight-bold: 700;
  --tc-text-figure: 24px;
  --tc-leading-figure: 30px;
  --tc-weight-figure: 600;
  --tc-tracking-figure: -0.01em;
  --tc-family-figure: var(--tc-font-display);
  --tc-space-1: 4px;
  --tc-space-2: 8px;
  --tc-space-3: 12px;
  --tc-space-4: 16px;
  --tc-space-5: 20px;
  --tc-space-6: 24px;
  --tc-space-8: 32px;
  --tc-space-10: 40px;
  --tc-space-12: 48px;
  --tc-space-16: 64px;
  --tc-space-insideCard: 16px;
  --tc-space-betweenBlocks: 24px;
  --tc-space-betweenSections: 32px;
  --tc-radius-field: 6px;
  --tc-radius-button: 10px;
  --tc-radius-card: 10px;
  --tc-radius-panel: 16px;
  --tc-radius-pill: 999px;
  --tc-shadow-card: 0 1px 2px rgba(11, 27, 51, 0.06), 0 8px 24px -12px rgba(11, 27, 51, 0.12);
  --tc-shadow-raised: 0 2px 4px rgba(11, 27, 51, 0.08), 0 12px 32px -16px rgba(11, 27, 51, 0.18);
  --tc-shadow-popover: 0 8px 16px rgba(11, 27, 51, 0.10), 0 24px 48px -24px rgba(11, 27, 51, 0.24);
  --tc-shadow-focus: 0 0 0 2px var(--tc-surface), 0 0 0 4px var(--tc-focus);
  --tc-fast-duration: 120ms;
  --tc-base-duration: 160ms;
  --tc-easing-duration: cubic-bezier(0.2, 0, 0, 1);
  --tc-easing: cubic-bezier(0.2, 0, 0, 1);
  --tc-sidebar-width: 264px;
  --tc-content-max: 1120px;
  --tc-topbar-height: 64px;
  --tc-icon-stroke: 1.5;
  --tc-icon-size: 20px;
}

/* Dark tokens. `[data-theme="dark"]` wins over the media query, and
   `[data-theme="light"]` opts a subtree out of the system preference. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  --tc-surface: #0A1526;
    --tc-surface-raised: #111F35;
    --tc-surface-sunken: #0D1A2D;
    --tc-ink: #EAF0F7;
    --tc-ink-muted: #9BABC0;
    --tc-navy: #2C5FA8;
    --tc-navy-deep: #061423;
    --tc-navy-soft: #16304F;
    --tc-navy-ink: #7FA8DC;
    --tc-on-navy: #FFFFFF;
    --tc-on-navy-muted: #C7D6E8;
    --tc-gold: #FBBB00;
    --tc-on-gold: #0A1526;
    --tc-gold-soft: #3A2E07;
    --tc-gold-ink: #FFD65C;
    --tc-success: #4CC38A;
    --tc-success-soft: #12301F;
    --tc-warning: #E8873A;
    --tc-warning-soft: #33220F;
    --tc-danger: #F27A6F;
    --tc-on-danger: #2B110F;
    --tc-danger-soft: #331917;
    --tc-line: #22304A;
    --tc-line-strong: #5B7290;
    --tc-focus: #FBBB00;
    --tc-overlay: rgba(0, 0, 0, 0.60);
    --tc-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 24px -12px rgba(0, 0, 0, 0.36);
    --tc-shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.24), 0 12px 32px -16px rgba(0, 0, 0, 0.54);
    --tc-shadow-popover: 0 8px 16px rgba(0, 0, 0, 0.3), 0 24px 48px -24px rgba(0, 0, 0, 0.72);
    --tc-shadow-focus: 0 0 0 2px var(--tc-surface), 0 0 0 4px var(--tc-focus);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --tc-surface: #0A1526;
  --tc-surface-raised: #111F35;
  --tc-surface-sunken: #0D1A2D;
  --tc-ink: #EAF0F7;
  --tc-ink-muted: #9BABC0;
  --tc-navy: #2C5FA8;
  --tc-navy-deep: #061423;
  --tc-navy-soft: #16304F;
  --tc-navy-ink: #7FA8DC;
  --tc-on-navy: #FFFFFF;
  --tc-on-navy-muted: #C7D6E8;
  --tc-gold: #FBBB00;
  --tc-on-gold: #0A1526;
  --tc-gold-soft: #3A2E07;
  --tc-gold-ink: #FFD65C;
  --tc-success: #4CC38A;
  --tc-success-soft: #12301F;
  --tc-warning: #E8873A;
  --tc-warning-soft: #33220F;
  --tc-danger: #F27A6F;
  --tc-on-danger: #2B110F;
  --tc-danger-soft: #331917;
  --tc-line: #22304A;
  --tc-line-strong: #5B7290;
  --tc-focus: #FBBB00;
  --tc-overlay: rgba(0, 0, 0, 0.60);
  --tc-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 24px -12px rgba(0, 0, 0, 0.36);
  --tc-shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.24), 0 12px 32px -16px rgba(0, 0, 0, 0.54);
  --tc-shadow-popover: 0 8px 16px rgba(0, 0, 0, 0.3), 0 24px 48px -24px rgba(0, 0, 0, 0.72);
  --tc-shadow-focus: 0 0 0 2px var(--tc-surface), 0 0 0 4px var(--tc-focus);
}
