/* pages.css — page sections: hero orbit, problem, modules tabs, built for Egypt, your copy,
   steps, FAQ, demo, and the inner pages (modules, privacy, 404). */

/* ───────── Hero ───────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 15% 40%, rgba(var(--accent-rgb), 0.13), transparent 60%),
    var(--mist);
}
[dir="ltr"] .hero {
  background:
    radial-gradient(60rem 40rem at 85% 40%, rgba(var(--accent-rgb), 0.13), transparent 60%),
    var(--mist);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: var(--sp-7);
  min-height: min(calc(100svh - 72px), 860px);
  padding-block: var(--sp-7) var(--sp-8);
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 650;
  line-height: 1.12;
  max-width: 11ch;
}
:lang(ar) .hero__title {
  line-height: 1.25;
}
.hero__sub {
  margin-block-start: var(--sp-5);
  max-width: 36rem;
  font-size: var(--fs-lg);
  color: var(--slate);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-block-start: var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__points .ic {
  width: 18px;
  height: 18px;
  color: var(--accent-deep);
  stroke-width: 2.6;
}

/* The orbit — signature element.
   Geometry: every item is a zero-size point placed on the circle (rotate → push out by --R*--k →
   rotate back). Its body is exactly one tile, centred on that point, so the tile's centre always
   rides the dashed circle. The track spins; each body counter-spins around its own centre so the
   tiles stay upright. --k (0→1) lets the motion layer fly tiles out from the centre. */
.orbit {
  --R: 40cqi;
  --tile: clamp(50px, 13cqi, 74px);
  position: relative;
  container-type: inline-size;
  width: min(100%, 580px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.orbit__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 68%);
  filter: blur(10px);
}
.orbit__ring {
  position: absolute;
  inset: calc(50% - var(--R));
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--accent-deep-rgb), 0.32);
}
.orbit__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.orbit__mark {
  width: 50cqi;
  height: 50cqi;
  filter: drop-shadow(0 18px 30px rgba(var(--accent-deep-rgb), 0.25));
}
.mark__ring {
  stroke-dasharray: 100;
}
.mark__one {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.orbit__track {
  position: absolute;
  inset: 0;
  margin: 0;
  animation: spin var(--orbit-period) linear infinite;
}
.orbit__item {
  --k: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateX(calc(var(--R) * var(--k))) rotate(calc(-1 * var(--a)));
}
.orbit__body {
  position: absolute;
  top: calc(var(--tile) / -2);
  left: calc(var(--tile) / -2);
  width: var(--tile);
  height: var(--tile);
  animation: spin var(--orbit-period) linear infinite reverse;
}
.tile--orbit {
  width: 100%;
  height: 100%;
  padding: 15%;
  border-radius: 27%;
  box-shadow: var(--shadow-lift);
  transition: transform var(--t-mid) var(--ease-out);
}
.orbit__name {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  padding: 0.05rem 0.55rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.orbit:hover .orbit__track,
.orbit:hover .orbit__body {
  animation-play-state: paused;
}
.orbit__body:hover .tile--orbit {
  transform: scale(1.12);
}

@media (max-width: 900px) {
  .hero__in {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: var(--sp-5);
    padding-block: var(--sp-6) var(--sp-7);
  }
  .hero__title {
    max-width: 14ch;
  }
  .orbit {
    width: min(100%, 440px);
  }
}
@media (max-width: 520px) {
  .orbit__name {
    display: none;
  }
  .orbit {
    --R: 39cqi;
  }
}

/* ───────── Problem band ───────── */
.s--problem {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
.problem__text {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.6;
  color: var(--slate-light);
}
.problem__answer {
  display: flex;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.6;
}
.problem__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-block-start: 0.3rem;
}
@media (max-width: 760px) {
  .problem {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

/* ───────── Modules tabs ───────── */
.mods {
  display: grid;
  grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}
.mods__tabs {
  display: none;
}
.js .mods__tabs {
  display: grid;
  gap: 0.3rem;
}
.mods__tab {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  text-align: start;
  position: relative;
  transition: background var(--t-fast) ease;
}
.mods__tab:hover {
  background: rgba(255, 255, 255, 0.6);
}
.mods__tab[aria-selected="true"] {
  background: var(--white);
  box-shadow: var(--shadow-tile);
}
.mods__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset-block: 22%;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--acc);
}
.mods__tab-txt {
  display: grid;
  line-height: 1.4;
}
.mods__tab-txt b {
  font-weight: 600;
}
.mods__tab-txt small {
  font-size: var(--fs-xs);
  color: var(--slate);
}
.mods__panels {
  display: grid;
  gap: var(--sp-5);
}
.mods__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--sp-6);
  align-items: center;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-tile);
}
.js .mods__panel[data-hidden] {
  display: none;
}
.js:not(.motion) .mods__panel.is-entering {
  animation: panel-in var(--t-slow) var(--ease-out);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.mods__panel:focus-visible {
  outline-offset: 4px;
}
.mods__name {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-2xl);
}
.mods__text {
  margin-block: var(--sp-4) var(--sp-5);
  color: var(--slate);
}
.mods__info .ticks {
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-4);
  margin-block-end: var(--sp-6);
  font-size: var(--fs-sm);
}

/* Illustrative product screen (no fake numbers: labels + bars only) */
.screen {
  border-radius: var(--r-lg);
  background: var(--mist);
  border: 1px solid var(--line);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-4);
}
.screen__bar {
  display: flex;
  gap: 6px;
}
.screen__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mist-2);
  border: 1px solid var(--line);
}
.screen__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block-end: var(--sp-3);
  border-block-end: 3px solid var(--acc);
}
.screen__head b {
  font-family: var(--font-display);
  font-weight: 600;
}
.screen__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.kpi {
  display: grid;
  gap: 0.6rem;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.kpi__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.4;
}
.kpi__bar {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--acc) var(--w), var(--mist-2) var(--w));
}
[dir="rtl"] .kpi__bar {
  background: linear-gradient(270deg, var(--acc) var(--w), var(--mist-2) var(--w));
}
.screen__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.screen__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: var(--acc);
  opacity: 0.85;
}
.screen__chart span:nth-child(odd) {
  opacity: 0.35;
}
.js:not(.motion) .mods__panel.is-entering .screen__chart span {
  animation: bar-grow 0.8s var(--ease-out) both;
}
.screen__chart span:nth-child(2) { animation-delay: 40ms; }
.screen__chart span:nth-child(3) { animation-delay: 80ms; }
.screen__chart span:nth-child(4) { animation-delay: 120ms; }
.screen__chart span:nth-child(5) { animation-delay: 160ms; }
.screen__chart span:nth-child(6) { animation-delay: 200ms; }
.screen__chart span:nth-child(7) { animation-delay: 240ms; }
.screen__chart span:nth-child(8) { animation-delay: 280ms; }
@keyframes bar-grow {
  from {
    height: 4%;
  }
}

@media (max-width: 1080px) {
  .mods__panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .mods {
    grid-template-columns: 1fr;
  }
  .js .mods__tabs {
    display: flex;
    overflow-x: auto;
    gap: var(--sp-2);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) var(--sp-3);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .js .mods__tabs::-webkit-scrollbar {
    display: none;
  }
  .mods__tab {
    width: auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.4rem 0.9rem 0.4rem 0.45rem;
    padding-inline: 0.45rem 0.9rem;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-pill);
  }
  .mods__tab[aria-selected="true"] {
    border-color: var(--acc);
  }
  .mods__tab[aria-selected="true"]::after {
    display: none;
  }
  .mods__tab .tile--sm {
    width: 32px;
    height: 32px;
    padding: 4px;
    border-radius: 50%;
    box-shadow: none;
  }
  .mods__tab-txt small {
    display: none;
  }
  .mods__tab-txt b {
    white-space: nowrap;
  }
}
@media (max-width: 520px) {
  .mods__info .ticks {
    grid-template-columns: 1fr;
  }
  .screen__chart {
    height: 96px;
  }
}

/* ───────── Built for Egypt ───────── */
.laws {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  border-block: 1px solid var(--line-dark);
}
.laws__title {
  font-size: var(--fs-lg);
  color: var(--accent);
}
.laws__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6) var(--sp-7);
}
.law__title {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-block-end: var(--sp-2);
}
.law p {
  color: var(--slate-light);
  max-width: 28rem;
}
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-7) var(--sp-6);
  margin-block-start: var(--sp-8);
}
.feat__ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-block-end: var(--sp-4);
  border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb), 0.45);
  color: var(--accent);
}
.feat__ic .ic {
  width: 22px;
  height: 22px;
}
.feat__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-block-end: var(--sp-2);
}
.feat p {
  color: var(--slate-light);
  font-size: var(--fs-sm);
  max-width: 24rem;
}
@media (max-width: 900px) {
  .laws {
    grid-template-columns: 1fr;
  }
  .feats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .laws__list,
  .feats {
    grid-template-columns: 1fr;
  }
  .feats {
    gap: var(--sp-6);
  }
}

/* ───────── Your copy ───────── */
.copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-8);
  align-items: center;
}
.copy__head {
  margin-block-end: 0;
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-block-start: var(--sp-6);
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--mist);
  border: 1px solid var(--line);
}
.seg__btn {
  min-height: 44px;
  padding: 0.5rem 1.2rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.seg__btn:hover {
  color: var(--ink);
}
.seg__btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}
.copy__note {
  margin-block-start: var(--sp-4);
  min-height: 3.2em;
  color: var(--slate);
}
.launch {
  border-radius: var(--r-xl);
  background: var(--mist);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.launch__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--white);
  border-block-end: 1px solid var(--line);
}
.launch__mark {
  width: 30px;
  height: 30px;
}
.launch__co {
  width: 7rem;
  height: 10px;
  border-radius: 6px;
  background: var(--mist-2);
}
.launch__avatar {
  width: 30px;
  height: 30px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: var(--accent-wash);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.launch__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5) var(--sp-3);
  padding: var(--sp-6) var(--sp-5);
}
.launch__app {
  display: grid;
  justify-items: center;
  gap: var(--sp-2);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  transition: opacity var(--t-mid) var(--ease), filter var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.launch__app.is-off {
  opacity: 0.22;
  filter: grayscale(1);
  transform: scale(0.9);
}
@media (max-width: 900px) {
  .copy {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}
@media (max-width: 480px) {
  .launch__grid {
    gap: var(--sp-4) var(--sp-2);
    padding: var(--sp-5) var(--sp-3);
  }
  .launch__app .tile--lg {
    width: 52px;
    height: 52px;
    padding: 7px;
    border-radius: 14px;
  }
  .seg {
    display: flex;
    border-radius: var(--r-lg);
  }
  .seg__btn {
    flex: 1;
    padding-inline: 0.6rem;
  }
}

/* ───────── How we work ───────── */
/* The line runs from the centre of the first circle (27px in) to the centre of the last one:
   the last column starts at 80% + 0.8 × gap, so the line stops 20% − 0.8 × gap − 27px from the end. */
.steps {
  --step-gap: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--step-gap);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset-block-start: 25.5px;
  inset-inline: 27px calc(20% - 0.8 * var(--step-gap) - 27px);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  opacity: 0.35;
}
.step {
  position: relative;
  z-index: 1; /* circles sit above the line */
}
.step__n {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-block-end: var(--sp-5);
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--accent);
  border-color: var(--accent) var(--accent-deep) var(--accent-deep) var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.step__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-block-end: var(--sp-2);
}
.step p {
  color: var(--slate);
  font-size: var(--fs-sm);
}
@media (max-width: 1000px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  /* vertical: each step draws its own connector down to the next circle */
  .steps::before {
    display: none;
  }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 27px calc(-1 * var(--sp-6) - 27px);
    inset-inline-start: 25.5px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-deep));
    opacity: 0.35;
  }
  .step {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: var(--sp-5);
  }
  .step__n {
    grid-row: span 2;
    margin: 0;
  }
  .step__title {
    align-self: end;
    margin-block: 0.6rem 0.2rem;
  }
}

/* ───────── FAQ ───────── */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--sp-7);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: 100px;
}
.faq__list {
  border-block-start: 1px solid var(--line);
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq__head {
    position: static;
  }
}

/* ───────── Request section (home + contact): one card, side panel + grouped form ───────── */
.s--reach {
  background:
    radial-gradient(50rem 30rem at 85% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    var(--ink);
}
/* Full page width (only the side gutters); the panel keeps a fixed, readable width */
.s--reach > .wrap {
  max-width: none;
}
.reach {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  overflow: clip; /* clip, not hidden: hidden would break the sticky panel */
  border-radius: var(--r-xl);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7);
}
.reach__aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  overflow: clip;
  background: linear-gradient(165deg, var(--accent-deep) 0%, var(--accent-ink) 55%, #1c1540 100%);
  color: var(--white);
}
.reach__aside::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-end: -140px;
  inset-inline-end: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, 0.06);
}
/* the panel content stays in view while the (taller) form scrolls by */
.reach__inner {
  position: sticky;
  top: 104px;
}
.reach__mark {
  width: 46px;
  height: 46px;
}
.reach__title {
  margin-block-start: var(--sp-5);
  font-size: var(--fs-2xl);
  font-weight: 650;
  color: var(--white);
}
.reach__lead {
  margin-block-start: var(--sp-3);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}
.reach__h {
  margin-block: var(--sp-6) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}
.reach__steps {
  counter-reset: st;
  display: grid;
  gap: var(--sp-3);
}
.reach__steps li {
  counter-increment: st;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 500;
  line-height: 1.5;
}
.reach__steps li::before {
  content: counter(st, arabic-indic);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}
[dir="ltr"] .reach__steps li::before {
  content: counter(st);
}
.reach__channels {
  margin-block-start: var(--sp-7);
}
.reach__channels .reach__h {
  margin-block-start: 0;
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}
.channels {
  display: grid;
  gap: var(--sp-3);
}
.channels a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 600;
}
.channels a:hover {
  color: var(--accent);
}
.channels__empty {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.reach__form {
  container-type: inline-size;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}
/* Wide form: use the width instead of stretching fields */
@container (min-width: 860px) {
  .reach__form .fgrid,
  .reach__form .optcards,
  .reach__form .modgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .reach__form .optcard {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .reach__form .optcard__txt {
    grid-column: 1 / -1;
  }
  .reach__form .optcard__check {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
  }
  .fgroup--company .fgroup__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }
  .fgroup--company .fld--mods {
    grid-column: 1 / -1;
    order: -1;
  }
  .fgroup--company .fld--notes textarea {
    min-height: 50px;
  }
  .fgroup--type .fld[data-show-for] {
    max-width: 50%;
  }
}

/* Form groups */
.fgroup {
  margin: 0;
  padding: 0 0 var(--sp-6);
  border: 0;
  min-width: 0;
}
.fgroup + .fgroup {
  padding-block-start: var(--sp-6);
  border-block-start: 1px solid var(--line);
}
/* float takes the legend out of the fieldset border, so the group divider never crosses it */
.fgroup__h {
  float: inline-start;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-block-end: var(--sp-4);
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.fgroup__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
}
.fgroup__body {
  clear: both;
  display: grid;
  gap: var(--sp-4);
}
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.fld[hidden] {
  display: none;
}

/* Request type: option cards */
.optcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.optcard {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.optcard input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.optcard__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--slate);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.optcard__txt {
  display: grid;
  gap: 0.2rem;
}
.optcard__txt b {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.optcard__txt small {
  font-size: var(--fs-xs);
  color: var(--slate);
  line-height: 1.55;
}
.optcard__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: transparent;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.optcard__check .ic {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.optcard:hover {
  border-color: var(--slate-light);
}
.optcard:has(input:checked) {
  border-color: var(--accent-deep);
  background: var(--accent-wash);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
}
.optcard:has(input:checked) .optcard__ic,
.optcard:has(input:checked) .optcard__check {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--white);
}
.optcard:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Modules: equal grid */
.modgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: var(--sp-2);
  margin-block-start: 0.35rem;
}
.modpick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.4rem 0.65rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.modpick input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.modpick:hover {
  border-color: var(--slate-light);
}
.modpick:has(input:checked) {
  border-color: var(--accent-deep);
  background: var(--accent-wash);
}
.modpick:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Footer row of the form */
.reach .form__foot {
  justify-content: space-between;
  margin-block-start: 0;
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid var(--line);
}
.reach .form__privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 16rem;
}
.reach .form__privacy .ic {
  width: 18px;
  height: 18px;
  color: var(--accent-deep);
}

@media (max-width: 960px) {
  .reach {
    grid-template-columns: 1fr;
  }
  .reach__inner {
    position: static;
  }
}
@media (max-width: 600px) {
  .optcards,
  .fgrid {
    grid-template-columns: 1fr;
  }
  .modgrid {
    grid-template-columns: 1fr 1fr;
  }
  .reach .form__foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .s--reach .wrap {
    padding-inline: calc(var(--gutter) / 2);
  }
}

/* ───────── Inner pages ───────── */
.phero {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
  background:
    radial-gradient(50rem 26rem at 10% 0%, rgba(var(--accent-rgb), 0.12), transparent 60%),
    var(--mist);
}
.phero__title {
  font-size: var(--fs-3xl);
  font-weight: 650;
  max-width: 18ch;
}
.phero__lead {
  margin-block-start: var(--sp-4);
  font-size: var(--fs-lg);
  color: var(--slate);
  max-width: var(--max-text);
}
.phero__note {
  margin-block-start: var(--sp-3);
}
.phero .btn {
  margin-block-start: var(--sp-6);
}
.jump {
  margin-block-start: var(--sp-6);
}
.jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1.5px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: border-color var(--t-fast) ease;
}
.jump a:hover {
  border-color: var(--acc);
}
.s--mods-list {
  padding-block-start: var(--sp-6);
}
.mod {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-7);
  border-block-start: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.mod__head {
  display: grid;
  align-content: start;
  gap: var(--sp-4);
}
.mod__name {
  font-size: var(--fs-2xl);
}
.mod__short {
  margin-block-start: var(--sp-2);
  font-weight: 500;
  color: var(--acc);
}
.mod__text {
  font-size: var(--fs-lg);
  max-width: 42rem;
}
.mod__h {
  margin-block: var(--sp-6) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate);
}
.mod__with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-block-start: var(--sp-6);
  font-size: var(--fs-sm);
}
.mod__with > span {
  color: var(--slate);
  margin-inline-end: var(--sp-2);
}
.mod__with a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding-inline: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
}
.mod__with a:hover {
  border-color: var(--ink);
}
@media (max-width: 800px) {
  .mod {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .mod__head {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .mod__head .tile--xl {
    width: 64px;
    height: 64px;
    padding: 9px;
    border-radius: 17px;
  }
}
.platform__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: var(--sp-4) var(--sp-6);
  margin-block-start: var(--sp-6);
}
.platform__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-block-end: 1px solid var(--line);
  font-weight: 500;
}
.platform__list .ic {
  color: var(--accent-deep);
  stroke-width: 2.4;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.cta__title {
  font-size: var(--fs-2xl);
  max-width: 22ch;
}
.prose {
  max-width: 46rem;
}
.prose h2 {
  font-size: var(--fs-xl);
  margin-block: var(--sp-6) var(--sp-3);
}
.prose h2:first-child {
  margin-block-start: 0;
}
.prose p {
  color: var(--ink-3);
}
.pg--404 main {
  min-height: 60vh;
}

/* ───────── Contact page ───────── */
.phero--contact {
  padding-block-end: clamp(4rem, 3rem + 4vw, 7rem);
}
.intents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-block-start: var(--sp-7);
}
.intent {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), border-color var(--t-fast) ease;
}
.intent:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent);
}
.intent__ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  border-color: var(--accent) var(--accent-deep) var(--accent-deep) var(--accent);
  color: var(--ink);
}
.intent__ic .ic {
  width: 20px;
  height: 20px;
}
.intent__txt {
  display: grid;
  gap: var(--sp-2);
}
.intent__txt b {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.intent__txt span {
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.6;
}
.intent__go {
  position: absolute;
  inset-block-start: var(--sp-5);
  inset-inline-end: var(--sp-5);
  color: var(--slate-light);
  transition: transform var(--t-mid) var(--ease-out), color var(--t-fast) ease;
}
[dir="rtl"] .intent__go {
  transform: scaleX(-1);
}
.intent:hover .intent__go {
  color: var(--accent-deep);
  transform: translateX(4px);
}
[dir="rtl"] .intent:hover .intent__go {
  transform: scaleX(-1) translateX(4px);
}
@media (max-width: 1000px) {
  .intents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .intents {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .intent {
    grid-template-columns: 48px 1fr;
    align-items: center;
    padding: var(--sp-4);
    padding-inline-end: var(--sp-7);
  }
  .intent__go {
    inset-block-start: 50%;
    margin-block-start: -10px;
  }
}

/* Packages: each shows the full module set, lit where included */
.pkgs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--mist);
  border: 1px solid var(--line);
}
.pkg--featured {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
}
.pkg--custom {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
}
.pkg__badge {
  position: absolute;
  inset-block-start: -0.85rem;
  inset-inline-start: var(--sp-5);
  padding: 0.15rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.pkg__name {
  font-size: var(--fs-xl);
  font-weight: 700;
}
.pkg__for {
  margin-block: var(--sp-2) var(--sp-5);
  min-height: 3.2em;
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.6;
}
.pkg__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
  margin-block-end: var(--sp-3);
}
.pkg__mods {
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: var(--sp-2);
}
.pkg__mod {
  transition: opacity var(--t-mid) ease, filter var(--t-mid) ease;
}
.pkg__mod.is-off {
  opacity: 0.18;
  filter: grayscale(1);
}
.pkg__mod.is-maybe .tile {
  border-style: dashed;
  box-shadow: none;
  opacity: 0.55;
}
.pkg--custom:hover .pkg__mod.is-maybe .tile {
  opacity: 1;
}
.pkg__names {
  margin-block: var(--sp-4) var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.7;
  flex: 1;
}
.pkg__ask {
  width: 100%;
}
@media (max-width: 1100px) {
  .pkgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--sp-6);
  }
}
@media (max-width: 600px) {
  .pkgs {
    grid-template-columns: 1fr;
  }
  .pkg__for {
    min-height: 0;
  }
}

/* ───────── Modules page: illustrative copy of OSYSTMO ───────── */
.s--replica {
  padding-block-start: var(--sp-5);
}
.rep__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-block-end: var(--sp-4);
  color: var(--slate);
  font-size: var(--fs-sm);
}
.rep__sample {
  padding: 0.15rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: var(--fs-xs);
}
.rep {
  --acc: var(--m-hr);
  overflow: clip;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift), 0 60px 120px -50px rgba(11, 18, 32, 0.35);
}

/* Top bar */
.rep__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 60px;
  padding-inline: var(--sp-5);
  border-block-end: 1px solid var(--line);
}
.rep__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
}
.rep__mark {
  width: 28px;
  height: 28px;
}
.rep__co {
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--mist);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}
.rep__search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 320px;
  height: 36px;
  margin-inline-start: auto;
  padding-inline: 0.8rem;
  border-radius: var(--r-pill);
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--slate-light);
  font-size: var(--fs-xs);
}
.rep__search .ic {
  width: 16px;
  height: 16px;
}
.rep__bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--slate);
}
.rep__bell i {
  position: absolute;
  top: 7px;
  inset-inline-end: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-crm);
  box-shadow: 0 0 0 2px var(--white);
}
.rep__user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}
.rep__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ring);
}

/* Body: sidebar + main */
.rep__body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 640px;
}
.rep__side {
  padding: var(--sp-4) var(--sp-3);
  background: var(--mist);
  border-inline-end: 1px solid var(--line);
}
.rep__side-h {
  padding-inline: var(--sp-3);
  margin-block-end: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
}
.rep__side ul {
  display: grid;
  gap: 2px;
}
.rep__mod {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
  text-align: start;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.rep__mod:hover {
  background: rgba(255, 255, 255, 0.7);
}
.rep__mod[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-tile);
}
.rep__mod[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset-block: 9px;
  inset-inline-start: -12px;
  width: 4px;
  border-radius: 4px;
  background: var(--acc);
}
.rep__mod .tile--xs {
  width: 30px;
  height: 30px;
}
.rep__main {
  min-width: 0;
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  background: color-mix(in srgb, var(--mist) 45%, var(--white));
}
.js .rep__screen[data-hidden],
.js .repd[data-hidden] {
  display: none;
}

/* Screen */
.rep__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.rep__head h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
}
.rep__head p {
  font-size: var(--fs-xs);
  color: var(--slate);
}
.rep__tabs {
  display: flex;
  gap: var(--sp-1);
  margin-block: var(--sp-4) var(--sp-5);
  border-block-end: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.rep__tabs span {
  padding: 0.55rem 0.9rem;
  margin-block-end: -1px;
  border-block-end: 2.5px solid transparent;
  font-size: var(--fs-sm);
  color: var(--slate);
  white-space: nowrap;
}
.rep__tabs .is-on {
  border-block-end-color: var(--acc);
  color: var(--ink);
  font-weight: 600;
}
.rep__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
}
.rep__kpi {
  display: grid;
  gap: 0.3rem;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--acc);
}
.rep__kpi-l {
  font-size: var(--fs-xs);
  color: var(--slate);
}
.rep__kpi b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: start;
}
.rep__kpi-d {
  font-size: 0.75rem;
  color: var(--slate);
}
.rep__kpi-d.is-up {
  color: var(--ok);
  font-weight: 600;
}
.rep__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-3);
  margin-block-start: var(--sp-3);
}
.rep__card {
  min-width: 0;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.rep__card h4 {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* Chart */
.rep__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  height: 210px;
  padding-block-end: 1.4rem;
  border-block-end: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0 51px, var(--line) 51px 52px);
}
.rep__bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 100%;
}
.rep__bar-a,
.rep__bar-b {
  flex: none;
  width: 24px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: var(--acc);
}
.rep__chart--two .rep__bar-a,
.rep__chart--two .rep__bar-b {
  width: 11px;
}
.rep__bar-b {
  background: color-mix(in srgb, var(--acc) 30%, var(--white));
}
.rep__bar small {
  position: absolute;
  bottom: -1.35rem;
  font-size: 0.66rem;
  color: var(--slate);
  white-space: nowrap;
}

/* Table */
.rep__tablewrap {
  overflow-x: auto;
}
.rep__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-xs);
}
.rep__table th {
  padding: 0.55rem 0.6rem;
  text-align: start;
  font-weight: 600;
  color: var(--slate);
  background: var(--mist);
  white-space: nowrap;
}
.rep__table th:first-child {
  border-start-start-radius: 8px;
  border-end-start-radius: 8px;
}
.rep__table th:last-child {
  border-start-end-radius: 8px;
  border-end-end-radius: 8px;
}
.rep__table td {
  padding: 0.65rem 0.6rem;
  border-block-end: 1px solid var(--line);
  white-space: nowrap;
}
.rep__table tr:last-child td {
  border-block-end: 0;
}
.rep__strong {
  font-weight: 600;
}
.rep__chip {
  display: inline-block;
  padding: 0.12rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
}
.rep__chip--ok {
  background: #dcfce7;
  color: #166534;
}
.rep__chip--warn {
  background: #fef3c7;
  color: #92400e;
}
.rep__chip--info {
  background: #e0e7ff;
  color: #3730a3;
}

/* Board */
.rep__board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-2);
}
.rep__col {
  display: grid;
  align-content: start;
  gap: var(--sp-2);
  min-height: 190px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  background: var(--mist);
}
.rep__col-h {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}
.rep__col-h span {
  color: var(--slate);
}
.rep__task {
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--acc);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Alerts */
.rep__alerts {
  display: grid;
  gap: var(--sp-2);
}
.rep__alert {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  background: var(--mist);
  font-size: var(--fs-xs);
}
.rep__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.rep__alert--warn .rep__dot {
  background: var(--warn);
}
.rep__alert--info .rep__dot {
  background: var(--m-analytics);
}
.rep__alert--ok .rep__dot {
  background: var(--ok);
}

/* Details of the selected module (under the copy) */
.repd {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--sp-8);
}
.repd__name {
  margin-block-start: var(--sp-4);
  font-size: var(--fs-2xl);
}
.repd__short {
  margin-block-start: var(--sp-1);
  font-weight: 600;
  color: var(--acc);
}
.repd__text {
  margin-block-start: var(--sp-4);
  color: var(--slate);
  max-width: 30rem;
}
.repd__body .mod__h {
  margin-block-start: 0;
}

@media (max-width: 1100px) {
  .rep__grid {
    grid-template-columns: 1fr;
  }
  .rep__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .rep__body {
    grid-template-columns: minmax(0, 1fr); /* never wider than the window */
    min-height: 0;
  }
  .rep__side {
    padding: var(--sp-3);
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }
  .rep__side-h {
    display: none;
  }
  .rep__side ul {
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .rep__mod {
    width: auto;
    flex-shrink: 0;
    padding: 0.4rem 0.8rem 0.4rem 0.4rem;
    padding-inline: 0.4rem 0.8rem;
    white-space: nowrap;
  }
  .rep__mod[aria-selected="true"]::before {
    display: none;
  }
  .rep__mod[aria-selected="true"] {
    box-shadow: 0 0 0 2px var(--acc);
  }
  .rep__main {
    padding: var(--sp-4);
  }
  .rep__co,
  .rep__user span:last-child {
    display: none;
  }
  .repd {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}
@media (max-width: 560px) {
  .rep__bar {
    gap: var(--sp-2);
    padding-inline: var(--sp-3);
  }
  .rep__search span {
    display: none;
  }
  .rep__search {
    flex: 0 0 36px;
    justify-content: center;
    padding: 0;
  }
  .rep__kpi b {
    font-size: 1.3rem;
  }
  .rep__board {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    overflow-x: auto;
  }
  .rep__chart {
    height: 160px;
    gap: var(--sp-1);
  }
  .rep__bar-a,
  .rep__bar-b {
    width: 16px;
  }
  .rep__chart--two .rep__bar-a,
  .rep__chart--two .rep__bar-b {
    width: 7px;
  }
  .rep__bar small {
    font-size: 0.6rem;
  }
}

/* ───────── About ───────── */
.ab-hero {
  padding-block: clamp(4rem, 3rem + 5vw, 8rem) clamp(5rem, 4rem + 5vw, 9rem);
  background:
    radial-gradient(50rem 30rem at 85% 10%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    var(--mist);
}
[dir="rtl"] .ab-hero {
  background:
    radial-gradient(50rem 30rem at 15% 10%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    var(--mist);
}
.ab-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-block-end: var(--sp-5);
  padding: 0.35rem 1rem 0.35rem 0.4rem;
  padding-inline: 0.4rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent-deep);
}
.ab-hero__mark {
  width: 28px;
  height: 28px;
}
.ab-hero__title {
  font-size: var(--fs-hero);
  font-weight: 650;
  max-width: 16ch;
  line-height: 1.2;
}
.ab-hero__lead {
  margin-block-start: var(--sp-6);
  max-width: 44rem;
  font-size: var(--fs-xl);
  line-height: 1.7;
  color: var(--slate);
}

/* Story: heading stays put while the three paragraphs light up */
.ab-story__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--sp-8);
  align-items: start;
}
.ab-story__title {
  position: sticky;
  top: 110px;
}
.ab-story__body {
  display: grid;
  gap: var(--sp-6);
}
.ab-story__body p {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.75;
}
.ab-story__body p:last-child {
  color: var(--accent-deep);
  font-weight: 600;
}

/* Facts: real numbers from the product */
.ab-facts__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--accent);
  margin-block-end: var(--sp-6);
}
.ab-facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-dark);
}
.ab-facts__list li {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-7) var(--sp-5);
}
.ab-facts__list li + li {
  border-inline-start: 1px solid var(--line-dark);
}
.ab-facts__list b {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block: 0.06em;
}
.ab-facts__list span {
  color: var(--slate-light);
  line-height: 1.5;
}
.ab-facts__note {
  margin-block-start: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--slate-light);
}

/* Principles */
.ab-princ__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-7) var(--sp-8);
}
.ab-princ__list li {
  padding-block-start: var(--sp-5);
  border-block-start: 3px solid var(--accent-deep);
}
.ab-princ__list h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-block-end: var(--sp-3);
}
.ab-princ__list p {
  color: var(--slate);
  max-width: 34rem;
}

/* How we build */
.ab-build__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
.ab-build__list li {
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
}
.ab-build__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-block-end: var(--sp-5);
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--white);
}
.ab-build__ic .ic {
  width: 22px;
  height: 22px;
}
.ab-build__list h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-block-end: var(--sp-2);
}
.ab-build__list p {
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.75;
}

/* Team disciplines */
.ab-team__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
}
.ab-team__list li {
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
}
.ab-team__list li + li {
  border-inline-start: 1px solid var(--line);
}
.ab-team__list h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-block-end: var(--sp-3);
}
.ab-team__list p {
  color: var(--slate);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

/* CTA */
.ab-cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.ab-cta__title {
  font-size: var(--fs-2xl);
  color: var(--white);
  max-width: 24ch;
}
.ab-cta__text {
  margin-block-start: var(--sp-3);
  color: var(--slate-light);
}

@media (max-width: 1000px) {
  .ab-story__in {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .ab-story__title {
    position: static;
  }
  .ab-facts__list,
  .ab-build__list,
  .ab-team__list {
    grid-template-columns: 1fr 1fr;
  }
  .ab-facts__list li:nth-child(3),
  .ab-team__list li:nth-child(3) {
    border-inline-start: 0;
  }
  .ab-facts__list li:nth-child(n + 3),
  .ab-team__list li:nth-child(n + 3) {
    border-block-start: 1px solid var(--line-dark);
  }
  .ab-team__list li:nth-child(n + 3) {
    border-block-start-color: var(--line);
  }
}
@media (max-width: 600px) {
  .ab-princ__list,
  .ab-build__list,
  .ab-team__list {
    grid-template-columns: 1fr;
  }
  .ab-team__list li + li {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }
  .ab-facts__list li {
    padding: var(--sp-5) var(--sp-3);
  }
}

/* ───────── Modules page: the OSYSTMO apps screen (launcher) ───────── */
.lx__canvas {
  min-height: 560px;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  background:
    radial-gradient(var(--line-strong) 1px, transparent 1px) 0 0 / 22px 22px,
    color-mix(in srgb, var(--mist) 45%, var(--white));
}
.lx__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.lx__hello h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
}
.lx__hello p {
  margin-block-start: 0.15rem;
  font-size: var(--fs-sm);
  color: var(--slate);
}
.lx__dot {
  margin-inline: 0.25rem;
}
.lx__ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 38px;
  padding-inline: 0.8rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.lx__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.5);
  animation: lx-pulse 1.8s ease-out infinite;
}
.lx__ticker-in {
  display: block;
  height: 1.5em;
  overflow: hidden;
}
.lx__ticker-in span {
  display: block;
  line-height: 1.5em;
  white-space: nowrap;
  animation: lx-tick 9s var(--ease) infinite;
}
@keyframes lx-tick {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-100%); }
  66%, 94% { transform: translateY(-200%); }
  100% { transform: translateY(0); }
}
@keyframes lx-pulse {
  70% { box-shadow: 0 0 0 8px rgba(180, 83, 9, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0); }
}
.lx__space {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  padding-inline: 0.35rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.lx__space .ic {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: var(--ring);
  color: var(--white);
}
.lx__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2.5rem 1rem;
}
.lx__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--r-lg);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.lx__glyph {
  width: 108px;
  height: 108px;
  filter: drop-shadow(0 2px 3px rgba(11, 18, 32, 0.08));
  transition: transform var(--t-mid) var(--ease-out), filter var(--t-mid) var(--ease-out);
}
.lx__app:hover .lx__glyph,
.lx__app:focus-visible .lx__glyph {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 14px 18px rgba(11, 18, 32, 0.18));
}
.lx__app--soon {
  cursor: default;
  font-weight: 500;
  color: var(--slate);
}
.lx__app--soon .lx__glyph {
  filter: grayscale(1);
  opacity: 0.4;
  transform: none;
}
.lx__app--soon small {
  display: block;
  font-size: 0.7rem;
}
@media (max-width: 1100px) {
  .lx__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .lx__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lx__space {
    margin-inline-start: 0;
  }
}
@media (max-width: 600px) {
  .lx__canvas {
    min-height: 0;
  }
  .lx__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0.5rem;
  }
  .lx__glyph {
    width: 72px;
    height: 72px;
  }
  .lx__app {
    font-size: var(--fs-xs);
  }
  .lx__ticker {
    max-width: 100%;
  }
}

/* Module popup */
.mdl {
  width: min(1120px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 120px -20px rgba(11, 18, 32, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
}
.mdl::backdrop {
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(4px);
}
.mdl[open] {
  animation: mdl-in 0.42s var(--ease-out);
}
.mdl[open]::backdrop {
  animation: mdl-fade 0.3s ease;
}
@keyframes mdl-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
}
@keyframes mdl-fade {
  from {
    opacity: 0;
  }
}
.mdl__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  border-block-end: 3px solid var(--acc);
}
.mdl__glyph {
  width: 64px;
  height: 64px;
}
.mdl__title {
  font-size: var(--fs-2xl);
}
.mdl__short {
  font-weight: 600;
  color: var(--acc);
}
.mdl__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  transition: background var(--t-fast) ease;
}
.mdl__close:hover {
  background: var(--mist);
}
.mdl__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-6);
}
.mdl__text {
  font-size: var(--fs-lg);
  line-height: 1.75;
}
.mdl__info .mod__h {
  margin-block-start: var(--sp-5);
}
.mdl__info .ticks--cols {
  grid-template-columns: 1fr 1fr;
  font-size: var(--fs-sm);
}
.mdl__preview {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--mist) 60%, var(--white));
  border: 1px solid var(--line);
}
.mdl__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
}
.mdl__preview .rep__tabs {
  margin-block: 0;
}
.mdl__preview .rep__kpis {
  grid-template-columns: 1fr 1fr;
}
.mdl__preview .rep__chart {
  height: 150px;
}
.mdl__foot {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding: var(--sp-4) var(--sp-6);
  background: var(--white);
  border-block-start: 1px solid var(--line);
}
@media (max-width: 860px) {
  .mdl {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .mdl__head {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }
  .mdl__glyph {
    width: 48px;
    height: 48px;
  }
  .mdl__body {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--sp-4);
  }
  .mdl__info .ticks--cols {
    grid-template-columns: 1fr;
  }
  .mdl__foot {
    padding: var(--sp-3) var(--sp-4);
  }
  .mdl__foot .btn {
    width: 100%;
  }
}

/* Without JS the popups can't open: show them as plain sections under the apps screen */
html:not(.js) .mdl {
  display: block;
  position: static;
  max-height: none;
  margin: var(--sp-6) auto 0;
  overflow: visible;
  box-shadow: var(--shadow-tile);
}
html:not(.js) .mdl__close {
  display: none;
}

/* ───────── Growth pages: breadcrumbs, module pages, industries, pricing ───────── */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-end: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.crumbs li + li::before {
  content: "/";
  margin-inline-end: 0.4rem;
  color: var(--slate-light);
}
.crumbs a:hover {
  color: var(--accent-deep);
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}

/* Module page hero */
.mph {
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(4rem, 3rem + 4vw, 7rem);
  background:
    radial-gradient(50rem 30rem at 85% 10%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 65%),
    var(--mist);
}
[dir="rtl"] .mph {
  background:
    radial-gradient(50rem 30rem at 15% 10%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 65%),
    var(--mist);
}
.mph__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--sp-7);
  align-items: center;
}
.mph__glyph {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 10px 18px rgba(11, 18, 32, 0.14));
}
.mph__title {
  margin-block-start: var(--sp-4);
  font-size: var(--fs-3xl);
  font-weight: 650;
}
.mph__short {
  margin-block-start: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--acc);
}
.mph__text {
  margin-block-start: var(--sp-4);
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--slate);
  max-width: 34rem;
}
.mph__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.mph__win {
  overflow: clip;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift), 0 50px 100px -50px rgba(11, 18, 32, 0.35);
}
.mph__win .rep__bar {
  height: 52px;
}
.mph__win .mdl__preview {
  border: 0;
  border-radius: 0;
}
.mph__cards {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-3);
}

/* Covers list as a card grid */
.covers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--sp-3);
}
.covers li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--mist);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--acc);
  font-weight: 500;
  line-height: 1.55;
}
.covers .ic {
  color: var(--acc);
  stroke-width: 2.4;
  margin-block-start: 0.15rem;
}

/* Works with / used by */
.links2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-7);
}
.links2__h {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-xl);
  font-weight: 700;
}
.modlinks,
.indlinks {
  display: grid;
  gap: var(--sp-3);
}
.modlinks a,
.indlinks a {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-fast) ease;
}
.modlinks a:hover,
.indlinks a:hover {
  transform: translateY(-2px);
  border-color: var(--acc, var(--accent));
}
.modlinks__g {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.modlinks span,
.indlinks a {
  line-height: 1.45;
}
.modlinks b,
.indlinks b {
  display: block;
  font-weight: 700;
}
.modlinks small,
.indlinks small {
  color: var(--slate);
  font-size: var(--fs-xs);
}
.indlinks a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.indlinks small {
  grid-column: 1;
}
.indlinks__go {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--slate-light);
}
[dir="rtl"] .indlinks__go {
  transform: scaleX(-1);
}
.indlinks--row {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

/* Industries index */
.indgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.indcard {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--mist);
  border: 1px solid var(--line);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), background var(--t-fast) ease;
}
.indcard:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.indcard__name {
  font-size: var(--fs-2xl);
}
.indcard__for {
  color: var(--slate);
  line-height: 1.6;
}
.indcard__mods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: var(--sp-2);
}
.indcard__go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-deep);
}
[dir="rtl"] .indcard__go .ic {
  transform: scaleX(-1);
}

/* Industry page */
.phero--ind .mph__ctas {
  margin-block-start: var(--sp-5);
}
.pains__title {
  margin-block-end: var(--sp-6);
  font-size: var(--fs-2xl);
  color: var(--white);
}
.pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.pains li {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-lg);
  line-height: 1.6;
}
.pains__x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
}
.indplan {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: var(--sp-7);
  align-items: start;
}
.planbox {
  position: sticky;
  top: 100px;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--accent-deep);
  box-shadow: var(--shadow-lift);
}
.planbox__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
}
.planbox__name {
  font-size: var(--fs-2xl);
}
.planbox__for {
  color: var(--slate);
}
.planbox__price b {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}
.planbox__price small,
.planbox__price span {
  color: var(--slate);
  font-size: var(--fs-sm);
}

/* Pricing */
.billing {
  display: inline-flex;
  gap: 4px;
  margin-block: var(--sp-6) var(--sp-3);
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
}
.billing__opt {
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 600;
  color: var(--ink-3);
}
.billing__opt em {
  font-style: normal;
  margin-inline-start: 0.35rem;
  padding: 0.05rem 0.5rem;
  border-radius: var(--r-pill);
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
}
.billing__opt[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
}
.plan--featured {
  border: 2px solid var(--accent-deep);
  box-shadow: var(--shadow-lift);
}
.plan__name {
  font-size: var(--fs-xl);
}
.plan__for {
  min-height: 3.2em;
  color: var(--slate);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.plan__price {
  display: grid;
  gap: 0.1rem;
  min-height: 4.6rem;
}
.plan__price b {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: start;
}
.plan__price span {
  font-size: var(--fs-xs);
  color: var(--slate);
}
.plan__price b.plan__custom {
  font-size: 1.6rem;
}
.plan__billed {
  font-size: var(--fs-xs);
  color: var(--ok);
  font-weight: 600;
}
.plan__mods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-block: var(--sp-2) auto;
  padding-block-end: var(--sp-4);
}
.plan__mods .is-maybe {
  opacity: 0.45;
}
.plan__cta {
  width: 100%;
}
.incl {
  margin-block-start: var(--sp-7);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.incl__title {
  font-size: var(--fs-xl);
  margin-block-end: var(--sp-4);
}
.incl__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-6);
}
.incl__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 500;
}
.incl__list .ic {
  color: var(--accent-deep);
  stroke-width: 2.4;
}

/* Savings calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--sp-6);
  align-items: start;
}
.calc__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--mist);
  border: 1px solid var(--line);
}
.calc__range {
  width: 100%;
  accent-color: var(--accent-deep);
}
.calc__out {
  position: sticky;
  top: 100px;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--accent-deep), var(--accent-ink) 60%, #1c1540);
  color: var(--white);
}
.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  padding-block-end: var(--sp-3);
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}
.calc__row b {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--white);
}
.calc__row--big b {
  font-size: var(--fs-2xl);
  color: #bbf7d0;
}
.calc__hours {
  font-size: var(--fs-lg);
}
.calc__hours b {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
}
.calc__note {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* CTA band buttons + ghost button */
.ctaband__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mph__cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .mph__grid,
  .links2,
  .indplan,
  .calc {
    grid-template-columns: 1fr;
  }
  .indgrid,
  .pains {
    grid-template-columns: 1fr 1fr;
  }
  .incl__list {
    grid-template-columns: 1fr 1fr;
  }
  .planbox,
  .calc__out {
    position: static;
  }
}
@media (max-width: 600px) {
  .indgrid,
  .pains,
  .plans,
  .incl__list,
  .calc__inputs {
    grid-template-columns: 1fr;
  }
}

.calc__row--big.is-neg b {
  color: #fde68a;
}

/* ───────── Home (OSYSTMO EPO): eyebrow, price anchor, manifesto, generations, old vs new ───────── */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-block-end: var(--sp-5);
  padding: 0.35rem 0.95rem 0.35rem 0.75rem;
  padding-inline: 0.75rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 6px 18px -10px rgba(var(--accent-deep-rgb), 0.5);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent-deep);
}
.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.3);
}
.hero__price {
  margin-block-start: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.hero__price a {
  border-block-end: 1px dashed var(--slate-light);
}
.hero__price b {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink);
}
.orbit__body {
  border-radius: 27%;
}
.orbit__body:focus-visible {
  outline-offset: 4px;
}

.s--manifesto {
  padding-block: clamp(4rem, 3rem + 5vw, 8rem);
}
.manifesto {
  display: grid;
  gap: var(--sp-5);
}
.manifesto__old {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--slate-light);
}
.manifesto__new {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 650;
  line-height: 1.3;
  color: var(--white);
}
.manifesto__mark {
  width: clamp(48px, 6vw, 84px);
  height: clamp(48px, 6vw, 84px);
  flex-shrink: 0;
}

.gens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  counter-reset: g;
}
.gen {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--sp-2);
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--slate);
}
.gen h3 {
  font-size: var(--fs-lg);
  color: var(--ink-3);
}
.gen__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate);
}
.gen + .gen::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(-1 * var(--sp-4));
  width: var(--sp-4);
  height: 2px;
  background: var(--line-strong);
  transform: scaleX(var(--line, 1));
  transform-origin: var(--from-side, right);
}
.gen--now {
  background: linear-gradient(165deg, var(--accent-deep), var(--accent-ink) 70%, #1c1540);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}
.gen--now h3 {
  color: var(--white);
  font-size: var(--fs-xl);
}
.gen--now .gen__n {
  background: var(--white);
  border-color: transparent;
  color: var(--accent-deep);
}

.vs {
  margin-block-start: var(--sp-8);
}
.vs__title {
  font-size: var(--fs-2xl);
}
.vs__lead {
  margin-block: var(--sp-2) var(--sp-5);
  color: var(--slate);
}
.vs__table {
  overflow: clip;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--white);
}
.vs__head,
.vs__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.vs__head span {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
}
.vs__head span:first-child {
  background: var(--mist);
  color: var(--slate);
}
.vs__head span:last-child {
  background: var(--accent-deep);
  color: var(--white);
}
.vs__mark {
  width: 26px;
  height: 26px;
}
.vs__head .vs__mark circle:first-child {
  stroke: #d9cffa;
}
.vs__head .vs__mark circle:last-child {
  stroke: #ffffff;
}
.vs__rows li {
  border-block-start: 1px solid var(--line);
}
.vs__old,
.vs__new {
  padding: var(--sp-4) var(--sp-5);
  line-height: 1.6;
}
.vs__old {
  color: var(--slate);
  background: color-mix(in srgb, var(--mist) 55%, var(--white));
}
.vs__new {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-wash) 45%, var(--white));
}
.vs__new .ic {
  color: var(--accent-deep);
  stroke-width: 2.6;
  margin-block-start: 0.2rem;
}

/* ───────── Workspaces demo ───────── */
.ws__kicker {
  margin-block-end: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent-deep);
}
.ws__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-block-end: var(--sp-4);
}
.ws__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  padding-inline: 0.5rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  font-weight: 600;
  color: var(--ink-3);
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.ws__tab[aria-selected="true"] {
  border-color: var(--accent-deep);
  background: var(--accent-wash);
  color: var(--ink);
}
.ws__tab-g {
  width: 32px;
  height: 32px;
}
.ws__badge {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: var(--r-pill);
  background: #e11d48;
  color: var(--white);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}
.ws__win {
  position: relative;
  overflow: clip;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift), 0 60px 120px -50px rgba(11, 18, 32, 0.35);
}
.ws__crumb {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate);
}
.ws__body {
  padding: var(--sp-6) var(--sp-6) calc(var(--sp-8) + 2.5rem);
  background:
    radial-gradient(rgba(11, 18, 32, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    color-mix(in srgb, var(--mist) 45%, var(--white));
  min-height: 360px;
}
.js .ws__panel[data-hidden] {
  display: none;
}
.ws__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.ws__steps {
  display: grid;
  gap: var(--sp-2);
  counter-reset: st;
}
.ws__steps li {
  counter-increment: st;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--slate);
  transition: border-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.ws__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mist);
  font-family: var(--font-display);
  font-size: 0.85rem;
  transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.ws__num::before {
  content: counter(st, arabic-indic);
}
[dir="ltr"] .ws__num::before {
  content: counter(st);
}
.ws__steps li.is-on {
  border-color: var(--accent-deep);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}
.ws__steps li.is-on .ws__num {
  background: var(--accent-deep);
  color: var(--white);
}
.ws__side {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
}
.ws__run {
  justify-self: start;
}
.ws__run .ic {
  width: 18px;
  height: 18px;
}
.ws__run.is-pressed {
  transform: scale(0.96);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.3);
}
.ws__creates {
  display: grid;
  gap: var(--sp-2);
}
.ws__creates li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  color: var(--slate-light);
  transition: all var(--t-mid) var(--ease-out);
}
.ws__creates .ic {
  color: var(--line-strong);
  stroke-width: 2.6;
}
.ws__creates li.is-on {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
  color: var(--ink);
  font-weight: 600;
}
.ws__creates li.is-on .ic {
  color: #16a34a;
}
.ws__done {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-weight: 700;
  color: #15803d;
  opacity: 0;
  transition: opacity var(--t-mid) ease;
}
.ws__done.is-on {
  opacity: 1;
}
.ws__replay {
  margin-inline-start: var(--sp-2);
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}
/* no JS / reduced motion: show the finished state */
html:not(.js) .ws__steps li,
html:not(.js) .ws__creates li {
  border-style: solid;
  color: var(--ink);
}
html:not(.js) .ws__done {
  opacity: 1;
}
.ws__dock {
  position: absolute;
  inset-block-end: var(--sp-4);
  inset-inline: 0;
  margin-inline: auto;
  width: max-content;
  display: flex;
  gap: var(--sp-2);
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(10px);
}
.ws__dock-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: transform var(--t-mid) var(--ease-out);
}
.ws__dock-item.is-on {
  transform: translateY(-6px) scale(1.15);
}
.ws__dock-item.is-on::after {
  content: "";
  position: absolute;
  inset-block-end: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
.ws__dock-g {
  width: 40px;
  height: 40px;
}
.ws__dock-item em {
  position: absolute;
  inset-block-start: -4px;
  inset-inline-end: -4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: var(--r-pill);
  background: #e11d48;
  color: var(--white);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--white);
}
.ws__note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-block-start: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
}
.ws__note .ic {
  color: var(--accent-deep);
  margin-block-start: 0.15rem;
}
.ws__hint {
  margin-block-start: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--slate);
}

/* ───────── Module grid, editions, why ───────── */
.mgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
}
.mgrid__card {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  height: 100%;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist);
  border: 1px solid var(--line);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.mgrid__card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--acc);
  box-shadow: var(--shadow-lift);
}
.mgrid__g {
  width: 56px;
  height: 56px;
  margin-block-end: var(--sp-2);
}
.mgrid__card b {
  font-size: var(--fs-md);
}
.mgrid__card small {
  color: var(--slate);
  font-size: var(--fs-xs);
}
.mgrid__all {
  margin-block-start: var(--sp-5);
}

.eds {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--sp-6);
  align-items: start;
}
.ed-agri {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(101, 163, 13, 0.18), rgba(255, 255, 255, 0.04) 55%);
  border: 1px solid rgba(132, 204, 22, 0.35);
}
.ed-agri__tag {
  justify-self: start;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  background: #65a30d;
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.ed-agri__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.ed-agri__g {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 20px;
  background: var(--white);
}
.ed-agri__head h3 {
  font-size: var(--fs-2xl);
  color: var(--white);
}
.ed-agri__head p {
  color: var(--slate-light);
}
.ed-agri__list {
  display: grid;
  gap: var(--sp-3);
}
.ed-agri__list li {
  display: flex;
  gap: var(--sp-3);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.ed-agri__list .ic {
  color: #a3e635;
  stroke-width: 2.6;
  margin-block-start: 0.2rem;
}
.ed-agri .btn {
  justify-self: start;
}
.ed-others__h {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-lg);
  color: var(--white);
}
.ed-others__list a {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  box-shadow: none;
  color: var(--white);
}
.ed-others__list small {
  color: var(--slate-light);
}
.ed-others__all {
  margin-block-start: var(--sp-5);
  color: var(--accent);
}

.whys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.whys li > a,
.whys li > div {
  display: grid;
  align-content: start;
  gap: var(--sp-2);
  height: 100%;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist);
  border: 1px solid var(--line);
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-fast) ease;
}
.whys li > a:hover {
  transform: translateY(-3px);
  border-color: var(--accent-deep);
}
.whys__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: var(--sp-2);
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--white);
}
.whys h3 {
  font-size: var(--fs-lg);
}
.whys p {
  color: var(--slate);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .gens,
  .whys {
    grid-template-columns: 1fr 1fr;
  }
  .gen--now {
    grid-column: 1 / -1;
    transform: none;
  }
  .gen + .gen::before {
    display: none;
  }
  .ws__panel,
  .eds {
    grid-template-columns: 1fr;
  }
  .mgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gens,
  .whys,
  .vs__head,
  .vs__rows li {
    grid-template-columns: 1fr;
  }
  .mgrid {
    grid-template-columns: 1fr 1fr;
  }
  .ws__body {
    padding: var(--sp-4) var(--sp-4) calc(var(--sp-8) + 1rem);
  }
  .ws__tab span {
    font-size: var(--fs-sm);
  }
  .manifesto__new {
    align-items: flex-start;
  }
}

/* ───────── Home polish: highlighter, strike, depth, dock ───────── */
.w__i--hl {
  color: var(--accent-deep);
  background: linear-gradient(rgba(var(--accent-rgb), 0.38), rgba(var(--accent-rgb), 0.38)) no-repeat;
  background-size: calc(var(--hl, 1) * 100%) 0.32em;
  background-position: left 0 bottom 0.12em;
}
[dir="rtl"] .w__i--hl {
  background-position: right 0 bottom 0.12em;
}
.manifesto__old .sw,
html:not(.motion-ready) .manifesto__old {
  background: linear-gradient(rgba(var(--accent-rgb), 0.75), rgba(var(--accent-rgb), 0.75)) no-repeat;
  background-size: calc(var(--strike, 1) * 100%) 3px;
  background-position: left 0 top 55%;
}
[dir="rtl"] .manifesto__old .sw {
  background-position: right 0 top 55%;
}
html.motion-ready .manifesto__old {
  background: none;
}
[dir="ltr"] .gen + .gen::before {
  --from-side: left;
}
.gen--now::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55), transparent 70%) 200% 0 / 250% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gen-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gen-shine {
  0%, 40% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}
.ws {
  perspective: 1600px;
}
.ws__win {
  transform-origin: 50% 100%;
}
.ws__dock-item {
  cursor: pointer;
}
.ws__dock-item:hover {
  transform: translateY(-8px) scale(1.25);
}
.ws__badge {
  animation: badge-pulse 2.4s ease-out infinite;
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
}
.mgrid__card:hover .mgrid__g {
  transform: translateY(-3px) rotate(-6deg) scale(1.08);
}
.mgrid__g {
  transition: transform var(--t-mid) var(--ease-out);
}
@media (max-width: 640px) {
  .vs__head span:first-child {
    display: none;
  }
  .vs__old::before,
  .vs__new::before {
    content: attr(data-label);
    display: block;
    margin-block-end: 0.2rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--slate-light);
  }
  .vs__new {
    display: block;
  }
  .vs__new .ic {
    display: inline-block;
    vertical-align: -0.2em;
    margin: 0;
    margin-inline-end: 0.35rem;
  }
  .vs__new::before {
    color: var(--accent-deep);
  }
  .vs__head {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gen--now::after,
  .ws__badge {
    animation: none;
  }
}

/* ───────── Home hero, centered (product-site style) ───────── */
.hx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(var(--mist), var(--white) 70%);
}
.hx__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(var(--accent-deep-rgb), 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(var(--accent-deep-rgb), 0.06) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hx__glow {
  position: absolute;
  inset-block-start: -18rem;
  inset-inline-start: 50%;
  width: 56rem;
  height: 34rem;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.38), transparent);
  filter: blur(20px);
}
[dir="rtl"] .hx__glow {
  translate: 50% 0;
}
.hx__glow--2 {
  inset-block-start: 22rem;
  width: 40rem;
  height: 24rem;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.16), transparent);
}
.hx__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 5rem);
}
.hx__title {
  margin-block-start: var(--sp-2);
  font-size: clamp(2.8rem, 1.5rem + 5.4vw, 6.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
}
:lang(ar) .hx__title {
  line-height: 1.22;
  letter-spacing: 0;
}
.hx__line {
  display: block;
  overflow: hidden;
  padding-block-end: 0.32em;
  margin-block-end: -0.32em;
}
.hx__li {
  display: inline-block;
}
.hx__hl {
  position: relative;
  display: inline-block;
  color: var(--accent-deep);
}
.hx__swoosh {
  position: absolute;
  inset-inline: -4%;
  inset-block-end: -0.2em;
  width: 108%;
  height: 0.32em;
  overflow: visible;
}
.hx__swoosh path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.hx__swoosh path + path {
  stroke-width: 3.5;
  opacity: 0.6;
}
.hx__sub {
  max-width: 42rem;
  margin-block-start: var(--sp-6);
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--slate);
}
.hx__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.hx__ctas .btn .ic {
  width: 16px;
  height: 16px;
}
.hx__price {
  margin-block-start: var(--sp-4);
}
.hx__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-5);
  margin-block-start: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.hx__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hx__trust .ic {
  color: var(--accent-deep);
  stroke-width: 2.6;
}
.hx__apps {
  width: 100%;
  max-width: 1040px;
  margin-block-start: clamp(3rem, 2rem + 3vw, 4.5rem);
  scroll-margin-block-start: 6rem;
}
.hx__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-6) var(--sp-3);
}
.hx__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: var(--sp-2);
  border-radius: var(--r-lg);
}
.hx__ic {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 10px 24px -14px rgba(11, 18, 32, 0.25);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), border-color var(--t-fast) ease;
}
.hx__g {
  width: 52px;
  height: 52px;
}
.hx__name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.4;
}
.hx__app:hover .hx__ic,
.hx__app:focus-visible .hx__ic {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  box-shadow: 0 2px 4px rgba(11, 18, 32, 0.06), 0 22px 36px -16px color-mix(in srgb, var(--acc) 70%, transparent);
}
.hx__app:hover .hx__name {
  color: var(--ink);
}
.hx__note {
  margin-block-start: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.hx__note a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.hx__note .link__arrow {
  width: 14px;
  height: 14px;
}
@media (max-width: 900px) {
  .hx__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .hx__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4) var(--sp-2);
  }
  .hx__ic {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  .hx__g {
    width: 40px;
    height: 40px;
  }
  .hx__name {
    font-size: var(--fs-xs);
  }
  .hx__ctas .btn {
    width: 100%;
  }
}

/* Hero: ERP gets struck, BOS is written, a sentence types out */
.hx__erp {
  color: var(--slate-light);
}
.hx__strike {
  position: absolute;
  inset-inline: -3%;
  inset-block-start: 54%;
  height: 0.085em;
  border-radius: 99px;
  background: var(--ink-3);
  transform-origin: left center;
}
.hx__erp .hx__swoosh {
  opacity: 0;
}
.hx__bos {
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.hx__type {
  display: grid;
  max-width: 52rem;
  text-wrap: balance;
  margin-block-start: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-deep);
}
.hx__type > span {
  grid-area: 1 / 1;
}
.motion-ready .hx__type-ghost {
  visibility: hidden;
}
html:not(.motion-ready) .hx__type-live {
  display: none;
}
.hx__type-live::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-inline-start: 3px;
  vertical-align: -0.18em;
  background: var(--accent-deep);
  animation: caret 1s steps(1) infinite;
}
.hx__type-live.is-done::after {
  opacity: 0;
  animation: none;
  transition: opacity 0.6s ease 1.2s;
}
@keyframes caret {
  50% { opacity: 0; }
}
.hx__sub {
  margin-block-start: var(--sp-3);
  font-size: var(--fs-md);
}

/* ═════════ Home section system (home-pro.mjs) ═════════ */
.sx--white {
  background: var(--white);
}
.sx--mist {
  background: var(--mist);
}
/* Section head: kicker · title with hand-drawn stroke · lead */
.sh {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50rem;
  margin-inline: auto;
  margin-block-end: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  text-align: center;
}
.sh--start {
  align-items: flex-start;
  margin-inline: 0;
  text-align: start;
}
.sh__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
}
.sh__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.sh__title {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
:lang(ar) .sh__title {
  line-height: 1.35;
  letter-spacing: 0;
}
.sh__lead {
  max-width: 40rem;
  margin-block-start: var(--sp-5);
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--slate);
}
.mk {
  position: relative;
  display: inline-block;
  color: var(--accent-deep);
  white-space: nowrap;
}
.mk__swoosh {
  position: absolute;
  inset-inline: -3%;
  inset-block-end: -0.18em;
  width: 106%;
  height: 0.3em;
  overflow: visible;
  pointer-events: none;
}
.mk__swoosh path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.mk__swoosh path + path {
  stroke-width: 3;
  opacity: 0.55;
}
.sx--dark .sh__kicker {
  color: var(--accent);
}
.sx--dark .sh__title {
  color: var(--white);
}
.sx--dark .sh__lead {
  color: var(--slate-light);
}
.sx--dark .mk {
  color: #cdbff6;
}

/* 1 ─ Evolution line */
.evo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  max-width: 1080px;
  margin-inline: auto;
}
.evo::before {
  content: "";
  position: absolute;
  inset-block-start: 32px;
  inset-inline: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--mist-2), var(--accent));
  transform: scaleX(var(--line, 1));
  transform-origin: left;
}
[dir="rtl"] .evo::before {
  background: linear-gradient(-90deg, var(--mist-2), var(--accent));
  transform-origin: right;
}
.evo__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.evo__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-block-end: var(--sp-5);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--slate);
  box-shadow: 0 0 0 8px var(--white);
}
.evo__dot .ic {
  width: 24px;
  height: 24px;
}
.evo__item--now .evo__dot {
  width: 76px;
  height: 76px;
  margin-block-start: -6px;
  background: var(--accent-deep);
  border-color: transparent;
  box-shadow: 0 0 0 8px var(--white), 0 18px 40px -12px rgba(var(--accent-deep-rgb), 0.6);
}
.evo__mark {
  width: 44px;
  height: 44px;
}
.evo__here {
  position: absolute;
  inset-block-start: -34px;
  padding: 0.15rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.evo__n {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-light);
}
.evo__t {
  margin-block: 0.3rem var(--sp-2);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--ink-3);
}
.evo__item--now .evo__t {
  color: var(--accent-deep);
}
.evo__p {
  max-width: 22rem;
  color: var(--slate);
  line-height: 1.7;
}

/* 2 ─ Old vs new cards */
.vs2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(var(--rows), auto);
  gap: 0 var(--sp-5);
  max-width: 1080px;
  margin-inline: auto;
}
.vs2__card {
  display: grid;
  grid-row: 1 / span calc(var(--rows) + 1);
  grid-template-rows: subgrid;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
}
.vs2__list {
  display: grid;
  grid-row: 2 / span var(--rows);
  grid-template-rows: subgrid;
}
.vs2__card--old {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--slate);
}
.vs2__card--new {
  position: relative;
  background: linear-gradient(160deg, #5a45a8, var(--accent-deep) 45%, var(--accent-ink));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 80px -40px rgba(var(--accent-deep-rgb), 0.75);
}
.vs2__h {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block-end: var(--sp-5);
  margin-block-end: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  border-block-end: 1px solid var(--line);
}
.vs2__card--old .vs2__h {
  color: var(--ink-3);
}
.vs2__card--new .vs2__h {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}
.vs2__mark {
  width: 30px;
  height: 30px;
}
.vs2__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  line-height: 1.65;
}
.vs2__list .ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-block-start: 0.15rem;
  border-radius: 50%;
  stroke-width: 2.6;
}
.vs2__card--old .ic {
  background: var(--mist);
  color: var(--slate-light);
}
.vs2__card--new .ic {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.vs2__card--new li {
  font-weight: 500;
}

/* 3 ─ Workspaces (centered variant) */
.ws--c .ws__tabs {
  justify-content: center;
  margin-block-end: var(--sp-6);
}
.ws--c .ws__win {
  max-width: 1080px;
  margin-inline: auto;
}
.ws__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}
.ws__foot .ws__note {
  border: 0;
  background: var(--accent-wash);
  color: var(--accent-ink);
  border-radius: var(--r-pill);
  padding: var(--sp-3) var(--sp-5);
}

/* 4 ─ Editions (dark) */
.eda {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  max-width: 1160px;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
}
.eda__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}
.eda__tag {
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(163, 230, 53, 0.16);
  color: #bef264;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.eda__name {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--white);
}
.eda__logo {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 16px;
  background: var(--white);
}
.eda__for {
  color: var(--slate-light);
}
.eda__points {
  display: grid;
  gap: var(--sp-3);
  margin-block: var(--sp-2) var(--sp-3);
}
.eda__points li {
  display: flex;
  gap: var(--sp-3);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.eda__points .ic {
  flex-shrink: 0;
  margin-block-start: 0.25rem;
  color: #a3e635;
  stroke-width: 2.6;
}
.eda .btn .link__arrow {
  width: 16px;
  height: 16px;
}
.eda__win {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}
.eda__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: var(--mist);
  border-block-end: 1px solid var(--line);
}
.eda__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mist-2);
}
.eda__bar b {
  margin-inline-start: auto;
  font-size: var(--fs-xs);
  color: var(--slate);
}
.eda__apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background:
    radial-gradient(rgba(11, 18, 32, 0.1) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--white);
}
.eda__app {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.eda__app:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.eda__ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--mist);
}
.eda__g {
  width: 36px;
  height: 36px;
}
.eda__app b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.eda__app small {
  display: block;
  margin-block-start: 0.15rem;
  font-size: var(--fs-xs);
  color: var(--slate);
  line-height: 1.5;
}
.eds2 {
  margin-block-start: var(--sp-7);
  text-align: center;
}
.eds2__h {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--slate-light);
}
.eds2__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: var(--fs-sm);
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.chip--all {
  border-color: transparent;
  color: var(--accent);
}
.chip .link__arrow {
  width: 14px;
  height: 14px;
}

/* 5 ─ Built for Egypt (split) */
.eg2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.eg2 .sh {
  margin-block-end: var(--sp-6);
}
.eg2__sub {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate);
}
.eg2__laws {
  display: grid;
  gap: var(--sp-4);
}
.eg2__laws li {
  display: flex;
  gap: var(--sp-3);
}
.eg2__laws .ic {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  stroke-width: 2.6;
}
.eg2__laws h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-md);
  font-weight: 600;
}
.eg2__laws p {
  margin-block-start: 0.2rem;
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.7;
}
.eg2__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--r-xl);
  background: var(--mist);
}
.egf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6) var(--sp-5);
}
.egf__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: var(--sp-3);
  border-radius: 13px;
  background: var(--white);
  color: var(--accent-deep);
  box-shadow: 0 6px 16px -10px rgba(11, 18, 32, 0.35);
}
.egf h3 {
  font-size: var(--fs-md);
  font-weight: 600;
}
.egf p {
  margin-block-start: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* 6 ─ Why OSYSTMO */
.why2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  max-width: 1160px;
  margin-inline: auto;
}
.why2__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  height: 100%;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  transition: background var(--t-mid) ease, box-shadow var(--t-mid) ease;
}
a.why2__item:hover {
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.why2__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-block-end: var(--sp-3);
  border-radius: 16px;
  background: var(--white);
  color: var(--accent-deep);
  border: 1px solid var(--line);
}
.why2__ic .ic {
  width: 24px;
  height: 24px;
}
.why2 h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.why2 p {
  color: var(--slate);
  line-height: 1.75;
}
.why2__more {
  margin-block-start: auto;
  padding-block-start: var(--sp-2);
  color: var(--accent-deep);
}

/* 7 ─ How we work: flow */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-5);
  max-width: 1160px;
  margin-inline: auto;
}
.flow::before,
.flow::after {
  content: "";
  position: absolute;
  inset-block-start: 23px;
  inset-inline: 10%;
  height: 2px;
  background: var(--mist-2);
}
.flow::after {
  background: var(--accent-deep);
  transform: scaleX(var(--p, 1));
  transform-origin: left;
}
[dir="rtl"] .flow::after {
  transform-origin: right;
}
.flow__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.flow__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-block-end: var(--sp-4);
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--mist-2);
  font-weight: 600;
  color: var(--slate);
  box-shadow: 0 0 0 6px var(--white);
  transition: background var(--t-mid) ease, border-color var(--t-mid) ease, color var(--t-mid) ease;
}
.flow__step.is-lit .flow__n,
html:not(.motion-ready) .flow__n {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--white);
}
.flow h3 {
  font-size: var(--fs-md);
  font-weight: 600;
}
.flow p {
  margin-block-start: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* 8 ─ FAQ */
.faq2 {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.faq2__side {
  position: sticky;
  inset-block-start: 7rem;
}
.faq2__ask {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.faq2__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: var(--sp-2);
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
}
.faq2__ask h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.faq2__ask p {
  color: var(--slate);
  margin-block-end: var(--sp-3);
}
.faq2__list {
  max-width: none;
}

@media (max-width: 1000px) {
  .eda,
  .eg2,
  .faq2 {
    grid-template-columns: 1fr;
  }
  .faq2__side {
    display: contents;
  }
  .faq2 .sh {
    margin-block-end: 0;
  }
  .faq2__list {
    order: 1;
  }
  .faq2__ask {
    order: 2;
  }
  .why2 {
    grid-template-columns: 1fr 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    max-width: 30rem;
  }
  .flow::before,
  .flow::after {
    inset-block: 24px;
    inset-inline: auto;
    inset-inline-start: 23px;
    width: 2px;
    height: auto;
    transform: scaleY(var(--p, 1));
    transform-origin: top;
  }
  .flow__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: var(--sp-4);
    align-items: start;
    text-align: start;
  }
  .flow__n {
    grid-row: span 2;
    margin: 0;
  }
}
@media (max-width: 720px) {
  .evo {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .evo::before {
    display: none;
  }
  .vs2 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: var(--sp-4);
  }
  .vs2__card,
  .vs2__list {
    grid-row: auto !important;
    grid-template-rows: none;
  }
  .why2,
  .egf,
  .eda__apps {
    grid-template-columns: 1fr;
  }
  .why2__item {
    padding: var(--sp-4) 0;
  }
  .sh__title {
    font-size: clamp(1.75rem, 1.2rem + 3vw, 2.4rem);
  }
}

/* Hero announcement pill */
.hx__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  padding-inline: 0.3rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px -8px rgba(11, 18, 32, 0.25);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-mid) ease;
}
.hx__pill em {
  padding: 0.15rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--accent-deep);
  color: var(--white);
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.hx__pill-go {
  width: 14px;
  height: 14px;
  color: var(--accent-deep);
  transition: transform var(--t-mid) var(--ease-out);
}
[dir="rtl"] .hx__pill-go {
  transform: scaleX(-1);
}
.hx__pill:hover {
  border-color: rgba(var(--accent-deep-rgb), 0.4);
  box-shadow: 0 8px 22px -10px rgba(var(--accent-deep-rgb), 0.45);
}
.hx__pill:hover .hx__pill-go {
  transform: translateX(3px);
}
[dir="rtl"] .hx__pill:hover .hx__pill-go {
  transform: scaleX(-1) translateX(3px);
}

/* ───────── Old vs new: problem simulator ───────── */
.sim__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-block-end: var(--sp-6);
}
.sim__tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-weight: 500;
  color: var(--ink-3);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.sim__tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.js .sim__panel[data-hidden] {
  display: none;
}
.sim__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
  max-width: 1160px;
  margin-inline: auto;
}
.sim__side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.sim__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
}
.sim__head b {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.sim__side--old .sim__head b {
  color: var(--slate);
}
.sim__mark {
  width: 26px;
  height: 26px;
}
.sim__stats {
  display: flex;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--slate);
}
.sim__stats i {
  display: inline-block;
  min-width: 1.3em;
  font-style: normal;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  vertical-align: -0.12em;
}
.sim__side--old .sim__stats i {
  color: #b45309;
}
.sim__side--new .sim__stats i {
  color: var(--accent-deep);
}
.sim__win {
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(11, 18, 32, 0.35);
}
.sim__win--new {
  border-color: rgba(var(--accent-deep-rgb), 0.35);
  box-shadow: 0 30px 70px -34px rgba(var(--accent-deep-rgb), 0.55);
}
.sim__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: var(--mist);
  border-block-end: 1px solid var(--line);
}
.sim__bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mist-2);
}
.sim__cur {
  margin-inline-start: auto;
  padding: 0.15rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}
.sim__win--new .sim__cur {
  background: var(--accent-wash);
  border-color: transparent;
  color: var(--accent-deep);
}
.sim__win.is-flash .sim__cur {
  animation: sim-flash 0.6s ease;
}
.sim__win.is-flash .sim__rows {
  animation: sim-swap 0.45s ease;
}
@keyframes sim-flash {
  0% { background: #fde68a; transform: scale(1.12); }
  100% { background: var(--white); transform: none; }
}
@keyframes sim-swap {
  0% { opacity: 0.35; transform: translateX(10px); }
  100% { opacity: 1; transform: none; }
}
.sim__rows {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
}
.sim__row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-sm);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}
.sim__scr {
  flex-shrink: 0;
  padding: 0.1rem 0.55rem;
  border-radius: 6px;
  background: var(--mist);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
}
.sim__a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}
.sim__st {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  stroke-width: 2.8;
}
.sim__row--bad {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.sim__row--bad .sim__st {
  background: #fee2e2;
  color: #dc2626;
}
.sim__row--run {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: var(--white);
  font-weight: 600;
}
.sim__row--run .sim__st {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sim__play {
  width: 14px;
  height: 14px;
}
.sim__row--badge {
  justify-content: space-between;
  font-weight: 500;
}
.sim__badge {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 7px;
  border-radius: var(--r-pill);
  background: #e11d48;
  color: #fff;
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.sim__made {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 0 var(--sp-4) var(--sp-4);
}
.sim__made li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #166534;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}
.sim__made .ic {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
/* rolled back: everything in the new window is undone together */
.sim__win.is-rolled .sim__row:not(.sim__row--bad) {
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-color: rgba(11, 18, 32, 0.4);
}
.sim__win.is-rolled .sim__row:not(.sim__row--bad) .sim__st {
  background: var(--mist);
  color: var(--slate-light);
}
.sim__res {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  min-height: 3.5rem;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.6;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.sim__res .ic {
  flex-shrink: 0;
  margin-block-start: 0.2rem;
  stroke-width: 2.6;
}
.sim__res--warn {
  background: #fffbeb;
  color: #92400e;
}
.sim__res--bad {
  background: #fef2f2;
  color: #991b1b;
}
.sim__res--good {
  background: var(--accent-wash);
  color: var(--accent-ink);
}
/* hidden until played (JS only) */
.js .sim__row:not(.is-on) {
  opacity: 0.18;
  transform: translateY(6px);
}
.js .sim__row:not(.is-on) .sim__st {
  visibility: hidden;
}
.js .sim__made li:not(.is-on) {
  opacity: 0;
  transform: scale(0.8);
}
.js .sim__res:not(.is-on) {
  opacity: 0;
  transform: translateY(10px);
}
.sim__vs {
  display: grid;
  place-items: center;
}
.sim__vs span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--slate);
  box-shadow: 0 10px 24px -14px rgba(11, 18, 32, 0.35);
}
.sim__ctrl {
  display: flex;
  justify-content: center;
  margin-block-start: var(--sp-6);
}
.sim__ctrl .ic {
  width: 16px;
  height: 16px;
}
.sim.is-playing [data-sim-play] {
  opacity: 0.6;
}
@media (max-width: 900px) {
  .sim__panel {
    grid-template-columns: 1fr;
  }
  .sim__vs {
    margin-block: calc(-1 * var(--sp-2));
  }
}

/* ───────── Editions carousel ───────── */
.edc {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-2) 0;
}
.edc__track {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--sp-5);
}
.edc.is-live .edc__track {
  display: grid;
  justify-items: center;
  overflow: visible;
  padding-inline: 0;
  touch-action: pan-y;
}
.edc__slide {
  --tone: var(--accent);
  flex: 0 0 min(980px, 86vw);
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--tone) 28%, transparent), transparent 70%),
    linear-gradient(150deg, #1a2234, #121927);
  border: 1px solid var(--line-dark);
  color: var(--white);
}
.edc.is-live .edc__slide {
  grid-area: 1 / 1;
  width: min(980px, 82vw);
  transform: translateX(var(--x, 0)) scale(var(--s, 1));
  filter: blur(var(--b, 0));
  opacity: var(--op, 1);
  transition:
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out),
    opacity 0.9s var(--ease-out);
}
.edc.is-live .edc__slide.is-side {
  cursor: pointer;
}
.edc__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}
.edc__tag {
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--tone) 22%, transparent);
  color: color-mix(in srgb, var(--tone) 55%, white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.edc__name {
  font-size: var(--fs-2xl);
  font-weight: 600;
}
[dir="rtl"] .edc__name {
  text-align: right;
}
.edc__for {
  color: var(--slate-light);
}
.edc__points {
  display: grid;
  gap: var(--sp-3);
  margin-block: var(--sp-2);
}
.edc__points li {
  display: flex;
  gap: var(--sp-3);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.edc__points .ic {
  flex-shrink: 0;
  margin-block-start: 0.25rem;
  color: color-mix(in srgb, var(--tone) 60%, white);
  stroke-width: 2.6;
}
.edc__copy .btn .link__arrow {
  width: 16px;
  height: 16px;
}
.edc__win {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.edc__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: var(--mist);
  border-block-end: 1px solid var(--line);
}
.edc__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mist-2);
}
.edc__bar b {
  margin-inline-start: auto;
  font-size: var(--fs-xs);
  color: var(--slate);
}
.edc__apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background:
    radial-gradient(rgba(11, 18, 32, 0.1) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--white);
}
.edc__apps li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.edc__ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mist);
}
.edc__g {
  width: 34px;
  height: 34px;
}
.edc__apps b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.edc__apps small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--slate);
  line-height: 1.45;
}
.edc__slide.is-current .edc__apps li {
  animation: edc-pop 0.6s var(--ease-out) both;
}
.edc__slide.is-current .edc__apps li:nth-child(2) { animation-delay: 0.08s; }
.edc__slide.is-current .edc__apps li:nth-child(3) { animation-delay: 0.16s; }
.edc__slide.is-current .edc__apps li:nth-child(4) { animation-delay: 0.24s; }
@keyframes edc-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
.edc__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-block-start: var(--sp-6);
}
.edc__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: background var(--t-fast) ease;
}
.edc__nav:hover {
  background: rgba(255, 255, 255, 0.14);
}
.edc__prev {
  transform: scaleX(-1);
}
[dir="rtl"] .edc__prev {
  transform: none;
}
[dir="rtl"] .edc__next {
  transform: scaleX(-1);
}
.edc__dots {
  display: flex;
  gap: 4px;
}
.edc__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  background: none;
}
.edc__dot span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  transition: width var(--t-mid) var(--ease-out), background var(--t-mid) ease;
}
.edc__dot[aria-current="true"] span {
  width: 22px;
  background: var(--accent);
}
.edc__all {
  margin-block-start: var(--sp-4);
  text-align: center;
}
.edc__all .link {
  color: var(--accent);
}
@media (max-width: 760px) {
  .edc__slide {
    grid-template-columns: 1fr;
  }
  .edc__win {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edc.is-live .edc__slide {
    transition: opacity 0.2s ease;
  }
}

/* ───────── AI · automation · integrations ───────── */
.smt {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  max-width: 1160px;
  margin-inline: auto;
}
.smt__tabs {
  display: grid;
  gap: var(--sp-3);
}
.smt__tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: none;
  text-align: start;
  transition: background var(--t-mid) ease, border-color var(--t-mid) ease, box-shadow var(--t-mid) ease;
}
.smt__tab:hover {
  background: var(--mist);
}
.smt__tab[aria-selected="true"] {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-lift);
}
.smt__ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mist);
  color: var(--slate);
  transition: background var(--t-mid) ease, color var(--t-mid) ease;
}
.smt__tab[aria-selected="true"] .smt__ic {
  background: var(--accent-deep);
  color: var(--white);
}
.smt__txt b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
}
.smt__txt span {
  display: block;
  margin-block-start: 0.3rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--slate);
}
.smt__bar {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
}
[dir="rtl"] .smt__bar {
  transform-origin: right;
}
.smt.is-cycling .smt__tab[aria-selected="true"] .smt__bar {
  animation: smt-fill 8s linear forwards;
}
@keyframes smt-fill {
  to { transform: scaleX(1); }
}
.smt__stage {
  position: relative;
  display: grid;
  min-height: 440px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(var(--accent-rgb), 0.22), transparent 70%),
    radial-gradient(rgba(var(--accent-deep-rgb), 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--mist);
  border: 1px solid var(--line);
  overflow: hidden;
}
.js .smt__panel[data-hidden] {
  display: none;
}
.smt__panel {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}
.smp {
  width: 100%;
  max-width: 460px;
}
/* AI chat */
.smp--ai {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(var(--accent-deep-rgb), 0.5);
  overflow: hidden;
}
.chat__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1rem;
  border-block-end: 1px solid var(--line);
}
.chat__mark {
  width: 24px;
  height: 24px;
}
.chat__head b {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.chat__head em {
  margin-inline-start: auto;
  padding: 0.1rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--mist);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--slate);
}
.chat__body {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-4);
}
.chat__q {
  justify-self: end;
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  border-end-end-radius: 4px;
  background: var(--accent-deep);
  color: var(--white);
  font-size: var(--fs-sm);
}
.chat__a {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.chat__av {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-wash);
}
.chat__a > div {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  border-start-start-radius: 4px;
  background: var(--mist);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.chat__typing {
  display: none;
  gap: 4px;
  padding-block: 0.3rem;
}
.chat__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slate-light);
  animation: typing 1s infinite ease-in-out;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.chat__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(var(--accent-deep-rgb), 0.3);
  background: var(--white);
  color: var(--accent-deep);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.chat__chips .ic {
  width: 11px;
  height: 11px;
}
/* Automation rule */
.rule {
  position: relative;
  display: grid;
  gap: var(--sp-3);
}
.rule::before {
  content: "";
  position: absolute;
  inset-block: 24px;
  inset-inline-start: 31px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(var(--accent-deep-rgb), 0.45) 0 6px, transparent 6px 12px);
  background-size: 2px 12px;
  animation: rule-flow 0.8s linear infinite;
}
@keyframes rule-flow {
  to { background-position: 0 12px; }
}
.rule__n {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(11, 18, 32, 0.4);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.rule__n em {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding-inline: 8px;
  border-radius: 8px;
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.rule__n--when em {
  background: #fef3c7;
  color: #92400e;
}
.rule__n--if em {
  background: #e0f2fe;
  color: #075985;
}
.rule__n--then {
  margin-inline-start: var(--sp-6);
}
.rule__n--then em {
  background: var(--accent-wash);
  color: var(--accent-deep);
}
.rule__ok {
  margin-inline-start: auto;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  stroke-width: 3;
}
/* Integrations hub */
.hub {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hub__lines line {
  stroke: rgba(var(--accent-deep-rgb), 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: hub-flow 1.2s linear infinite;
  animation-delay: calc(var(--i) * -0.15s);
}
@keyframes hub-flow {
  to { stroke-dashoffset: -20; }
}
.hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  translate: -50% -50%;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.18), 0 20px 50px -18px rgba(var(--accent-deep-rgb), 0.6);
}
.hub__mark {
  width: 56px;
  height: 56px;
}
.hub__nodes li {
  --r: 37.5%;
  position: absolute;
  top: calc(50% + sin(var(--a)) * var(--r));
  left: calc(50% + cos(var(--a)) * var(--r));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 96px;
  translate: -50% -26px;
  text-align: center;
}
.hub__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  box-shadow: 0 10px 24px -16px rgba(11, 18, 32, 0.45);
}
.hub__g {
  width: 34px;
  height: 34px;
}
.hub__nodes b {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-3);
}
/* each visual plays when its panel turns on */
.motion-ready .smt__panel.is-on .chat__q { animation: pop-in 0.5s var(--ease-out) both 0.1s; }
.motion-ready .smt__panel.is-on .chat__a { animation: pop-in 0.5s var(--ease-out) both 0.6s; }
.motion-ready .smt__panel.is-on .chat__typing { display: flex; animation: typing-off 0.01s linear forwards 1.6s; }
.motion-ready .smt__panel.is-on .chat__l { animation: pop-in 0.5s var(--ease-out) both; }
.motion-ready .smt__panel.is-on .chat__l:nth-of-type(1) { animation-delay: 1.65s; }
.motion-ready .smt__panel.is-on .chat__l:nth-of-type(2) { animation-delay: 2.1s; }
.motion-ready .smt__panel.is-on .chat__l:nth-of-type(3) { animation-delay: 2.55s; }
.motion-ready .smt__panel.is-on .chat__chips li { animation: pop-in 0.5s var(--ease-out) both; }
.motion-ready .smt__panel.is-on .chat__chips li:nth-child(1) { animation-delay: 3.1s; }
.motion-ready .smt__panel.is-on .chat__chips li:nth-child(2) { animation-delay: 3.25s; }
.motion-ready .smt__panel.is-on .chat__chips li:nth-child(3) { animation-delay: 3.4s; }
.motion-ready .smt__panel.is-on .rule__n { animation: pop-in 0.55s var(--ease-out) both; }
.motion-ready .smt__panel.is-on .rule__n:nth-child(2) { animation-delay: 0.45s; }
.motion-ready .smt__panel.is-on .rule__n:nth-child(3) { animation-delay: 1s; }
.motion-ready .smt__panel.is-on .rule__n:nth-child(4) { animation-delay: 1.25s; }
.motion-ready .smt__panel.is-on .rule__n:nth-child(5) { animation-delay: 1.5s; }
.motion-ready .smt__panel.is-on .rule__ok { animation: pop-in 0.4s var(--ease-out) both 2s; }
.motion-ready .smt__panel.is-on .hub__core { animation: core-in 0.7s var(--ease-out) both; }
.motion-ready .smt__panel.is-on .hub__nodes li { animation: pop-in 0.5s var(--ease-out) both; animation-delay: calc(0.3s + var(--i) * 0.09s); }
.motion-ready .smt__panel.is-on .hub__lines { animation: fade-in 0.8s ease both 0.5s; }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes core-in {
  from { opacity: 0; scale: 0.6; }
  to { opacity: 1; scale: 1; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes typing-off {
  to { opacity: 0; height: 0; padding: 0; overflow: hidden; }
}
@media (max-width: 900px) {
  .smt {
    grid-template-columns: 1fr;
  }
  .smt__stage {
    min-height: 400px;
  }
}
@media (max-width: 480px) {
  .hub__nodes li {
    --r: 39%;
    width: 72px;
  }
  .hub__ic {
    width: 42px;
    height: 42px;
  }
  .hub__core {
    width: 72px;
    height: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hub__lines line,
  .rule::before,
  .chat__typing i {
    animation: none;
  }
}

/* ───────── Built for the region: country tabs ───────── */
.rg__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-block-end: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist);
}
.rg__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: calc(var(--r-lg) - 4px);
  background: none;
  text-align: start;
  transition: background var(--t-mid) ease, box-shadow var(--t-mid) ease;
}
.rg__tab b {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-3);
}
.rg__tab small {
  font-size: 0.68rem;
  color: var(--slate-light);
  letter-spacing: 0.04em;
}
.rg__tab[aria-selected="true"] {
  background: var(--white);
  box-shadow: 0 6px 16px -10px rgba(11, 18, 32, 0.35);
}
.rg__tab[aria-selected="true"] b {
  color: var(--accent-deep);
}
.js .rg__panel[data-hidden] {
  display: none;
}
.rg__panel.is-in li {
  animation: pop-in 0.5s var(--ease-out) both;
}
.rg__panel.is-in li:nth-child(2) { animation-delay: 0.06s; }
.rg__panel.is-in li:nth-child(3) { animation-delay: 0.12s; }
.rg__panel.is-in li:nth-child(4) { animation-delay: 0.18s; }
.rg__panel.is-in li:nth-child(5) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rg__panel.is-in li {
    animation: none;
  }
}

/* ───────── Evolution: generations light up as the line reaches them ───────── */
.evo__dot,
.evo__t,
.evo__n {
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}
.motion-ready .evo__item:not(.is-lit) .evo__dot {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--slate-light);
}
.motion-ready .evo__item.is-lit:not(.evo__item--now) .evo__dot {
  border-color: var(--accent-deep);
  background: var(--accent-wash);
  color: var(--accent-deep);
}
.motion-ready .evo__item:not(.is-lit) .evo__t {
  color: var(--slate-light);
}
.motion-ready .evo__item--now:not(.is-lit) .evo__dot {
  width: 64px;
  height: 64px;
  margin-block-start: 0;
  box-shadow: 0 0 0 8px var(--white);
}
.motion-ready .evo__item--now:not(.is-lit) .evo__mark circle {
  stroke: var(--mist-2);
}
.motion-ready .evo__item--now:not(.is-lit) .evo__here {
  opacity: 0;
}
.evo__item--now .evo__dot {
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out), background 0.5s ease, box-shadow 0.5s ease;
}
.evo__item--now.is-lit .evo__dot::after,
html:not(.motion-ready) .evo__item--now .evo__dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.7);
  animation: evo-pulse 2.2s ease-out infinite;
}
@keyframes evo-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
/* a spark keeps travelling along the finished line */
.evo::after {
  content: "";
  position: absolute;
  inset-block-start: 28px;
  inset-inline-start: 16%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25), 0 0 18px 4px rgba(var(--accent-rgb), 0.7);
  opacity: 0;
  pointer-events: none;
}
.evo.is-done::after {
  animation: evo-spark 3.2s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes evo-spark {
  0% { inset-inline-start: 16%; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { inset-inline-start: calc(84% - 10px); opacity: 0; }
}
@media (max-width: 720px) {
  .evo::after {
    display: none;
  }
}

/* ───────── Region: tabs cycle with a filling bar ───────── */
.rg__tab {
  position: relative;
  overflow: hidden;
}
.rg__tab::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
}
[dir="rtl"] .rg__tab::after {
  transform-origin: right;
}
.rg.is-cycling .rg__tab[aria-selected="true"]::after {
  animation: smt-fill 4.5s linear forwards;
}
.rg__panel.is-in li {
  animation: rg-in 0.6s var(--ease-out) both;
}
@keyframes rg-in {
  from { opacity: 0; transform: translateX(var(--rg-x, 24px)); }
  to { opacity: 1; transform: none; }
}
[dir="rtl"] .rg__panel {
  --rg-x: -24px;
}
.egf__ic {
  transition: transform var(--t-mid) var(--ease-out), background var(--t-mid) ease, color var(--t-mid) ease;
}
.egf li:hover .egf__ic {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--accent-deep);
  color: var(--white);
}

/* ───────── Section arrows (all pages) ───────── */
.snav {
  position: fixed;
  z-index: 40;
  inset-block-end: max(1.25rem, env(safe-area-inset-bottom));
  inset-inline-end: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -14px rgba(11, 18, 32, 0.45);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--t-mid) ease, transform var(--t-mid) var(--ease-out);
}
.snav.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.snav__b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-3);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, opacity var(--t-fast) ease;
}
.snav__b:hover {
  background: var(--accent-deep);
  color: var(--white);
}
.snav__b .ic {
  width: 18px;
  height: 18px;
}
.snav__up {
  transform: rotate(-90deg);
}
.snav__down {
  transform: rotate(90deg);
}
[dir="rtl"] .snav__up,
[dir="rtl"] .snav__down {
  scale: -1 1;
}
.snav.is-end [data-snav-down] {
  opacity: 0.3;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .evo.is-done::after,
  .evo__item--now .evo__dot::after {
    animation: none;
  }
}

/* ───────── Product tour video ───────── */
.tv {
  display: grid;
  max-width: 1100px;
  margin-inline: auto;
  perspective: 1600px;
}
.tv__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  background: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(var(--accent-deep-rgb), 0.55), 0 0 0 1px var(--line);
  transform-origin: 50% 100%;
}
.tv__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.tv__poster {
  position: absolute;
  inset: 0;
}
.tv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv__img ~ .tv__mock {
  display: none;
}
/* drawn product screen */
.tv__mock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.tv__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: var(--mist);
  border-block-end: 1px solid var(--line);
}
.tv__bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mist-2);
}
.tv__mark {
  width: 20px;
  height: 20px;
  margin-inline-start: auto;
}
.tv__bar b {
  font-size: var(--fs-xs);
}
.tv__screen {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4%;
  align-items: center;
  padding: 4% 5%;
  background:
    radial-gradient(rgba(11, 18, 32, 0.1) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--white);
}
.tv__apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6% 4%;
}
.tv__apps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.tv__apps li > span {
  display: grid;
  place-items: center;
  width: clamp(36px, 5vw, 64px);
  aspect-ratio: 1;
  border-radius: 28%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px -12px rgba(11, 18, 32, 0.4);
}
.tv__g {
  width: 64%;
  height: 64%;
}
.tv__apps i {
  font-style: normal;
  font-size: clamp(0.55rem, 0.4rem + 0.35vw, 0.78rem);
  color: var(--slate);
  text-align: center;
  line-height: 1.3;
}
.tv__ws {
  display: grid;
  gap: 0.5rem;
  padding: 6%;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(var(--accent-deep-rgb), 0.55);
  font-size: clamp(0.6rem, 0.45rem + 0.4vw, 0.88rem);
}
.tv__ws b {
  font-size: 1.1em;
}
.tv__ws span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: var(--mist);
}
.tv__ws span .ic {
  width: 12px;
  height: 12px;
  color: #16a34a;
  stroke-width: 3;
}
.tv__ws i {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: var(--accent-deep);
  color: var(--white);
  font-style: normal;
  font-weight: 600;
}
.tv__ws i .ic {
  width: 11px;
  height: 11px;
}
.tv__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(11, 18, 32, 0.55), rgba(11, 18, 32, 0.25) 70%),
    linear-gradient(180deg, rgba(var(--accent-deep-rgb), 0.15), rgba(11, 18, 32, 0.35));
  backdrop-filter: blur(1.5px);
}
.tv__play,
.tv__soon {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--white);
  text-align: center;
}
.tv__play {
  border: 0;
  background: none;
  cursor: pointer;
}
.tv__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(64px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent-deep);
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.6);
  transition: transform var(--t-mid) var(--ease-out);
}
.tv__btn .ic {
  width: 34%;
  height: 34%;
  margin-inline-start: 6%;
}
[dir="rtl"] .tv__btn .ic {
  margin-inline-start: 0;
  margin-inline-end: 6%;
  transform: scaleX(-1);
}
.tv__btn::before,
.tv__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: tv-ring 2.4s ease-out infinite;
}
.tv__btn::after {
  animation-delay: 1.2s;
}
@keyframes tv-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.tv__play:hover .tv__btn {
  transform: scale(1.08);
}
.tv__play b {
  font-size: var(--fs-md);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.tv__soon {
  max-width: 26rem;
  padding: var(--sp-5);
}
.tv__soon em {
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.tv__soon p {
  font-size: var(--fs-md);
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.tv__chapters h3 {
  margin-block-end: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate);
}
.tv__chapters ol {
  position: relative;
  display: grid;
  gap: var(--sp-2);
}
.tv__chapters button,
.tv__ch {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: start;
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast) ease, transform var(--t-mid) var(--ease-out);
}
.tv__chapters button:hover {
  border-color: var(--accent-deep);
  transform: translateX(4px);
}
[dir="rtl"] .tv__chapters button:hover {
  transform: translateX(-4px);
}
.tv__chapters button > span,
.tv__n {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 26px;
  padding-inline: 6px;
  border-radius: 8px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.tv__n {
  min-width: 26px;
}
.tv__chapters b {
  font-weight: 500;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .tv {
    grid-template-columns: 1fr;
  }
  .tv__chapters ol {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (max-width: 560px) {
  .tv__frame {
    aspect-ratio: 4 / 5;
  }
  .tv__screen {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .tv__soon p {
    font-size: var(--fs-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tv__btn::before,
  .tv__btn::after {
    animation: none;
  }
}
