/* E-Ink / Paper — 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=Libertinus+Serif:wght@400;600;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #EFECE5;
  --color-surface: #F6F4EF;
  --color-surface-2: #E4E0D6;
  --color-fg: #1A1A1A;
  --color-muted: #4A4A4A;
  --color-primary: #1A1A1A;
  --color-on-primary: #F6F4EF;
  --color-accent: #3A3A3A;
  --color-on-accent: #F6F4EF;
  --color-line: #B9B3A6;
  --color-success: #2B2B2B;
  --color-warning: #3D3D3D;
  --color-danger: #1A1A1A;

  --font-display: "Libertinus Serif", "Times New Roman", serif;
  --font-sans: "Libertinus Serif", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "Libertinus Serif", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 45px;
  --text-h1: 37px;
  --text-h2: 31px;
  --text-h3: 26px;

  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-button: 2px;
  --radius-input: 2px;

  --shadow-card: none;
  --shadow-raised: none;
  --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.8;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
  }
  :focus-visible { outline: 3px solid #1A1A1A; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[1px] 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 border-[1px] border-primary
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
