:root {

  --brand: #D4A24C;
  --brand-strong: #B9862E;
  --brand-soft: #E4BE7A;
  --brand-tint: rgba(212, 162, 76, 0.10);
  --brand-rgb: 212, 162, 76;
  /* Dark ink for text/icons placed on filled amber surfaces (buttons, badges) —
     white text on #D4A24C fails WCAG AA; this holds solid contrast instead. */
  --on-brand: #201603;

  --accent: #4FD1C5;
  --accent-soft: #7FE3D9;
  --accent-tint: rgba(79, 209, 197, 0.10);
  --accent-rgb: 79, 209, 197;
  --accent-ink: #0f4d47;

  --ink: #ECEAE4;
  --ink-soft: #C7C2B8;
  --muted: #8B8677;
  --line: rgba(236, 234, 228, 0.10);
  --line-soft: rgba(236, 234, 228, 0.06);
  --surface: #1E232B;
  --surface-2: #181C22;
  --surface-3: #262B33;

  --bg: #14171C;
  --bg-rgb: 20, 23, 28;

  --night: #0B0D10;
  --night-2: #14171C;
  --night-rgb: 11, 13, 16;

  --white: #FFFFFF;
  --white-rgb: 255, 255, 255;

  --ok: #4ADE80;
  --warn: #F59E0B;

  --font-head: "Space Grotesk Sub", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter Sub", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --radius-sm: 0.6rem;
  --radius: 0.95rem;
  --radius-lg: 1.4rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.44);

  --container: 1160px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --topbar-h: calc(4.6rem + var(--safe-top));

  --space-3xs: 0.25rem;
  --space-2xs: 0.375rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.5rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
