:root {
  color-scheme: light;
  color: #20231f;
  background: #f6f5f0;
  font:
    18px/1.65 system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(880px, calc(100% - 40px));
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #c8cdc4;
}
nav,
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
a {
  color: #216454;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
main {
  padding: 44px 0 64px;
  min-height: 65vh;
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
h2 {
  line-height: 1.25;
  margin-top: 36px;
}
p,
li {
  max-width: 72ch;
}
.lead {
  font-size: 22px;
}
.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f594b;
}
.tags {
  font-size: 15px;
  color: #4f594b;
}
article,
aside {
  padding: 12px 0 24px;
  border-top: 1px solid #c8cdc4;
}
li {
  margin: 10px 0;
}
figure {
  margin: 24px 0;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figcaption {
  font-size: 14px;
  margin-top: 8px;
}
footer {
  border-top: 1px solid #c8cdc4;
  padding: 24px 0;
  align-items: center;
  font-size: 14px;
}
:focus-visible {
  outline: 3px solid #216454;
  outline-offset: 5px;
}
.skip {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-150%);
  background: #fff;
  padding: 12px;
}
.skip:focus {
  transform: translateY(0);
}
@media (max-width: 600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  main {
    padding-top: 24px;
  }
  .lead {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media print {
  header,
  footer,
  .skip,
  aside {
    display: none;
  }
  body {
    background: #fff;
  }
  main {
    width: 100%;
    padding: 0;
  }
  h1 {
    font-size: 32px;
  }
  a {
    color: inherit;
  }
  article {
    break-inside: avoid;
  }
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2");
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2");
}
:root {
  --paper: #f4f1e9;
  --ink: #202e29;
  --muted: #59665e;
  --line: #d5d8ce;
  --accent: #216454;
  --surface: #faf8f2;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}
:root[data-theme="dark"] {
  --paper: #172321;
  --ink: #f1f0e9;
  --muted: #b3c0b9;
  --line: #3d504a;
  --accent: #8dd2c0;
  --surface: #20312c;
  color-scheme: dark;
}
body {
  background: inherit !important;
  color: inherit !important;
}
html body a {
  color: var(--accent);
}
html body .dates,
.eyebrow,
.tags {
  color: var(--muted);
}
header,
footer,
article,
aside {
  border-color: var(--line);
}
.skip {
  background: var(--surface);
}
:focus-visible {
  outline-color: var(--accent);
}
button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 6px 12px;
  cursor: pointer;
}
html[lang="ar"] {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.9;
}
html[lang="ar"] :is(h1, h2, h3) {
  letter-spacing: 0;
  line-height: 1.5;
}
html[lang="ar"] .eyebrow {
  letter-spacing: 0;
}
html[lang="ar"] body {
  font-family: inherit;
  font-size: 18px;
}
@media print {
  #theme-toggle {
    display: none;
  }
  :root,
  :root[data-theme="dark"] {
    --paper: #fff;
    --ink: #111;
    --muted: #333;
    --accent: #111;
    color-scheme: light;
  }
}
