/* Bento Grid — 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=Rubik:wght@400;500;700;800&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #EFEDE8;
  --color-surface: #FFFFFF;
  --color-surface-2: #F5F3EF;
  --color-fg: #18181B;
  --color-muted: #52525B;
  --color-primary: #18181B;
  --color-on-primary: #FFFFFF;
  --color-accent: #FF6B4A;
  --color-on-accent: #18181B;
  --color-line: #E4E1DA;
  --color-success: #15803D;
  --color-warning: #A16207;
  --color-danger: #C81E1E;

  --font-display: "Rubik", 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: 16px;
  --radius-lg: 28px;
  --radius-button: 16px;
  --radius-input: 16px;

  --shadow-card: 0 1px 2px rgba(24,24,27,0.04);
  --shadow-raised: 0 16px 40px rgba(24,24,27,0.10);
  --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.55;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  :focus-visible { outline: 3px solid #18181B; 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 */
