/**
 * @file
 * DSQ design tokens.
 *
 * Transcribed from design-reference/Research and News.dc.html.
 * No component may declare a raw hex, px size or shadow — use a token.
 */

:root {

  /* ---------- Colour ---------- */
  --dsq-navy-900: #001334;
  --dsq-navy-700: #002F6D;
  --dsq-blue-600: #004FAB;
  --dsq-blue-500: #0070EE;
  --dsq-blue-300: #6A97FF;
  --dsq-blue-100: #E2E8FF;
  --dsq-ink-600: #474F5F;
  --dsq-ink-500: #677188;
  --dsq-slate-600: #435371;
  --dsq-gold-500: #E4B038;
  --dsq-gold-700: #B58B2A;
  --dsq-gold-tint: rgba(228, 176, 56, 0.25);
  --dsq-green-600: #059669;
  --dsq-line-200: #E5E9F2;
  --dsq-line-100: #F0F2F5;
  --dsq-surface-50: #F8F9FC;
  --dsq-white: #FFFFFF;
  --dsq-chevron: #C4C9D2;
  --dsq-icon-muted: #9CA3AF;
  --dsq-bar-border: #B6C1DB;

  /* On-dark alpha ladder. */
  --dsq-on-dark-85: rgba(255, 255, 255, 0.85);
  --dsq-on-dark-80: rgba(255, 255, 255, 0.8);
  --dsq-on-dark-70: rgba(255, 255, 255, 0.7);
  --dsq-on-dark-50: rgba(255, 255, 255, 0.5);
  --dsq-on-dark-15: rgba(255, 255, 255, 0.15);
  --dsq-on-dark-12: rgba(255, 255, 255, 0.12);
  --dsq-on-dark-10: rgba(255, 255, 255, 0.1);
  --dsq-on-dark-06: rgba(255, 255, 255, 0.06);

  /* ---------- Gradients ---------- */
  --dsq-grad-header: linear-gradient(90deg, #001334 0%, #001334 25%, #002F6D 60%, #002F6D 100%);
  --dsq-grad-rule: linear-gradient(90deg, #6A97FF, #002F6D);
  --dsq-grad-callout: linear-gradient(135deg, #E2E8FF, #F8F9FC);

  /* ---------- Shadow ---------- */
  --dsq-shadow-header: 0 2px 12px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --dsq-shadow-menu: 0 14px 32px -6px rgba(60, 60, 60, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
  --dsq-shadow-input: 0 2px 8px rgba(0, 0, 0, 0.1);
  --dsq-shadow-panel: 0 8px 32px rgba(0, 21, 52, 0.18);

  /* ---------- Type ---------- */
  --dsq-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --dsq-fs-11: 11px;
  --dsq-fs-12: 12px;
  --dsq-fs-13: 13px;
  --dsq-fs-14: 14px;
  --dsq-fs-16: 16px;
  --dsq-fs-17: 17px;
  --dsq-fs-18: 18px;
  --dsq-fs-20: 20px;
  --dsq-fs-22: 22px;
  --dsq-fs-24: 24px;
  --dsq-fs-26: 26px;
  --dsq-fs-28: 28px;

  --dsq-fw-400: 400;
  --dsq-fw-500: 500;
  --dsq-fw-600: 600;
  --dsq-fw-700: 700;
  --dsq-fw-800: 800;

  --dsq-lh-tight: 1.2;
  --dsq-lh-snug: 1.4;
  --dsq-lh-card: 1.5;
  --dsq-lh-body: 1.55;
  --dsq-lh-note: 1.6;
  --dsq-lh-lead: 1.65;
  --dsq-lh-prose: 1.7;

  --dsq-ls-01: 0.01em;
  --dsq-ls-04: 0.04em;
  --dsq-ls-06: 0.06em;
  --dsq-ls-07: 0.07em;
  --dsq-ls-08: 0.08em;
  --dsq-ls-10: 0.1em;

  /* ---------- Space ---------- */
  --dsq-sp-2: 2px;
  --dsq-sp-4: 4px;
  --dsq-sp-6: 6px;
  --dsq-sp-8: 8px;
  --dsq-sp-10: 10px;
  --dsq-sp-12: 12px;
  --dsq-sp-14: 14px;
  --dsq-sp-16: 16px;
  --dsq-sp-20: 20px;
  --dsq-sp-24: 24px;
  --dsq-sp-28: 28px;
  --dsq-sp-32: 32px;
  --dsq-sp-36: 36px;
  --dsq-sp-40: 40px;
  --dsq-sp-60: 60px;
  --dsq-sp-70: 70px;

  /* ---------- Radius ---------- */
  --dsq-r-4: 4px;
  --dsq-r-6: 6px;
  --dsq-r-8: 8px;
  --dsq-r-12: 12px;
  --dsq-r-full: 50%;

  /* ---------- Layout ---------- */
  --dsq-container: 1100px;
  --dsq-container-wide: 1400px;
  --dsq-gutter: 40px;
  --dsq-gutter-chrome: 24px;
  --dsq-header-row-1: 52px;
  --dsq-header-row-2: 38px;
  --dsq-bar-h: 57px;

  /* ---------- Stacking ----------
   * The export gave the sticky header z-index 100, which opened a stacking
   * context that clamped its own 9998 dropdowns below the 9000 booking bar.
   * Fixed by lifting the header above the bar; children then resolve inside it.
   */
  --dsq-z-header: 9500;
  --dsq-z-bar: 9000;
  --dsq-z-menu: 10;
  --dsq-z-drawer: 9600;

  /* ---------- Breakpoints ----------
   * Declared for documentation; media queries cannot read custom properties.
   *   lg  1100px  hero goes single-column, headline steps down
   *   md   900px  nav becomes a drawer, booking bar collapses, grids halve
   *   sm   600px  single column, gutters narrow to 20px, type steps down
   */
  --dsq-bp-lg: 1100px;
  --dsq-bp-md: 900px;
  --dsq-bp-sm: 600px;
}

/* The 40px gutter holds all the way down to the sm breakpoint: the container
   is 1100px wide, so 40px still leaves a comfortable measure at 900px, and
   narrowing it earlier would shift every section away from the approved
   desktop and tablet layout. Phones get 20px. */
@media (max-width: 600px) {
  :root {
    --dsq-gutter: 20px;
    --dsq-gutter-chrome: 16px;
  }
}
