/* Hirfa design tokens. Generated by hirfa/brand/source/tokens.py; change values there, not here. */
:root{
  /* brand constants (same in both themes) */
  --hirfa-usta-red:#C8281E;
  --hirfa-usta-red-deep:#A31F16;
  --hirfa-cream:#FFF3E0;
  --hirfa-ink:#3A0D0A;
  --hirfa-cap-yellow:#FFC145;
  --hirfa-workshop-green:#1A6B43;
  /* fonts */
  --font-display:'Reem Kufi','IBM Plex Sans Arabic',system-ui,sans-serif;
  --font-ui:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',sans-serif;
  /* type scale (mobile first) */
  --text-display:32px/44px;  --weight-display:700;
  --text-h1:26px/38px;  --weight-h1:700;
  --text-h2:21px/32px;  --weight-h2:600;
  --text-h3:18px/28px;  --weight-h3:600;
  --text-body-lg:17px/28px;  --weight-body-lg:400;
  --text-body:16px/26px;  --weight-body:400;
  --text-body-sm:14px/22px;  --weight-body-sm:400;
  --text-label:15px/22px;  --weight-label:600;
  --text-caption:13px/20px;  --weight-caption:500;
  --text-price:20px/28px;  --weight-price:600;
  /* spacing (4 px grid) and radius */
  --space-0:0px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:32px;
  --space-8:40px;
  --space-9:48px;
  --space-10:64px;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:24px;
  --radius-pill:999px;
  --tap-min:48px;
  --shadow-card:0 1px 2px rgba(58,13,10,.06),0 4px 14px rgba(58,13,10,.06);
  color-scheme:light;
  --bg:#FFF8EE;
  --surface:#FFFFFF;
  --sunk:#FFF3E0;
  --fg:#3A0D0A;
  --muted:#7A4A3E;
  --line:#EED9C4;
  --border:#A8806E;
  --primary:#C8281E;
  --primary-hover:#A31F16;
  --on-primary:#FFFFFF;
  --primary-tint:#FDE3DE;
  --on-primary-tint:#8E1C14;
  --accent:#FFC145;
  --on-accent:#3A0D0A;
  --accent-tint:#FFF0C7;
  --on-accent-tint:#3A0D0A;
  --success:#1A6B43;
  --success-tint:#DDF1E4;
  --danger:#A31F16;
  --danger-tint:#FDE3DE;
  --link:#B0231A;
  --focus:#3A0D0A;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#1C100D;
  --surface:#2A1813;
  --sunk:#22130F;
  --fg:#FFF3E0;
  --muted:#D2B5A5;
  --line:#4A2E25;
  --border:#8F6B5C;
  --primary:#FF6F5E;
  --primary-hover:#FF8A7A;
  --on-primary:#2A0805;
  --primary-tint:#4A1A14;
  --on-primary-tint:#FFC2B8;
  --accent:#FFC145;
  --on-accent:#3A0D0A;
  --accent-tint:#3D2A0C;
  --on-accent-tint:#FFD982;
  --success:#5FCB8E;
  --success-tint:#16301F;
  --danger:#FF8A7A;
  --danger-tint:#4A1A14;
  --link:#FF8A7A;
  --focus:#FFF3E0;
  --shadow-card:0 1px 2px rgba(0,0,0,.4);
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#1C100D;
  --surface:#2A1813;
  --sunk:#22130F;
  --fg:#FFF3E0;
  --muted:#D2B5A5;
  --line:#4A2E25;
  --border:#8F6B5C;
  --primary:#FF6F5E;
  --primary-hover:#FF8A7A;
  --on-primary:#2A0805;
  --primary-tint:#4A1A14;
  --on-primary-tint:#FFC2B8;
  --accent:#FFC145;
  --on-accent:#3A0D0A;
  --accent-tint:#3D2A0C;
  --on-accent-tint:#FFD982;
  --success:#5FCB8E;
  --success-tint:#16301F;
  --danger:#FF8A7A;
  --danger-tint:#4A1A14;
  --link:#FF8A7A;
  --focus:#FFF3E0;
  --shadow-card:0 1px 2px rgba(0,0,0,.4);
  color-scheme:dark;
}
