@import url('assets/fonts/fonts.css');

/* ============================================================
   بورصة ع السريع — palette
   sand · lapis navy · faience teal · terracotta · saffron · plum
   ============================================================ */
:root {
  --sand-50: #fcf7ee;
  --sand-100: #f6eddc;
  --sand-200: #e9dcc2;
  --sand-300: #d9c7a6;
  --ink: #16222f;
  --ink-2: #55626f;
  --ink-3: #7e8a97;
  --navy: #0f2033;
  --navy-2: #1a3550;
  --navy-3: #27496b;
  --teal: #0e6f6a;
  --teal-2: #139a8f;
  --teal-soft: #e2f2ed;
  --terra: #b4552f;
  --terra-2: #d47c4f;
  --terra-soft: #fbe8dc;
  --gold: #c9a227;
  --gold-2: #e8c168;
  --gold-soft: #f9efcc;
  --plum: #5c2a4d;
  --plum-2: #7d3f6b;
  --plum-soft: #f3e6ee;
  --green: #1b7a55;
  --green-soft: #e2f1e8;
  --red: #b23a2f;
  --red-soft: #fbe6e1;
  --paper: #fffdf7;
  --radius: 22px;
  --shadow-sm: 0 10px 24px -20px rgba(15, 32, 51, .45);
  --shadow-md: 0 22px 44px -30px rgba(15, 32, 51, .55);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--sand-50);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 32, 51, .05) 1px, transparent 0),
    radial-gradient(1200px 600px at 100% -10%, rgba(232, 193, 104, .16), transparent 65%),
    radial-gradient(900px 500px at 0% 0%, rgba(19, 154, 143, .08), transparent 60%);
  background-size: 22px 22px, 100% 100%, 100% 100%;
  color: var(--ink);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(252, 247, 238, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sand-200);
}
.site-head::after { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold), var(--terra)); opacity: .85; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--navy), var(--teal));
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -8px rgba(15, 32, 51, .8);
}
.brand-mark svg { width: 20px; height: 20px; display: block; }
.brand-name { font-family: 'Amiri', serif; font-weight: 700; font-size: 20px; letter-spacing: 0; line-height: 1.2; }
.brand-sub { display: block; font-family: 'Tajawal', sans-serif; font-size: 10.5px; font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--navy-2); text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
.site-nav a:hover { background: var(--sand-100); text-decoration: none; }
.site-nav a[aria-current="page"] {
  background: var(--navy); color: #fbf6ec; border-color: var(--navy);
  box-shadow: 0 8px 18px -14px rgba(15, 32, 51, .9);
}

main { padding: 22px 0 8px; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 30px;
  padding: clamp(22px, 3.6vw, 38px);
  color: #fbf6ec;
  background:
    radial-gradient(900px 420px at 100% -20%, rgba(232, 193, 104, .30), transparent 62%),
    radial-gradient(700px 400px at 88% 120%, rgba(19, 154, 143, .45), transparent 62%),
    linear-gradient(135deg, #0e1e30 0%, #163a4c 48%, #0d6f68 100%);
  box-shadow: 0 32px 64px -40px rgba(14, 30, 48, .85);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 26px);
}
.hero::after {
  content: ''; position: absolute; inset-inline-start: -70px; bottom: -110px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(232, 193, 104, .28);
  box-shadow: 0 0 0 44px rgba(232, 193, 104, .07), 0 0 0 88px rgba(232, 193, 104, .04);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-2); text-transform: none;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(232, 193, 104, .12); border: 1px solid rgba(232, 193, 104, .32);
}
.hero-brand {
  font-family: 'Amiri', serif; font-weight: 700;
  font-size: clamp(34px, 5.6vw, 52px); line-height: 1.15;
  margin: 14px 0 0; color: var(--gold-2);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.hero-brand span { color: #fbf6ec; }
.hero-tag { margin: 12px 0 0; font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 1.85; color: rgba(251, 246, 236, .92); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #12233a; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 14px 26px -16px rgba(232, 193, 104, .9), inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.btn-gold:hover { text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fbf6ec; font-weight: 600; font-size: 14.5px;
  padding: 11px 18px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(251, 246, 236, .35); background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-pills span {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  color: rgba(251, 246, 236, .95);
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
}
.hero-pills span:nth-child(1) { border-color: rgba(232, 193, 104, .45); }
.hero-pills span:nth-child(2) { border-color: rgba(19, 154, 143, .6); }
.hero-pills span:nth-child(3) { border-color: rgba(212, 124, 79, .6); }
.hero-fig { position: relative; justify-self: center; width: 100%; max-width: 300px; }
.hero-fig img {
  display: block; width: 100%; border-radius: 20px;
  border: 2px solid rgba(232, 193, 104, .8);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .75);
  transform: rotate(-1.5deg);
}
.hero-fig::after {
  content: ''; position: absolute; inset: 10px -10px -10px 10px;
  border-radius: 22px; border: 1px solid rgba(232, 193, 104, .28); z-index: -1;
}

/* ---------------- sections ---------------- */
.sec { margin-top: 34px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; color: var(--teal);
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.sec h2 {
  font-family: 'Amiri', serif; font-weight: 700;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.4;
  color: var(--navy); margin: 4px 0 14px;
}
.sec-lead { margin: -8px 0 14px; color: var(--ink-2); font-size: 14.5px; }
[data-tone="teal"] .eyebrow { color: var(--teal); }
[data-tone="terra"] .eyebrow { color: var(--terra); }
[data-tone="gold"] .eyebrow { color: #8a6d1d; }
[data-tone="plum"] .eyebrow { color: var(--plum); }
[data-tone="navy"] .eyebrow { color: var(--navy-2); }
[data-tone="green"] .eyebrow { color: var(--green); }
[data-tone="red"] .eyebrow { color: var(--red); }

.grid { display: grid; gap: 14px; align-items: start; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------------- stat tiles ---------------- */
.stat {
  position: relative; background: linear-gradient(165deg, var(--paper) 45%, var(--accent-soft, #f4f8f7));
  border: 1px solid var(--sand-200); border-radius: 18px;
  padding: 18px 16px 14px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--accent, var(--teal)); }
.stat .k { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.stat .v { font-family: 'Amiri', serif; font-weight: 700; font-size: 23px; line-height: 1.35; margin-top: 2px; color: var(--accent-ink, var(--navy)); }
.stat .n { font-size: 11.5px; color: var(--ink-3); }
.stat[data-tone="teal"] { --accent: var(--teal); --accent-ink: var(--teal); --accent-soft: var(--teal-soft); }
.stat[data-tone="navy"] { --accent: var(--navy); --accent-ink: var(--navy); --accent-soft: #e9eef4; }
.stat[data-tone="red"] { --accent: var(--red); --accent-ink: var(--red); --accent-soft: var(--red-soft); }
.stat[data-tone="gold"] { --accent: var(--gold); --accent-ink: #8a6d1d; --accent-soft: var(--gold-soft); }
.stat .v.warn { color: var(--red); }

/* ---------------- presenters ---------------- */
.pres { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.pres img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.pres-name { font-family: 'Amiri', serif; font-weight: 700; font-size: 20px; line-height: 1.3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pres-role { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pres p { margin: 8px 0 0; font-size: 14px; line-height: 1.85; }
.pres-quote { margin-top: 10px; font-size: 13px; font-weight: 700; }

.pres--cap {
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(232, 193, 104, .22), transparent 62%),
    linear-gradient(150deg, #0f2033 0%, #1b3a58 58%, #0d5d66 100%);
  border: 1px solid rgba(232, 193, 104, .38);
  color: #f6efe0;
  box-shadow: 0 22px 44px -34px rgba(15, 32, 51, .9);
}
.pres--cap img { border: 2px solid var(--gold-2); box-shadow: 0 0 0 4px rgba(232, 193, 104, .14); }
.pres--cap .pres-name { color: var(--gold-2); }
.pres--cap .pres-role { background: rgba(232, 193, 104, .16); color: var(--gold-2); border: 1px solid rgba(232, 193, 104, .35); }
.pres--cap p { color: rgba(251, 246, 236, .93); }
.pres--cap .pres-quote { color: var(--gold-2); }

.pres--nour {
  background: linear-gradient(150deg, #fffaf1 0%, #fbe8dc 62%, #f5dcc9 100%);
  border: 1px solid #e9bda3;
  color: #3a2a22;
  box-shadow: 0 22px 44px -34px rgba(180, 85, 47, .55);
}
.pres--nour img { border: 2px solid var(--terra-2); box-shadow: 0 0 0 4px rgba(212, 124, 79, .16); }
.pres--nour .pres-name { color: var(--terra); }
.pres--nour .pres-role { background: rgba(180, 85, 47, .10); color: var(--terra); border: 1px solid rgba(180, 85, 47, .28); }
.pres--nour p { color: #4a352b; }
.pres--nour .pres-quote { color: var(--plum); }

/* ---------------- education cards ---------------- */
.edu {
  background: linear-gradient(165deg, var(--paper) 40%, var(--accent-soft)); border: 1px solid var(--sand-200); border-radius: 20px;
  padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.edu:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.edu .num {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: 'Amiri', serif; font-weight: 700; font-size: 18px; color: #fff;
  background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
}
.edu h3 { margin: 0 0 5px; font-size: 16.5px; font-weight: 700; color: var(--navy); }
.edu p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.edu .soon {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; color: var(--accent); background: var(--accent-soft);
}
.edu[data-tone="teal"] { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.edu[data-tone="gold"] { --accent: #a5811f; --accent-soft: var(--gold-soft); }
.edu[data-tone="terra"] { --accent: var(--terra); --accent-soft: var(--terra-soft); }
.edu[data-tone="plum"] { --accent: var(--plum); --accent-soft: var(--plum-soft); }

/* ---------------- sources ---------------- */
.card {
  background: linear-gradient(170deg, var(--paper), var(--sand-100)); border: 1px solid var(--sand-200);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.src { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--sand-200); }
.src:last-child { border-bottom: 0; padding-bottom: 0; }
.src:first-child { padding-top: 0; }
.src .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 9px; flex: 0 0 auto; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.src b { display: block; font-size: 14.5px; color: var(--navy); }
.src span { font-size: 13px; color: var(--ink-2); }
.src:nth-child(1) { --accent: var(--navy); --accent-soft: #e7ecf2; }
.src:nth-child(2) { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.src:nth-child(3) { --accent: var(--terra); --accent-soft: var(--terra-soft); }
.src:nth-child(4) { --accent: var(--plum); --accent-soft: var(--plum-soft); }

/* ---------------- notice ---------------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: linear-gradient(135deg, var(--gold-soft), #fdf6df);
  border: 1px solid #e6d391; border-inline-start: 5px solid var(--gold);
  border-radius: 16px; padding: 16px 18px;
  color: #3b3320; font-size: 14px; line-height: 1.8;
}
.notice .ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--gold); color: #fff; font-weight: 700; font-size: 15px; }
.notice b { color: var(--navy); }

/* ---------------- weekly page head ---------------- */
.pagehead {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(22px, 3.6vw, 36px);
  color: #fbf6ec;
  background:
    radial-gradient(760px 380px at 100% -20%, rgba(232, 193, 104, .26), transparent 62%),
    radial-gradient(620px 340px at 10% 120%, rgba(19, 154, 143, .38), transparent 62%),
    linear-gradient(140deg, #0e6f6a 0%, #123c4e 55%, #0f2033 100%);
  box-shadow: 0 32px 64px -40px rgba(14, 30, 48, .85);
}
.pagehead::after {
  content: ''; position: absolute; inset-inline-end: -80px; top: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(232, 193, 104, .3);
  box-shadow: 0 0 0 40px rgba(232, 193, 104, .06);
}
.pagehead h1 { font-family: 'Amiri', serif; font-weight: 700; font-size: clamp(28px, 4.6vw, 40px); margin: 8px 0 0; color: #fbf6ec; line-height: 1.3; }
.pagehead .wk { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft); color: #3b3320; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.pagehead p { margin: 12px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.9; color: rgba(251, 246, 236, .92); }
.pagehead .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pagehead .meta span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2); }

/* ---------------- signal ---------------- */
.signal {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--red-soft), #fdf0ec);
  border: 1px solid #eec0b6; border-radius: 18px; padding: 16px 18px;
}
.lights { display: inline-flex; gap: 6px; padding: 7px 9px; border-radius: 999px; background: rgba(15, 32, 51, .06); }
.light { width: 15px; height: 15px; border-radius: 50%; opacity: .28; }
.light.r { background: var(--red); }
.light.a { background: var(--gold); }
.light.g { background: var(--green); }
.light.on { opacity: 1; box-shadow: 0 0 0 4px rgba(178, 58, 47, .18); }
.signal b { font-size: 16.5px; color: var(--red); }
.signal span.note { font-size: 13px; color: #6b3a33; }

/* ---------------- indices ---------------- */
.ind { position: relative; background: linear-gradient(165deg, var(--paper) 45%, var(--accent-soft)); border: 1px solid var(--sand-200); border-radius: 18px; padding: 16px 16px 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ind::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--accent); }
.ind .nm { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.ind .val { font-family: 'Amiri', serif; font-weight: 700; font-size: 26px; color: var(--navy); line-height: 1.3; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill.down { background: var(--red-soft); color: var(--red); }
.pill.up { background: var(--green-soft); color: var(--green); }
.ind .sub { font-size: 11.5px; color: var(--ink-3); margin-inline-start: 6px; }
.ind[data-tone="navy"] { --accent: var(--navy); --accent-soft: #e9eef4; }
.ind[data-tone="teal"] { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.ind[data-tone="plum"] { --accent: var(--plum); --accent-soft: var(--plum-soft); }

/* ---------------- chart ---------------- */
.chart { background: linear-gradient(180deg, #fff8f5, var(--paper) 55%); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px 14px 10px; box-shadow: var(--shadow-sm); }
.chart svg { display: block; width: 100%; height: auto; }
.chart-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); padding: 4px 6px 6px; }
.chart-cap b { color: var(--navy); }

/* ---------------- heatmap ---------------- */
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.tile {
  font-family: inherit; text-align: start; cursor: pointer;
  border: 2px solid transparent; border-radius: 13px; padding: 10px 9px; min-height: 62px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(15, 32, 51, .6); }
.tile .tn { font-size: 11.5px; font-weight: 700; line-height: 1.35; }
.tile .tv { font-size: 12px; font-weight: 700; }
.tile.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .22); }
.heat-detail { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--navy); background: var(--sand-100); border-radius: 12px; padding: 12px 14px; }
.heat-detail::before { content: ''; width: 4px; align-self: stretch; border-radius: 3px; background: var(--gold); flex: 0 0 auto; }

/* ---------------- breadth ---------------- */
.breadth { background: linear-gradient(165deg, #f7fcf9, var(--paper) 60%); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.bar { display: flex; height: 40px; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(15, 32, 51, .06); }
.bar .g { background: linear-gradient(135deg, #2f9a6f, var(--green)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12.5px; font-weight: 700; }
.bar .r { background: linear-gradient(135deg, #c8544a, var(--red)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12.5px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }

/* ---------------- movers ---------------- */
.movers { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--sand-200); box-shadow: var(--shadow-sm); }
.movers h3 { margin: 0 0 10px; font-family: 'Amiri', serif; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.movers .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(15, 32, 51, .12); }
.movers .row:last-child { border-bottom: 0; padding-bottom: 0; }
.movers .row .nm { flex: 1 1 auto; min-width: 0; }
.movers .row .nm b { display: block; font-size: 14px; color: var(--navy); line-height: 1.5; }
.movers .row .nm span { font-size: 12px; color: var(--ink-3); }
.movers.up { background: linear-gradient(150deg, #f4fbf7, var(--green-soft)); border-color: #bfe0cf; }
.movers.up h3 { color: var(--green); }
.movers.down { background: linear-gradient(150deg, #fdf3f0, var(--red-soft)); border-color: #eec0b6; }
.movers.down h3 { color: var(--red); }

/* ---------------- dark card ---------------- */
.dark {
  background: radial-gradient(600px 260px at 100% 0%, rgba(232, 193, 104, .18), transparent 60%), linear-gradient(150deg, #0f2033, #17384f);
  border: 1px solid rgba(232, 193, 104, .28); border-radius: var(--radius); padding: 18px 20px; color: #f6efe0;
  box-shadow: 0 22px 44px -34px rgba(15, 32, 51, .9);
}
.dark h3 { margin: 0 0 10px; font-family: 'Amiri', serif; font-size: 19px; color: var(--gold-2); }
.dark .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(232, 193, 104, .22); }
.dark .row:last-child { border-bottom: 0; padding-bottom: 0; }
.dark .row .nm { flex: 1 1 auto; font-size: 14px; }
.dark .row .val { font-weight: 700; color: var(--gold-2); font-size: 14px; white-space: nowrap; }

/* ---------------- lists ---------------- */
.soft { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--sand-200); box-shadow: var(--shadow-sm); }
.soft h3 { margin: 0 0 10px; font-family: 'Amiri', serif; font-size: 19px; }
.soft ul { margin: 0; padding: 0; list-style: none; }
.soft li { position: relative; padding-inline-start: 20px; margin: 10px 0; font-size: 14px; line-height: 1.85; color: var(--ink); }
.soft li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 11px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.soft.gold { background: linear-gradient(150deg, #fffdf4, var(--gold-soft)); border-color: #e6d391; --accent: var(--gold); }
.soft.gold h3 { color: #8a6d1d; }
.soft.teal { background: linear-gradient(150deg, #f6fcf9, var(--teal-soft)); border-color: #bfe0d8; --accent: var(--teal); }
.soft.teal h3 { color: var(--teal); }

/* ---------------- script ---------------- */
.script { background: linear-gradient(170deg, #fffdf7, #f9f1e2); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 6px 20px; box-shadow: var(--shadow-sm); }
.line { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--sand-200); font-size: 14px; line-height: 1.85; }
.line:last-child { border-bottom: 0; }
.line .who { font-weight: 700; font-size: 13px; }
.line.cap .who { color: var(--navy-2); }
.line.nour .who { color: var(--terra); }

/* ---------------- quiz ---------------- */
.quiz { background: linear-gradient(150deg, #fbf7fb, var(--plum-soft)); border: 1px solid #e2c9d7; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.qitem { padding: 14px 0; border-bottom: 1px dashed rgba(92, 42, 77, .22); }
.qitem:last-child { border-bottom: 0; padding-bottom: 4px; }
.qq { font-weight: 700; margin-bottom: 10px; color: var(--navy); font-size: 15px; }
.qopts { display: flex; flex-direction: column; gap: 8px; }
.qopt {
  font-family: inherit; font-size: 14px; text-align: start; padding: 11px 14px; min-height: 44px;
  border: 1px solid #dcc3d2; border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
}
.qopt:hover { border-color: var(--plum-2); }
.qopt.right { border-color: #7fbf9f; background: var(--green-soft); font-weight: 700; color: #14543a; }
.qopt.wrong { border-color: #e3a79d; background: var(--red-soft); color: #7d2a22; }
.qopt:disabled { cursor: default; }
.qwhy { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--plum); background: rgba(255, 255, 255, .6); border-radius: 10px; padding: 10px 12px; }

/* ---------------- footer ---------------- */
.site-foot {
  margin-top: 40px; border-radius: 26px 26px 0 0; padding: 26px 0 30px;
  background: radial-gradient(700px 300px at 100% 0%, rgba(232, 193, 104, .18), transparent 60%), linear-gradient(150deg, #0f2033, #16384c);
  color: rgba(251, 246, 236, .85);
}
.site-foot .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-foot .brand-name { color: var(--gold-2); }
.site-foot .brand-sub { color: rgba(251, 246, 236, .55); }
.site-foot p { margin: 0; font-size: 12.5px; line-height: 1.8; max-width: 62ch; }
.site-foot .links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.site-foot .links a { color: var(--gold-2); }

/* ---------------- responsive ---------------- */
@media (max-width: 860px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-fig { order: -1; max-width: 220px; justify-self: start; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 14px; }
  .site-head .wrap { min-height: 58px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
  .site-nav a { padding: 7px 11px; font-size: 13px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g4.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { border-radius: 22px; }
  .pres { flex-direction: row; padding: 16px; }
  .pres img { width: 64px; height: 64px; }
  .line { grid-template-columns: 1fr; gap: 2px; }
  .heat { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .signal { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; }
  .signal .note { grid-column: 1 / -1; }
  .chart .pv:not(.pv-edge) { display: none; }
  .chart .yl { font-size: 9px; }
  .chart { padding: 10px 6px 6px; }
  .pagehead .meta span { font-size: 11px; }
  .bar { height: 34px; }
  .site-foot { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
