/* Study Zone Saudi landing (/sa). Static page: no framework, no runtime.
   Brand: indigo #3A49BA → electric purple #5433FF → navy, white ink.
   No glow shadows (product decision); emphasis is borders and bands. */
:root {
  --indigo: #3a49ba;
  --purple: #5433ff;
  --navy: #0b162c;
  --ink-deep: #14123a;
  --bg: #0f0e2a;
  --bg-alt: #151439;
  --surface: #1c1b47;
  --surface-2: #24235a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4fb;
  --muted: #b9bbdc;
  --accent: #9aa5ff;
  --cyan: #5ee0f0;
  --success: #3ddc97;
  --success-bg: rgba(61, 220, 151, 0.12);
  --warning: #ffc164;
  --warning-bg: rgba(255, 193, 100, 0.12);
  --gold: #ffd36b;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 18px;
  --r-xl: 24px;
  --r-xxl: 28px;
  --wrap: 1160px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --display: "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --body: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.35; margin: 0; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: #fff; color: var(--ink-deep); padding: 8px 14px; border-radius: var(--r-s); }
.skip:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.1s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink-deep); }
.btn-light:hover { background: #ecebff; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #4826ef; }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn-outline-dark { border-color: var(--line-strong); color: var(--text); }
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--accent); }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: transparent; transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease); border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(20, 18, 58, 0.94); border-bottom-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-name { font: 800 18px/1 var(--display); direction: ltr; }
.brand-region { font: 600 12px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.topnav { display: none; gap: 4px; margin-inline-start: 16px; }
.topnav a { text-decoration: none; color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.topbar-actions { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }
.topbar-start { display: none; }
@media (min-width: 900px) { .topnav { display: flex; } .topbar-start { display: inline-flex; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  margin-top: -64px; padding-top: 64px;
  background: linear-gradient(160deg, var(--indigo) 0%, var(--purple) 48%, var(--navy) 100%);
  isolation: isolate;
}
.hero-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: 0.12; pointer-events: none;
  /* Eight-point star lattice, a quiet nod to Najdi geometric ornament. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3Crect x='24' y='24' width='24' height='24' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0l14 14M72 0L58 14M0 72l14-14M72 72L58 58'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}
.hero-grid { display: grid; gap: 28px; padding-block: 36px 28px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 72px 48px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 8.4vw, 56px); font-weight: 800; line-height: 1.3; }
.hero h1 .hl { color: var(--gold); }
.lede { margin-top: 16px; font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, 0.88); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 200px; }
@media (min-width: 600px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-note { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }

.hero-demo { position: relative; padding-top: 124px; }
.hero-zaki {
  position: absolute; z-index: 0; top: 0; inset-inline-end: 4px;
  width: 150px; pointer-events: none;
  animation: bob 5s ease-in-out infinite;
}
@media (min-width: 600px) { .hero-zaki { width: 180px; } }
@media (min-width: 960px) { .hero-demo { padding-top: 150px; } .hero-zaki { width: 200px; inset-inline-end: 24px; } .qcard { padding: 26px; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-zaki { animation: none; } }

/* Interactive question card */
.qcard {
  position: relative; z-index: 1;
  background: #fff; color: #17163d;
  border-radius: var(--r-xl); padding: 18px;
  box-shadow: 0 18px 40px -18px rgba(5, 4, 30, 0.6);
}
@media (min-width: 600px) { .qcard { padding: 22px; } }
.qtabs { display: flex; gap: 4px; background: #efeffa; padding: 4px; border-radius: 999px; }
.qtabs button {
  flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: transparent;
  font: 600 13px/1 var(--body); color: #565883; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.qtabs button[aria-selected="true"] { background: #fff; color: var(--indigo); box-shadow: 0 1px 3px rgba(23, 22, 61, 0.14); }
.qmeta { margin-top: 16px; font-size: 13px; color: #5f6189; font-weight: 500; }
.qstem { margin-top: 6px; font: 700 clamp(20px, 5vw, 26px)/1.5 var(--display); color: #17163d; }
.qopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.qopt {
  min-height: 52px; padding: 10px 12px; border-radius: var(--r-m);
  border: 1.5px solid #dcdcef; background: #fafaff; color: #17163d;
  font: 600 16px/1.4 var(--body); text-align: center; cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.1s var(--ease);
}
.qopt:hover:not([disabled]) { border-color: var(--indigo); background: #f2f3ff; }
.qopt:active:not([disabled]) { transform: scale(0.98); }
.qopt[disabled] { cursor: default; }
.qopt.is-right { border-color: #149a62; background: #e6f8ef; color: #0b5c3a; }
.qopt.is-wrong { border-color: #c27a00; background: #fff4e0; color: #7a4a00; }
.qopt.is-dim { opacity: 0.72; }
.qexplain {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px;
  background: #f3f3fd; border-radius: var(--r-m); border: 1px solid #e3e3f6;
  animation: rise 0.24s var(--ease);
}
.qexplain img { border-radius: 50%; flex: none; }
.qverdict { font-weight: 700; font-size: 15px; }
.qverdict.ok { color: #0b6b43; }
.qverdict.no { color: #8a5300; }
.qwhy { font-size: 14px; color: #3d3f66; margin-top: 2px; line-height: 1.7; }
.qmore { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--indigo); text-decoration: none; font-size: 15px; }
.qmore:hover { text-decoration: underline; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qexplain { animation: none; } .qopt, .qtabs button { transition: none; } }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-block: 8px 40px; border-radius: var(--r-xl); overflow: hidden;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 56px; } }
.stats li { background: rgba(14, 12, 48, 0.55); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.stats strong { direction: ltr; text-align: end; font: 800 clamp(22px, 5vw, 30px)/1.3 var(--display); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* Sections */
.section { padding-block: 64px; }
@media (min-width: 960px) { .section { padding-block: 96px; } }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2, .split-copy h2, .apps h2, .final h2 { font-size: clamp(26px, 5.6vw, 40px); font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.kicker { font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 8px; }

/* Goals */
.goals { display: grid; gap: 16px; }
@media (min-width: 900px) { .goals { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.goal {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  border-top: 4px solid var(--goal, var(--purple));
}
.goal-qudurat { --goal: #7b6bff; }
.goal-tahsili { --goal: var(--gold); }
.goal-school { --goal: var(--cyan); }
.goal-top { display: flex; align-items: center; gap: 12px; }
.goal-icon { width: 44px; height: 44px; border-radius: var(--r-m); display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--goal); flex: none; }
.goal-icon svg { width: 24px; height: 24px; }
.goal h3 { font-size: 21px; }
.goal > p { color: var(--muted); font-size: 15px; }
.goal-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.goal-nums div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px 12px; display: flex; flex-direction: column-reverse; }
.goal-nums dd { margin: 0; text-align: end; font: 800 24px/1.3 var(--display); font-variant-numeric: tabular-nums; }
.goal-nums dt { font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.goal .tags { margin-top: auto; }
.goal-link { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 15px; }
.goal-link:hover { text-decoration: underline; }
.tags li { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #dcdcf5; }

/* Split sections */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-copy > p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 32em; }
.split-copy .btn { margin-top: 26px; }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { position: relative; padding-inline-start: 30px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.38em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%233ddc97' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Chat demo */
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xxl); overflow: hidden; max-width: 520px; width: 100%; justify-self: center; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.chat-head img { border-radius: 50%; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.3; }
.chat-head span { font-size: 12px; color: var(--success); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: var(--r-l); font-size: 15px; line-height: 1.75; }
.bubble.me { align-self: flex-start; background: var(--purple); color: #fff; border-end-start-radius: 6px; }
.bubble.zaki { align-self: flex-end; background: #fff; color: #1d1c46; border-end-end-radius: 6px; display: grid; gap: 6px; }
.bubble.zaki b { color: var(--indigo); }
.bubble .tip { font-size: 14px; background: #f1f2ff; border-radius: var(--r-s); padding: 6px 10px; color: #3d3f66; }
.bubble.typing { display: flex; gap: 5px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9a9cc4; animation: blink 1.2s infinite ease-in-out; }
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bubble.typing span { animation: none; opacity: 0.6; } }

/* Mock exams */
.split-rev .mock-visual { order: 2; }
@media (min-width: 960px) { .split-rev .mock-visual { order: 0; } }
.mock-visual { position: relative; display: grid; justify-items: center; padding-bottom: 40px; }
.mock-visual img { width: 200px; }
@media (min-width: 960px) { .mock-visual img { width: 280px; } }
.mock-card {
  position: absolute; bottom: 0; inset-inline: 0; margin-inline: auto; width: min(360px, 100%);
  background: #fff; color: #17163d; border-radius: var(--r-l); padding: 14px 16px; display: grid; gap: 10px;
  box-shadow: 0 14px 30px -16px rgba(5, 4, 30, 0.7);
}
.mock-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; }
.mock-row.small { font-size: 13px; font-weight: 500; color: #5f6189; }
.timer { font-variant-numeric: tabular-nums; direction: ltr; color: var(--indigo); background: #eef0ff; padding: 2px 10px; border-radius: 999px; }
.bar { height: 8px; border-radius: 999px; background: #e9e9f6; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--indigo)); }

/* Plans */
.period { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.period button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 600 15px/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.period button[aria-checked="true"] { background: var(--purple); color: #fff; }
.period em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: var(--success-bg); color: var(--success); }
.period button[aria-checked="true"] em { background: rgba(255, 255, 255, 0.2); color: #fff; }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan h3 { font-size: 22px; }
.plan-tag { color: var(--muted); font-size: 14px; min-height: 2.6em; }
.plan .checks { margin-top: 4px; margin-bottom: 8px; flex: 1; align-content: start; }
.plan .checks li { font-size: 15px; }
.plan .btn { width: 100%; }
.plan-best { border: 2px solid var(--purple); background: linear-gradient(180deg, #24205f 0%, var(--surface) 55%); }
@media (min-width: 900px) { .plan-best { transform: translateY(-10px); } }
.ribbon { position: absolute; top: -14px; inset-inline-start: 22px; background: var(--gold); color: #3a2a00; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font: 800 40px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.price s { color: var(--muted); font-size: 18px; font-variant-numeric: tabular-nums; }
.offer { display: inline-block; width: max-content; font-size: 13px; font-weight: 700; color: var(--gold); background: rgba(255, 211, 107, 0.12); padding: 4px 10px; border-radius: 999px; }
.pay-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* Apps */
.apps { display: grid; gap: 22px; align-items: center; }
.apps p { color: var(--muted); margin-top: 8px; font-size: 17px; }
@media (min-width: 960px) { .apps { grid-template-columns: 1fr auto; } }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 20px;
  border-radius: var(--r-m); background: #fff; color: #111; text-decoration: none; flex: 1 1 170px;
}
.store:hover { background: #ecebff; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font: 700 17px/1.2 var(--body); }
.store small { font-size: 11px; font-weight: 500; color: #555; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 4px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 12px; height: 12px; flex: none; border-inline-end: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.18s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { padding: 0 4px 20px; color: var(--muted); }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--indigo) 0%, var(--purple) 55%, var(--navy) 100%); }
.final-in { display: grid; gap: 8px; justify-items: center; text-align: center; padding-block: 56px 64px; }
.final img { width: 150px; }
.final p { color: rgba(255, 255, 255, 0.88); margin: 10px auto 24px; max-width: 30em; font-size: 17px; }
@media (min-width: 960px) {
  .final-in { grid-template-columns: auto 1fr; text-align: start; justify-items: start; gap: 40px; align-items: center; padding-block: 72px; max-width: 900px; }
  .final img { width: 220px; }
  .final p { margin-inline: 0; }
}

/* Footer */
.footer { padding-block: 28px 110px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .footer { padding-bottom: 28px; } }
.footer-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.footer a:hover { color: var(--text); text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 14, 42, 0.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.24s var(--ease);
}
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* SEO pages (/sa/qudurat, /sa/tahsili, ...) */
.hero-seo .wrap { padding-block: 28px 8px; }
@media (min-width: 960px) { .hero-seo .wrap { padding-block: 56px 16px; } }
.hero-seo h1 { font-size: clamp(30px, 7vw, 50px); }
.hero-seo .stats { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.crumbs a { color: #fff; }
.skills { display: grid; gap: 16px; }
@media (min-width: 900px) { .skills { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.skill-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; }
.skill-group h3 { font-size: 19px; margin-bottom: 12px; }
.sqs { display: grid; gap: 14px; }
.sq { background: #fff; color: #17163d; border-radius: var(--r-xl); padding: 18px; }
.sq-meta { font-size: 13px; color: #5f6189; font-weight: 500; }
.sq-stem { margin-top: 6px; font-weight: 700; font-size: 18px; line-height: 1.7; }
.sq-opts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 600px) { .sq-opts { grid-template-columns: 1fr 1fr; } }
.sq-opts li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid #dcdcef; border-radius: var(--r-m); background: #fafaff; font-weight: 500; }
.ol { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #ececfa; color: var(--indigo); font-size: 13px; font-weight: 700; }
.sq:has(details[open]) .is-key { border-color: #149a62; background: #e6f8ef; color: #0b5c3a; }
.sq-ans { margin-top: 12px; border: 0 !important; }
.sq-ans summary { min-height: 44px; padding: 8px 0; font-size: 15px; color: var(--indigo); font-weight: 700; justify-content: flex-start; }
.sq-ans summary::after { border-color: var(--indigo); }
.sq-ans p { padding: 0 0 6px; color: #3d3f66; font-size: 15px; }
.sq-ans p b { color: #0b5c3a; }
.sq-cta { margin-top: 28px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.sq-cta p { color: var(--muted); max-width: 32em; }
.rels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rel { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; }
.rel:hover { border-color: var(--accent); }
