:root {
  /* Brand palette */
  --brand-color-navy: #14243a;
  --brand-color-blue: #3678f6;
  --brand-color-lime: #b8f36b;
  --brand-color-mist: #f4f6fa;
  --brand-color-text: #263449;
  --brand-color-white: #fff;

  /* Typography: all primary webfont assets are served locally. */
  --brand-font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --brand-font-weight-regular: 400;
  --brand-font-weight-medium: 500;
  --brand-font-weight-semibold: 600;
  --brand-font-weight-bold: 700;
  --brand-font-size-xs: 0.75rem;
  --brand-font-size-sm: 0.875rem;
  --brand-font-size-base: 1rem;
  --brand-font-size-lg: 1.125rem;
  --brand-font-size-xl: 1.25rem;
  --brand-font-size-2xl: 1.5rem;
  --brand-font-size-3xl: 2rem;
  --brand-font-size-4xl: 2.5rem;
  --brand-font-size-5xl: clamp(2.5rem, 5vw, 4rem);
  --brand-line-height-tight: 1.15;
  --brand-line-height-heading: 1.25;
  --brand-line-height-body: 1.65;

  /* 4px-based spacing scale */
  --brand-space-1: 0.25rem;
  --brand-space-2: 0.5rem;
  --brand-space-3: 0.75rem;
  --brand-space-4: 1rem;
  --brand-space-5: 1.5rem;
  --brand-space-6: 2rem;
  --brand-space-7: 3rem;
  --brand-space-8: 4rem;
  --brand-space-9: 5rem;
  --brand-space-10: 6rem;

  /* Shape and elevation */
  --brand-radius-sm: 0.5rem;
  --brand-radius-md: 0.75rem;
  --brand-radius-lg: 1rem;
  --brand-radius-xl: 1.5rem;
  --brand-radius-pill: 999px;
  --brand-shadow-sm: 0 1px 2px rgb(20 36 58 / 6%), 0 4px 12px rgb(20 36 58 / 4%);
  --brand-shadow-md: 0 8px 24px rgb(20 36 58 / 8%), 0 2px 8px rgb(20 36 58 / 5%);
  --brand-shadow-lg: 0 20px 48px rgb(20 36 58 / 12%), 0 6px 16px rgb(20 36 58 / 6%);
  --brand-shadow-focus: 0 0 0 4px rgb(54 120 246 / 22%);

  /* Layout */
  --brand-container: 75rem;
  --brand-container-wide: 90rem;
  --brand-container-narrow: 48rem;
  --brand-container-gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --brand-motion-fast: 120ms;
  --brand-motion-base: 200ms;
  --brand-motion-slow: 320ms;
  --brand-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --brand-ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --brand-ease-exit: cubic-bezier(0.4, 0, 1, 1);
}
