/* Design tokens — iotsensordata.org
   Light, professional, easy on the eyes. */

:root {
  /* Brand colours */
  --c-primary: #1f4f7a;
  --c-primary-700: #15395a;
  --c-primary-300: #5d8fb6;
  --c-accent: #2a8aa6;
  --c-accent-300: #7cc5d6;
  --c-warm: #f5b400;
  --c-warm-600: #d99700;
  --c-coral: #ff7a4d;
  --c-mint: #34a884;
  --c-violet: #7a5af8;

  /* Surfaces (light scheme) */
  --c-bg: #f7f9fc;
  --c-bg-alt: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #eef3f8;
  --c-border: #d8e1ea;
  --c-border-soft: #e9eef3;

  /* Text */
  --c-text: #1a2533;
  --c-text-muted: #50607a;
  --c-text-soft: #6f7d92;
  --c-text-invert: #ffffff;

  /* Link */
  --c-link: #1f4f7a;
  --c-link-hover: #d99700;

  /* Code */
  --c-code-bg: #eef3f8;
  --c-code-inline-bg: #eef3f8;
  --c-code-border: #d8e1ea;
  --c-code-text: #15395a;

  /* Status */
  --c-success: #2f8c5b;
  --c-warning: #c18306;
  --c-danger: #c0392b;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 35, 60, 0.06), 0 1px 1px rgba(15, 35, 60, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 35, 60, 0.08), 0 2px 4px rgba(15, 35, 60, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 35, 60, 0.12), 0 4px 12px rgba(15, 35, 60, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Liberation Sans", sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-base: 1rem;
  --fs-md: 1.075rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.6rem;
  --fs-4xl: 3.4rem;

  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-base: 1.65;
  --lh-relaxed: 1.75;

  /* Layout */
  --header-h: 64px;
  --max-prose: 78ch;
  --max-page: 1400px;
  --gutter: clamp(1rem, 3vw, 2rem);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;
}

@media (min-width: 1280px) {
  :root {
    --header-h: 72px;
  }
}
