:root {
  --deep: #24127a;
  --deep-2: #170a52;
  --green: #5b2bff;
  --green-dark: #4520d6;
  --mint: #efeaff;
  --ink: #1d2a30;
  --muted: #5b6b72;
  --line: #e4e0f2;
  --bg: #ffffff;
  --bg-soft: #f7f5fc;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Calibri, Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
a { color: var(--deep); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header { background: #fff; border-bottom: 3px solid #f4c95d; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font-size: 1.35rem; letter-spacing: .3px; }
.brand b { color: var(--green); }
.mark svg { width: 34px; height: 34px; fill: var(--green); display: block; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--deep); font-weight: 600; font-size: .95rem; }
nav a:hover, nav a.active { color: var(--green); }

.hero { background: radial-gradient(circle at 85% 20%, rgba(244,201,93,.28), transparent 45%), linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%); color: #fff; padding: 100px 0 90px; }
.eyebrow { display: inline-block; color: #f4c95d; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.hero h1 { font-size: 2.8rem; line-height: 1.12; margin: 0 0 18px; max-width: 800px; }
.hero p { font-size: 1.18rem; max-width: 700px; margin: 0 0 30px; color: #d6e6ea; }
.page-head { background: var(--deep); color: #fff; padding: 52px 0 44px; }
.page-head h1 { margin: 0 0 6px; font-size: 2.1rem; }
.page-head p { margin: 0; color: #cfe0e4; max-width: 720px; }

.btn { display: inline-block; padding: 12px 26px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--green-dark); }
.btn.outline { background: transparent; border: 2px solid #fff; }
.btn.navy { background: var(--deep); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { color: var(--deep); font-size: 1.8rem; margin: 0 0 8px; }
h3 { color: var(--deep); margin: 0 0 8px; }
.lead { color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.rule { width: 60px; height: 3px; background: var(--green); margin: 0 0 18px; border: 0; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.card p { color: var(--muted); flex: 1; }
.ico { width: 46px; height: 46px; border-radius: 10px; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ico svg { width: 26px; height: 26px; fill: var(--green); }
.more { font-weight: 700; text-decoration: none; color: var(--green-dark); }
.tag { display: inline-block; background: var(--mint); color: var(--green-dark); font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .4px; text-transform: uppercase; }

ul.check { list-style: none; padding: 0; margin: 0 0 16px; }
ul.check li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.check li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
ul.plain { padding-left: 20px; margin: 0 0 16px; }

.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

.split { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; padding: 26px; }
section.soft .panel { background: #fff; }
.note { background: var(--mint); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 4px; font-size: .95rem; }

form .row { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--deep); }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #c7d3d7; border-radius: 4px; font: inherit; background: #fff; }
textarea { min-height: 110px; }
.hp { position: absolute; left: -5000px; }

.cta { background: var(--deep); color: #fff; text-align: center; padding: 56px 0; }
.cta h2 { color: #fff; }
.cta p { color: #cfe0e4; margin: 0 0 22px; }

footer { background: var(--deep-2); color: #b9cbd0; padding: 40px 0 24px; font-size: .95rem; }
footer a { color: #fff; text-decoration: none; }
.foot { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 { color: #f4c95d; margin: 0 0 10px; }
.copy { border-top: 1px solid #2e1d7a; margin-top: 28px; padding-top: 16px; font-size: .85rem; }

@media (max-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.95rem; }
  .split { grid-template-columns: 1fr; }
  nav ul { gap: 4px 14px; }
  section { padding: 44px 0; }
}
.brand img { height: 58px; width: auto; display: block; }
.brand span { font-weight: 600; }
.brand b { color: var(--green); }
.btn-row.center { justify-content: center; }
.small { color: var(--muted); font-size: .92rem; margin-top: 18px; }
.principles { display: grid; gap: 14px; }
.principles.short { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pr { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.pr.full { align-items: flex-start; padding: 20px 22px; }
.pr span { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pr.full p { margin: 0; color: var(--muted); }
.stories { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.story { background: #fff; border: 1px solid var(--line); border-top: 4px solid #f4c95d; border-radius: 8px; padding: 24px; }
.story p { color: var(--muted); margin: 0; }
.card.person .ico { background: #fff7e0; }
.card.person .ico svg { fill: #b8860b; }
.cta .btn.outline { border-color: #fff; }
.card .tag { align-self: flex-start; }
.card h3 small { font-weight: 500; color: #b8860b; font-size: .8em; }
.role { color: #b8860b !important; font-weight: 700; font-size: .9rem; margin: 0 0 6px; flex: 0 !important; }
.panel.decree { background: #fffaf0; border-left-color: #f4c95d; }
.panel.decree ol { padding-left: 22px; margin: 0 0 14px; }
.panel.decree li { margin-bottom: 6px; }
.sig { font-style: italic; color: var(--muted); margin: 0; }
.decree-doc { max-width: 780px; margin: 0 auto; position: relative; font-family: Georgia, "Times New Roman", serif; color: #3a2a12;
  background: radial-gradient(ellipse at 50% 0%, #fffaf0 0%, #f6ead0 70%, #eedcb4 100%);
  border: 2px solid #c9a75a; outline: 6px double #c9a75a; outline-offset: -14px;
  border-radius: 6px; padding: 54px 60px 44px; box-shadow: 0 10px 30px rgba(60,40,10,.18); }
.decree-doc::before { content: "\2766"; display: block; text-align: center; color: #b8860b; font-size: 1.6rem; margin-bottom: 4px; }
.decree-no { text-transform: uppercase; letter-spacing: 3px; color: #9c1c27; font-weight: 700; font-size: .9rem; margin: 0 0 6px; text-align: center; }
.decree-doc h2 { text-align: center; color: #3a2a12; font-size: 2rem; }
.decree-doc h3 { margin-top: 24px; color: #5a3d10; border-bottom: 1px solid #d9c08a; padding-bottom: 4px; }
.decree-from { text-align: center; color: #6b5530; font-style: italic; margin: 0 0 26px; }
.decree-doc .small { color: #6b5530; font-family: "Segoe UI", Arial, sans-serif; }
.seal-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.seal { width: 130px; height: 130px; transform: rotate(-8deg); filter: drop-shadow(0 4px 6px rgba(80,10,10,.35)); }
.signature { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.9rem; font-style: normal; color: #24127a; }
.decree-doc .sig { color: #5a3d10; }
@media (max-width: 760px) { .decree-doc { padding: 40px 26px 30px; outline-offset: -10px; } .seal { width: 96px; height: 96px; } }
.principles.short { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .principles.short { grid-template-columns: 1fr; }
  header { position: static; }
  .nav { padding: 8px 16px; gap: 6px; }
  .brand img { height: 46px; }
  nav ul { gap: 2px 12px; }
  nav a { font-size: .88rem; }
}
details.arabic { margin-top: 22px; border-top: 1px solid #d9c08a; padding-top: 14px; }
details.arabic summary { cursor: pointer; color: #9c1c27; font-weight: 700; font-family: "Segoe UI", Arial, sans-serif; }
details.arabic [dir="rtl"] { font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif; font-size: 1.12rem; line-height: 1.9; margin-top: 14px; }
details.arabic [dir="rtl"] ul.plain, details.arabic [dir="rtl"] ol.plain { padding-right: 22px; padding-left: 0; }
.avatar { width: 104px; height: 104px; margin-bottom: 12px; border-radius: 50%; border: 3px solid #f4c95d; object-fit: cover; }
table.votes { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .95rem; }
table.votes th, table.votes td { border: 1px solid #d9c08a; padding: 8px 10px; text-align: left; vertical-align: top; }
table.votes th { background: #efdfb8; }
@media (max-width: 760px) { table.votes { font-size: .85rem; } }
