@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/alexandria-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}

@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/alexandria-latin.woff2") format("woff2");
  unicode-range: U+0000-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2191-2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --color-brand: #ffc400;
  --color-brand-soft: #ffd84a;
  --color-brand-deep: #e5ae00;
  --color-black: #090909;
  --color-ink: #111111;
  --color-page: #f4f4f1;
  --color-dashboard: #f3f4f6;
  --color-surface: #ffffff;
  --color-surface-muted: #ecece7;
  --color-muted: #6e6e67;
  --color-border: rgba(17, 17, 17, 0.1);
  --color-success: #15966a;
  --color-warning: #d57a18;
  --color-danger: #d64545;
  --color-cyan: #31d5df;

  --font-public: "Alexandria", "Tahoma", sans-serif;
  --font-admin: "Alexandria", "Tahoma", sans-serif;
  --font-writer: "Alexandria", "Tahoma", sans-serif;

  --radius-sm: 0.875rem;
  --radius-md: 1.375rem;
  --radius-lg: 1.875rem;
  --radius-dashboard: 1.25rem;
  --shadow-soft: 0 1.5rem 4.375rem rgba(0, 0, 0, 0.09);
  --container: 77.5rem;
  --sidebar-width: 17.75rem;
  --header-height: 5.125rem;
  --transition-fast: 180ms ease;
  --transition-default: 260ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

body {
  min-height: 100vh;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}


body {
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-public);
  line-height: 1.75;
}

/* Branded page scrollbar. */
html {
  scrollbar-width: thin;
  scrollbar-color: #e4b72f #121210;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #0c0c0b, #1a1915);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html::-webkit-scrollbar-thumb {
  min-height: 56px;
  border: 3px solid #121210;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe16e 0%, #ffc400 45%, #c89100 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 12px rgba(255, 196, 0, 0.24);
}

html::-webkit-scrollbar-thumb:hover {
  border-width: 2px;
  background: linear-gradient(180deg, #fff0a6 0%, #ffd33d 48%, #dca400 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 196, 0, 0.42);
}

html::-webkit-scrollbar-corner {
  background: #121210;
}

html,
body,
button,
input,
textarea,
select {
  font-family: "Alexandria", "Tahoma", sans-serif;
}

body {
  font-weight: 300;
}

body :where(h1, h2, h3, h4, h5, h6, strong, b) {
  font-weight: 500 !important;
}

body :where(a, button, label, input, textarea, select, .button, .status-pill) {
  font-weight: 400 !important;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--color-brand);
  color: var(--color-black);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 800;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}

.button-primary {
  background: var(--color-brand);
  color: var(--color-black);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.13);
  color: #8a6900;
  font-size: 0.75rem;
  font-weight: 800;
}

.status-pill::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 45rem) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }
}

