/* ================================================================
   Polish layer over the live design. Same layout, every section where
   it was. Calmer surfaces, stronger type, brighter text, real pictures.
   Loaded last on every page; polish.js adds the scroll animations.
   ================================================================ */

:root {
  --fg-dark-soft: #c2c7d0;
  --fg-dark-mute: #969ca8;
  --radius-card: 22px;
  /* neutral chrome: the same moving edge, without the rainbow tint */
  --lm-border: 1px;
  --lm-speed: 11s;
  --lm-shine:
    transparent 0deg, transparent 50deg,
    rgba(255,255,255,.75) 75deg, transparent 105deg,
    transparent 235deg, rgba(255,255,255,.5) 255deg, transparent 280deg, transparent 360deg;
}

/* ---------- Type ---------- */
body { font-size: 17px; }
h1, h2, h3, h4 { text-wrap: balance; }
.section h2, .statement-section h2 { font-weight: 600; font-size: clamp(36px, 4.6vw, 66px); letter-spacing: -0.042em; line-height: 1.02; }
html[data-lang="ar"] .section h2 { letter-spacing: 0; line-height: 1.25; }
.section h2::after { display: none; }
.section-lead { font-size: 18.5px; line-height: 1.6; }
.kicker { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fg-dark-soft); }
.kicker::before { display: none; }

/* ---------- Hero: the headline gets the room it needs ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; }
.light-top h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: .98; }
html[data-lang="ar"] .light-top h1 { letter-spacing: 0; line-height: 1.2; }
.hero-lead { font-size: 19.5px; line-height: 1.55; max-width: 580px; }
.hero-pill { font-size: 14px; }
.hero-dots { display: none; }
:root:not([data-mode="light"]) .light-top .hero-lead { color: #c9cdd5; }
:root:not([data-mode="light"]) .light-top .crumb, :root:not([data-mode="light"]) .light-top .crumb a { color: #a2a8b3; }
:root:not([data-mode="light"]) .hero-floor { opacity: .22; }
.page-hero { padding: 180px 0 120px; }
.page-hero h1 { max-width: 1040px; font-size: clamp(44px, 6vw, 88px); }

/* ---------- Background: one quiet light, no pattern ---------- */
.bg-fx .bg-grid { display: none; }
.scroll-progress { height: 1px; box-shadow: none; }

/* ---------- Surfaces: flat, one tone above the page ---------- */
.stack-num { padding: 0; border: 0; background: none !important; font-size: 15px; font-variant-numeric: tabular-nums; }

.photo { height: 400px; border-radius: 14px; border: 0; box-shadow: none; }
.svc-art .photo { height: 520px; border-radius: 16px; }
.photo::after { display: none; }
.photo img { object-position: top center; }
.photo img[src*="svc-"], .photo img[src*="img/it/"] { object-position: center; }
.photo-chip { animation: none; background: #fff; border: 0; box-shadow: none; font-weight: 500; }
html.is-scrolling .photo-chip { animation: none; }

.inc, .value-card, .timeline .step, .faq-item {
  border-radius: 18px;
}
:root:not([data-mode="light"]) .inc,
:root:not([data-mode="light"]) .value-card,
:root:not([data-mode="light"]) .timeline .step,
:root:not([data-mode="light"]) .faq-item { background: #111215; border-color: rgba(255,255,255,.07); }
.inc, .value-card { transition: transform .2s ease-out, border-color .3s, background-color .3s; }
:root:not([data-mode="light"]) .inc:hover, :root:not([data-mode="light"]) .value-card:hover { background: #17181c; border-color: rgba(255,255,255,.18); }
.inc::after, .value-card::after { display: none; }
.inc-ico { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; margin-bottom: 18px; }
:root:not([data-mode="light"]) .inc-ico { background: rgba(255,255,255,.07); border: 0; color: #fff; }
.inc-ico .ico { width: 22px; height: 22px; }
.inc h4, .inc h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.15; }
:root:not([data-mode="light"]) .inc h3 { color: #fff; }
.inc p, .value-card p { font-size: 16px; line-height: 1.55; }
:root:not([data-mode="light"]) .inc p, :root:not([data-mode="light"]) .value-card p, :root:not([data-mode="light"]) .timeline .step p { color: #c2c7d0; }
.inc h4 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.inc h4 a:hover { text-decoration-color: currentColor; }

/* ---------- Process, FAQ, CTA ---------- */
.step-num { font-weight: 600; font-size: 44px; background: none; color: inherit; opacity: .9; font-variant-numeric: tabular-nums; }
:root:not([data-mode="light"]) .step-num { -webkit-text-fill-color: #fff; color: #fff; }
.timeline .step h4 { font-size: 24px; font-weight: 600; }
.timeline .step p { font-size: 16px; line-height: 1.55; }
.faq-item summary { font-size: 19px; font-weight: 500; padding: 24px 26px; }
.faq-item p { font-size: 17px; line-height: 1.6; }
:root:not([data-mode="light"]) .faq-item p { color: #c2c7d0; }
.faq-n { display: none; }
.faq-item p, html[dir="rtl"] .faq-item p { padding: 0 26px 26px; }

.cta-card { border-radius: 28px; box-shadow: none; padding: 130px 32px; }
:root:not([data-mode="light"]) .cta-card {
  background: radial-gradient(70% 120% at 50% 125%, #4a4e57 0%, #1d1f24 55%, #131418 100%);
  border: 1px solid rgba(255,255,255,.12);
}
:root:not([data-mode="light"]) .cta-card .section-lead, :root:not([data-mode="light"]) .cta-card .kicker { color: #d5d8de; }
.cta-card::before, .cta-card::after { display: none; }
.cta-card h2 { font-size: clamp(40px, 5.4vw, 76px); }

/* ---------- Work ---------- */
.case { border-radius: var(--radius-card); box-shadow: none; }
:root:not([data-mode="light"]) .case { background: #111215; border-color: rgba(255,255,255,.08); }
.case::before { display: none; }
.case-desc { font-size: 16.5px; -webkit-line-clamp: 5; }
:root:not([data-mode="light"]) .case-desc { color: #c2c7d0; }
.case-stage { background: none; }
.badge-live i { box-shadow: none; }

/* ---------- Footer ---------- */
/* Same look as the live site. The live fade is a gradient on the text, which
   cannot follow letters that move, so the same fade is applied as a mask. */
.footer-big {
  margin: 30px 0 50px;
  font-size: clamp(80px, 19vw, 280px); font-weight: 800; letter-spacing: -0.05em; line-height: .8;
  white-space: nowrap; overflow-x: visible; overflow-y: clip;
  background: none; color: #dfe3e8; -webkit-text-fill-color: currentColor;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.08) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.08) 60%, transparent 100%);
}
.footer-big .fl { display: inline-block; will-change: transform; }
.footer-col, .footer-brand p { font-size: 16px; }
:root:not([data-mode="light"]) .footer { color: #c2c7d0; }
:root:not([data-mode="light"]) .footer-bottom p { color: #969ca8; }
.footer-col h4 { letter-spacing: 0; text-transform: none; font-size: 15px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-size: 14.5px; }
.footer-legal a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.footer-legal a:hover { text-decoration-color: currentColor; }

/* ---------- IT services ---------- */
.it-group { padding: 110px 0; }
.it-intro { margin-bottom: 56px; }
.it-intro .svc-art .photo { height: 380px; }
.it-why { margin-top: 12px !important; font-weight: 500; }
:root:not([data-mode="light"]) .it-why { color: #fff !important; }
.it-card { scroll-margin-top: 110px; }
.it-credits { padding: 72px 0; }
.it-credits h2 { font-size: 24px !important; letter-spacing: -0.01em !important; margin-bottom: 12px; }
.it-credits a { text-decoration: underline; text-underline-offset: 3px; }
.it-credits p { max-width: 900px; font-size: 15.5px; }
:root:not([data-mode="light"]) .it-credits { color: #c2c7d0; }
#questions, .it-group { scroll-margin-top: 90px; }

/* ---------- Scroll reveal for pictures (polish.js) ---------- */
.js-clip .photo { clip-path: inset(var(--clip, 0%) round 14px); }
.js-clip .cta-card { transform: scale(var(--cta, 1)); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; }
  .photo { height: 260px; }
  .svc-art .photo, .it-intro .svc-art .photo { height: 300px; }
  .page-hero { padding: 130px 0 72px; }
  .it-group { padding: 80px 0; }
  .cta-card { padding: 80px 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .light-top h1, .page-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-lead { font-size: 17.5px; }
}

/* ---------- Details found on review ---------- */
.nav-bar { max-width: 1240px; }
.nav.scrolled .nav-bar { max-width: 1180px; }
.nav-links a { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero .light-top h1 span, .light-top.hero h1 span { display: inline; }
.it-group .included-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
#prove .included-grid { grid-template-columns: repeat(3, 1fr); }
.it-card { padding: 26px 24px; }
@media (max-width: 1100px) { .it-group .included-grid, #prove .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .it-group .included-grid, #prove .included-grid { grid-template-columns: 1fr; } }

/* ---------- Services menu ---------- */
.nav-links a[data-mega] { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a[data-mega]::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .3s var(--ease); }
.nav.mega-open .nav-links a[data-mega]::after { transform: translateY(1px) rotate(225deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 0; right: 0;
  display: grid; grid-template-columns: 1.05fr 1.1fr .95fr 1.1fr 1fr; gap: 28px;
  padding: 32px 34px; border-radius: 24px;
  background: #121317; color: #fff; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 36px 70px -24px rgba(0,0,0,.85);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility .2s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav.mega-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-head { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #9ea4af; transition: color .2s; }
.mega-head:hover { color: #fff; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a { display: block; padding: 6px 8px; margin-inline-start: -8px; border-radius: 8px; font-size: 14.5px; line-height: 1.3; font-weight: 500; transition: background-color .2s, transform .25s var(--ease); }
.mega li a:hover, .mega li a:focus-visible { background: rgba(255,255,255,.09); transform: translateX(3px); }
.m-sub { display: none; }
@media (max-width: 1100px) {
  .mega { display: none; }
  .nav-links { max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links a[data-mega]::after { display: none; }
  .m-sub { display: block; padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .m-sub summary { padding: 11px 0; font-size: 16px; cursor: pointer; }
  .m-sub ul { list-style: none; margin: 0 0 12px; padding: 0; }
  .m-sub .mega-head { padding: 10px 0 4px; margin: 0; border: 0; font-size: 14px; font-weight: 600; opacity: .7; }
  .nav-links .m-sub li a { padding: 9px 0; font-size: 15.5px; border: 0; opacity: .9; }
}

/* ---------- Shield art and policy pages ---------- */
.guard-art { display: grid; place-items: center; background: #101114; }
.guard-art .contours { position: absolute; inset: 6%; width: 88%; height: 88%; }
.guard-art .hero-mark { width: 15%; color: #fff; }
.legal-body { max-width: 860px; }
.legal-date { margin: 0 0 40px; color: var(--fg-dark-soft); }
.legal-block { margin-bottom: 56px; scroll-margin-top: 110px; }
.section .legal-block h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; letter-spacing: -0.03em; }
.legal-block p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; color: var(--fg-dark-soft); }
.legal-block a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-table { overflow-x: auto; margin: 18px 0 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); }
.legal-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.legal-table th, .legal-table td { padding: 13px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.09); color: var(--fg-dark-soft); }
.legal-table th { color: #fff; font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }

/* ---------- Light mode: properly light, top to bottom ---------- */
html:not(#_):not(#_)[data-mode="light"] { --fg-dark-soft: #3f4757; --fg-dark-mute: #667085; }
html:not(#_):not(#_)[data-mode="light"], html:not(#_):not(#_)[data-mode="light"] body, html:not(#_):not(#_)[data-mode="light"] body.home { background: #f5f6f8; color: #0d1220; }
html[data-mode="light"]:has(body.home) { background: #f5f6f8; }
html:not(#_):not(#_)[data-mode="light"] .bg-fx, html:not(#_):not(#_)[data-mode="light"] .hero-dots, html:not(#_):not(#_)[data-mode="light"] .hero-floor, html:not(#_):not(#_)[data-mode="light"] .hero-spot, html:not(#_):not(#_)[data-mode="light"] .hero-glow { display: none; }
html:not(#_):not(#_)[data-mode="light"] .light-top { background: #f5f6f8; color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .light-top::after { display: none; }
html:not(#_):not(#_)[data-mode="light"] .light-top h1 { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .light-top .hero-lead { color: #3f4757; }
html:not(#_):not(#_)[data-mode="light"] .crumb, html:not(#_):not(#_)[data-mode="light"] .crumb a { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .hero-aurora { opacity: .55; }

html:not(#_):not(#_)[data-mode="light"] .nav .nav-bar, html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .nav-bar { background: rgba(255,255,255,.84); color: #0d1220; border-color: #dfe3ea; box-shadow: 0 16px 36px -22px rgba(11,26,58,.4); }
html:not(#_):not(#_)[data-mode="light"] .nav-bar::after { display: none; }
html:not(#_):not(#_)[data-mode="light"] .nav .nav-links a, html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .nav-links a { color: #0d1220; opacity: .8; }
html:not(#_):not(#_)[data-mode="light"] .nav .nav-links a:hover, html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .nav-links a:hover { background: #eef1f6; opacity: 1; }
html:not(#_):not(#_)[data-mode="light"] .nav .nav-links a[aria-current="page"], html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .nav-links a[aria-current="page"] { background: #e6edff; color: #1d4ed8; opacity: 1; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .lang-btn, html:not(#_):not(#_)[data-mode="light"] .nav.on-dark .menu-btn, html:not(#_):not(#_)[data-mode="light"] .nav .mode-btn { background: transparent; color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .lang-btn::before, html:not(#_):not(#_)[data-mode="light"] .menu-btn::before, html:not(#_):not(#_)[data-mode="light"] .mode-btn::before, html:not(#_):not(#_)[data-mode="light"] .btn::before { background: #cfd5df; animation: none; opacity: 1; }
html:not(#_):not(#_)[data-mode="light"] .logo, html:not(#_):not(#_)[data-mode="light"] .logo-wordmark { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .btn-blue, html:not(#_):not(#_)[data-mode="light"] .btn-primary, html:not(#_):not(#_)[data-mode="light"] .btn-dark, html:not(#_):not(#_)[data-mode="light"] .nav-cta { background: #2563eb; color: #fff; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .btn-blue:hover, html:not(#_):not(#_)[data-mode="light"] .btn-primary:hover, html:not(#_):not(#_)[data-mode="light"] .btn-dark:hover, html:not(#_):not(#_)[data-mode="light"] .nav-cta:hover { background: #1e40af; }
html:not(#_):not(#_)[data-mode="light"] .btn-blue::before, html:not(#_):not(#_)[data-mode="light"] .btn-dark::before, html:not(#_):not(#_)[data-mode="light"] .btn-primary::before { display: none; }
html:not(#_):not(#_)[data-mode="light"] .btn-ghost { background: #fff; color: #0d1220; border: 1px solid #cfd5df; }
html:not(#_):not(#_)[data-mode="light"] .text-link { color: #1d4ed8; }

html:not(#_):not(#_)[data-mode="light"] .mega { background: #fff; color: #0d1220; border-color: #dfe3ea; box-shadow: 0 36px 70px -30px rgba(11,26,58,.4); }
html:not(#_):not(#_)[data-mode="light"] .mega-head { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .mega-head:hover { color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] .mega li a:hover, html:not(#_):not(#_)[data-mode="light"] .mega li a:focus-visible { background: #eef1f6; }
@media (max-width: 1100px) {
  html:not(#_):not(#_)[data-mode="light"] .nav-links { background: #fff; color: #0d1220; border-color: #dfe3ea; }
  html:not(#_):not(#_)[data-mode="light"] .nav-links a { border-bottom-color: #e6e9ef; }
  html:not(#_):not(#_)[data-mode="light"] .m-sub { border-bottom-color: #e6e9ef; }
  html:not(#_):not(#_)[data-mode="light"] .nav-links .nav-mobile-cta { background: #2563eb; color: #fff; }
}

html:not(#_):not(#_)[data-mode="light"] .section h2, html:not(#_):not(#_)[data-mode="light"] .statement-section h2 { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .section-lead { color: #3f4757; }
html:not(#_):not(#_)[data-mode="light"] .kicker { color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] .section::before { background: #dfe3ea; }
html:not(#_):not(#_)[data-mode="light"] .statement { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .statement .w.hl.lit { color: #1d4ed8; }

html:not(#_):not(#_)[data-mode="light"] .stack-num, html:not(#_):not(#_)[data-mode="light"] .svc .stack-num { color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] .photo { background: #e9edf3; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .photo-chip { background: #fff; color: #0d1220; box-shadow: 0 6px 18px -8px rgba(11,26,58,.45); }
html:not(#_):not(#_)[data-mode="light"] .guard-art { background: #e8eeff; }
html:not(#_):not(#_)[data-mode="light"] .guard-art .hero-mark { color: #1d4ed8; }

html:not(#_):not(#_)[data-mode="light"] .inc, html:not(#_):not(#_)[data-mode="light"] .value-card, html:not(#_):not(#_)[data-mode="light"] .timeline .step, html:not(#_):not(#_)[data-mode="light"] .faq-item, html:not(#_):not(#_)[data-mode="light"] .case { background: #fff; border: 1px solid #e1e5ec; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .inc:hover, html:not(#_):not(#_)[data-mode="light"] .value-card:hover { background: #fff; border-color: #9fb6ee; }
html:not(#_):not(#_)[data-mode="light"] .inc-ico { background: #e8eeff; color: #1d4ed8; border: 0; }
html:not(#_):not(#_)[data-mode="light"] .inc h3, html:not(#_):not(#_)[data-mode="light"] .inc h4, html:not(#_):not(#_)[data-mode="light"] .value-card h3, html:not(#_):not(#_)[data-mode="light"] .timeline .step h4, html:not(#_):not(#_)[data-mode="light"] .faq-item summary, html:not(#_):not(#_)[data-mode="light"] .case h3, html:not(#_):not(#_)[data-mode="light"] .it-why { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .inc p, html:not(#_):not(#_)[data-mode="light"] .value-card p, html:not(#_):not(#_)[data-mode="light"] .timeline .step p, html:not(#_):not(#_)[data-mode="light"] .faq-item p, html:not(#_):not(#_)[data-mode="light"] .case-desc, html:not(#_):not(#_)[data-mode="light"] .case-url { color: #3f4757; }
html:not(#_):not(#_)[data-mode="light"] .it-why { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .faq-item summary .ico { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .step-num { color: #1d4ed8; -webkit-text-fill-color: #1d4ed8; background: none; }
html:not(#_):not(#_)[data-mode="light"] .timeline-line { background: #dfe3ea; }
html:not(#_):not(#_)[data-mode="light"] .timeline-line span { background: #2563eb; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .timeline .step::before { background: #fff; border-color: #b9c0cc; }
html:not(#_):not(#_)[data-mode="light"] .timeline .step.done::before { background: #2563eb; border-color: #2563eb; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .ticks li { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .svc-sub { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .case-info { border-color: #e1e5ec; }
html:not(#_):not(#_)[data-mode="light"] .case-meta div, html:not(#_):not(#_)[data-mode="light"] .case-foot { border-color: #e1e5ec; }
html:not(#_):not(#_)[data-mode="light"] .case-meta dt { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .case-meta dd { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .case-stage { background: #f0f2f6; }
html:not(#_):not(#_)[data-mode="light"] .badge-tag { background: #eef1f6; border-color: #dfe3ea; color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .badge-live { color: #157f3d; background: #e7f7ed; border-color: #b7e4c7; }
html:not(#_):not(#_)[data-mode="light"] .story-mark { background: #e8eeff; border-color: #dbe4ff; }

html:not(#_):not(#_)[data-mode="light"] .cta-card { background: #1d4ed8; border: 0; color: #fff; }
html:not(#_):not(#_)[data-mode="light"] .cta-card h2 { color: #fff; }
html:not(#_):not(#_)[data-mode="light"] .cta-card .section-lead, html:not(#_):not(#_)[data-mode="light"] .cta-card .kicker { color: #e4ebff; }
html:not(#_):not(#_)[data-mode="light"] .cta-card .btn-light { background: #fff; color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .cta-card .btn-light:hover { background: #e8eeff; }
html:not(#_):not(#_)[data-mode="light"] .cta-card .btn-light::before { display: none; }
html:not(#_):not(#_)[data-mode="light"] .apply-panel { background: #1d4ed8; box-shadow: none; }

html:not(#_):not(#_)[data-mode="light"] .footer { background: #eceff4; color: #3f4757; }
html:not(#_):not(#_)[data-mode="light"] .footer-glow { display: none; }
html:not(#_):not(#_)[data-mode="light"] .footer-big { color: #1d4ed8; -webkit-text-fill-color: #1d4ed8; background: none; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.14) 60%, transparent 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.14) 60%, transparent 100%); }
html:not(#_):not(#_)[data-mode="light"] .footer-brand .logo, html:not(#_):not(#_)[data-mode="light"] .footer-col h4 { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .footer-col a:hover { color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] .footer-bottom { border-color: #d8dde6; }
html:not(#_):not(#_)[data-mode="light"] .footer-bottom p { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .legal-date, html:not(#_):not(#_)[data-mode="light"] .legal-block p, html:not(#_):not(#_)[data-mode="light"] .legal-table th, html:not(#_):not(#_)[data-mode="light"] .legal-table td { color: #3f4757; }
html:not(#_):not(#_)[data-mode="light"] .legal-table th { color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .legal-table { border-color: #dfe3ea; background: #fff; }
html:not(#_):not(#_)[data-mode="light"] .legal-table th, html:not(#_):not(#_)[data-mode="light"] .legal-table td { border-color: #e6e9ef; }
html:not(#_):not(#_)[data-mode="light"] .it-credits { color: #3f4757; }

/* the loader matches the theme, so light mode never flashes dark */
html:not(#_):not(#_)[data-mode="light"] .loader { background: #f5f6f8; }
html:not(#_):not(#_)[data-mode="light"] .loader::before, html:not(#_):not(#_)[data-mode="light"] .loader::after { display: none; }
html:not(#_):not(#_)[data-mode="light"] .ld-name { background: none; color: #0d1220; -webkit-text-fill-color: #0d1220; animation: none; }
html:not(#_):not(#_)[data-mode="light"] .ld-sub, html:not(#_):not(#_)[data-mode="light"] .ld-pct { color: #566071; }
html:not(#_):not(#_)[data-mode="light"] .ld-line { background: #dfe3ea; }
html:not(#_):not(#_)[data-mode="light"] .loader-bar { background: #2563eb; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .ld-ring { background: #2563eb; box-shadow: none; }
html:not(#_):not(#_)[data-mode="light"] .ld-ripple { border-color: rgba(37,99,235,.35); }
/* the silver sweep is mostly white, which vanishes on this pale screen: sweep through blues instead */
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(1) { stop-color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(2) { stop-color: #3b82f6; }
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(3) { stop-color: #0b3bb8; }
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(4) { stop-color: #3b82f6; }
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(5) { stop-color: #1e40af; }
html:not(#_):not(#_)[data-mode="light"] #ldGrad stop:nth-of-type(6) { stop-color: #2563eb; }
html:not(#_):not(#_)[data-mode="light"] .ld-emblem .ld-mark { width: 72px; height: 72px; filter: drop-shadow(0 6px 16px rgba(37,99,235,.28)); }

/* ---------- IT service pages and links to them ---------- */
.it-card { position: relative; display: flex; flex-direction: column; }
.it-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.it-card-link:focus-visible { outline: none; }
.it-card:has(.it-card-link:focus-visible) { outline: 2px solid currentColor; outline-offset: 3px; }
.it-more { margin-top: auto; padding-top: 12px; min-height: 0; font-size: 15px; }
:root:not([data-mode="light"]) .it-more { color: #fff; }
.jump-center { justify-content: center; }
:root:not([data-mode="light"]) .section .jump a { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #e4e7ec; }
:root:not([data-mode="light"]) .section .jump a:hover { background: rgba(255,255,255,.12); }
html:not(#_):not(#_)[data-mode="light"] .section .jump a { background: #fff; border: 1px solid #dfe3ea; color: #0d1220; }
html:not(#_):not(#_)[data-mode="light"] .section .jump a:hover { border-color: #1d4ed8; color: #1d4ed8; }
html:not(#_):not(#_)[data-mode="light"] .it-more { color: #1d4ed8; }
.page-hero h1 { text-wrap: balance; }
.guard-art, .guard-art .contours { overflow: hidden; }
body { overflow-x: clip; }
.svc > * { min-width: 0; }
.photo { overflow: hidden; }
.photo img { max-width: 100%; }
.svc-copy .section-lead + .ticks { margin-top: 26px; }
