/* Design tokens: colours, radii, shadows and motion (sizes: content/design.py, font: content/fonts.py).
   Palette comes from the CityTech logo (docs/DESIGN.md). Change a value here, not in a component. */

/* @font-face and --font come from content/fonts.py via {% design_css %} (font is chosen in /panel/settings/). */

:root {
  /* brand */
  --navy: #0a1435;
  --navy-2: #13225a;
  --blue: #1351e8;
  --blue-hover: #0d41c4;
  --sky: #6fa3f5;
  --pale: #d7e5fc;
  --base: #f6f8fe;
  --white: #fff;

  /* text */
  --ink: #0a1435;
  --ink-2: #3c4668;
  --muted: #626b8a; /* ≥4.5:1 on base and tinted cards (WCAG AA) */
  --on-dark: #c9d3f0;
  --on-dark-muted: #8e9bc6;

  /* lines and surfaces */
  --line: #e1e8f6;
  --line-dark: rgb(255 255 255 / 0.1);
  --card: rgb(255 255 255 / 0.82);
  --glass: rgb(255 255 255 / 0.72);

  /* aura blobs (only used in backgrounds, never for text or buttons) */
  --aura-sky: rgb(111 163 245 / 0.34);
  --aura-blue: rgb(19 81 232 / 0.16);
  --aura-lilac: rgb(160 140 255 / 0.26);
  --aura-teal: rgb(94 214 222 / 0.24);

  /* pastel tints for cards */
  --tint-sky: #e7f0ff;
  --tint-lilac: #efebff;
  --tint-teal: #e2f6f6;
  --tint-blue: #e5ebfd;

  /* product accents (from the product logos) */
  --beauty: #d6336c;
  --amlak: #12a150;
  --oil: #f08c00;

  /* feedback */
  --ok: #12b886;
  --error: #d6293e;

  /* shape (content width, gutter and the spacing scale are in content/design.py, see below) */
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --sh-sm: 0 1px 2px rgb(10 20 53 / 0.05), 0 4px 14px -6px rgb(19 81 232 / 0.12);
  --sh: 0 1px 2px rgb(10 20 53 / 0.05), 0 14px 34px -12px rgb(19 81 232 / 0.2);
  --sh-lg: 0 2px 6px rgb(10 20 53 / 0.06), 0 34px 70px -24px rgb(19 81 232 / 0.32);

  /* Spacing scale --s1…--s7, headings --h1/--h2/--h3/--hs-*, widths --w/--w-narrow/--w-wide and --gutter are NOT
     here: they are printed by {% design_css %} from content/design.py (editable in /panel/design/). */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

@media (max-width: 720px) {
  :root {
    --r-xl: 26px;
  }
}
