/* AllPlayCoach — design tokens
   Generated from the Figma design system (Diamond Coach — Design System, page "Logo 2").
   Figma is the source of truth. Do not hand-edit values here; regenerate. */

:root {
  /* ---- brand ---- */
  --apc-brand:            #0e7c66;
  --apc-brand-strong:     #0a6151;
  --apc-brand-soft:       #daf1ea;
  --apc-accent:           #f2792b;
  --apc-accent-soft:      #ffe7d4;
  /* brand as it must appear ON a dark ground — never reuse --apc-brand there */
  --apc-brand-on-dark:    #1aa98b;

  /* ---- surfaces & text (light) ---- */
  --apc-bg:               #f4f7f6;
  --apc-surface:          #ffffff;
  --apc-surface-2:        #eef2f1;
  --apc-surface-sunken:   #e7edeb;
  --apc-text:             #10221d;
  --apc-text-muted:       #5a6b66;
  --apc-text-faint:       #8a9793;
  --apc-text-on-brand:    #ffffff;
  --apc-text-on-accent:   #3a1a05;
  --apc-border:           #dde5e2;
  --apc-border-strong:    #c3cfcb;
  --apc-focus-ring:       #1f9d55;

  /* ---- status ---- */
  --apc-success:          #1f9d55;
  --apc-success-soft:     #d8f3e3;
  --apc-warning:          #e8a400;
  --apc-warning-soft:     #fdefc9;
  --apc-danger:           #dc3b3b;
  --apc-danger-soft:      #fbe0e0;
  --apc-info:             #2c7be5;
  --apc-info-soft:        #dcebfd;

  /* ---- type ---- */
  --apc-font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system,
              "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --apc-size-xs: 13px;  --apc-size-sm: 15px;  --apc-size-md: 17px;
  --apc-size-lg: 20px;  --apc-size-xl: 24px;  --apc-size-2xl: 30px;
  --apc-size-3xl: 38px; --apc-size-4xl: 48px;
  --apc-weight-regular: 500; --apc-weight-medium: 600;
  --apc-weight-bold: 700;    --apc-weight-heavy: 800;

  /* ---- print ----
     Ink and paper, not a theme. The league offer is printed for a board
     meeting, and on paper there is no dark mode to respect: black on white is
     what a printer does well and what a reader expects. Here rather than in
     style.css so every colour in this design system still lives in one file. */
  --apc-ink: #000;
  --apc-paper: #fff;

  /* ---- spacing (4px base) ---- */
  --apc-space-1: 4px;  --apc-space-2: 8px;  --apc-space-3: 12px;
  --apc-space-4: 16px; --apc-space-5: 20px; --apc-space-6: 24px;
  --apc-space-7: 32px; --apc-space-8: 40px; --apc-space-9: 56px;
  --apc-space-10: 72px;

  /* ---- radius ---- */
  --apc-radius-sm: 8px;  --apc-radius-md: 14px; --apc-radius-lg: 20px;
  --apc-radius-xl: 28px; --apc-radius-pill: 999px;

  /* ---- tap targets (the app is used on a sideline, in gloves, in the sun) ---- */
  --apc-tap-min: 48px; --apc-tap-comfortable: 56px; --apc-tap-large: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --apc-brand:          #1aa98b;
    --apc-brand-strong:   #109078;
    --apc-brand-soft:     #113029;
    --apc-accent:         #ff8b41;
    --apc-accent-soft:    #3a2414;
    --apc-bg:             #0d1411;
    --apc-surface:        #161f1b;
    --apc-surface-2:      #1f2b26;
    --apc-surface-sunken: #0f1613;
    --apc-text:           #ebf2ef;
    --apc-text-muted:     #a4b4ae;
    --apc-text-faint:     #6f817b;
    --apc-text-on-brand:  #04140f;
    --apc-text-on-accent: #2a1405;
    --apc-border:         #2a3833;
    --apc-border-strong:  #3c4f48;
    --apc-focus-ring:     #33c07a;
    --apc-success:        #33c07a; --apc-success-soft: #103322;
    --apc-warning:        #f2b52e; --apc-warning-soft: #382c0a;
    --apc-danger:         #f36d6d; --apc-danger-soft:  #3a1a1a;
    --apc-info:           #5aa2f2; --apc-info-soft:    #12233a;
  }
}
:root[data-theme="dark"] {
  --apc-brand:#1aa98b; --apc-brand-strong:#109078; --apc-brand-soft:#113029;
  --apc-accent:#ff8b41; --apc-accent-soft:#3a2414;
  --apc-bg:#0d1411; --apc-surface:#161f1b; --apc-surface-2:#1f2b26; --apc-surface-sunken:#0f1613;
  --apc-text:#ebf2ef; --apc-text-muted:#a4b4ae; --apc-text-faint:#6f817b;
  --apc-text-on-brand:#04140f; --apc-text-on-accent:#2a1405;
  --apc-border:#2a3833; --apc-border-strong:#3c4f48; --apc-focus-ring:#33c07a;
  --apc-success:#33c07a; --apc-success-soft:#103322;
  --apc-warning:#f2b52e; --apc-warning-soft:#382c0a;
  --apc-danger:#f36d6d;  --apc-danger-soft:#3a1a1a;
  --apc-info:#5aa2f2;    --apc-info-soft:#12233a;
}
