/*
  00-tokens.css
  Design tokens: the self hosted Inter font, all colours for light and
  dark mode, spacing, radius and shadows.
  Edit here to change the brand colour, the dark mode palette or the
  container width for the whole site in one place.
  Dark mode is driven by the data-theme attribute on the html element.
  The plugin tool area is not part of this theme. Its layout is never
  restyled, but in dark mode its colours are remapped to these tokens
  by the overrides at the top of 03-home.css.
*/

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tm-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --tm-primary: #0e7c7b;
  --tm-primary-dark: #0a5f5e;
  --tm-primary-bright: #12a19e;
  --tm-primary-tint: #e6f4f3;
  --tm-navy: #0b2233;
  --tm-amber: #d9820b;
  --tm-amber-bright: #f0a832;

  --tm-bg: #ffffff;
  --tm-bg-soft: #f7fafa;
  --tm-bg-band: #f0f6f6;
  --tm-surface: #ffffff;
  --tm-surface-raised: #ffffff;
  --tm-ink: #0c2432;
  --tm-ink-soft: #3d5568;
  --tm-muted: #5b7183;
  --tm-border: #dfeaec;
  --tm-border-strong: #c9dcdd;

  --tm-footer-bg: #f7fafa;
  --tm-footer-ink: #0c2432;
  --tm-footer-muted: #5b7183;

  --tm-container: 1280px;
  --tm-radius: 18px;
  --tm-radius-sm: 12px;
  --tm-shadow-card: 0 1px 2px rgba(12, 36, 50, 0.05), 0 10px 30px rgba(12, 36, 50, 0.06);
  --tm-shadow-lift: 0 2px 4px rgba(12, 36, 50, 0.06), 0 18px 40px rgba(12, 36, 50, 0.12);
  --tm-shadow-tile: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(0, 0, 0, 0.18), 0 10px 20px rgba(14, 124, 123, 0.28);

  color-scheme: light;
}

[data-theme="dark"] {
  --tm-primary: #2fb3b0;
  --tm-primary-dark: #57c7c3;
  --tm-primary-bright: #3ec4c0;
  --tm-primary-tint: #10393b;
  --tm-amber: #f2b544;
  --tm-amber-bright: #f7c66b;

  --tm-bg: #0a141f;
  --tm-bg-soft: #0d1a28;
  --tm-bg-band: #0c1826;
  --tm-surface: #10202f;
  --tm-surface-raised: #142839;
  --tm-ink: #edf4f7;
  --tm-ink-soft: #bccfdb;
  --tm-muted: #93a9b8;
  --tm-border: #1d3648;
  --tm-border-strong: #2a4a61;

  --tm-footer-bg: #0d1a28;
  --tm-footer-ink: #d7e5ec;
  --tm-footer-muted: #8499a9;

  --tm-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  --tm-shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.45), 0 18px 40px rgba(0, 0, 0, 0.5);
  --tm-shadow-tile: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 6px rgba(0, 0, 0, 0.35), 0 10px 20px rgba(0, 0, 0, 0.45);

  color-scheme: dark;
}
