/*
 * AirBridge brand tokens for the public website.
 *
 * Published from getrubix/flightdeck, docs/design/airbridge-brand-kit/.
 * Values are copied from the console (frontend/src/theme/tokens.ts), not
 * re-picked; tests/unit/docs/AirBridgeBrandKit.Tests.ps1 fails if they drift.
 * Do not edit a consumer's copy. See README.md.
 *
 * Usage: @import or <link> this file once, then use var(--ab-*) everywhere.
 * Never paste a hex into a component.
 */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/InterVariable-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ---------- Accent: AirBridge Blue ---------- */
  --ab-accent: #1677f2;          /* filled buttons, graphics (bars, rings, indicators) */
  --ab-accent-hover: #1268d8;
  --ab-accent-pressed: #0f59bc;  /* ALSO the colour for accent TEXT and links */
  --ab-accent-tint: #e5f1ff;     /* chip / selected-row fill */
  --ab-accent-on: #ffffff;       /* text on --ab-accent (see README: large text only) */
  --ab-sky: #38bdf8;             /* decorative only: never text, never a border */
  --ab-cyan: #22d3ee;            /* decorative only */

  /* ---------- Navy: dark sections, footer, nav ---------- */
  --ab-navy: #061b2c;            /* deepest dark ground */
  --ab-navy-raised: #0b2942;     /* elevated dark panels, header bands */
  --ab-on-navy: #ffffff;         /* 17.49:1 on --ab-navy */
  --ab-on-navy-muted: #b7c4d6;   /* 9.89:1 on --ab-navy */

  /* ---------- Light surfaces ---------- */
  --ab-canvas: #f5f8fc;          /* page background */
  --ab-surface: #ffffff;         /* cards, panels */
  --ab-surface-alt: #f8fafd;     /* zebra / subtle fill */
  --ab-surface-alt-2: #eef3fa;   /* second fill step, hover */

  /* ---------- Strokes (separation is strokes + fills, never shadows) ---------- */
  --ab-stroke: #dde6f0;          /* card borders, dividers. NOT an input border */
  --ab-stroke-subtle: #e9eef5;

  /* ---------- Text ---------- */
  --ab-text: #0b1f44;            /* headings and body, 16.23:1 on white */
  --ab-text-secondary: #52627a;  /* supporting text, 6.20:1 on white */
  --ab-text-disabled: #93a1b5;   /* disabled controls ONLY, never content */

  /* ---------- Status (glyph / tint / label) ---------- */
  --ab-success: #16a765;   --ab-success-tint: #e1f7ec;   --ab-success-text: #0e7a49;
  --ab-progress: #1683f8;  --ab-progress-tint: #e5f1ff;  --ab-progress-text: #0b5cc7;
  --ab-warning: #f5a623;   --ab-warning-tint: #fff3d8;   --ab-warning-text: #8a5a00;
  --ab-critical: #ef4444;  --ab-critical-tint: #fde8e8;  --ab-critical-text: #b42318;
  --ab-neutral: #73839a;   --ab-neutral-tint: #e9eef5;   --ab-neutral-text: #4a5568;

  /* ---------- Gradients (from the mark's own stops) ---------- */
  --ab-gradient-mark: linear-gradient(135deg, #36b9ff 0%, #167deb 55%, #0757c8 100%);
  --ab-gradient-navy: linear-gradient(180deg, #0b2942 0%, #061b2c 100%);
  --ab-glow-sky: radial-gradient(120% 90% at 18% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 62%);
  /* Scrim for text over photography: navy, opaque where the text sits. */
  --ab-scrim-left: linear-gradient(90deg, rgba(6, 27, 44, 0.92) 0%, rgba(6, 27, 44, 0.55) 45%, rgba(6, 27, 44, 0.15) 100%);
  /* Light hero: canvas fades out over the photo (console HeroBand). */
  --ab-fade-canvas: linear-gradient(90deg, #f5f8fc 0%, #f5f8fc 42%, rgba(245, 248, 252, 0) 72%);

  /* ---------- Type ---------- */
  --ab-font: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ab-weight-regular: 400;
  --ab-weight-medium: 500;
  --ab-weight-semibold: 600;
  --ab-weight-bold: 700;
  --ab-tracking-eyebrow: 0.12em; /* uppercase eyebrows and the tagline */

  /* ---------- Radius ---------- */
  --ab-radius-sm: 4px;   /* chips, badges */
  --ab-radius-md: 8px;   /* buttons, inputs */
  --ab-radius-lg: 10px;  /* cards */
  --ab-radius-xl: 14px;  /* dialogs, large panels, hero bands */
  --ab-radius-pill: 999px;

  /* ---------- Layout ---------- */
  --ab-content-max: 1200px;
  --ab-gutter: 16px;     /* mobile side gutter */
}
