@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/alexandria-arabic.9b492f0308c8.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200F,U+2010,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/alexandria-latin.106e7890fb01.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex-arabic-400.b88ccd3247d2.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200F,U+2010,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex-latin-400.d431f94c0b9f.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex-arabic-600.597b7873fee3.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200F,U+2010,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex-latin-600.58d827ef695d.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root, .identity-palette[data-theme="light"] {
  --bg: #F5F7FD;
  --surface: #FFFFFF;
  --surface-2: #EAEEFB;
  --border: #D5DBF0;
  --border-strong: #737DAE;
  --text: #0A1030;
  --text-muted: #47507A;
  --primary: #2742E0;
  --on-primary: #FFFFFF;
  --link: #2339C4;
  --cta: #2742E0;
  --on-cta: #FFFFFF;
  --lime: #C9F73A;
  --on-lime: #0A1030;
  --accent: #B93815;
  --on-accent: #FFFFFF;
  --success: #0B7A4B;
  --warning: #8A5300;
  --danger: #C01F3C;
  --info: #06688F;
  --focus: #2742E0;
  --cta-hover: #1F33B8;
  --cta-active: #192A99;
  --disabled-bg: #EAEEFB;
  --disabled-text: #47507A;
  --success-soft: #E6F5EC;
  --warning-soft: #FFF0D3;
  --danger-soft: #FDEBF0;
  --info-soft: #E2F4FC;
  --chart-in: #2742E0;
  --chart-out: #B93815;
  --hero-bg: #E8EDFB;
  --hero-ink: #0A1030;
  --story: #2339C4;
  --story-ink: #FFFFFF;
  --story-muted: #F3F5FF;
  --shadow-color: #101C481A;
  color-scheme: light;

}
html[data-theme="dark"], .identity-palette[data-theme="dark"] {
  --bg: #070B1A;
  --surface: #0F1630;
  --surface-2: #18214A;
  --border: #2A366B;
  --border-strong: #6673B5;
  --text: #F3F5FF;
  --text-muted: #AAB4DC;
  --primary: #3D5BF5;
  --on-primary: #FFFFFF;
  --link: #8FA4FF;
  --cta: #C9F73A;
  --on-cta: #0A1030;
  --lime: #C9F73A;
  --on-lime: #0A1030;
  --accent: #FF7A59;
  --on-accent: #1A0A05;
  --success: #3DDC97;
  --warning: #FFC247;
  --danger: #FF6B7D;
  --info: #4CCBFF;
  --focus: #C9F73A;
  --cta-hover: #D9FF68;
  --cta-active: #A9D526;
  --disabled-bg: #18214A;
  --disabled-text: #AAB4DC;
  --success-soft: #102A2D;
  --warning-soft: #332621;
  --danger-soft: #371C30;
  --info-soft: #132E48;
  --chart-in: #8FA4FF;
  --chart-out: #FF7A59;
  --hero-bg: #091026;
  --hero-ink: #F3F5FF;
  --story: #18214A;
  --story-ink: #F3F5FF;
  --story-muted: #D5DBF0;
  --shadow-color: #02040C66;
  color-scheme: dark;
}

:root, html[data-theme="dark"], .identity-palette[data-theme] {
  --paper: #FFFFFF;
  --paper-text: #0A1030;
  --backdrop: color-mix(in srgb, #070B1A 73%, transparent);
  --panel: var(--surface);
  --ink: var(--text);
  --muted: var(--text-muted);
  --line: var(--border);
  --soft: var(--surface-2);
  --brand: var(--link);
  --nav: var(--surface);
  --navink: var(--text);
  --shadow: 0 16px 45px var(--shadow-color);
  --radius: 14px;
  --container: 1280px;
  --gutter: clamp(16px, 4.2vw, 72px);
  --ease: 190ms ease-out;
}
