/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOYFFlKp.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* math */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrJ8FFlKp.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrI0FFlKp.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrO0FFlKp.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOMFFg.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOYFFlKp.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* math */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrJ8FFlKp.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrI0FFlKp.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrO0FFlKp.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOMFFg.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOYFFlKp.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* math */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrJ8FFlKp.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrI0FFlKp.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrO0FFlKp.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/notokufi-CSRk4ydQnPyaDxEXLFF6LZVLKrodrOMFFg.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }
html.hf-dark { background: #0a0a0e; color-scheme: dark; }

/* ---- Brand shell: the page background in HORUSFORGE colours ---- */
.hf-shell {
    --hf-accent: #6b7d00;
    --hf-band-accent: #c6ff00;
    --hf-glow-1: rgba(198, 255, 0, 0.32);
    --hf-glow-2: rgba(255, 90, 31, 0.16);
    --hf-grid: rgba(77, 53, 51, 0.045);
    --hf-band: #0b0b10;
    --hf-band-line: rgba(198, 255, 0, 0.16);
    --hf-surface: rgba(255, 255, 255, 0.7);
    position: relative;
    min-height: 100vh;
    background-color: var(--ds-page);
    background-image:
        radial-gradient(900px 540px at 0% 0%, var(--hf-glow-1), transparent 70%),
        radial-gradient(780px 460px at 100% 0%, var(--hf-glow-2), transparent 68%),
        radial-gradient(900px 720px at 50% 100%, var(--hf-glow-1), transparent 78%);
    background-repeat: no-repeat;
    color: var(--ds-ink);
    transition: background-color 260ms ease, color 260ms ease;
}
.hf-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hf-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--hf-grid) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(130% 85% at 50% 0%, #000 0%, transparent 76%);
    mask-image: radial-gradient(130% 85% at 50% 0%, #000 0%, transparent 76%);
    pointer-events: none;
}
.hf-shell .file-card { position: relative; z-index: 1; background: transparent; }

/* Dark mode: brand black surface, lime as the accent */
.hf-shell.hf-dark {
    --ds-background-1: #16161d;
    --ds-background-2: #0a0a0e;
    --ds-background-3: #33333d;
    --ds-muted: #14141a;
    --ds-page: #0a0a0e;
    --ds-white: #16161d;
    --ds-raised: #14141a;
    --ds-ink: #f4f4f6;
    --ds-ink-2: rgba(244, 244, 246, 0.72);
    --ds-ink-3: rgba(244, 244, 246, 0.5);
    --ds-ink-4: rgba(244, 244, 246, 0.3);
    --ds-foreground-1: #f4f4f6;
    --ds-foreground-2: rgba(244, 244, 246, 0.72);
    --ds-foreground-3: rgba(244, 244, 246, 0.5);
    --ds-foreground-4: rgba(244, 244, 246, 0.24);
    --ds-foreground-5: rgba(244, 244, 246, 0.07);
    --ds-fg1: #f4f4f6;
    --ds-fg2: rgba(244, 244, 246, 0.72);
    --ds-fg3: rgba(244, 244, 246, 0.5);
    --ds-fg4: rgba(244, 244, 246, 0.24);
    --ds-fg5: rgba(244, 244, 246, 0.07);
    --ds-bg1: #16161d;
    --ds-bg2: #0a0a0e;
    --ds-bg3: #33333d;
    --ds-hairline: rgba(244, 244, 246, 0.13);
    --ds-border: rgba(244, 244, 246, 0.24);
    --ds-primary: #f4f4f6;
    --ds-on-primary: #0a0a0e;
    --ds-teal: #c6ff00;
    --ds-success: #c6ff00;
    --ds-success-wash: rgba(198, 255, 0, 0.12);
    --ds-hover: rgba(255, 255, 255, 0.06);
    --ds-hover-strong: rgba(255, 255, 255, 0.12);
    --ds-scrim: rgba(0, 0, 0, 0.65);
    --ds-shadow-control: 0 1px 2px rgba(0, 0, 0, 0.55);
    --ds-ring: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --hf-accent: #c6ff00;
    --hf-glow-1: rgba(198, 255, 0, 0.13);
    --hf-glow-2: rgba(255, 90, 31, 0.11);
    --hf-grid: rgba(255, 255, 255, 0.035);
    --hf-band: #101017;
    --hf-band-line: rgba(198, 255, 0, 0.2);
    --hf-surface: rgba(255, 255, 255, 0.04);
    color-scheme: dark;
}

.file-nav { display: flex; flex-wrap: wrap; gap: 20px; border-bottom: 1px solid var(--ds-hairline); }
.file-nav a { padding: 10px 0; color: var(--ds-ink-2); text-decoration: none; }
.file-nav a[aria-current="page"] { color: var(--ds-ink); box-shadow: inset 0 -2px 0 var(--hf-accent); }
@media (max-width: 600px) { .file-nav a { display: inline-flex; align-items: center; min-height: 44px; } }

/* top bar with brand, language switch and theme switch */
.hf-topbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.hf-brand { margin: 0; font-weight: 800; letter-spacing: 3px; font-size: 18px; color: var(--ds-ink); }
.hf-brand span { color: var(--hf-accent); }
.hf-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }

/* Chosen control (language, goal, activity): brand lime in both themes */
.hf-shell .file-button[aria-pressed="true"] { background: #c6ff00; border-color: #c6ff00; color: #0b0b10; }
.hf-shell .file-button[aria-pressed="true"]:hover { background: #d2ff3d; border-color: #d2ff3d; color: #0b0b10; }

.hf-mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ds-hairline);
    border-radius: 999px;
    background: var(--ds-white);
    color: var(--ds-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hf-mode:hover { border-color: var(--hf-accent); color: var(--hf-accent); }
.hf-mode:focus-visible { outline: 2px solid var(--hf-accent); outline-offset: 2px; }
.hf-mode svg { width: 16px; height: 16px; flex: none; }

/* hero */
.hf-hero { position: relative; border-radius: 16px; overflow: hidden; background: #0b0b10; border: 1px solid var(--hf-band-line); margin-bottom: 24px; }
.hf-hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .55; }
.hf-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,16,.25), rgba(11,11,16,.92)); }
.hf-hero-content { position: relative; padding: 44px 22px 36px; text-align: center; color: #f4f4f6; }
.hf-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: 1px; color: #c6ff00; text-transform: uppercase; }
.hf-wordmark { margin: 0; font-size: clamp(38px, 10vw, 64px); font-weight: 800; letter-spacing: 6px; color: #fff; line-height: 1.1; }
.hf-wordmark span { color: #c6ff00; }
.hf-tagline { margin: 10px 0 0; font-size: clamp(17px, 4.5vw, 22px); font-weight: 700; color: #ff5a1f; }
.hf-sub { margin: 12px auto 0; max-width: 560px; font-size: 14px; line-height: 1.9; color: #d9d9de; }
.hf-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.hf-cta { background: #c6ff00 !important; color: #0b0b10 !important; font-weight: 700; border-radius: 999px; padding: 10px 22px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hf-cta-ghost { background: transparent !important; color: #c6ff00 !important; box-shadow: inset 0 0 0 1.5px #c6ff00; }

/* stats band */
.hf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 28px; }
.hf-stat {
    background-color: var(--hf-band);
    background-image: radial-gradient(140% 160% at 0% 0%, rgba(198, 255, 0, 0.14), transparent 60%);
    border: 1px solid var(--hf-band-line);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
}
.hf-stat-v { margin: 0; font-size: 24px; font-weight: 800; color: var(--hf-band-accent); }
.hf-stat-l { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #b9b9c0; }
@media (max-width: 560px) { .hf-stats { grid-template-columns: repeat(2, 1fr); } }

/* pillar cards */
.hf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hf-card {
    border: 1px solid var(--ds-hairline);
    border-radius: 14px;
    padding: 16px 14px;
    background: var(--hf-surface);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hf-card-icon { margin: 0; font-size: 22px; font-weight: 800; color: var(--hf-accent); letter-spacing: 1px; }
.hf-card-t { margin: 8px 0 4px; font-weight: 700; font-size: 15px; color: var(--ds-ink); }
.hf-card-x { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ds-ink-2); }
@media (max-width: 680px) { .hf-cards { grid-template-columns: 1fr; } }

.hf-fig { margin: 0 0 12px; }
.hf-fig img { width: 100%; border-radius: 12px; display: block; }
.hf-more { font-weight: 600; font-size: 14px; color: var(--ds-ink); text-decoration: none; }

/* book band */
.hf-book, .hf-contact {
    background-color: var(--hf-band);
    background-image:
        radial-gradient(120% 160% at 0% 0%, rgba(198, 255, 0, 0.16), transparent 58%),
        radial-gradient(110% 150% at 100% 100%, rgba(255, 90, 31, 0.14), transparent 60%);
    border: 1px solid var(--hf-band-line);
    border-radius: 16px;
    padding: 28px 22px;
    margin: 28px 0;
    color: #f4f4f6;
}
.hf-contact { text-align: center; }
.hf-book-h { margin: 6px 0 8px; font-size: clamp(19px, 5vw, 24px); font-weight: 800; color: #fff; }
.hf-book-x { margin: 0 0 10px; font-size: 14px; line-height: 1.9; color: #d9d9de; }
.hf-book-list { margin: 0 0 18px; padding-inline-start: 20px; font-size: 14px; line-height: 2; color: #e8e8ec; }
.hf-book-list li::marker { color: var(--hf-band-accent); }
.hf-contact .hf-ctas { margin-top: 14px; }

/* program phases */
.hf-phase { border: 1px solid var(--ds-hairline); border-inline-start: 3px solid var(--hf-accent); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.hf-phase-n { margin: 0; font-weight: 800; font-size: 15px; color: var(--ds-ink); }
.hf-phase-w { margin: 2px 0 8px; font-size: 13px; color: var(--ds-ink-2); }
.hf-split { border: 1px solid var(--ds-hairline); border-radius: 12px; overflow: hidden; }
.hf-split-row { display: flex; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--ds-hairline); align-items: baseline; }
.hf-split-row:last-child { border-bottom: 0; }
.hf-split-d { margin: 0; font-weight: 700; font-size: 13.5px; color: var(--ds-ink); min-width: 62px; }
.hf-split-f { margin: 0; font-size: 13.5px; color: var(--ds-ink-2); }

/* articles */
.hf-art { border-bottom: 1px solid var(--ds-hairline); padding: 4px 0; }
.hf-art summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ds-ink); }
.hf-tag { font-size: 12px; color: var(--hf-accent); font-weight: 700; }

.hf-footer-cta { display: flex; justify-content: center; margin: 26px 0 6px; }
.hf-wordmark { white-space: nowrap; font-size: clamp(26px, 8vw, 64px); letter-spacing: clamp(2px, 1.2vw, 6px); }

/* ---------- design tokens (light) ---------- */
:root {
    --ds-page: #fdfcfb;
    --ds-white: #ffffff;
    --ds-raised: #ffffff;
    --ds-muted: #f4f1ef;
    --ds-ink: #14120f;
    --ds-ink-2: rgba(20, 18, 15, 0.74);
    --ds-ink-3: rgba(20, 18, 15, 0.52);
    --ds-ink-4: rgba(20, 18, 15, 0.32);
    --ds-hairline: rgba(20, 18, 15, 0.12);
    --ds-border: rgba(20, 18, 15, 0.22);
    --ds-teal: #6b7d00;
    --ds-success: #4b7a00;
    --ds-success-wash: rgba(198, 255, 0, 0.16);
    --ds-hover: rgba(20, 18, 15, 0.04);
    --ds-ring: 0 0 0 1px rgba(20, 18, 15, 0.06);
    --ds-shadow-control: 0 1px 2px rgba(20, 18, 15, 0.08);
    --hf-accent: #6b7d00;
    --hf-surface: rgba(255, 255, 255, 0.7);
    --hf-band-line: rgba(198, 255, 0, 0.22);
    --hf-band-accent: #c6ff00;
    --hf-band: #0b0b10;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ds-ink);
    background: var(--ds-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--hf-accent); outline-offset: 2px; }

/* ---------- page frame ---------- */
.file-card {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 26px 22px 44px;
}

/* ---------- sections ---------- */
.file-group { margin: 30px 0; }
.file-label {
    margin: 0 0 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hf-accent);
}
.file-heading {
    margin: 0 0 12px;
    font-size: clamp(20px, 4.6vw, 26px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--ds-ink);
}
.file-p {
    margin: 0 0 13px;
    font-size: 15px;
    line-height: 1.95;
    color: var(--ds-ink-2);
}
.file-key {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.85;
    color: var(--ds-ink);
}
.file-bullets {
    margin: 0 0 14px;
    padding-inline-start: 22px;
    font-size: 14.5px;
    line-height: 2.05;
    color: var(--ds-ink-2);
}
.file-bullets li { margin-bottom: 2px; }
.file-bullets li::marker { color: var(--hf-accent); }
.file-closing {
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ds-hairline);
    font-size: 12.5px;
    line-height: 1.9;
    text-align: center;
    color: var(--ds-ink-3);
}

/* ---------- callout ---------- */
.file-callout {
    margin: 16px 0;
    padding: 13px 15px;
    border: 1px solid var(--ds-hairline);
    border-inline-start: 3px solid var(--hf-accent);
    border-radius: 12px;
    background: var(--hf-surface);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.file-callout.is-warning { border-inline-start-color: #ff5a1f; }
.file-callout-t {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ds-ink);
}
.file-callout-x {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--ds-ink-2);
}

/* ---------- facts ---------- */
.file-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.file-fact {
    border: 1px solid var(--ds-hairline);
    border-radius: 12px;
    padding: 10px 13px;
    background: var(--hf-surface);
}
.file-fact dt {
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--ds-ink-3);
}
.file-fact dd {
    margin: 3px 0 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ds-ink);
}

/* ---------- buttons and choices ---------- */
.file-button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--ds-hairline);
    border-radius: 999px;
    background: var(--ds-white);
    color: var(--ds-ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.file-button:hover { border-color: var(--hf-accent); }
.file-button:active { transform: translateY(1px); }
.file-button.is-primary {
    background: #c6ff00;
    border-color: #c6ff00;
    color: #0b0b10;
    font-weight: 800;
}
.file-button.is-primary:hover { background: #d2ff3d; border-color: #d2ff3d; }
.file-button.is-compact { min-height: 40px; padding: 0 15px; font-size: 13px; }

.file-choice { margin: 0 0 16px; }
.file-choice-l {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ds-ink-3);
}
.file-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- sliders ---------- */
.file-slider { margin: 0 0 14px; }
.file-slider-l {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-ink);
}
.file-slider-row { display: flex; align-items: center; gap: 14px; }
.file-slider-row input[type='range'] {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    margin: 0;
    accent-color: var(--hf-accent);
    background: transparent;
    cursor: pointer;
}
.file-slider-row output {
    flex: none;
    min-width: 76px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: end;
    color: var(--ds-ink-2);
}

.file-hover-underline { text-decoration: none; }
.file-hover-underline:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
