/* weGym – brand colours on top of app.css (BRAND=wegym). Same layers, so the order is kept:
   a studio's own colour (/theme.css, unlayered) still wins over these defaults. */

@layer tokens {
  :root {
    --bg: #f5f6f2;
    --surface: #ffffff;
    --surface-2: #f1f3ee;
    --surface-3: #e8ebe3;
    --border: #e1e5dc;
    --border-strong: #cdd3c5;
    --text: #141813;
    --text-2: #535b50;
    --text-3: #858c80;
    /* lime green with dark text on buttons; a darker green for links on white */
    --accent: #74d13f;
    --accent-hover: #63bd32;
    --accent-soft: #edf9e5;
    --accent-text: #0e1509;
    --accent-ink: #2e6b12;
    --shadow-sm: 0 1px 2px rgb(20 24 19 / .06);
    --shadow: 0 1px 2px rgb(20 24 19 / .05), 0 4px 16px rgb(20 24 19 / .06);
    --shadow-lg: 0 10px 40px rgb(20 24 19 / .18);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0f110e;
      --surface: #161915;
      --surface-2: #1c201a;
      --surface-3: #252a22;
      --border: #2a3027;
      --border-strong: #3a4236;
      --text: #eef1ea;
      --text-2: #b3baad;
      --text-3: #828a7c;
      --accent: #86dd55;
      --accent-hover: #9be56f;
      --accent-soft: #1f2d17;
      --accent-text: #0e1509;
      --accent-ink: #a9ec82;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0f110e; --surface: #161915; --surface-2: #1c201a; --surface-3: #252a22;
    --border: #2a3027; --border-strong: #3a4236; --text: #eef1ea; --text-2: #b3baad; --text-3: #828a7c;
    --accent: #86dd55; --accent-hover: #9be56f; --accent-soft: #1f2d17; --accent-text: #0e1509; --accent-ink: #a9ec82;
  }
}

/* same layers as the rules they replace (layout: .brand-mark, components: .auth) */
@layer layout {
  .brand-mark { background: linear-gradient(135deg, #8be04f, #2f9e4c); color: #0e1509; }
}
@layer components {
  .auth { background:
      radial-gradient(1200px 600px at 10% -10%, color-mix(in oklab, #74d13f 18%, transparent), transparent 60%),
      radial-gradient(900px 500px at 110% 110%, color-mix(in oklab, #1f9d55 12%, transparent), transparent 60%), var(--bg); }
}
