@font-face {
  font-family: "MHMMD Arabic";
  src: url("noto-ar.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F;
}
@font-face {
  font-family: "MHMMD Arabic";
  src: url("noto-ar-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F;
}

:root {
  color-scheme: light;
  --ink: #171917;
  --paper: #f7f7f5;
  --line: #d7d7d2;
  --muted: #525652;
  --dark: #1c201e;
  --light: #f7f7f5;
  --secondary: #d0d4d0;
  --accent: #444a45;
  --gutter: clamp(18px, 5vw, 84px);
  --space: clamp(46px, 6vw, 94px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 "MHMMD Arabic", system-ui, sans-serif;
}
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.36; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.6rem, 3.05vw, 3rem); }
h3 { font-size: 1.08rem; }
p { overflow-wrap: anywhere; }
html[dir="ltr"] p { hyphens: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #555d56; outline-offset: 4px; }
.sr, .skip:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  inset: 0 auto auto 0;
  padding: 12px 20px;
  color: white;
  background: var(--dark);
}
.shell, .wrap { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { font-size: .875rem; font-weight: 700; color: var(--muted); margin-block-end: .7rem; }
.section-heading > p:not(.kicker) { color: var(--muted); margin-block-start: 1rem; max-width: 44ch; }
.button {
  background: var(--dark);
  color: var(--light);
  min-block-size: 48px;
  max-width: 100%;
  padding: .68rem 1.3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--dark);
  line-height: 1.45;
  font-size: .95rem;
  font-weight: 700;
}
.button:hover { background: #383b39; }
.text-link { padding: .3em 0; background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: .3em; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}
.header-inner { display: flex; gap: clamp(10px, 2vw, 26px); align-items: center; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(112px, 13vw, 178px); height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 30px); flex: 1; font-size: .9rem; }
.site-nav a { text-align: center; }
.site-nav a:hover, .text-link:hover { color: var(--accent); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
.languages { position: relative; }
.languages summary, .menu {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-block-size: 44px;
  padding: .35rem .7rem;
  border: 1px solid #777d77;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  list-style: none;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary::after { content: ""; width: .38rem; height: .38rem; border: solid; border-width: 0 1px 1px 0; transform: translateY(-.15rem) rotate(45deg); }
.languages div {
  position: absolute;
  inset-inline-end: 0;
  min-width: 150px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-block-start: .4rem;
  padding: .35rem;
}
.languages a { display: block; padding: .4rem .6rem; font-size: .9rem; }
.languages a:hover, .languages [aria-current] { background: #e9e9e6; }
.menu { display: none; }

.hero {
  --hero-pad: clamp(24px, 5vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  margin-block-start: clamp(16px, 3vw, 44px);
  background: var(--dark);
  color: var(--light);
}
.hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(29px, 4.2vw, 70px) var(--hero-pad);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.25vw, 4.4rem);
  line-height: 1.16;
  text-wrap: balance;
}
html[dir="ltr"] .hero h1 { font-size: clamp(2rem, 3.7vw, 4rem); }
.hero-activity {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-block-start: .7rem;
  color: var(--secondary);
  font-size: .95rem;
  font-weight: 700;
}
.hero-activity::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: #a4aca3;
  flex-shrink: 0;
}
.hero .lead {
  max-width: 49ch;
  margin-block: 1rem 1.5rem;
  color: #e0e4df;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.9;
}
.hero .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}
.hero .button:hover { border-color: #dcdfd8; background: #dcdfd8; }
.hero :focus-visible { outline-color: var(--light); }
.hero-visual {
  display: grid;
  min-width: 0;
  margin: 0;
  background: #e4e6e1;
}
.hero-image {
  position: relative;
  min-block-size: clamp(245px, 24vw, 365px);
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  filter: grayscale(.92);
}

.participation {
  position: relative;
  padding-block: clamp(36px, 5.5vw, 80px);
}
.participation-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: .75rem 2rem;
  margin-block-end: clamp(14px, 2vw, 26px);
}
.participation-heading p { color: var(--muted); max-width: 52ch; }
.model-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr) minmax(0, 1fr);
  list-style: none;
  padding: 0;
  border-block: 1px solid #a5a9a2;
}
.model-split > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(15px, 3vw, 38px);
}
.model-split h3 { margin: 0; }
.model-split p { color: var(--muted); margin-block-start: .58rem; max-width: 33ch; }
.model-split .model-share {
  order: -1;
  display: block;
  margin-block-end: .5rem;
  font-size: clamp(2.3rem, 5.6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.model-split .model-management {
  background: #e5e7e1;
  align-items: center;
  text-align: center;
  border-inline: 1px solid #aeb2ab;
}
.model-management img {
  order: -2;
  width: min(150px, 100%);
  height: 1.7rem;
  object-fit: contain;
  margin-block-end: .65rem;
}
.model-boundary { margin-block-start: .95rem; max-width: 88ch; color: var(--muted); font-size: .9rem; }
.site-footer { background: #e9ebe6; border-block-start: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-block: 22px; }
.footer-inner p { color: var(--muted); flex: 1; font-size: .9rem; }
.footer-inner .text-link { font-size: .9rem; }
.policy { padding-block: 60px; max-width: 800px; }
.policy h1 { font-size: clamp(1.7rem,4vw,3rem); margin-block: 1.5rem .75rem; }
.policy p + p { margin-block-start: 1rem; }

@media (min-width: 541px) {
  .model-split > li { align-items: center; text-align: center; }
  .model-split > li:not(.model-management)::before {
    content: "";
    order: -2;
    block-size: 2.35rem;
  }
}
@media (max-width: 880px) {
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    background: var(--paper);
    padding: .65rem var(--gutter);
    border-block-end: 1px solid var(--line);
  }
  .site-nav.open, .menu { display: block; }
  .site-nav a { display: block; text-align: start; padding: .65rem 0; }
  .header-inner { min-height: 62px; flex-wrap: wrap; padding-block: 7px; }
  .header-tools { flex-wrap: wrap; max-width: 100%; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: clamp(26px, 5vw, 46px); }
  .hero-image { min-block-size: 0; aspect-ratio: 16/9; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 18px; }
  .site-header { position: relative; }
  .participation-heading, .model-split { grid-template-columns: minmax(0, 1fr); }
  .model-split > li { padding: .95rem .8rem; }
  .model-split > li + li { border-block-start: 1px solid #aeb2ab; }
  .model-split .model-management { border-inline: 0; }
  .model-split .model-share { font-size: clamp(2rem, 12vw, 3rem); }
  .hero-image { aspect-ratio: 2 / 1; }
  .footer-inner .brand { flex: 1 1 100%; }
  .footer-inner p { flex: 1 1 100%; }
}
.legacy-anchor { position: absolute; inset-block-start: 0; inset-inline-start: 0; }

.r6-login { font-size: .875rem; font-weight: 700; text-underline-offset: .22em; }
.r6-types { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: .45rem 0; list-style: none; }
.r6-types li { padding: .15rem .65rem; border: 1px solid var(--line); font-size: .875rem; }
.r6-bridge { text-align: center; background: #e5e7e1; padding: 1rem; }
.r6-bridge p { margin-top: .25rem; }
.r6-example { position: relative; padding-block: var(--space, 3rem); border-block-start: 1px solid var(--line); }
.r6-totals, .r6-shares { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: .9rem 0; }
.r6-totals > div, .r6-shares > div { padding: .7rem 1rem; border-block-end: 1px solid var(--line); overflow-wrap: anywhere; }
.r6-totals dd, .r6-shares dd { margin: .3rem 0 0; font-size: 1.2rem; font-weight: 700; }
.r6-shares { background: var(--dark); color: white; }
.r6-shares > div:nth-child(2) { background: #343a36; }
.r6-shares dd { display: flex; flex-wrap: wrap; gap: .25rem .7rem; }
.r6-member { background: #eeefec; padding: 1rem; }
@media (max-width: 620px) {
  .r6-totals, .r6-shares { grid-template-columns: minmax(0,1fr); }
}

.traffic-settings { font-size: .875rem; }
.traffic-settings button { font: inherit; padding: .2rem .5rem; background: transparent; border: 1px solid var(--line); margin-inline-start: .3rem; cursor: pointer; }

.model-split .model-management { border-inline-start: 0; }
.r6-shares.partnership-example { grid-template-columns: repeat(2,minmax(0,1fr)); }
.r6-shares.partnership-example > div:nth-child(2) { background: transparent; }
.r6-shares.partnership-example > div:last-child { background: #343a36; }
@media (min-width: 701px) {
  .model-split.model-split-limited { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1050px) {
  .partnership-example:has(> div:nth-child(4)) { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
