/* Warm AI 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&family=Rubik:wght@300;400;500&family=Cousine:wght@400;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #F6F2E9;
  --color-surface: #FBF8F2;
  --color-surface-2: #EFE9DC;
  --color-fg: #2B2620;
  --color-muted: #675E52;
  --color-primary: #B04E2C;
  --color-on-primary: #FFFFFF;
  --color-accent: #4E6A58;
  --color-on-accent: #FFFFFF;
  --color-line: #E2D9C8;
  --color-success: #3D7046;
  --color-warning: #9A6210;
  --color-danger: #A8322A;

  --font-display: "Libertinus Serif", "Times New Roman", serif;
  --font-sans: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "Cousine", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 46px;
  --text-h1: 38px;
  --text-h2: 31px;
  --text-h3: 25px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-button: 12px;
  --radius-input: 12px;

  --shadow-card: -1px 2px 6px rgba(60,45,30,0.05);
  --shadow-raised: -2px 8px 24px rgba(60,45,30,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.75;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 1.25;
  }
  :focus-visible { outline: 3px solid #B04E2C; 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 */
