:root {
  --night: #07110f;
  --ink: #101815;
  --mist: #eef1ea;
  --bone: #f5efe3;
  --white: #ffffff;
  --green: #0d6b4d;
  --green-2: #14916d;
  --date: #b9893a;
  --red: #9f3b35;
  --muted: #6a756f;
  --line: rgba(16, 24, 21, 0.16);
  --soft-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(7, 17, 15, 0.24);
  --body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --display: "Aref Ruqaa", "IBM Plex Sans Arabic", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font-family: var(--body);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 15, 0.82), rgba(7, 17, 15, 0));
}

.brand,
.mini-cta,
.main-cta,
.console-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-weight: 900;
}

.brand-sigil {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.topnav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.topnav a:hover {
  color: var(--white);
}

.mini-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 80px) 82px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.94) 0%, rgba(7, 17, 15, 0.82) 43%, rgba(7, 17, 15, 0.36) 100%),
    url("../image/trading-majlis.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 92%, rgba(245, 239, 227, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 12vw);
}

.ticker-rail {
  position: absolute;
  inset: 74px 0 auto;
  z-index: 2;
  height: 46px;
  display: flex;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  padding-inline: clamp(20px, 6vw, 80px);
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 17, 15, 0.34);
  color: rgba(255, 255, 255, 0.72);
}

.ticker-rail b {
  color: var(--date);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.stamp {
  margin: 0 0 14px;
  color: var(--date);
  font-weight: 900;
}

.stamp.dark {
  color: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8.2vw, 8.2rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
}

.lead {
  max-width: 780px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.main-cta,
.console-cta {
  cursor: pointer;
  background: var(--date);
  color: var(--night);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.main-cta:hover,
.console-cta:hover {
  transform: translateY(-2px);
  background: #d1a95a;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.main-cta {
  min-height: 54px;
  padding: 0 24px;
}

.hero-actions span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: clamp(20px, 5vw, 70px);
  bottom: 34px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.desk {
  padding: 84px clamp(18px, 5vw, 72px);
  background: var(--bone);
}

.desk-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}

.desk-head span {
  color: var(--muted);
  font-weight: 900;
}

.desk-head strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 18px;
}

.brief-console {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--night);
  color: var(--white);
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
}

.console-top b {
  color: var(--date);
}

.brief-console p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.scan-line {
  height: 12px;
  overflow: hidden;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.12);
}

.scan-line i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green-2), var(--date));
  transition: width 500ms ease;
}

.brief-console dl {
  display: grid;
  gap: 10px;
  margin: 0 0 auto;
}

.brief-console dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brief-console dt {
  color: rgba(255, 255, 255, 0.55);
}

.brief-console dd {
  margin: 0;
  font-weight: 900;
  text-align: left;
}

.console-cta {
  min-height: 52px;
  margin-top: 28px;
}

.market-map {
  display: grid;
  border-top: 1px solid var(--line);
}

.map-row {
  display: grid;
  grid-template-columns: 72px minmax(160px, 0.42fr) 1fr;
  gap: 22px;
  align-items: baseline;
  min-height: 130px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.map-row span {
  color: var(--date);
  font-weight: 900;
  font-size: 1.6rem;
}

.map-row h2 {
  font-size: clamp(1.9rem, 3vw, 3.35rem);
}

.map-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.rules {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) 1.12fr;
  gap: 48px;
  padding: 88px clamp(18px, 5vw, 72px);
  background: var(--mist);
}

.rules-title h2 {
  max-width: 640px;
}

.rules-list {
  border-top: 2px solid var(--ink);
}

.rules-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.rules-list b {
  font-size: 1.1rem;
}

.rules-list span {
  color: var(--muted);
}

.sample {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 40px;
  padding: 92px clamp(18px, 5vw, 72px);
  background: var(--bone);
}

.sample-copy p:last-child {
  max-width: 560px;
  color: var(--muted);
}

.sample-sheet {
  align-self: start;
  border: 2px solid var(--ink);
  background: var(--white);
}

.sample-sheet div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.sample-sheet div:last-child {
  border-bottom: 0;
}

.sample-sheet span {
  color: var(--muted);
  font-weight: 800;
}

.sample-sheet b {
  font-size: 1.08rem;
}

.questions {
  padding: 88px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(rgba(7, 17, 15, 0.92), rgba(7, 17, 15, 0.92)),
    url("../image/trading-majlis.png") center / cover fixed;
}

.questions h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

.question-lines {
  max-width: 900px;
  border-top: 1px solid var(--soft-line);
}

details {
  border-bottom: 1px solid var(--soft-line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.closing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  padding: 86px clamp(18px, 5vw, 72px);
  background: var(--green);
  color: var(--white);
}

.closing div {
  max-width: 850px;
}

.closing p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.main-cta.light {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--green);
}

.footer {
  display: grid;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--night);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.footer-disclosure {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.footer-disclosure strong {
  color: var(--date);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a,
.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
}

.footer-links a:hover,
.legal-back:hover {
  background: var(--date);
  color: var(--night);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-page {
  background: var(--bone);
}

.legal-wrap {
  width: min(860px, calc(100% - 36px));
  margin: 42px auto;
  padding: 36px;
  background: var(--white);
  border: 2px solid var(--ink);
}

.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-wrap h2 {
  margin-top: 28px;
}

.legal-wrap p {
  color: var(--muted);
}

.legal-wrap .legal-back {
  margin-top: 16px;
  border-color: var(--line);
  background: var(--night);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    display: none;
  }

  .desk-grid,
  .rules,
  .sample {
    grid-template-columns: 1fr;
  }

  .brief-console {
    min-height: auto;
  }

  .map-row {
    grid-template-columns: 54px 1fr;
  }

  .map-row p {
    grid-column: 2;
  }

  .closing {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 94vh;
    padding: 128px 18px 70px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .rules-list div,
  .sample-sheet div {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-disclosure {
    grid-template-columns: 1fr;
  }

  .main-cta,
  .mini-cta,
  .console-cta {
    width: 100%;
  }

  .desk-head {
    align-items: start;
    flex-direction: column;
  }
}
