:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, sans-serif;
  color: #17252b;
  background: #fff;
  --teal: #075e56;
  --muted: #495b62;
  --line: #d5e2e1;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 67rem); margin-inline: auto; }
header, footer { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1rem; }
.top { border-block-end: 1px solid var(--line); }
.brand, nav { display: flex; align-items: center; gap: 1rem; }
.brand { color: inherit; font-size: 1.15rem; font-weight: 750; text-decoration: none; }
.brand img { display: block; border-radius: 8px; }
a { color: var(--teal); text-underline-offset: .15em; }
a:focus-visible { outline: 3px solid #b9561e; outline-offset: 4px; }
.intro, .arabic { padding-block: 2rem; }
.eyebrow { color: var(--teal); font-size: .92rem; font-weight: 700; }
.intro h1, .arabic h2 { font-size: 2.375rem; line-height: 1.15; margin: .25rem 0 1rem; }
h2 { font-size: 1.625rem; line-height: 1.2; margin: 0; }
.lead { max-width: 42rem; font-size: 1.125rem; margin-block: 0 1.25rem; }
.detail, .examples > p, footer { color: var(--muted); }
.detail { margin-block-end: 0; }
.cta { display: inline-flex; background: var(--teal); color: #fff; font-weight: 700; min-height: 2.75rem; align-items: center; padding: .55rem 1rem; border-radius: 6px; text-decoration: none; }
.cta:hover { background: #06483f; }
.examples, .arabic { border-block-start: 1px solid var(--line); }
.examples { padding-block: 2rem; }
.documents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; margin: 1.25rem 0 0; }
.documents a { display: block; border: 1px solid var(--line); border-radius: 7px; background: #f1f6f5; overflow: hidden; }
.documents a:hover { border-color: var(--teal); }
.documents img { display: block; width: 100%; height: auto; aspect-ratio: 621 / 877; }
.documents span { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-weight: 700; gap: .25rem .5rem; padding: .75rem; }
.documents small { color: var(--muted); font-weight: 500; }
.arabic-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding: 0; list-style: none; }
.footer { border-block-start: 1px solid var(--line); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .intro h1, .arabic h2 { font-size: 1.875rem; }
  .documents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .documents { grid-template-columns: 1fr; }
}
