/* Al Siham website. White ground, one family (IBM Plex Sans Arabic covers Arabic + Latin),
   emerald accent taken from the Al Siham workspace (#17503a) and logo. No scripts. */
:root {
  --bg: #ffffff;
  --ink: #111814;
  --muted: #4b5a53;
  --line: #e3e9e5;
  --soft: #f5f8f6;
  --accent: #17503a;
  --accent-hover: #0f3a29;
  --accent-tint: #e8f2ec;
  --statement-line: #cfe2d7;
  --radius: 12px;
  --wrap: 1040px;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  font-weight: 400;
}
[lang="en"] { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-inline-start: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.brand-names { display: flex; flex-direction: column; line-height: 1.25; }
.brand-ar { font-weight: 600; font-size: 1.125rem; }
.brand-en { font-size: .875rem; color: var(--muted); }
.lang-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: .9375rem;
  transition: border-color .15s ease, color .15s ease;
}
.lang-link:hover { border-color: var(--accent); color: var(--accent); }

/* home */
.hero { padding-block: 64px 48px; }
.hero h1, .h1 {
  font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3rem);
  line-height: 1.3; font-weight: 600; margin: 0 0 16px; max-width: 22ch;
}
[lang="en"] .h1, .lang-en .h1 { line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 10px; background: var(--accent); color: #fff; font-weight: 500; text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }

.section { padding-block: 44px; border-top: 1px solid var(--line); }
.section h2 { font-size: 1.5rem; font-weight: 600; margin: 0 0 20px; line-height: 1.35; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent); font-weight: 600; font-size: .9375rem; margin-bottom: 12px;
}
.steps h3 { font-size: 1.0625rem; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }
.steps p { margin: 0; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-list li { margin: 0; }
.contact-list .k { display: inline-block; min-width: 9em; color: var(--muted); }
.note { font-size: .9375rem; color: var(--muted); }

.lang-band { background: var(--soft); border-block: 1px solid var(--line); }
.band-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 500; }
.band-row a { display: inline-flex; align-items: center; min-height: 44px; }

/* legal pages */
.doc { padding-block: 52px 28px; }
.doc h1, .doc .h1 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.375rem); max-width: none; }
.doc h2:not(.h1), .doc h3 { font-size: 1.1875rem; font-weight: 600; margin: 30px 0 8px; line-height: 1.4; }
.doc p, .doc li { max-width: 68ch; }
.meta { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.statement {
  border: 1px solid var(--statement-line); background: var(--soft);
  border-radius: var(--radius); padding: 24px 24px 12px; margin-bottom: 18px;
}
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 28px; color: var(--muted); font-size: .9375rem; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.foot .copy { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: 6px; }
.foot nav a span { color: var(--muted); }
.foot nav a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 860px) {
  .pair { grid-template-columns: 1fr; gap: 8px; }
  .pair > .lang-en { border-top: 1px solid var(--line); padding-top: 36px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding-block: 44px 36px; }
  .contact-list .k { min-width: 0; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
