/* Atay — design tokens shared by every screen (app, onboarding, account, exercises). */

:root {
  /* Surfaces, from back to front */
  --surface-sunken: #EFE4D0;   /* wells: inputs, search, segmented track, info panels */
  --surface-base: #F6EEDF;     /* page */
  --surface-raised: #FCF8F0;   /* cards, options, grouped lists */
  --surface-hero: #14574F;     /* the one thing that matters on the screen */
  --surface-hero-deep: #0D453F;

  --line: #E8DCC0;             /* dividers inside a card */
  --line-strong: #E2D2AC;      /* tracks, empty states, dashed drop zones */

  --green: #14574F;
  --green-tint: #E3ECE6;
  --saffron: #C8902E;          /* rewards only: streak, badges, completion */
  --saffron-tint: #F5E6C8;
  --terracotta: #B4532A;       /* errors and destructive actions */
  --error: #B4532A;

  --ink: #2C2013;
  --ink-2: #5A4B38;
  --ink-3: #74644D;
  --cream: #FBF6EC;
  --cream-2: rgba(251, 246, 236, .78);

  /* Warm, soft elevation — never a hard drop */
  --shadow-1: 0 1px 2px rgba(60, 42, 20, .05), 0 2px 10px -2px rgba(60, 42, 20, .07);
  --shadow-2: 0 2px 4px rgba(60, 42, 20, .05), 0 10px 24px -6px rgba(60, 42, 20, .13);
  --shadow-hero: 0 4px 10px -2px rgba(13, 69, 63, .18), 0 18px 36px -12px rgba(13, 69, 63, .45);
  --shadow-cta: 0 6px 16px -8px rgba(13, 69, 63, .8);
  --shadow-inset: inset 0 1px 2px rgba(60, 42, 20, .08);
  --ring: inset 0 0 0 2px var(--green);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius-card: 20px;

  /* Type scale: 32 / 22 / 19 / 15 / 13 / 11 */
  --fs-title: 32px;
  --fs-heading: 22px;
  --fs-item: 19px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-label: 11px;

  /* Legacy names still used by the flow screens */
  --sand: var(--surface-base);
  --paper: var(--cream);
  --chip: var(--surface-sunken);
  --green-deep: var(--surface-hero-deep);
}
