:root {
  --bg: #07060b;
  --bg-elevated: #100e18;
  --bg-soft: #16131f;
  --ink: #f4f0fa;
  --muted: #a89bb8;
  --line: rgba(168, 120, 220, 0.18);
  --accent: #b14dff;
  --accent-soft: #c78bff;
  --accent-deep: #6b21a8;
  --glow: rgba(177, 77, 255, 0.35);
  --success: #34d399;
  --font-display: "Syne", "Tajawal", system-ui, sans-serif;
  --font-body: "Manrope", "Tajawal", system-ui, sans-serif;
  --max: 1120px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(177, 77, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(107, 33, 168, 0.22), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

html[lang="ar"] body {
  font-family: "Tajawal", "Manrope", system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: #e9d5ff;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ?? Language visibility ?? */
[data-lang-en],
[data-lang-ar] {
  display: none;
}

html[lang="en"] [data-lang-en],
html[lang="ar"] [data-lang-ar] {
  display: contents;
}

html[lang="en"] .show-en,
html[lang="ar"] .show-ar {
  display: block;
}

html[lang="en"] .show-ar,
html[lang="ar"] .show-en {
  display: none !important;
}

/* ?? Nav ?? */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 6, 11, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 0.75rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  line-height: 0;
}

.brand img {
  /* Display asset is logo-180 (180?66); size via max-* only (avoids Lighthouse aspect-ratio hits). */
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: min(210px, 46vw);
  aspect-ratio: 180 / 66;
}

/* Logo image already includes the wordmark ? never show duplicate text */
.brand-text {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.2rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.65rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: #c9bdd9;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle button.active {
  background: #4c1d7a;
  color: #fff;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ?? Buttons ?? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 30px var(--glow);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.btn-nav-cta {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  color: #fff;
}

.btn-whatsapp {
  background: #128c7e;
  color: #fff;
  border-color: transparent;
}

.btn-whatsapp:hover {
  color: #fff;
  background: #075e54;
}

.btn-whatsapp.is-hidden,
[data-tenx-whatsapp][hidden] {
  display: none !important;
}

/* ?? Floating WhatsApp ?? */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

/* ?? Outcomes / social proof ?? */
.outcomes-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.outcome-item {
  padding: 1.15rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.outcome-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--accent-soft);
}

.outcome-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ?? Checklist tool ?? */
.checklist-box {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checklist-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.checklist-item:last-of-type {
  border-bottom: 0;
}

.checklist-item input {
  margin-top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.checklist-item label {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.98rem;
}

.checklist-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.checklist-score .score-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-soft);
}

.checklist-cta {
  opacity: 0.65;
  transition: opacity 0.25s var(--ease);
}

.checklist-cta.is-ready {
  opacity: 1;
}

/* ?? Landing ?? */
.landing-hero {
  padding: 3.5rem 0 2.5rem;
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 1rem;
}

.landing-proof {
  margin-top: 2rem;
}

/* ?? One-pager print ?? */
.onepager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .menu-btn,
  .lang-toggle,
  .onepager-actions,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .page-hero,
  .band,
  .callout,
  .feature,
  .outcome-item {
    background: #fff !important;
    border-color: #ddd !important;
    box-shadow: none !important;
  }

  a {
    color: #111;
  }
}

/* ?? Hero ?? */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 2.75rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, var(--bg) 95%),
    radial-gradient(circle at 72% 42%, rgba(177, 77, 255, 0.22), transparent 42%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 48px,
      rgba(177, 77, 255, 0.03) 48px,
      rgba(177, 77, 255, 0.03) 49px
    );
  pointer-events: none;
  z-index: 0;
}

.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-pointer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: radial-gradient(
    420px circle at var(--px, 70%) var(--py, 40%),
    rgba(177, 77, 255, 0.16),
    transparent 55%
  );
}

.hero-pointer.is-on {
  opacity: 1;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 32rem) minmax(220px, 400px);
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 1.25rem;
  width: 100%;
  /* Extra inset so copy never hugs the viewport edge (RTL or LTR) */
  padding-inline: clamp(0.5rem, 3vw, 1.75rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-width: 32rem;
  /* Breathing room on the outer edge of the text column */
  padding-inline-start: clamp(0.15rem, 1.2vw, 0.65rem);
  padding-inline-end: clamp(0.35rem, 1.5vw, 0.85rem);
  box-sizing: border-box;
}

.hero-visual {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  max-height: 420px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 920px;
}

.orb-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.orb-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 77, 255, 0.28), transparent 70%);
  filter: blur(18px);
  animation: orb-breathe 5.5s ease-in-out infinite;
}

.orb-tilt {
  position: absolute;
  inset: 8%;
  transform-style: preserve-3d;
  animation: orb-spin 28s linear infinite;
  z-index: 1;
}

.orb-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(199, 139, 255, 0.22);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orb-ring.ring-a {
  transform: rotateX(72deg) rotateY(12deg);
  border-color: rgba(177, 77, 255, 0.38);
  box-shadow: 0 0 24px rgba(177, 77, 255, 0.12);
}

.orb-ring.ring-b {
  inset: 18%;
  transform: rotateX(-48deg) rotateZ(28deg);
  border-style: dashed;
  border-color: rgba(199, 139, 255, 0.28);
}

.orb-ring.ring-c {
  inset: 4%;
  transform: rotateX(18deg) rotateY(-40deg);
  border-color: rgba(177, 77, 255, 0.16);
}

.orb-sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: #e9d5ff;
  box-shadow: 0 0 16px 4px var(--glow);
}

.orb-sat.sat-a {
  animation: sat-orbit 9s linear infinite;
}

.orb-sat.sat-b {
  width: 6px;
  height: 6px;
  animation: sat-orbit 13s linear infinite reverse;
}

.orb-sat.sat-c {
  width: 5px;
  height: 5px;
  background: var(--accent);
  animation: sat-orbit 17s linear infinite;
}

@keyframes orb-spin {
  to {
    transform: rotateY(360deg);
  }
}

@keyframes orb-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes sat-orbit {
  from {
    transform: rotateY(0deg) translateX(148px) rotateY(0deg);
  }
  to {
    transform: rotateY(360deg) translateX(148px) rotateY(-360deg);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  animation: rise 0.9s var(--ease) both;
}

html[lang="ar"] .hero h1 {
  font-family: "Tajawal", var(--font-display), sans-serif;
  letter-spacing: 0;
  line-height: 1.22;
}

.hero .lede {
  font-size: 1.12rem;
  font-weight: 500;
  color: #d2c6e0;
  max-width: 28rem;
  margin: 0 0 1.35rem;
  line-height: 1.65;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  max-width: 32rem;
  animation: rise 0.9s 0.16s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ?? Sections ?? */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

html[lang="ar"] .section-head .eyebrow {
  letter-spacing: 0.04em;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

/* ?? Grids ?? */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 0.55rem;
}

/* ?? Cards (interaction / content browse) ?? */
.card-list {
  display: grid;
  gap: 1rem;
}

.card {
  display: block;
  padding: 1.4rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color 0.2s, transform 0.25s var(--ease), background 0.2s;
}

.card:hover {
  border-color: rgba(199, 139, 255, 0.45);
  transform: translateY(-3px);
  color: inherit;
  background: #1a1626;
}

.card .meta {
  font-size: 0.8rem;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-soft);
}

/* ?? Stats ?? */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.stat {
  border-inline-start: 2px solid var(--accent);
  padding-inline-start: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ?? Page hero (inner) ?? */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: #cbbfd9;
  font-size: 1.08rem;
  font-weight: 500;
}

/* ?? Prose ?? */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 2.2rem 0 0.7rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.6rem 0 0.5rem;
}

.prose p,
.prose li {
  color: #cfc4dc;
}

.prose ul {
  padding-inline-start: 1.2em;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--ink);
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--bg-soft);
}

.callout p {
  margin: 0;
  color: var(--ink);
}

/* ?? Timeline / about ?? */
.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.timeline-item .when {
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* ?? Contact ?? */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.form {
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form label.form-human-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  cursor: pointer;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(177, 77, 255, 0.45);
  border-color: var(--accent);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Honeypot: visually hidden without off-screen left offset (avoids RTL/LTR overflow) */
.hp-field {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.form-human-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  border: none;
  background: transparent;
}

.form-error {
  font-size: 0.9rem;
  color: #c44;
  margin: 0;
}

.form-error[hidden] {
  display: none;
}

/* ?? Footer ?? */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #050409;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: auto;
  height: auto;
  max-height: 44px;
  aspect-ratio: 180 / 66;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ?? Reveal motion ?? */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ?? Mobile ?? */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    justify-content: center;
    padding-inline: clamp(0.35rem, 2.5vw, 1rem);
  }

  .hero-inner {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    padding-inline: 0;
  }

  .hero-visual {
    width: min(100%, 300px);
    max-height: 300px;
    order: -1;
  }

  @keyframes sat-orbit {
    from {
      transform: rotateY(0deg) translateX(108px) rotateY(0deg);
    }
    to {
      transform: rotateY(360deg) translateX(108px) rotateY(-360deg);
    }
  }

  .grid-3,
  .stats,
  .footer-grid,
  .contact-grid,
  .grid-2,
  .outcomes-strip {
    grid-template-columns: 1fr;
  }

  .stats,
  .outcomes-strip {
    grid-template-columns: 1fr 1fr;
  }

  .btn-nav-cta {
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .nav {
    gap: 0.65rem;
  }

  .brand img {
    max-height: 38px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: rgba(10, 8, 16, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
    z-index: 60;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    white-space: normal;
    padding: 0.35rem 0;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .nav {
    gap: 1rem;
  }

  .nav-links {
    gap: 0.15rem 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .brand img {
    max-height: 40px;
  }
}

@media (max-width: 560px) {
  .stats,
  .outcomes-strip {
    grid-template-columns: 1fr;
  }

  .btn-nav-cta span[data-lang-en],
  .btn-nav-cta span[data-lang-ar] {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding: 1.75rem 0 3rem;
  }

  .hero-visual {
    width: min(100%, 240px);
    max-height: 240px;
  }

  .hero .lede {
    font-size: 1.02rem;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-tilt,
  .orb-glow,
  .orb-sat {
    animation: none;
  }
}

/* ?? Services page ?? */
.services-page {
  --services-header-offset: 4.6rem;
}

.services-hero {
  padding: 2.75rem 0 1.75rem;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 85% 20%, rgba(177, 77, 255, 0.16), transparent 60%),
    linear-gradient(180deg, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}

.services-hero .container {
  position: relative;
  z-index: 1;
}

.services-hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #e9d5ff 10%, var(--accent) 55%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-hero h1 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.services-hero p:last-child {
  max-width: 36rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--muted);
}

.services-cat {
  position: sticky;
  top: var(--services-header-offset);
  z-index: 40;
  background: rgba(7, 6, 11, 0.92);
  backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}

.services-cat-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.services-cat-list a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.services-cat-list a:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-elevated);
}

.services-block {
  padding: 3.75rem 0;
  scroll-margin-top: calc(var(--services-header-offset) + 3.25rem);
}

.services-block--band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.services-block .section-head {
  margin-bottom: 1.85rem;
}

.service-feature {
  padding: 1.65rem 1.75rem;
  margin-bottom: 1.25rem;
  background:
    linear-gradient(135deg, rgba(177, 77, 255, 0.12), transparent 55%),
    var(--bg-soft);
  border: 1px solid rgba(199, 139, 255, 0.28);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
}

.service-feature .service-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.55rem;
}

html[lang="ar"] .service-feature .service-label {
  letter-spacing: 0.04em;
}

.service-feature h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.service-feature p {
  margin: 0;
  color: #cfc4dc;
  font-size: 0.98rem;
  max-width: 52rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-grid--train {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid--ai .service-item--wide {
  grid-column: 1 / -1;
}

.service-item {
  padding: 1.25rem 1.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.25s var(--ease), background 0.2s;
}

.services-block--band .service-item {
  background: rgba(22, 19, 31, 0.65);
}

.service-item:hover {
  border-color: rgba(199, 139, 255, 0.4);
  transform: translateY(-2px);
  background: #1a1626;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.service-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.35rem;
}

.service-row {
  padding: 1rem 0 1rem 1.1rem;
  border-inline-start: 2px solid rgba(177, 77, 255, 0.45);
  transition: border-color 0.2s;
}

.service-row:hover {
  border-inline-start-color: var(--accent);
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.engage-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.engage-step {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--bg-soft);
}

.engage-step:not(:last-child) {
  border-inline-end: 1px solid var(--line);
}

.engage-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.15rem;
  inset-inline-end: -0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-block-start: 2px solid rgba(199, 139, 255, 0.45);
  border-inline-end: 2px solid rgba(199, 139, 255, 0.45);
  transform: rotate(45deg);
  background: var(--bg-soft);
  z-index: 1;
}

html[dir="rtl"] .engage-step:not(:last-child)::after {
  transform: rotate(-135deg);
}

.engage-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
  margin-bottom: 0.7rem;
}

.engage-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.engage-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.services-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.services-cta {
  padding: 3.25rem 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 120%, rgba(177, 77, 255, 0.22), transparent 55%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-top: 1px solid var(--line);
}

.services-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.services-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.services-cta p {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .service-grid,
  .service-grid--train,
  .service-rows,
  .engage-strip {
    grid-template-columns: 1fr;
  }

  .engage-step:not(:last-child) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .engage-step:not(:last-child)::after {
    display: none;
  }

  .services-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .services-hero {
    padding: 2rem 0 1.35rem;
  }

  .services-block {
    padding: 2.75rem 0;
  }

  .service-feature {
    padding: 1.25rem 1.15rem;
  }

  .services-cat-list a {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }
}

/* ?? FAQ & entity quote blocks ?? */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 0.15rem 1rem 0.85rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 0 0.35rem;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.1rem;
  margin-inline-end: 0.45rem;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::before {
  content: "?";
}

.faq-item p {
  margin: 0.35rem 0 0.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item a {
  color: var(--accent-soft);
}

.entity-blurb {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--bg-soft);
  color: var(--ink);
}

.related-links {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.related-links h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.related-links ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--muted);
}

.related-links a {
  color: var(--accent-soft);
}

/* ?? Articles hub ?? */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.articles-hub {
  overflow-x: hidden;
}

.articles-hero {
  position: relative;
  padding: 2.75rem 0 2.1rem;
  border-bottom: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(22, 12, 36, 0.55) 0%, transparent 72%),
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(177, 77, 255, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 20%, rgba(107, 33, 168, 0.28), transparent 50%);
  overflow: hidden;
}

.articles-hero-glow {
  position: absolute;
  inset-inline-end: -12%;
  top: -30%;
  width: min(52vw, 460px);
  height: min(52vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 139, 255, 0.28), transparent 68%);
  pointer-events: none;
  animation: articles-glow-drift 14s var(--ease) infinite alternate;
}

@keyframes articles-glow-drift {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-6%, 8%) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .articles-hero-glow {
    animation: none;
  }
}

.articles-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.articles-hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #f4f0fa 10%, var(--accent-soft) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="ar"] .articles-hero-brand {
  font-family: "Tajawal", var(--font-display), sans-serif;
  letter-spacing: -0.01em;
}

.articles-hero-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

html[lang="ar"] .articles-hero-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}

.articles-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  margin-bottom: 0.65rem;
  max-width: 18ch;
  line-height: 1.18;
}

html[lang="ar"] .articles-hero h1 {
  max-width: 22ch;
}

.articles-hero-lede {
  font-size: 1.02rem;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.articles-hero-meta {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8f7fa8;
  letter-spacing: 0.02em;
}

.articles-toolbar-wrap {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(7, 6, 11, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 1rem;
}

.articles-toolbar {
  display: grid;
  gap: 0.8rem;
}

.articles-search {
  position: relative;
  display: block;
}

.articles-search-icon {
  position: absolute;
  inset-inline-start: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  opacity: 0.75;
  pointer-events: none;
  display: flex;
}

.articles-search input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.82rem 1.05rem;
  padding-inline-start: 2.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1626, var(--bg-soft));
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.articles-search input::placeholder {
  color: #7d708f;
}

.articles-search input:focus {
  border-color: rgba(199, 139, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(177, 77, 255, 0.2);
  background: #1c1728;
}

.articles-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
}

.articles-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 31, 0.65);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s, background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.articles-chip:hover {
  border-color: rgba(199, 139, 255, 0.45);
  color: var(--ink);
  transform: translateY(-1px);
}

.articles-chip.is-active {
  background: linear-gradient(135deg, rgba(177, 77, 255, 0.32), rgba(107, 33, 168, 0.28));
  border-color: rgba(199, 139, 255, 0.7);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(177, 77, 255, 0.15), 0 8px 22px rgba(107, 33, 168, 0.2);
}

.articles-chip-count {
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(177, 77, 255, 0.14);
  color: var(--accent-soft);
}

.articles-chip.is-active .articles-chip-count {
  background: rgba(244, 240, 250, 0.12);
  color: #f4f0fa;
}

.articles-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.articles-status strong {
  color: var(--ink);
  font-weight: 700;
}

.articles-grid-section {
  padding: 1.35rem 0 3.75rem;
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.articles-cat-group {
  scroll-margin-top: 11rem;
}

.articles-cat-group.is-group-hidden {
  display: none !important;
}

.articles-cat-head {
  position: sticky;
  top: calc(64px + 7.25rem);
  z-index: 25;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.15rem;
  background: linear-gradient(180deg, rgba(7, 6, 11, 0.97) 55%, rgba(7, 6, 11, 0.75));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.articles-hub.is-flat .articles-cat-head {
  display: none;
}

.articles-cat-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.articles-cat-count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.articles-cat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.articles-hub.is-flat .articles-grid {
  gap: 0;
}

/* Case-studies hub: flat card grid (both classes on one element; must beat .articles-grid column flex) */
.articles-grid.card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.articles-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 1.25rem 1.3rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease), background 0.25s, box-shadow 0.3s var(--ease);
}

.articles-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-soft), transparent 85%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.articles-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.articles-card:hover::before {
  opacity: 1;
}

.articles-card-top {
  margin-bottom: 0.65rem;
}

.articles-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-soft);
  background: rgba(177, 77, 255, 0.12);
  border: 1px solid rgba(199, 139, 255, 0.22);
}

.articles-card-title {
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.articles-card-alt {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #7a6b8c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="ar"] .articles-card-alt {
  font-family: "Manrope", "Tajawal", system-ui, sans-serif;
}

html[lang="en"] .articles-card-alt {
  font-family: "Tajawal", "Manrope", system-ui, sans-serif;
}

.articles-card-lede {
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.articles-card .more {
  margin-top: 0.95rem;
  font-size: 0.86rem;
  transition: transform 0.25s var(--ease), color 0.2s;
}

.articles-card:hover .more {
  color: #e9d5ff;
  transform: translateX(3px);
}

html[dir="rtl"] .articles-card:hover .more {
  transform: translateX(-3px);
}

.articles-card.is-filtered-out {
  display: none !important;
}

.articles-empty {
  margin: 2.25rem 0 0;
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(199, 139, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(22, 19, 31, 0.45);
  color: var(--muted);
  text-align: center;
}

.articles-empty-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.articles-empty p {
  margin: 0 0 1rem;
}

.articles-empty .btn {
  margin-inline: auto;
}

@media (max-width: 900px) {
  .articles-toolbar-wrap {
    top: 56px;
  }

  .articles-cat-head {
    top: calc(56px + 8.5rem);
  }

  .articles-cat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-grid.card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-hero h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .articles-hero {
    padding: 1.85rem 0 1.45rem;
  }

  .articles-hero-brand {
    font-size: 1.7rem;
  }

  .articles-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    scrollbar-width: thin;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  html[dir="rtl"] .articles-chips {
    mask-image: linear-gradient(270deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .articles-cat-head {
    top: calc(56px + 9.5rem);
    flex-wrap: wrap;
  }

  .articles-cat-cards {
    grid-template-columns: 1fr;
  }

  .articles-grid.card-list {
    grid-template-columns: 1fr;
  }

  .articles-cat-group {
    scroll-margin-top: 14rem;
  }
}
