/* EXCETIX public site. Brand identity: navy, gold, cyan; Tajawal / IBM Plex Sans Arabic, Montserrat / Plus Jakarta Sans.
   Loaded after app.css: the back office keeps the base styles, the public pages use the x- classes below. */
:root {
  --x-navy: #0B192C; --x-navy2: #10223A; --x-deep: #0F1724; --x-ink: #0B192C; --x-mute: #56677D; --x-line: #DCE2EA;
  --x-gold: #D4AF37; --x-gold-d: #A8842A; --x-gold-l: #E9CF86; --x-cyan: #00E5FF; --x-cyan-d: #0097B2; --x-soft: #F4F6F9; --x-paper: #FFFFFF;
  --x-radius: 14px; --x-max: 1200px;
  /* Readex Pro for both languages (owner's choice, 2026-11-19); the EXCETIX wordmark keeps Montserrat as in the logo */
  --x-ar: "Readex Pro", Tahoma, sans-serif; --x-ar-h: "Readex Pro", Tahoma, sans-serif;
  --x-en: "Readex Pro", "Segoe UI", sans-serif; --x-en-h: "Readex Pro", "Segoe UI", sans-serif; --x-mark: "Montserrat", "Segoe UI", sans-serif;
}
html[lang="ar"] body { font-family: var(--x-ar); }
html[lang="en"] body { font-family: var(--x-en); }
body:has(.x-main) { background: var(--x-paper); color: var(--x-ink); }
.x-main h1, .x-main h2, .x-main h3, .x-main h4 { font-family: var(--x-ar-h); color: inherit; letter-spacing: 0; }
html[lang="en"] .x-main :is(h1, h2, h3, h4) { font-family: var(--x-en-h); }
.x-wrap { width: 100%; max-width: var(--x-max); margin: 0 auto; padding: 0 24px; position: relative; }
.x-muted { color: var(--x-mute); }
.x-skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--x-gold); color: var(--x-navy); padding: 8px 14px; border-radius: 8px; }
.x-skip:focus { top: 8px; }
.ltr { direction: ltr; text-align: start; }
svg.xi { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="rtl"] svg.xi.dir { transform: scaleX(-1); }

/* buttons */
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.x-btn.gold { background: linear-gradient(135deg, #E9CF86, #D4AF37 55%, #B8922C); color: #0B192C; box-shadow: 0 8px 24px rgba(212,175,55,.25); }
.x-btn.gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212,175,55,.38); }
.x-btn.ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.x-btn.ghost:hover { border-color: var(--x-cyan); color: var(--x-cyan); }
.x-btn.outline { border-color: var(--x-gold); color: var(--x-gold-d); background: transparent; }
.x-btn.outline:hover { background: rgba(212,175,55,.1); }
.x-btn.ghost-dark { border-color: var(--x-line); color: var(--x-ink); background: #fff; }
.x-btn.lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.x-btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.x-btn.block { display: flex; width: 100%; margin-top: 10px; }
.x-btn svg.xi { width: 18px; height: 18px; }

/* header */
.x-head { position: sticky; top: 0; z-index: 50; background: rgba(11,25,44,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background .3s; }
.x-head.over { position: fixed; inset-inline: 0; background: linear-gradient(180deg, rgba(11,25,44,.75), rgba(11,25,44,0)); border-color: transparent; }
.x-head.over.scrolled { background: rgba(11,25,44,.92); border-color: rgba(255,255,255,.06); }
.x-head-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.x-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.x-brand img { width: 40px; height: 40px; border-radius: 10px; }
.x-word { font-family: var(--x-mark); font-weight: 800; letter-spacing: .14em; font-size: 19px; color: #F1F4F7; }
.x-word i { font-style: normal; color: var(--x-gold); }
.x-brand small { font-family: var(--x-ar-h); font-size: 13px; color: #9FB0C4; padding-inline-start: 10px; border-inline-start: 1px solid rgba(255,255,255,.15); }
.x-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.x-nav a { color: #C6D1DE; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.x-nav a:hover, .x-nav a.on { color: #fff; background: rgba(255,255,255,.06); }
.x-nav a.on { box-shadow: inset 0 -2px 0 var(--x-gold); border-radius: 10px 10px 0 0; }
.x-nav .x-nav-cta { display: none; }
.x-head-tools { display: flex; align-items: center; gap: 10px; }
.x-ic { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #DCE3EB; cursor: pointer; font-weight: 700; font-family: var(--x-en-h); }
.x-ic:hover { border-color: var(--x-cyan); color: var(--x-cyan); }
.x-burger { display: none; }

/* blueprint drawing (construction lines of the logo) */
.x-bp { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.x-blueprint { width: 100%; height: 100%; }
.x-blueprint path, .x-blueprint circle { fill: none; stroke: #8FA6C4; stroke-width: 1; stroke-opacity: .22; stroke-dasharray: 1; stroke-dashoffset: 1; animation: x-draw 2.6s cubic-bezier(.6,.1,.2,1) forwards; }
.x-blueprint .dash { stroke-dasharray: .006 .006; stroke-dashoffset: 0; animation: x-fade 2s .8s both; }
.x-blueprint .bp-circles circle { animation-delay: .4s; }
.x-blueprint .bp-dims path { animation-delay: 1.1s; stroke: var(--x-gold); stroke-opacity: .35; }
@keyframes x-draw { to { stroke-dashoffset: 0; } }
@keyframes x-fade { from { opacity: 0; } }
.x-arcs { position: absolute; width: 420px; height: 420px; pointer-events: none; }
.x-arcs path { fill: none; stroke: var(--x-gold); stroke-width: 1.2; stroke-opacity: calc(.45 - var(--i) * .05); stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in .x-arcs path, .x-arcs.cta-arcs path { animation: x-draw 2.2s calc(var(--i) * .12s) cubic-bezier(.6,.1,.2,1) forwards; }

/* hero */
.x-hero { position: relative; min-height: 100vh; min-height: 100svh; background: radial-gradient(90% 70% at 70% 30%, #17385A 0%, #0E2036 40%, var(--x-deep) 75%); color: #fff; padding: 120px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.x-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: center; }
.x-eyebrow { color: var(--x-gold); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.x-eyebrow::before { content: ""; width: 38px; height: 2px; background: linear-gradient(90deg, var(--x-gold), var(--x-cyan)); }
html[lang="en"] .x-eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: 13px; }
.x-hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.2; font-weight: 800; margin: 0 0 20px; color: #F4F6F8; }
html[lang="en"] .x-hero h1 { line-height: 1.1; letter-spacing: -.015em; }
.x-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.8; color: #C6D1DE; max-width: 640px; margin: 0; }
.x-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.x-free { margin-top: 18px; color: var(--x-gold-l); font-weight: 600; display: flex; gap: 8px; align-items: center; font-size: 15px; }
.x-free svg.xi { width: 18px; height: 18px; color: var(--x-cyan); }
.x-hero-art { position: relative; }
.x-hero-art img { width: 120%; max-width: none; height: auto; margin-inline-start: -10%; display: block; -webkit-mask-image: radial-gradient(70% 66% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(70% 66% at 50% 50%, #000 55%, transparent 100%);
  animation: x-rise 1.6s .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes x-rise { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); } }
.x-hero-text > * { animation: x-up .9s cubic-bezier(.2,.7,.2,1) both; }
.x-hero-text > :nth-child(2) { animation-delay: .1s; } .x-hero-text > :nth-child(3) { animation-delay: .2s; } .x-hero-text > :nth-child(4) { animation-delay: .3s; } .x-hero-text > :nth-child(5) { animation-delay: .4s; }
@keyframes x-up { from { opacity: 0; transform: translateY(18px); } }
.x-creds-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.x-creds-strip span { font-family: var(--x-en-h); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: #9FB0C4; }

/* sections */
.x-sec { position: relative; padding: 96px 0; overflow: hidden; }
.x-soft { background: var(--x-soft); }
.x-dark { background: radial-gradient(100% 80% at 85% 0%, #17385A 0%, #0E2036 40%, var(--x-navy) 75%); color: #E8EDF3; }
.x-dark .x-lead { color: #C6D1DE; }
.x-kicker { display: flex; align-items: center; gap: 12px; color: var(--x-gold-d); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.x-kicker b { font-family: var(--x-en-h); color: var(--x-gold); }
.x-kicker i { width: 40px; height: 1.5px; background: var(--x-gold); }
.x-dark .x-kicker, .x-phead .x-kicker { color: var(--x-gold); }
html[lang="en"] .x-kicker span { letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; }
.x-h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; font-weight: 800; margin: 0 0 16px; max-width: 820px; }
.x-h3 { font-size: 24px; font-weight: 800; margin: 0 0 18px; }
.x-sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 40px; }
.x-sec-head .x-lead { color: var(--x-mute); }
.x-body { font-size: 17.5px; line-height: 1.95; color: #33445A; margin: 0 0 16px; }
html[lang="en"] .x-body { line-height: 1.75; }
.x-big { font-size: 20px; }

.x-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.x-three-i { padding: 30px; border-radius: var(--x-radius); border: 1px solid var(--x-line); background: #fff; position: relative; transition: transform .3s, box-shadow .3s; }
.x-three-i:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,25,44,.08); }
.x-three-i b { font-family: var(--x-en-h); font-size: 40px; font-weight: 300; color: var(--x-gold); line-height: 1; display: block; margin-bottom: 14px; }
.x-three-i h3 { font-size: 21px; margin: 0 0 8px; }
.x-three-i p { color: var(--x-mute); margin: 0; line-height: 1.8; }

/* service cards */
.x-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.x-svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px; border-radius: var(--x-radius); background: #fff; border: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s; }
.x-svc::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--x-gold), var(--x-cyan)); transform: scaleX(0); transform-origin: inline-start; transition: transform .4s; }
html[dir="rtl"] .x-svc::after { transform-origin: right; } html[dir="ltr"] .x-svc::after { transform-origin: left; }
.x-svc:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,25,44,.1); border-color: transparent; }
.x-svc:hover::after { transform: scaleX(1); }
.x-svc-n { position: absolute; top: 22px; inset-inline-end: 24px; font-family: var(--x-en-h); font-size: 14px; font-weight: 700; color: var(--x-gold); }
.x-svc-ic { width: 46px !important; height: 46px !important; padding: 11px; border-radius: 12px; background: var(--x-navy); color: var(--x-cyan); stroke-width: 1.6 !important; }
.x-svc h3 { font-size: 21px; margin: 10px 0 0; line-height: 1.4; }
.x-svc p { color: var(--x-mute); line-height: 1.8; margin: 0; flex: 1; }
.x-more { display: inline-flex; align-items: center; gap: 6px; color: var(--x-gold-d); font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.x-more svg.xi { width: 17px; height: 17px; transition: transform .3s; }
.x-svc:hover .x-more svg.xi, .x-prod:hover .x-more svg.xi { transform: translateX(4px); }
html[dir="rtl"] .x-svc:hover .x-more svg.xi, html[dir="rtl"] .x-prod:hover .x-more svg.xi { transform: scaleX(-1) translateX(4px); }

/* impact cycle */
.x-cycle { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: c; }
.x-cycle::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 1.5px; background: linear-gradient(90deg, var(--x-gold), var(--x-cyan)); opacity: .7; }
.x-cycle li { position: relative; }
.x-cyc-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--x-navy); border: 1.5px solid var(--x-gold); color: var(--x-gold); font-family: var(--x-en-h); font-weight: 700; font-size: 20px; margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(212,175,55,.06); }
.x-cycle h3 { font-size: 19px; color: #fff; margin: 0 0 8px; }
.x-cycle p { color: #AFBDCD; line-height: 1.8; font-size: 15.5px; margin: 0; }

/* products */
.x-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.x-prod { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: var(--x-radius); border: 1px solid var(--x-line); background: #fff; color: var(--x-ink); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.x-prod:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,25,44,.1); }
.x-prod-badge { height: 130px; border-radius: 12px; background: radial-gradient(120% 120% at 80% 0%, #17385A, #0E2036 55%, #0B192C); display: flex; flex-direction: column; justify-content: center; padding: 0 22px; position: relative; overflow: hidden; }
.x-prod-badge::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(212,175,55,.35); inset-inline-end: -60px; top: -40px; }
.x-prod-badge b { font-family: var(--x-en-h); font-size: 22px; letter-spacing: .14em; color: #fff; }
.x-prod-badge i { font-style: normal; font-family: var(--x-ar-h); color: var(--x-gold-l); font-size: 17px; margin-top: 4px; }
.x-prod-badge.tall { height: 200px; margin-bottom: 8px; }
.x-prod small { color: var(--x-cyan-d); font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
.x-prod p { color: var(--x-mute); line-height: 1.8; margin: 0; }

/* why / values */
.x-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.x-why-i { padding: 28px 24px; border-radius: var(--x-radius); background: #fff; border-top: 3px solid var(--x-gold); box-shadow: 0 10px 30px rgba(11,25,44,.05); }
.x-why-i span { font-family: var(--x-en-h); color: var(--x-gold); font-weight: 700; }
.x-why-i h3 { font-size: 19px; margin: 10px 0 8px; }
.x-why-i p { color: var(--x-mute); line-height: 1.8; margin: 0; font-size: 15.5px; }

/* CTA band */
.x-cta { background: var(--x-deep); color: #fff; padding: 80px 0; overflow: hidden; position: relative; }
.x-cta-in { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.x-cta h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; color: #fff; }
.x-cta p { color: #B9C6D6; line-height: 1.8; margin: 0; max-width: 680px; }
.x-cta-btns { display: flex; flex-direction: column; gap: 12px; }
.x-cta .cta-arcs { inset-inline-end: -120px; top: 50%; transform: translateY(-50%); opacity: .8; }

/* page head */
.x-phead { position: relative; background: radial-gradient(100% 90% at 80% 0%, #17385A 0%, #0E2036 45%, var(--x-navy) 80%); color: #fff; padding: 150px 0 70px; overflow: hidden; }
.x-phead h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.25; font-weight: 800; margin: 0 0 16px; max-width: 900px; color: #F4F6F8; }

/* service page */
.x-svc-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.x-problem { padding: 24px 26px; border-radius: var(--x-radius); background: #FBF6E8; border-inline-start: 4px solid var(--x-gold); margin-bottom: 34px; }
.x-problem h4 { margin: 0 0 6px; color: var(--x-gold-d); font-size: 16px; }
.x-problem p { margin: 0; font-size: 18px; line-height: 1.8; color: var(--x-ink); }
.x-subs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.x-subs li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--x-soft); font-weight: 500; line-height: 1.7; }
.x-subs svg.xi { color: var(--x-cyan-d); margin-top: 3px; }
.x-svc-side { position: sticky; top: 100px; }
.x-box { padding: 24px; border-radius: var(--x-radius); border: 1px solid var(--x-line); background: #fff; margin-bottom: 16px; }
.x-box h4 { margin: 0 0 12px; font-size: 16px; color: var(--x-gold-d); }
.x-box ul { margin: 0; padding-inline-start: 18px; line-height: 1.9; }
.x-box p { margin: 0; line-height: 1.8; color: var(--x-mute); }

/* sectors */
.x-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.x-sector { padding: 34px 28px; border-radius: var(--x-radius); border: 1px solid var(--x-line); border-top: 4px solid var(--x-navy); }
.x-sector:nth-child(2) { border-top-color: var(--x-gold); } .x-sector:nth-child(3) { border-top-color: var(--x-cyan-d); }
.x-sector-n { font-family: var(--x-en-h); color: var(--x-gold); font-weight: 700; }
.x-sector h2 { font-size: 22px; margin: 10px 0; line-height: 1.4; }
.x-sector p { color: var(--x-mute); line-height: 1.8; }
.x-sector h4 { font-size: 14px; color: var(--x-gold-d); margin: 20px 0 10px; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.x-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.x-chips a:hover { border-color: var(--x-gold); color: var(--x-gold-d); }
.x-band { height: 320px; overflow: hidden; }
.x-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* about */
.x-story { max-width: 860px; }
.x-pv { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.x-pv h4 { color: var(--x-gold); font-size: 16px; margin: 0 0 10px; }
.x-pv p { font-family: var(--x-ar-h); font-size: 23px; line-height: 1.75; color: #F1F4F7; margin: 0; }
html[lang="en"] .x-pv p { font-family: var(--x-en-h); font-weight: 500; line-height: 1.5; }
.x-founder { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; padding: 30px; border-radius: var(--x-radius); background: #fff; box-shadow: 0 10px 30px rgba(11,25,44,.06); max-width: 900px; }
.x-founder img { width: 140px; height: 140px; border-radius: 24px; }
.x-founder h3 { font-size: 24px; margin: 0; }
.x-founder small { color: var(--x-gold-d); font-weight: 700; font-size: 15px; display: block; margin: 4px 0 10px; }
.x-founder p { margin: 0; color: #33445A; line-height: 1.9; }
.x-creds { display: flex; flex-wrap: wrap; gap: 10px; }
.x-creds span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--x-gold); background: #FBF6E8; font-family: var(--x-en-h); font-weight: 600; font-size: 14px; color: var(--x-ink); }

/* contact */
.x-contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.x-form { display: grid; gap: 18px; padding: 34px; border-radius: var(--x-radius); border: 1px solid var(--x-line); background: #fff; box-shadow: 0 10px 30px rgba(11,25,44,.05); }
.x-form label { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--x-ink); }
.x-form input:not([type=radio]):not([type=checkbox]), .x-form select, .x-form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--x-line); background: var(--x-soft); font: inherit; font-weight: 400; color: var(--x-ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.x-form :is(input, select, textarea):focus { outline: none; border-color: var(--x-gold); background: #fff; box-shadow: 0 0 0 4px rgba(212,175,55,.15); }
.x-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-grid2[hidden] { display: none; }
.x-kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.x-kinds legend { font-weight: 700; margin-bottom: 10px; font-size: 16px; }
.x-kinds label { display: block; }
.x-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.x-kinds span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--x-line); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; }
.x-kinds input:checked + span { background: var(--x-navy); color: #fff; border-color: var(--x-navy); box-shadow: inset 0 -2px 0 var(--x-gold); }
.x-kinds input:focus-visible + span { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.x-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--x-mute) !important; }
.x-check input { margin-top: 4px; accent-color: var(--x-gold); }
.x-tel { font-family: var(--x-en-h); font-weight: 700; color: var(--x-ink); text-decoration: none; }
.x-tel.big { font-size: 22px; display: block; margin-bottom: 6px; }
.x-sent { text-align: center; padding: 60px 30px; border-radius: var(--x-radius); background: #fff; border: 1px solid var(--x-line); }
.x-sent-ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--x-navy); color: var(--x-gold); font-size: 30px; }

/* floating WhatsApp */
.x-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .2s; }
.x-wa:hover { transform: scale(1.06); }
.x-wa svg.xi { width: 28px; height: 28px; }

/* footer */
.x-foot { background: var(--x-navy); color: #AFBDCD; padding: 70px 0 0; }
.x-foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.x-foot-brand img { width: 280px; max-width: 100%; height: auto; }
.x-foot-brand p { line-height: 1.8; max-width: 360px; }
.x-foot h4 { color: #fff; font-size: 16px; margin: 6px 0 16px; }
.x-foot a { display: block; color: #AFBDCD; text-decoration: none; padding: 5px 0; transition: color .2s; }
.x-foot a:hover { color: var(--x-gold); }
.x-foot .x-tel { color: #fff; }
.x-foot .x-btn { display: inline-flex; margin-top: 14px; color: var(--x-gold); padding: 0 16px; }
.x-foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 26px 24px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.x-foot-bottom a { display: inline; }

/* reveal on scroll (base system adds .pre then .in) */
.x-main .reveal.pre { opacity: 0; transform: translateY(26px); }
.x-main .reveal.in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * .08s), transform .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * .08s); }
@media (prefers-reduced-motion: reduce) { .x-main *, .x-main *::before { animation: none !important; transition: none !important; }
  .x-blueprint path, .x-blueprint circle, .x-arcs path { stroke-dashoffset: 0; } }

/* responsive */
@media (max-width: 1080px) {
  .x-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: rgba(11,25,44,.98); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); transition: transform .35s; max-height: calc(100vh - 76px); overflow: auto; }
  body.x-menu-open .x-nav { transform: none; }
  .x-nav a { padding: 14px 12px; font-size: 17px; }
  .x-nav .x-nav-cta { display: flex; margin-top: 10px; }
  .x-burger { display: inline-flex; }
  .x-hero-in, .x-sec-head, .x-svc-page, .x-contact, .x-cta-in, .x-pv { grid-template-columns: 1fr; }
  .x-hero { padding-top: 110px; } .x-hero-art { order: -1; max-width: 640px; } .x-hero-art img { width: 110%; margin-inline-start: -5%; }
  .x-svc-grid, .x-prod-grid, .x-sectors { grid-template-columns: 1fr 1fr; }
  .x-why-grid { grid-template-columns: 1fr 1fr; }
  .x-cycle { grid-template-columns: 1fr; gap: 0; } .x-cycle::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--x-gold), var(--x-cyan)); }
  .x-cycle li { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding-bottom: 26px; } .x-cyc-n { grid-row: span 2; margin: 0; }
  .x-svc-side { position: static; }
  .x-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .x-wrap { padding: 0 16px; } .x-sec { padding: 64px 0; } .hide-sm { display: none !important; }
  .x-brand small { display: none; }
  .x-svc-grid, .x-prod-grid, .x-sectors, .x-why-grid, .x-three, .x-grid2, .x-foot-in { grid-template-columns: 1fr; }
  .x-hero-btns .x-btn { flex: 1 1 100%; }
  .x-founder { grid-template-columns: 1fr; text-align: center; } .x-founder img { margin: 0 auto; }
  .x-form { padding: 22px; } .x-phead { padding: 120px 0 50px; } .x-band { height: 200px; }
  .x-cta .cta-arcs { display: none; }
}

/* readiness check */
.x-rd { max-width: 980px; }
.x-rd-note { padding: 14px 18px; border-radius: 12px; background: #FBF6E8; color: var(--x-gold-d); font-weight: 600; margin: 0 0 26px; }
.x-rd-form { display: grid; gap: 22px; }
.x-rd-dim { border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 22px 24px; margin: 0; background: #fff; }
.x-rd-dim legend { padding: 0 8px; font-weight: 800; font-size: 18px; font-family: var(--x-ar-h); }
html[lang="en"] .x-rd-dim legend { font-family: var(--x-en-h); }
.x-rd-dim legend b { color: var(--x-gold); font-family: var(--x-en-h); margin-inline-end: 6px; }
.x-rd-q { padding: 14px 0; border-bottom: 1px dashed var(--x-line); }
.x-rd-q:last-child { border-bottom: 0; }
.x-rd-q p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.8; font-weight: 500; }
.x-rd-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.x-rd-scale label { position: relative; }
.x-rd-scale input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.x-rd-scale span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--x-line); cursor: pointer; text-align: center; transition: all .2s; background: var(--x-soft); }
.x-rd-scale b { font-family: var(--x-en-h); font-size: 17px; }
.x-rd-scale small { font-size: 12px; color: var(--x-mute); line-height: 1.3; }
.x-rd-scale span:hover { border-color: var(--x-gold); }
.x-rd-scale input:checked + span { background: var(--x-navy); border-color: var(--x-navy); color: #fff; box-shadow: inset 0 -3px 0 var(--x-gold); }
.x-rd-scale input:checked + span small { color: #C6D1DE; }
.x-rd-scale input:focus-visible + span { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.x-rd-res { display: grid; gap: 26px; }
.x-rd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 30px; border-radius: var(--x-radius); background: radial-gradient(100% 90% at 80% 0%, #17385A, #0E2036 50%, var(--x-navy)); color: #fff; }
.x-rd-top h2 { margin: 0 0 12px; color: #fff; }
.x-rd-overall b { font-family: var(--x-en-h); font-size: 64px; line-height: 1; color: var(--x-gold); display: block; }
.x-rd-overall span { color: #E9CF86; font-weight: 700; }
.x-rd-top p { color: #C6D1DE; line-height: 1.8; margin: 12px 0 0; }
.x-radar { width: 100%; height: auto; }
.x-radar .grid { fill: none; stroke: rgba(255,255,255,.14); }
.x-radar .axis { stroke: rgba(255,255,255,.12); }
.x-radar .val { fill: rgba(0,229,255,.18); stroke: var(--x-cyan); stroke-width: 2; }
.x-radar .dot { fill: var(--x-gold); }
.x-radar text { fill: #C6D1DE; font-size: 12px; font-family: inherit; }
.x-rd-bars { display: grid; gap: 12px; }
.x-rd-bars div { display: grid; grid-template-columns: 220px 1fr 56px; gap: 14px; align-items: center; font-weight: 600; }
.x-rd-bars i { height: 10px; border-radius: 99px; background: var(--x-soft); overflow: hidden; }
.x-rd-bars em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--x-gold), var(--x-cyan)); }
.x-rd-bars b { font-family: var(--x-en-h); text-align: end; }
.x-rd-gap { padding: 22px 26px; border-radius: var(--x-radius); border-inline-start: 4px solid var(--x-gold); background: #FBF6E8; }
.x-rd-gap h3 { margin: 0 0 8px; }
.x-rd-gap p { margin: 0; } .x-rd-gap a { color: var(--x-gold-d); font-weight: 700; }
.x-rd-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.x-rd-band { background: var(--x-soft); padding: 70px 0; }
.x-rd-band-in { display: flex; gap: 30px; align-items: center; justify-content: space-between; padding: 40px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(11,25,44,.08); border: 1px solid var(--x-line); }
.x-rd-band .x-lead { color: var(--x-mute); }
@media (max-width: 760px) {
  .x-rd-top { grid-template-columns: 1fr; } .x-rd-bars div { grid-template-columns: 1fr 48px; } .x-rd-bars span { grid-column: 1 / -1; }
  .x-rd-scale { grid-template-columns: repeat(5, 1fr); gap: 4px; } .x-rd-scale small { display: none; } .x-rd-dim { padding: 16px; }
  .x-rd-band-in { flex-direction: column; align-items: stretch; padding: 26px; }
}
@media print {
  .x-head, .x-foot, .x-wa, .x-cta, .x-phead, .x-rd-send, .x-rd-note { display: none !important; }
  .x-sec { padding: 0; } .x-rd-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* «مستشار إكسيتكس» chat */
.xa { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 45; }
.xa-btn { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid rgba(212,175,55,.55); background: rgba(11,25,44,.95); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.3), 0 0 0 0 rgba(0,229,255,.4); animation: xa-pulse 3s 2s 3; }
html[dir="rtl"] .xa-btn { padding: 6px 6px 6px 18px; }
.xa-btn img { width: 34px; height: 34px; border-radius: 50%; }
.xa.open .xa-btn { display: none; }
@keyframes xa-pulse { 50% { box-shadow: 0 12px 30px rgba(0,0,0,.3), 0 0 0 10px rgba(0,229,255,0); } }
.xa-panel { display: none; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(11,25,44,.35); border: 1px solid var(--x-line);
  flex-direction: column; }
.xa.open .xa-panel { display: flex; animation: x-up .3s cubic-bezier(.2,.7,.2,1); }
.xa-panel header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: radial-gradient(120% 120% at 80% 0%, #17385A, #0B192C); color: #fff; }
.xa-panel header img { border-radius: 10px; }
.xa-panel header b { display: block; } .xa-panel header small { color: #AFBDCD; font-size: 12px; }
.xa-x { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.xa-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--x-soft); }
.xa-m { max-width: 88%; padding: 11px 14px; border-radius: 14px; line-height: 1.75; font-size: 15px; }
.xa-m.bot { background: #fff; border: 1px solid var(--x-line); align-self: flex-start; border-start-start-radius: 4px; }
.xa-m.me { background: var(--x-navy); color: #fff; align-self: flex-end; border-start-end-radius: 4px; }
.xa-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.xa-links a { font-weight: 700; color: var(--x-gold-d); text-decoration: none; font-size: 14px; }
.xa-links a.xa-cta { padding: 7px 12px; border-radius: 999px; background: linear-gradient(135deg, #E9CF86, #D4AF37); color: var(--x-navy); }
.xa-opts { display: grid; gap: 6px; margin-top: 10px; }
.xa-opts button { text-align: start; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--x-line); background: var(--x-soft); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.xa-opts button:hover { border-color: var(--x-gold); background: #FBF6E8; }
.xa-typing { display: flex; gap: 4px; } .xa-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--x-mute); animation: xa-dot 1s infinite; }
.xa-typing i:nth-child(2) { animation-delay: .15s; } .xa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes xa-dot { 50% { opacity: .2; transform: translateY(-3px); } }
.xa-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--x-line); background: #fff; }
.xa-form input { flex: 1; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--x-line); font: inherit; background: var(--x-soft); }
.xa-form input:focus { outline: none; border-color: var(--x-gold); background: #fff; }
.xa-form button { width: 44px; border-radius: 10px; border: 0; background: var(--x-navy); color: var(--x-gold); font-size: 18px; cursor: pointer; }
html[dir="rtl"] .xa-form button { transform: scaleX(-1); }
.xa-note { margin: 0; padding: 0 12px 10px; font-size: 11.5px; color: var(--x-mute); background: #fff; }
@media (max-width: 640px) { .xa { bottom: 16px; inset-inline-start: 16px; } .xa-btn span { display: none; } .xa-btn { padding: 6px !important; }
  .xa.open { inset: auto 8px 8px 8px; } .xa-panel { width: 100%; height: calc(100vh - 90px); } }
@media print { .xa { display: none !important; } }

/* academy */
.x-ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.x-ac-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; border-radius: var(--x-radius); border: 1px solid var(--x-line); background: #fff; color: var(--x-ink); text-decoration: none; transition: transform .3s, box-shadow .3s; position: relative; }
.x-ac-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,25,44,.1); }
.x-ac-card h3 { font-size: 20px; margin: 4px 0 0; line-height: 1.4; }
.x-ac-card p { color: var(--x-mute); line-height: 1.8; margin: 0; flex: 1; }
.x-ac-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--x-soft); color: var(--x-mute); }
.x-ac-tag.open { background: #E6FBF1; color: #0F7A4C; }
.x-ac-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.x-ac-meta span { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: var(--x-soft); color: var(--x-ink); font-weight: 600; }
.x-ac-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--x-line); }
.x-ac-foot b { font-family: var(--x-en-h); color: var(--x-gold-d); }
.x-ac-price b { display: block; font-family: var(--x-en-h); font-size: 30px; color: var(--x-ink); }
.x-ac-price small { color: var(--x-mute); }
.x-ac-pay { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: #FBF6E8; border-inline-start: 4px solid var(--x-gold); text-align: start; }
.x-ac-pay h3 { margin: 0 0 6px; font-size: 17px; }
.x-ac-pay p { margin: 0; line-height: 1.9; }
@media (max-width: 1080px) { .x-ac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .x-ac-grid { grid-template-columns: 1fr; } }

/* header: eight items — keep each link on one line, and switch to the menu button earlier */
.x-nav a { white-space: nowrap; padding: 10px 10px; }
@media (max-width: 1360px) { .x-brand small { display: none; } }
@media (max-width: 1240px) and (min-width: 1081px) {
  .x-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: rgba(11,25,44,.98); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); transition: transform .35s; }
  body.x-menu-open .x-nav { transform: none; }
  .x-nav a { padding: 14px 12px; font-size: 17px; } .x-nav .x-nav-cta { display: flex; margin-top: 10px; }
  .x-burger { display: inline-flex; }
}

/* the base stylesheet turns every hovered/tapped link white (a:hover{color:#fff}); site cards and light-background
   links keep their own colours so their text never disappears */
a.x-svc:hover, a.x-svc:active, a.x-svc:focus, a.x-prod:hover, a.x-prod:active, a.x-prod:focus,
a.x-ac-card:hover, a.x-ac-card:active, a.x-ac-card:focus, a.x-three-i:hover { color: var(--x-ink); }
.x-box a.x-tel:hover, .x-contact a.x-tel:hover { color: var(--x-gold-d); }
.x-rd-gap a:hover, .xa-links a:hover, .x-ac-pay a:hover { color: var(--x-gold-d); }
.xa-links a.xa-cta:hover { color: var(--x-navy); }
.x-btn.outline:hover { color: var(--x-gold-d); } .x-btn.ghost-dark:hover { color: var(--x-ink); border-color: var(--x-gold); }
.x-btn.gold:hover { color: #0B192C; } .x-btn.ghost:hover { color: var(--x-cyan); }
.x-main a, .x-main button { -webkit-tap-highlight-color: rgba(212,175,55,.15); }

/* the logo's gleam: a band of light crosses the mark every few seconds (overlay blending brightens only the gold
   and cyan strokes, the dark background stays dark); off for visitors who ask for less motion */
.x-shine { position: relative; display: inline-block; border-radius: 10px; overflow: hidden; line-height: 0; }
.x-shine::after, .x-gleam::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 48%, rgba(180,250,255,.5) 52%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: overlay; }
.x-shine::after { animation: x-sweep 6s 1.5s ease-in-out infinite; }
.x-gleam { position: relative; }
.x-gleam::after { -webkit-mask-image: radial-gradient(70% 66% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(70% 66% at 50% 50%, #000 55%, transparent 100%);
  inset: 0 -10%; animation: x-sweep 7s 2.2s ease-in-out infinite; }
@keyframes x-sweep { 0% { background-position: 130% 0; } 35%, 100% { background-position: -130% 0; } }
.x-gleam img { filter: drop-shadow(0 0 0 rgba(0,229,255,0)); animation: x-rise 1.6s .3s cubic-bezier(.2,.7,.2,1) both, x-glow 7s 2.2s ease-in-out infinite; }
@keyframes x-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(0,229,255,0)); } 18% { filter: drop-shadow(0 0 18px rgba(0,229,255,.28)); } }
@media (max-width: 1080px) { .x-gleam::after { inset: 0 -5%; } }
@media (prefers-reduced-motion: reduce) { .x-shine::after, .x-gleam::after { animation: none; display: none; } .x-gleam img { animation: none; } }

/* products with their own pictures */
.x-prod { padding: 0; overflow: hidden; gap: 0; }
.x-prod-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--x-navy); }
.x-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.x-prod:hover .x-prod-img img { transform: scale(1.04); }
.x-prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.x-prod-name { display: flex; align-items: baseline; gap: 10px; }
.x-prod-name b { font-family: var(--x-en-h); letter-spacing: .12em; font-size: 18px; color: var(--x-ink); }
.x-prod-name i { font-style: normal; font-family: var(--x-ar-h); color: var(--x-gold-d); font-size: 16px; }
.x-prod-body p { flex: 1; }
.x-prod-grid.two { grid-template-columns: 1fr 1fr; }
.x-pp-cover { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(11,25,44,.18); border: 1px solid var(--x-line); background: var(--x-navy); }
.x-pp-cover img { width: 100%; display: block; max-height: 560px; object-fit: cover; }
.x-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 26px; margin-top: 34px; align-items: start; }
.x-gallery.phones { grid-template-columns: repeat(4, 1fr); }
.x-gallery figure { margin: 0; }
.x-gallery .x-wide { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.x-gallery .x-wide img { width: 100%; display: block; }
.x-phone { justify-self: center; width: 100%; max-width: 270px; padding: 10px; border-radius: 34px; background: #05070c; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.12); }
.x-phone img { width: 100%; display: block; border-radius: 26px; }
@media (max-width: 1080px) { .x-gallery.phones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .x-prod-grid.two { grid-template-columns: 1fr; } .x-gallery.phones { grid-template-columns: 1fr 1fr; gap: 14px; } .x-phone { padding: 6px; border-radius: 22px; } .x-phone img { border-radius: 17px; } }

/* Readex Pro: headings a little lighter than 800 and slightly tighter, body at regular weight */
.x-main :is(h1, h2) { font-weight: 700; } .x-main h3 { font-weight: 600; }
html[lang="en"] .x-main :is(h1, h2) { letter-spacing: -.01em; }
.x-prod-name b, .x-prod-badge b { font-family: var(--x-mark); }

/* hero: the text always sits above the logo image, and the image no longer spreads into the text column */
.x-hero-text { position: relative; z-index: 2; }
.x-hero-art { z-index: 1; }
.x-hero-art img { width: 108%; margin-inline-start: -4%; }
.x-gleam::after { inset: 0 -4%; }
@media (min-width: 1081px) { .x-hero-in { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.x-hero-art img, .x-gleam::after { -webkit-mask-image: radial-gradient(58% 56% at 50% 50%, #000 42%, transparent 86%); mask-image: radial-gradient(58% 56% at 50% 50%, #000 42%, transparent 86%); }
html[lang="en"] .x-hero h1 { font-size: clamp(32px, 3.9vw, 54px); }
.x-hero-art img, .x-gleam::after { -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 78%, transparent 100%); }

/* advisor: the base (dark) theme makes buttons and inputs white; keep them readable on the light panel */
.xa-opts button, .xa-opts button:hover, .xa-opts button:focus { color: var(--x-ink); -webkit-text-fill-color: currentColor; }
.xa-form input, .xa-form input:focus { color: var(--x-ink); -webkit-text-fill-color: currentColor; caret-color: var(--x-navy); }
.xa-form input::placeholder { color: var(--x-mute); -webkit-text-fill-color: var(--x-mute); opacity: 1; }

/* academy: the AI track (graded levels) */
.x-ac-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.x-ac-tags .x-ac-tag { align-self: auto; }
.x-ac-level { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #E9CF86, #D4AF37); color: var(--x-navy); }
.x-ac-ai-sub { max-width: 760px; margin-top: -6px; }
.x-ac-steps { counter-reset: none; }
.x-ac-steps .x-ac-card { border-top: 3px solid var(--x-gold); }
.x-ac-track { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--x-mute); font-weight: 600; margin: 0 0 14px; }

/* contact details: numbers and e-mail read left-to-right but sit aligned with the column */
.x-tel bdi, .x-mail bdi { unicode-bidi: isolate; }
.x-mail { font-family: var(--x-en); font-weight: 600; color: var(--x-ink); text-decoration: none; word-break: break-all; }
.x-mail.big { display: block; font-size: 17px; margin-bottom: 14px; }
.x-foot .x-mail { color: #fff; }
.x-box a.x-mail:hover, .x-foot a.x-mail:hover { color: var(--x-gold-d); }
.x-foot a.x-mail:hover { color: var(--x-gold); }
.xa-progs { display: grid; gap: 6px; margin-top: 10px; }
.xa-progs a { display: block; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--x-line); background: var(--x-soft); color: var(--x-ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.xa-progs a:hover { border-color: var(--x-gold); background: #FBF6E8; color: var(--x-ink); }

/* EXCETIX "warm paper" look (approved by the owner, 2026-11-20).
   Brand colours, logo and fonts stay as they are; only the background tones, their rhythm and the card details change. */
:root {
  --x-paper: #FAF8F4;   /* warm ivory instead of pure white */
  --x-soft: #F2EEE6;    /* warm stone for secondary sections and fields */
  --x-line: #E5DED1;    /* warm hairlines */
}
body:has(.x-main) { background: var(--x-paper); }

/* cards: white on ivory, finer border, softer and deeper shadow */
:is(.x-svc, .x-prod, .x-three-i, .x-box, .x-ac-card, .x-form, .x-sent, .x-rd-dim, .x-founder) {
  background: #fff; border-color: var(--x-line);
  box-shadow: 0 1px 2px rgba(11,25,44,.04), 0 14px 34px -12px rgba(11,25,44,.10);
}
:is(.x-svc, .x-prod, .x-ac-card, .x-three-i):hover { box-shadow: 0 2px 4px rgba(11,25,44,.05), 0 26px 50px -18px rgba(11,25,44,.22); }

/* light sections: a faint engineering grid from the logo's construction lines, fading out */
.x-sec.x-soft { position: relative; isolation: isolate; }
.x-sec.x-soft::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(168,132,42,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(168,132,42,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 85%);
}

/* "why EXCETIX" stays light (the call-to-action band and the footer below are already dark): white cards with a gold top */
.x-why-i { background: #fff; border: 1px solid var(--x-line); border-top: 2px solid var(--x-gold); box-shadow: 0 1px 2px rgba(11,25,44,.04), 0 14px 34px -12px rgba(11,25,44,.10); }

/* dark sections: a gold hairline where they meet the light ones */
:is(.x-dark, .x-cta) { box-shadow: inset 0 1px 0 rgba(212,175,55,.28), inset 0 -1px 0 rgba(212,175,55,.18); }

/* readiness band: white card on stone */
.x-rd-band { background: var(--x-soft); }

/* gold in measured doses: kicker numbers with a short rule */
.x-kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .6; margin-inline-start: 10px; vertical-align: middle; }

/* body text a touch warmer */
.x-body, .x-lead { color: #3A4757; }
.x-dark .x-lead { color: #C6D1DE; }
