/* ============================================================
   Z-SUITE — product page theme (software/ pages only)
   Yellow + grey identity for Zamco's own software line.
   Contrast: yellow is used as FILL (with --zs-ink text) or as text
   on charcoal only — never as text on light backgrounds.
   ============================================================ */
.zs-page {
  --zs-yellow: #f5b81c;
  --zs-yellow-2: #ffd45a;
  --zs-yellow-soft: rgba(245, 184, 28, .14);
  --zs-ink: #16181c;
  --zs-char: #22262b;
  --zs-grey: #33383f;
  --zs-grey-2: #4a5059;
  --zs-mid: #8b929c;
  --zs-line: #dcdee2;
  --zs-light: #eceef0;
  --zs-paper: #f6f6f4;
  --zs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- hero ---------- */
.zs-page .hero--v2 {
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(245, 184, 28, .16), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(139, 146, 156, .18), transparent 60%),
    linear-gradient(160deg, #2a2e34 0%, var(--zs-char) 45%, var(--zs-ink) 100%);
}
.zs-page .hero--v2::before {               /* moving blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  animation: zs-grid 22s linear infinite;
}
@keyframes zs-grid { to { background-position: 44px 44px, 44px 44px; } }
.zs-page .hero__aurora span { background: radial-gradient(circle, rgba(245, 184, 28, .35), transparent 65%) !important; }
.zs-page .hero__aurora span:nth-child(2) { background: radial-gradient(circle, rgba(170, 176, 186, .28), transparent 65%) !important; }
.zs-page .hero--v2 h1 .grad {
  background: linear-gradient(100deg, var(--zs-yellow-2), var(--zs-yellow) 45%, #fff3c4 70%, var(--zs-yellow));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: zs-shine 6s var(--zs-ease) infinite;
}
@keyframes zs-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.zs-page .hero__chip { background: var(--zs-yellow-soft); border-color: rgba(245, 184, 28, .45); color: var(--zs-yellow-2); }
.zs-page .hero--v2 .hero__lead { color: #d6d9de; }
.zs-page .hero__proof strong { color: var(--zs-yellow-2); }
.zs-page .btn--amber { background: var(--zs-yellow); color: var(--zs-ink); }
.zs-page .btn--amber:hover { background: var(--zs-yellow-2); color: var(--zs-ink); }

/* ---------- live console mock-up ---------- */
.zs-stage { position: relative; inline-size: 100%; max-inline-size: 34rem; margin-inline: auto; perspective: 1400px; }
.zs-console {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #2c3137, #1c1f24);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(245, 184, 28, .08), 0 0 60px -10px rgba(245, 184, 28, .18);
  transform: rotateY(-9deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--zs-ease);
  color: #e9ebee;
  font-size: 13px;
  overflow: hidden;
}
[dir="rtl"] .zs-console { transform: rotateY(9deg) rotateX(5deg); }
.zs-stage:hover .zs-console { transform: rotateY(0) rotateX(0); }
.zs-console__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border-block-end: 1px solid rgba(255, 255, 255, .07);
  font: 600 12px/1 var(--font-mono); color: #b9bec6; letter-spacing: .04em;
}
.zs-console__bar i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: #4a5059; }
.zs-console__bar i:first-child { background: var(--zs-yellow); }
.zs-console__bar span { margin-inline-start: 8px; flex: 1; }
.zs-live { display: inline-flex; align-items: center; gap: 6px; color: var(--zs-yellow-2); font-weight: 700; }
.zs-live::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--zs-yellow); animation: zs-blink 1.4s infinite; }
@keyframes zs-blink { 50% { opacity: .25; } }
.zs-console__body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.zs-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .06);
  min-inline-size: 0;
}
.zs-tile--wide { grid-column: 1 / -1; }
.zs-tile__k { font-size: 11px; color: #9aa1ab; text-transform: uppercase; letter-spacing: .1em; }
[dir="rtl"] .zs-tile__k { letter-spacing: 0; }
.zs-tile__v { font: 700 24px/1 var(--font-mono); color: #fff; }
.zs-tile__v small { font-size: 12px; color: #9aa1ab; margin-inline-start: 4px; }
.zs-meter { block-size: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.zs-meter span { display: block; block-size: 100%; inline-size: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--zs-yellow), var(--zs-yellow-2)); transition: inline-size 1s var(--zs-ease); }
[dir="rtl"] .zs-meter span { background: linear-gradient(-90deg, var(--zs-yellow), var(--zs-yellow-2)); }
.zs-spark { inline-size: 100%; block-size: 34px; overflow: visible; }
.zs-spark polyline { fill: none; stroke: var(--zs-yellow); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: all .8s var(--zs-ease); }
.zs-spark .zs-spark__fill { fill: rgba(245, 184, 28, .14); stroke: none; }
.zs-plates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-block-size: 118px; }
.zs-plates li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  animation: zs-in .5s var(--zs-ease) both;
}
.zs-plates li:first-child { background: rgba(245, 184, 28, .12); }
@keyframes zs-in { from { opacity: 0; transform: translateY(-8px); } }
.zs-plate {
  font: 700 12px/1 var(--font-mono); color: var(--zs-ink);
  background: #f4f4f0; border-radius: 4px; padding: 4px 7px;
  border-inline-start: 6px solid var(--zs-yellow);
  direction: ltr; unicode-bidi: isolate;
}
.zs-lane { flex: 1; color: #b9bec6; font-size: 12px; }
.zs-ok { color: var(--zs-yellow-2); font: 700 11px/1 var(--font-mono); }
.zs-gate { display: flex; align-items: flex-end; gap: 12px; }
.zs-gate svg { inline-size: 120px; block-size: 56px; flex: none; }
.zs-gate .zs-arm { transform-origin: 18px 40px; transform: rotate(0deg); transition: transform .9s var(--zs-ease); }
.zs-gate.is-open .zs-arm { transform: rotate(-62deg); }
.zs-gate__state { font: 700 13px/1 var(--font-mono); color: #9aa1ab; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); transition: all .4s; }
.zs-gate.is-open .zs-gate__state { color: var(--zs-ink); background: var(--zs-yellow); }
/* floating badges */
.zs-float {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px;
  background: #f4f4f0; color: var(--zs-ink);
  font: 700 12px/1 var(--font-mono);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55);
  animation: zs-bob 5s ease-in-out infinite;
}
.zs-float::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--zs-yellow); }
.zs-float--a { inset-block-start: -14px; inset-inline-end: 8%; }
.zs-float--b { inset-block-end: 22%; inset-inline-start: -22px; animation-delay: -1.7s; }
.zs-float--c { inset-block-end: -14px; inset-inline-end: 18%; animation-delay: -3.2s; background: var(--zs-yellow); }
.zs-float--c::before { background: var(--zs-ink); }
@keyframes zs-bob { 50% { transform: translateY(-8px); } }

/* ---------- stats strip ---------- */
.zs-stats { background: var(--zs-ink); color: #fff; padding-block: var(--sp-4); position: relative; overflow: hidden; }
.zs-stats::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 2px;
  background: linear-gradient(90deg, transparent, var(--zs-yellow), transparent);
  animation: zs-scan 4s linear infinite;
}
@keyframes zs-scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.zs-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.zs-stats li { display: flex; flex-direction: column; gap: .35rem; padding-inline-start: var(--sp-2); border-inline-start: 2px solid var(--zs-grey-2); }
.zs-stats b { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-mono); color: var(--zs-yellow); }
.zs-stats span { color: #c3c8cf; font-size: var(--fs-sm); }

/* ---------- overview: orbit + cards ---------- */
.zs-page .section .label { color: var(--zs-grey-2); }
.zs-page .section .label::before { background: var(--zs-yellow) !important; }
.zs-eco { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.zs-orbit {
  position: sticky; inset-block-start: 6.5rem;
  aspect-ratio: 1; inline-size: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--zs-paper) 60%, transparent 61%);
}
.zs-orbit__ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed #c5c9cf; animation: zs-spin 60s linear infinite; }
.zs-orbit__ring--2 { inset: 27%; border-style: solid; border-color: var(--zs-line); animation-direction: reverse; animation-duration: 40s; }
.zs-orbit__ring::after { content: ""; position: absolute; inset-block-start: -5px; inset-inline-start: 50%; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--zs-yellow); box-shadow: 0 0 0 5px var(--zs-yellow-soft); }
@keyframes zs-spin { to { transform: rotate(360deg); } }
.zs-orbit__core {
  position: absolute; inset: 35%;
  display: grid; place-items: center; text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #3b4048, var(--zs-ink));
  color: #fff;
  box-shadow: 0 0 0 8px var(--zs-yellow-soft), 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.zs-orbit__core::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--zs-yellow); opacity: .6; animation: zs-pulse 2.6s var(--zs-ease) infinite; }
@keyframes zs-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.zs-orbit__core b { font: 800 1.9rem/1 var(--font-mono); color: var(--zs-yellow); display: block; }
.zs-orbit__core small { font: 600 .7rem/1.2 var(--font-mono); letter-spacing: .12em; color: #c3c8cf; }
.zs-orbit svg.zs-orbit__links { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.zs-orbit__links line { stroke: #c9ccd2; stroke-width: .5; stroke-dasharray: 2 2; transition: stroke .3s; }
.zs-orbit__links line.is-on { stroke: var(--zs-yellow); stroke-width: 1; stroke-dasharray: 3 2; animation: zs-dash 1s linear infinite; }
@keyframes zs-dash { to { stroke-dashoffset: -10; } }
.zs-node {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  inline-size: 4.6rem; block-size: 4.6rem; border-radius: 50%;
  background: #fff; border: 1px solid var(--zs-line);
  color: var(--zs-ink); text-decoration: none; text-align: center;
  font: 700 .66rem/1.1 var(--font-mono);
  padding: .3rem;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .35);
  transition: transform .3s var(--zs-ease), background-color .3s, box-shadow .3s, border-color .3s;
  animation: zs-float 6s ease-in-out infinite;
  direction: ltr;
}
.zs-node:nth-child(odd) { animation-delay: -3s; }
@keyframes zs-float { 50% { margin-block-start: -5px; } }
.zs-node svg { inline-size: 1.15rem; block-size: 1.15rem; margin: 0 auto .15rem; display: block; color: var(--zs-grey-2); }
.zs-node:hover, .zs-node:focus-visible, .zs-node.is-on {
  background: var(--zs-yellow); border-color: var(--zs-yellow);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 6px var(--zs-yellow-soft), 0 14px 26px -10px rgba(0, 0, 0, .45);
}
.zs-node:hover svg, .zs-node.is-on svg, .zs-node:focus-visible svg { color: var(--zs-ink); }

.zs-page .zs-grid { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: var(--sp-3); }
.zs-page .zs-card {
  --mx: 50%; --my: 0%;
  position: relative;
  background: #fff;
  border: 1px solid var(--zs-line);
  border-radius: 14px;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--zs-ease), box-shadow .35s, border-color .35s;
  scroll-margin-block-start: 7rem;
}
.zs-page .zs-card::before {                 /* yellow rail that grows on hover */
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 4px;
  background: linear-gradient(90deg, var(--zs-yellow), var(--zs-yellow-2));
  transform: scaleX(.18); transform-origin: left;
  transition: transform .5s var(--zs-ease);
}
[dir="rtl"] .zs-page .zs-card::before { transform-origin: right; }
.zs-page .zs-card::after {                  /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(245, 184, 28, .13), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.zs-page .zs-card:hover, .zs-page .zs-card.is-on {
  border-color: rgba(245, 184, 28, .7);
  box-shadow: 0 24px 44px -24px rgba(22, 24, 28, .45);
}
.zs-page .zs-card:hover::before, .zs-page .zs-card.is-on::before { transform: scaleX(1); }
.zs-page .zs-card:hover::after, .zs-page .zs-card.is-on::after { opacity: 1; }
.zs-page .zs-card .feat__icon {
  inline-size: 2.9rem; block-size: 2.9rem; border-radius: 12px;
  background: var(--zs-char); color: var(--zs-yellow);
  display: grid; place-items: center;
  transition: transform .4s var(--zs-ease), background-color .3s, color .3s;
}
.zs-page .zs-card:hover .feat__icon, .zs-page .zs-card.is-on .feat__icon { background: var(--zs-yellow); color: var(--zs-ink); transform: rotate(-6deg) scale(1.06); }
.zs-page .zs-card .sol-card__title { color: var(--zs-ink); font-size: var(--fs-xl); }
.zs-page .zs-tag { color: var(--zs-grey-2); }
.zs-page .zs-badge { background: var(--zs-char); color: var(--zs-yellow-2); }
.zs-page .zs-runs { border-block-start: 1px dashed var(--zs-line); padding-block-start: .6rem; margin-block-start: auto; color: var(--zs-grey-2); }
.zs-page .zs-runs a { color: var(--zs-ink); text-decoration-color: var(--zs-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.zs-page .zs-runs a:hover { background: var(--zs-yellow-soft); }
.zs-page .zs-grid.reveal.is-in .zs-card { animation: zs-rise .7s var(--zs-ease) both; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(2) { animation-delay: .06s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(3) { animation-delay: .12s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(4) { animation-delay: .18s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(5) { animation-delay: .24s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(6) { animation-delay: .3s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(7) { animation-delay: .36s; }
.zs-page .zs-grid.reveal.is-in .zs-card:nth-child(8) { animation-delay: .42s; }
@keyframes zs-rise { from { opacity: 0; transform: translateY(26px) scale(.97); } }

/* ---------- flow: lane → Z-Suite → team ---------- */
.zs-flow-sec { background: linear-gradient(180deg, var(--zs-char), var(--zs-ink)); color: #e9ebee; position: relative; overflow: hidden; }
.zs-flow-sec .section-head h2 { color: #fff; }
.zs-flow-sec .section-head p { color: #c3c8cf; }
.zs-flow-sec .label { color: var(--zs-yellow-2) !important; }
.zs-flow { display: grid; grid-template-columns: 1fr 5rem 1.1fr 5rem 1fr; align-items: center; }
.zs-col {
  padding: var(--sp-3); border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
.zs-col h3 { margin: 0 0 .8rem; font-size: var(--fs-lg); color: #fff; display: flex; align-items: center; gap: .5rem; }
.zs-col h3::before { content: ""; inline-size: .6rem; block-size: .6rem; border-radius: 2px; background: var(--zs-mid); }
.zs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.zs-col li {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .7rem; border-radius: 8px;
  background: rgba(255, 255, 255, .05); font-size: var(--fs-sm); color: #d6d9de;
  transition: background-color .3s, color .3s, transform .3s;
}
.zs-col li::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--zs-mid); flex: none; transition: background-color .3s; }
.zs-col li.is-ping { background: rgba(245, 184, 28, .16); color: #fff; transform: translateX(4px); }
[dir="rtl"] .zs-col li.is-ping { transform: translateX(-4px); }
.zs-col li.is-ping::before { background: var(--zs-yellow); }
.zs-col--core { background: var(--zs-yellow); border-color: var(--zs-yellow); color: var(--zs-ink); box-shadow: 0 0 0 10px rgba(245, 184, 28, .1), 0 30px 60px -30px rgba(245, 184, 28, .6); }
.zs-col--core h3 { color: var(--zs-ink); font-family: var(--font-mono); font-size: 1.5rem; }
.zs-col--core h3::before { background: var(--zs-ink); }
.zs-col--core li { background: rgba(22, 24, 28, .08); color: var(--zs-ink); font-weight: 600; }
.zs-col--core li::before { background: var(--zs-ink); }
.zs-col--core li.is-ping { background: var(--zs-ink); color: var(--zs-yellow-2); }
.zs-wire { position: relative; block-size: 2px; background: repeating-linear-gradient(90deg, #5a616b 0 6px, transparent 6px 12px); }
.zs-wire span {
  position: absolute; inset-block-start: 50%; inline-size: 12px; block-size: 12px; margin-block-start: -6px;
  border-radius: 3px; background: var(--zs-yellow); box-shadow: 0 0 14px var(--zs-yellow);
  animation: zs-packet 2.4s linear infinite;
}
.zs-wire span:nth-child(2) { animation-delay: -.8s; }
.zs-wire span:nth-child(3) { animation-delay: -1.6s; }
@keyframes zs-packet { from { inset-inline-start: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { inset-inline-start: calc(100% - 6px); opacity: 0; } }

/* ---------- local by design ---------- */
.zs-page .section--surface { background: var(--zs-paper); }
.zs-page .feat-grid .feat { background: #fff; border: 1px solid var(--zs-line); border-radius: 12px; transition: transform .35s var(--zs-ease), box-shadow .35s, border-color .35s; }
.zs-page .feat-grid .feat:hover { transform: translateY(-4px); border-color: var(--zs-yellow); box-shadow: 0 18px 34px -22px rgba(22, 24, 28, .4); }
.zs-page .feat-grid .feat__icon { background: var(--zs-yellow); color: var(--zs-ink); border-radius: 10px; }
.zs-page .feat-grid.reveal.is-in .feat { animation: zs-rise .6s var(--zs-ease) both; }
.zs-page .feat-grid.reveal.is-in .feat:nth-child(2) { animation-delay: .08s; }
.zs-page .feat-grid.reveal.is-in .feat:nth-child(3) { animation-delay: .16s; }
.zs-page .feat-grid.reveal.is-in .feat:nth-child(4) { animation-delay: .24s; }
.zs-page .feat-grid.reveal.is-in .feat:nth-child(5) { animation-delay: .32s; }
.zs-page .feat-grid.reveal.is-in .feat:nth-child(6) { animation-delay: .4s; }
.zs-page .chips .chip { border-color: var(--zs-line); color: var(--zs-ink); }
.zs-page .chips .chip:hover { background: var(--zs-yellow); border-color: var(--zs-yellow); color: var(--zs-ink); }

/* ---------- CTA ---------- */
.zs-page .cta-band { background: linear-gradient(120deg, var(--zs-yellow) 0%, var(--zs-yellow-2) 55%, var(--zs-yellow) 100%); background-size: 200% 100%; color: var(--zs-ink); animation: zs-shine 9s ease-in-out infinite; }
.zs-page .cta-band::before, .zs-page .cta-band::after { display: none; }
.zs-page .cta-band h2 { color: var(--zs-ink); }
.zs-page .cta-band .btn--amber { background: var(--zs-ink); color: var(--zs-yellow-2); }
.zs-page .cta-band .btn--amber:hover { background: var(--zs-char); color: #fff; }
.zs-page .cta-band .btn--ghost-light { border-color: var(--zs-ink); color: var(--zs-ink); }
.zs-page .cta-band .btn--ghost-light:hover { background: var(--zs-ink); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .zs-eco { grid-template-columns: 1fr; }
  .zs-orbit { position: relative; inset-block-start: 0; max-inline-size: 22rem; margin-inline: auto; }
  .zs-flow { grid-template-columns: 1fr; gap: 0; }
  .zs-wire { inline-size: 2px; block-size: 3rem; margin-inline: auto; background: repeating-linear-gradient(180deg, #5a616b 0 6px, transparent 6px 12px); }
  .zs-wire span { inset-inline-start: 50% !important; margin-inline-start: -6px; animation-name: zs-packet-v; }
  @keyframes zs-packet-v { from { inset-block-start: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { inset-block-start: 100%; opacity: 0; } }
}
@media (max-width: 699px) {
  .zs-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zs-console__body { grid-template-columns: 1fr; }
  .zs-float--b { inset-inline-start: 0; }
  .zs-node { inline-size: 3.7rem; block-size: 3.7rem; font-size: .56rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .zs-page *, .zs-page *::before, .zs-page *::after { animation: none !important; transition: none !important; }
  .zs-console, [dir="rtl"] .zs-console { transform: none; }
  .zs-page .zs-card { transform: none !important; }
}

/* Arabic text never in the Latin mono face */
[dir="rtl"] .zs-float, [dir="rtl"] .zs-console__bar span, [dir="rtl"] .zs-gate__state,
[dir="rtl"] .zs-tile__v small { font-family: var(--font-ar); }

/* phones: headline first, compact console after it */
@media (max-width: 899px) {
  .zs-page .hero__art { order: 2; margin-block-start: var(--sp-4); }
  .zs-page .hero__content { order: 1; }
  .zs-console, [dir="rtl"] .zs-console { transform: none; }
  .zs-console .zs-tile--wide:last-child { display: none; }
  .zs-plates li:nth-child(n+4) { display: none; }
}

/* titles in the Zamco logo grey (#928e8d — sampled from the logo).
   3.3:1 on white: used only for large bold headings (WCAG large-text AA). */
.zs-page { --zs-logo-grey: #928e8d; }
.zs-page .section:not(.zs-flow-sec) .section-head h2,
.zs-page .zs-card .sol-card__title { color: var(--zs-logo-grey); }

/* Wide screens: 8 products as 4 x 2 so the grid has no empty slot and sits
   level with the orbit (2026-10-08) */
@media (min-width: 1280px) {
  .zs-eco { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: var(--sp-4); }
  .zs-page .zs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); }
  .zs-page .zs-card .sol-card__title { font-size: var(--fs-lg); }
  .zs-orbit { position: relative; inset-block-start: 0; align-self: center; }   /* grid is short now: centre, no sticky */
}
