/* Anti-Polish / Raw Aesthetic — 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=Gveret+Levin&family=Alef:wght@400;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #F2EEE3;
  --color-surface: #FAFAF6;
  --color-surface-2: #E6DAC2;
  --color-fg: #1A1A1A;
  --color-muted: #4A4A4A;
  --color-primary: #7A4E24;
  --color-on-primary: #FFFFFF;
  --color-accent: #C4A77D;
  --color-on-accent: #1A1A1A;
  --color-line: #4A4A4A;
  --color-success: #3F6B2A;
  --color-warning: #8A5A12;
  --color-danger: #A3261B;

  --font-display: "Gveret Levin", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Alef", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Alef", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 63px;
  --text-h1: 49px;
  --text-h2: 37px;
  --text-h3: 29px;

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

  --shadow-card: -2px 3px 0 rgba(26,26,26,0.14);
  --shadow-raised: -3px 5px 0 rgba(26,26,26,0.18);
  --shadow-button: none;
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    background-image: repeating-linear-gradient(97deg, rgba(74,74,74,0.025) 0 2px, transparent 2px 7px), repeating-linear-gradient(-3deg, rgba(122,78,36,0.03) 0 1px, transparent 1px 5px);
    background-attachment: fixed;
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.7;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.15;
  }
  :focus-visible { outline: 3px solid #7A4E24; outline-offset: 2px; }
}

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