@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/ibm-plex-sans-arabic-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Amiri Display";
  src: url("fonts/amiri-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Amiri Display";
  src: url("fonts/amiri-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  --ink: #1c1915;
  --muted: #5e584e;
  --paper: #f4efe6;
  --card: #fbf7f0;
  --line: rgba(28, 25, 21, 0.14);
  --press: #161311;
  --red: #c5342c;
  --serif: "Amiri Display", "Noto Naskh Arabic", serif;
  --sans: "Plex Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.85;
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid #e2b100;
  outline-offset: 3px;
}

.cmyk {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8px;
}

.cmyk i { display: block; }
.cmyk i:nth-child(1) { background: #00a3c8; }
.cmyk i:nth-child(2) { background: #d4145a; }
.cmyk i:nth-child(3) { background: #e2b100; }
.cmyk i:nth-child(4) { background: #1a1a1a; }

.mast {
  background: var(--press);
  color: #f6f1e7;
  padding-bottom: 2.6rem;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.brand small { color: rgba(246, 241, 231, 0.72); font-size: 0.78rem; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(246, 241, 231, 0.3);
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

#site-nav { display: flex; align-items: center; gap: 0.25rem; }

#site-nav a {
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: rgba(246, 241, 231, 0.78);
  font-weight: 500;
}

#site-nav a[aria-current="page"],
#site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero { padding-top: 1.2rem; }

.eyebrow {
  margin: 0;
  color: #e2b100;
  font-weight: 600;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.95;
  margin: 0.3rem 0 0.8rem;
}

.lede { max-width: 40rem; margin: 0; font-size: 1.18rem; color: rgba(246, 241, 231, 0.88); }

.section { padding: 2.8rem 0; }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.cards article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
  min-height: 180px;
}

.cards span {
  display: block;
  font-family: var(--serif);
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.cards h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.cards p { margin: 0; color: var(--muted); }

.steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.steps li {
  border-top: 3px solid var(--ink);
  padding-top: 0.7rem;
}

.steps strong { display: block; }

.note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border-inline-start: 4px solid var(--red);
}

.cross {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--press);
  color: #f6f1e7;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
}

.btn:hover { background: #3a342c; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-row p { margin: 0; }

@media (max-width: 900px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  #site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    background: #241f1b;
    padding: 0.5rem;
    z-index: 10;
  }

  #site-nav.is-open { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; }
}
