/* Tonal Expressive — Tailwind CSS v4 theme, Hebrew / RTL.
   Put this in your main CSS file (instead of a bare @import "tailwindcss").
   In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&family=Rubik:wght@400;500&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #FDF8FF;
  --color-surface: #F4ECFA;
  --color-surface-2: #EADDFF;
  --color-fg: #1D1A24;
  --color-muted: #4F4859;
  --color-primary: #6A3FD0;
  --color-on-primary: #FFFFFF;
  --color-accent: #FFD8E8;
  --color-on-accent: #5A1238;
  --color-line: #CEC3DA;
  --color-success: #1E7A45;
  --color-warning: #875D00;
  --color-danger: #B3261E;

  --font-display: "M PLUS Rounded 1c", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 59px;
  --text-h1: 46px;
  --text-h2: 35px;
  --text-h3: 27px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-button: 20px;
  --radius-input: 20px;

  --shadow-card: none;
  --shadow-raised: -2px 6px 18px rgba(106,63,208,0.14);
  --shadow-button: none;
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.6;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
  }
  :focus-visible { outline: 3px solid #6A3FD0; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[0px] border-line rounded-lg shadow-card p-6
   button:  bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
