:root {
  /* Core palette — warm clay (existing brand) + sage accent (new, mental-wellness feel) */
  --primary: #c97d53;
  --primary-light: #e8a87c;
  --primary-dark: #a85d38;

  --secondary: #4f8577;
  --secondary-light: #7fae9e;
  --secondary-dark: #2f5548;

  --background: #f7f1e8;
  --background-alt: #f3e4d8;
  --white: #ffffff;
  --surface: #fffdf9;

  --heading: #3e3028;
  --text: #6f625a;
  --gray: #8c7a6f;
  --text-light: #a89a90;

  --border: #eee2d8;

  /* Semantic aliases for shared application roles. */
  --mindcheck-page-background: var(--background);
  --mindcheck-page-background-alt: var(--background-alt);
  --mindcheck-content-surface: var(--surface);
  --mindcheck-heading-text: var(--heading);
  --mindcheck-muted-text: var(--text);
  --mindcheck-warm-border: var(--border);
  --mindcheck-focus-color: var(--primary);
  --mindcheck-success-color: var(--secondary-dark);
  --mindcheck-warning-color: var(--primary-dark);
  --mindcheck-error-color: #9a5143;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow: 0 10px 30px rgba(46, 36, 32, 0.08);
  --shadow-hover: 0 20px 45px rgba(46, 36, 32, 0.16);
  --shadow-soft: 0 6px 18px rgba(46, 36, 32, 0.06);

  --gradient-hero:
    radial-gradient(
      circle at 18% 20%,
      rgba(201, 125, 83, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(79, 133, 119, 0.14),
      transparent 50%
    ),
    linear-gradient(180deg, #f7f1e8 0%, #f3e4d8 100%);
  --gradient-btn: linear-gradient(135deg, #4f8577 0%, #315e52 100%);
  --gradient-accent: linear-gradient(135deg, #4f8577 0%, #35594d 100%);

  --footer-bg: #24403a;
  --footer-text: #f3ede4;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Reusable line-art leaf shape, used as a CSS mask for corner decoration */
  --leaf-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160'%3E%3Cpath d='M60 8C25 30 8 70 20 115C32 150 55 152 60 152C65 152 88 150 100 115C112 70 95 30 60 8Z' fill='none' stroke='black' stroke-width='5'/%3E%3Cpath d='M60 20V145' fill='none' stroke='black' stroke-width='3.5'/%3E%3Cpath d='M60 55C50 60 42 68 38 78' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M60 85C50 90 42 98 38 108' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M60 55C70 60 78 68 82 78' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M60 85C70 90 78 98 82 108' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
