:root {
  color-scheme: light;
  --brand: #e74700;
  --ink: #172033;
  --muted: #5e6879;
  --line: #e4e8ef;
  --surface: #ffffff;
  --soft: #fff6f1;
}

* { box-sizing: border-box; }
html { background: #f6f7f9; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6f7f9;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}
a { color: var(--brand); }
.skip-link { position: fixed; inset-inline-start: 1rem; top: -5rem; z-index: 20; background: #fff; padding: .6rem 1rem; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.public-header {
  min-height: 76px;
  padding: .7rem clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 96px; height: 56px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--brand); }
nav .language { color: var(--brand); }
.public-shell { width: min(900px, calc(100% - 2rem)); margin: 2rem auto; }
article { background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; padding: clamp(1.25rem, 4vw, 3.5rem); box-shadow: 0 18px 60px rgba(24, 32, 51, .06); }
.eyebrow { color: var(--brand); font-weight: 800; margin: 0 0 .35rem; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.3; margin: 0; letter-spacing: -.02em; }
.updated { color: var(--muted); margin: .4rem 0 0; }
.lead { margin: 1.6rem 0 2rem; padding: 1rem 1.15rem; background: var(--soft); border-inline-start: 4px solid var(--brand); border-radius: .8rem; font-size: 1.08rem; }
section { padding: 1.25rem 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 { margin: 0 0 .45rem; font-size: 1.25rem; }
p, li { color: #374156; }
ul, ol { padding-inline-start: 1.4rem; }
.primary-link { display: inline-flex; padding: .65rem 1rem; background: var(--brand); color: #fff; border-radius: .7rem; text-decoration: none; font-weight: 800; }
.primary-link:hover, .primary-link:focus-visible { background: #bd3a00; }
footer { width: min(900px, calc(100% - 2rem)); margin: 0 auto 2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
footer p { color: inherit; }
@media (max-width: 620px) {
  .public-header { align-items: flex-start; }
  nav { justify-content: flex-end; font-size: .9rem; }
  article { border-radius: 1rem; }
  footer { flex-direction: column; gap: 0; }
}
