/* lay.css — home sections 4–11 (src/pages/home-lay.mjs). Each section has its own composition.
   Logical properties throughout (RTL + LTR). Behaviour lives in main.js; every block reads fine without it. */

/* ───────── Shared: kicker + split heading (title one side, lead the other) ───────── */
.lsh__k {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
}
[data-theme="dark"] .lsh__k {
  color: var(--accent);
}
.lsh {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: var(--sp-5) clamp(2rem, 6vw, 6rem);
  padding-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.lsh__t {
  margin-block-start: 0.7rem;
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.lsh__l {
  max-width: 30rem;
  color: var(--slate);
  font-size: var(--fs-md);
}
.lsh--dark .lsh__l {
  color: rgba(255, 255, 255, 0.66);
}
@media (max-width: 900px) {
  .lsh {
    grid-template-columns: 1fr;
  }
}
.btn--sun {
  --btn-bg: #ffcf9e;
  --btn-fg: #1c1230;
}
.btn--sun:hover {
  background: #ffe0bd;
}

/* ───────── 4 · Workspaces window ───────── */
.lw {
  padding-block: var(--sp-section);
  background: var(--white);
  overflow: hidden;
}
.lw__stage {
  position: relative;
  width: min(1380px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.lw__win {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--mist);
  box-shadow: 0 50px 100px -60px rgba(var(--accent-deep-rgb), 0.55), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.lw__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-block-end: 1px solid var(--line);
  background: var(--white);
  border-radius: 20px 20px 0 0;
}
.lw__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.lw__mark {
  width: 24px;
  height: 24px;
}
.lw__dots {
  display: flex;
  gap: 6px;
}
.lw__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mist-2);
}
.lw__body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 430px;
}
.lw__side {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 1rem;
  border-inline-end: 1px solid var(--line);
  background: var(--white);
  border-end-start-radius: 20px;
}
.lw__ws {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate);
  text-align: start;
  cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.lw__ws span {
  flex: 1;
}
.lw__ws em {
  min-width: 22px;
  padding: 0.1rem 0.4rem;
  border-radius: var(--r-pill);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--danger);
}
.lw__ws:hover {
  background: var(--mist);
}
.lw__ws[aria-selected="true"] {
  color: var(--ink);
  background: var(--accent-wash);
}
.lw__g {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.lw__panels {
  display: grid;
}
.lw__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 1.2rem;
  padding: 1.4rem;
}
.js .lw__panel[data-hidden] {
  display: none;
}
.lw__crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-lg);
}
.lw__crumb b {
  font-weight: 600;
}
.lw__steps {
  display: grid;
  gap: 0.7rem;
  margin-block: 1.2rem;
}
.lw__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.lw__sn {
  grid-row: span 2;
  align-self: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-wash);
}
.lw__sl {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.lw__sv {
  height: 8px;
  margin-block-start: 0.45rem;
  width: calc(35% + var(--k) * 15%);
  border-radius: 4px;
  background: var(--mist-2);
}
.lw__out {
  align-self: start;
  padding: 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px dashed var(--line-strong);
}
.lw__out-h {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
}
.lw__out ul {
  display: grid;
  gap: 0.55rem;
  margin-block-start: 0.7rem;
}
.lw__out li {
  display: flex;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.lw__out li .ic {
  width: 18px;
  color: var(--ok);
}
.lw__ok {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ok);
}
/* With JS the created list fills in when "Run it all" plays */
.js .lw__out li {
  opacity: 0.35;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.js .lw__out li .ic {
  color: var(--slate-light);
}
.js .lw__out li.is-done {
  opacity: 1;
}
.js .lw__out li.is-done .ic {
  color: var(--ok);
}
.js .lw__ok {
  visibility: hidden;
}
.js .lw__panel.is-done .lw__ok {
  visibility: visible;
}
.lw__run.is-busy {
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.25);
}
/* Numbered call-outs on the window */
.lw__spot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
  translate: -50% -50%;
}
.lw__spot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  opacity: 0;
}
.motion-ready .lw__spot::after {
  animation: lw-ping 2.4s ease-out infinite;
}
@keyframes lw-ping {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}
.lw__spot--1 {
  inset-inline-start: 250px;
  top: 92px;
}
.lw__spot--2 {
  inset-inline-start: calc(250px + 40%);
  top: 150px;
}
.lw__spot--3 {
  inset-inline-start: calc(250px + 1.4rem + 140px);
  bottom: 28px;
  translate: -50% 50%;
}
:dir(rtl) .lw__spot,
[dir="rtl"] .lw__spot {
  translate: 50% -50%;
}
[dir="rtl"] .lw__spot--3 {
  translate: 50% 50%;
}
.lw__spot.is-hot,
.lw__notes li.is-hot .lw__nn {
  background: var(--accent-deep);
}
.lw__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 2.6rem;
  border-block-start: 1px solid var(--line);
}
.lw__notes li {
  display: flex;
  gap: 0.9rem;
  padding: 1.4rem 1.4rem 0 0;
  padding-inline: 0 1.4rem;
}
.lw__notes li + li {
  padding-inline-start: 1.4rem;
  border-inline-start: 1px solid var(--line);
}
.lw__nn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: var(--ink);
  transition: background var(--t-fast) ease;
}
.lw__notes h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.lw__notes p {
  margin-block-start: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--slate);
}
@media (max-width: 1000px) {
  .lw__panel {
    grid-template-columns: 1fr;
  }
  .lw__spot--2,
  .lw__spot--3 {
    display: none;
  }
}
@media (max-width: 760px) {
  .lw__body {
    grid-template-columns: 1fr;
  }
  .lw__side {
    display: flex;
    overflow-x: auto;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
    border-radius: 0;
  }
  .lw__ws {
    flex: 0 0 auto;
  }
  .lw__spot {
    display: none;
  }
  .lw__notes {
    grid-template-columns: 1fr;
  }
  .lw__notes li,
  .lw__notes li + li {
    padding: 1.1rem 0;
    border-inline-start: 0;
    border-block-end: 1px solid var(--line);
  }
}

/* ───────── 5 · Industries index ───────── */
.lx {
  padding-block: var(--sp-section);
  background: var(--ink);
  color: #fff;
}
.lx__in {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.lx__head {
  position: sticky;
  top: 110px;
}
.lx__title {
  margin-block-start: 0.7rem;
  font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.9rem);
  font-weight: 500;
}
.lx__title .mk,
.lb .mk,
.lt .mk {
  color: var(--accent);
}
.lx__title .mk {
  white-space: normal;
  display: inline;
}
.lx__title .mk__swoosh {
  display: none;
}
.lx__lead {
  margin-block-start: 1rem;
  color: rgba(255, 255, 255, 0.66);
}
.lx__all {
  display: inline-flex;
  margin-block-start: 1.6rem;
  color: var(--accent);
}
.lx__list {
  border-block-start: 1px solid var(--line-dark);
}
.lx__row {
  border-block-end: 1px solid var(--line-dark);
}
.lx__h {
  font: inherit;
}
.lx__btn {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.3rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.lx__n {
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.4);
}
.lx__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 0.9rem + 1.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: start;
}
.lx__tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.6);
}
.lx__pm {
  position: relative;
  width: 18px;
  height: 18px;
}
.lx__pm::before,
.lx__pm::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  margin-block-start: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s ease;
}
.lx__pm::after {
  transform: rotate(90deg);
}
.lx__row.is-open .lx__pm::after {
  transform: rotate(0);
}
.lx__btn:hover .lx__name,
.lx__row.is-open .lx__name {
  color: #fff;
}
.lx__row.is-open .lx__name {
  transform: translateX(0.4rem);
}
[dir="rtl"] .lx__row.is-open .lx__name {
  transform: translateX(-0.4rem);
}
.lx__row.is-open .lx__tag {
  color: #fff;
  border-color: var(--tone);
  background: color-mix(in srgb, var(--tone) 30%, transparent);
}
.lx__time {
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--tone);
}
.lx__row.is-open.is-timing .lx__time {
  width: 100%;
  transition: width var(--lx-ms, 5s) linear;
}
.lx__body {
  display: grid;
  grid-template-rows: 1fr;
}
.js .lx__body {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .lx__row.is-open .lx__body {
  grid-template-rows: 1fr;
}
.lx__inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem;
  padding-inline-start: calc(3rem + 1rem);
}
.lx__copy,
.lx__mods {
  padding-block-end: 1.8rem;
}
.lx__for {
  color: rgba(255, 255, 255, 0.75);
}
.lx__pts {
  display: grid;
  gap: 0.5rem;
  margin-block: 1rem 1.4rem;
}
.lx__pts li {
  display: flex;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}
.lx__pts .ic {
  width: 18px;
  color: var(--tone);
}
.lx__mods-h {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.lx__mods ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.7rem;
}
.lx__mods li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  padding-inline: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  font-size: var(--fs-xs);
}
.lx__g {
  width: 22px;
  height: 22px;
}
@media (max-width: 960px) {
  .lx__in {
    grid-template-columns: 1fr;
  }
  .lx__head {
    position: static;
  }
  .lx__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline-start: 0;
  }
  .lx__btn {
    grid-template-columns: 2.2rem minmax(0, 1fr) 22px;
  }
  .lx__tag {
    display: none;
  }
}

/* ───────── 6 · Three tall panels ───────── */
.lp {
  padding-block: var(--sp-section);
  background: var(--mist);
}
.lp__row {
  display: flex;
  gap: 12px;
  height: clamp(520px, 64vh, 640px);
}
.lp__p {
  position: relative;
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: flex-basis 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease;
}
.lp__p.is-open {
  flex: 1 1 auto;
  background: linear-gradient(160deg, var(--white) 30%, var(--accent-wash));
}
.lp__h {
  font: inherit;
}
.lp__tab {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.4rem;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}
.lp__n {
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: var(--slate);
}
.lp__ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--accent-deep);
  background: var(--accent-wash);
}
.lp__label {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  white-space: nowrap;
}
.lp__p:not(.is-open) .lp__tab {
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 0;
}
.lp__p:not(.is-open) .lp__label {
  writing-mode: vertical-rl;
  margin-block-start: 0.6rem;
}
[dir="ltr"] .lp__p:not(.is-open) .lp__label {
  transform: rotate(180deg);
}
.lp__c {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 1;
  min-height: 0;
  padding: 0 1.4rem 1.4rem;
}
.js .lp__p:not(.is-open) .lp__c {
  display: none;
}
.lp__txt {
  max-width: 34rem;
  color: var(--slate);
}
.lp__vis {
  min-height: 0;
}
@media (max-width: 860px) {
  .lp__row {
    flex-direction: column;
    height: auto;
  }
  .lp__p,
  .lp__p.is-open {
    flex: none;
  }
  .lp__p:not(.is-open) .lp__tab {
    flex-direction: row;
    height: auto;
    padding: 1.1rem 1.4rem;
  }
  .lp__p:not(.is-open) .lp__label {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
  }
  .lp__label {
    font-size: var(--fs-lg);
    white-space: normal;
  }
}

/* ───────── 7 · Departures board ───────── */
.lb {
  padding-block: var(--sp-section);
  background: #0a0f1c;
  color: #fff;
}
.lb__board {
  border-radius: 18px;
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem clamp(0.6rem, 2vw, 1.4rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.lb__cols,
.lb__line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 2.2fr) 36px;
  align-items: center;
  gap: 1rem;
}
.lb__cols {
  padding: 0.8rem 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fcd34d;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}
.lb__row {
  border-block-end: 1px solid rgba(255, 255, 255, 0.06);
}
.lb__row:last-child {
  border-block-end: 0;
}
.lb__line {
  width: 100%;
  padding: 1.05rem 0.4rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--t-fast) ease;
}
.lb__line:hover {
  background: rgba(255, 255, 255, 0.03);
}
.lb__code,
.lb__cur {
  display: inline-flex;
  gap: 3px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 700;
  perspective: 300px;
}
.fl {
  display: inline-grid;
  place-items: center;
  min-width: 1.15em;
  padding: 0.18em 0.12em;
  border-radius: 4px;
  background: linear-gradient(180deg, #1c2333 50%, #151b28 50%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  color: #fef3c7;
  line-height: 1;
}
.lb__code .fl {
  font-size: 1.35rem;
}
.lb__cur .fl {
  font-size: 0.85rem;
}
.lb__cur {
  flex-wrap: wrap;
}
.motion-ready .lb__board .fl {
  transform-origin: 50% 50%;
  transform: rotateX(-90deg);
  opacity: 0;
}
.motion-ready .lb__board.is-in .fl {
  animation: lb-flap 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  animation-delay: calc(var(--r, 0) * 0.18s + var(--i) * 0.06s);
}
.lb__row {
  --r: 0;
}
@keyframes lb-flap {
  0% {
    transform: rotateX(-90deg);
    opacity: 1;
  }
  60% {
    transform: rotateX(20deg);
    opacity: 1;
  }
  100% {
    transform: rotateX(0);
    opacity: 1;
  }
}
.lb__name {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.lb__laws {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lb__chip {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}
.lb__chip--more {
  color: #fcd34d;
}
.lb__open {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.lb__arr {
  width: 16px;
  rotate: 90deg;
  transition: rotate 0.3s ease;
}
.lb__line[aria-expanded="true"] .lb__arr {
  rotate: -90deg;
}
.lb__det {
  display: grid;
  grid-template-rows: 1fr;
}
.js .lb__det {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}
.js .lb__row.is-open .lb__det {
  grid-template-rows: 1fr;
}
.lb__det ul {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem 1.6rem;
  padding-inline-start: calc(110px + 1rem + 0.4rem);
}
.lb__det li {
  padding-block: 0 1.1rem;
}
.lb__det h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.lb__det p {
  margin-block-start: 0.2rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}
.lb__also {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 2rem;
  margin-block-start: 2.4rem;
  align-items: start;
}
.lb__also h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fcd34d;
  padding-block-start: 0.1rem;
}
.lb__also ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
}
.lb__also li {
  display: flex;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}
.lb__also li b {
  color: #fff;
  font-weight: 600;
}
.lb__also .ic {
  width: 18px;
  color: var(--accent);
  margin-block-start: 0.2rem;
}
@media (max-width: 900px) {
  .lb__cols {
    display: none;
  }
  .lb__line {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem 0.9rem;
  }
  .lb__cur {
    grid-column: 2;
    grid-row: 2;
  }
  .lb__laws {
    grid-column: 1 / -1;
  }
  .lb__open {
    grid-column: 3;
    grid-row: 1;
  }
  .lb__det ul {
    padding-inline-start: 0;
  }
  .lb__also {
    grid-template-columns: 1fr;
  }
  .lb__also ul {
    grid-template-columns: 1fr;
  }
}

/* ───────── 8 · Big staggered statements ───────── */
.ly {
  padding-block: var(--sp-section);
  background: var(--white);
}
.ly__head {
  max-width: 40rem;
}
.ly__title {
  margin-block-start: 0.7rem;
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.ly__lead {
  margin-block-start: 1rem;
  color: var(--slate);
}
.ly__list {
  margin-block-start: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.ly__st {
  display: flex;
  border-block-start: 1px solid var(--line);
}
.ly__st:last-child {
  border-block-end: 1px solid var(--line);
}
.ly__st:nth-child(even) {
  justify-content: flex-end;
}
.ly__a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
  width: min(100%, 50rem);
  padding-block: clamp(1.4rem, 1rem + 1.5vw, 2.4rem);
}
.ly__n {
  grid-row: span 2;
  padding-block-start: 0.6rem;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}
.ly__t {
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
:lang(ar) .ly__t {
  line-height: 1.35;
  letter-spacing: 0;
}
.ly__p {
  margin-block-start: 0.6rem;
  max-width: 34rem;
  color: var(--slate);
}
.ly__arr {
  display: inline-block;
  width: 18px;
  vertical-align: -3px;
  color: var(--accent-deep);
  transition: transform var(--t-fast) ease;
}
[dir="rtl"] .ly__arr {
  transform: scaleX(-1);
}
a.ly__a:hover .ly__t {
  color: var(--accent-deep);
}
.motion-ready .ly__st .ly__t,
.motion-ready .ly__st .ly__p,
.motion-ready .ly__st .ly__n {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.8s ease, translate 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-ready .ly__st .ly__p {
  transition-delay: 0.12s;
}
.motion-ready .ly__st.is-in .ly__t,
.motion-ready .ly__st.is-in .ly__p,
.motion-ready .ly__st.is-in .ly__n {
  opacity: 1;
  translate: 0 0;
}
@media (max-width: 700px) {
  .ly__a {
    grid-template-columns: 1fr;
  }
  .ly__n {
    grid-row: auto;
    padding: 0;
  }
}

/* ───────── 9 · Steps that travel sideways ───────── */
.lh {
  background: var(--mist);
}
.lh__pin {
  padding-block: var(--sp-section);
  overflow: hidden;
}
.lh__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 2rem;
}
.lh__title {
  margin-block-start: 0.7rem;
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.lh__lead {
  color: var(--slate);
}
.lh__hint {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-block-start: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
}
.lh__bar {
  position: relative;
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: var(--line-strong);
  overflow: hidden;
}
.lh__bar i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--p, 0) * 100%);
  background: var(--accent-deep);
}
.lh__view {
  margin-block-start: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  padding-inline: max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lh__view::-webkit-scrollbar {
  display: none;
}
.lh__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  width: max-content;
}
.lh__step {
  position: relative;
  flex: 0 0 clamp(280px, 30vw, 400px);
  min-height: 320px;
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  overflow: hidden;
}
.lh__n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 4rem + 4vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.lh__step h3 {
  margin-block-start: 2.5rem;
  font-size: var(--fs-xl);
  font-weight: 600;
}
.lh__step p {
  margin-block-start: 0.6rem;
  color: var(--slate);
}
.lh__step:nth-child(odd) {
  translate: 0 1.5rem;
}
/* With JS on wide screens the section pins and the track is moved by scroll */
@media (min-width: 901px) {
  .js .lh {
    height: calc(var(--n) * 45vh + 100vh);
  }
  .js .lh__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    align-content: center;
    padding-block: 72px 0;
  }
  .js .lh__view {
    overflow: visible;
  }
  .js .lh__track {
    will-change: transform;
  }
}
@media (max-width: 900px) {
  .lh__top {
    grid-template-columns: 1fr;
  }
  .lh__hint {
    display: none;
  }
  .lh__step:nth-child(odd) {
    translate: none;
  }
  .lh__step {
    flex-basis: 80vw;
    min-height: 0;
  }
}

/* ───────── 10 · Questions beside the answer ───────── */
.lq {
  padding-block: var(--sp-section);
  background: var(--white);
}
.lq__title {
  margin-block-start: 0.7rem;
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.lq__list {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  margin-block-start: 2.5rem;
}
.lq__it {
  display: contents;
}
.lq__h {
  grid-column: 1;
  font: inherit;
  border-block-start: 1px solid var(--line);
}
.lq__it:last-child .lq__h {
  border-block-end: 1px solid var(--line);
}
.lq__q {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0.2rem;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--slate);
  text-align: start;
  cursor: pointer;
  transition: color var(--t-fast) ease;
}
.lq__n {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  padding-block-start: 0.3rem;
  color: var(--slate-light);
}
.lq__q:hover,
.lq__it.is-open .lq__q {
  color: var(--ink);
}
.lq__it.is-open .lq__n {
  color: var(--accent-deep);
}
.lq__it.is-open .lq__h {
  box-shadow: inset 3px 0 0 var(--accent-deep);
}
[dir="rtl"] .lq__it.is-open .lq__h {
  box-shadow: inset -3px 0 0 var(--accent-deep);
}
.lq__a {
  grid-column: 2;
  grid-row: 1 / span var(--n);
  align-self: start;
  position: sticky;
  top: 120px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  border-radius: 24px;
  background: var(--mist);
}
.js .lq__a {
  visibility: hidden;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.35s ease, translate 0.45s ease, visibility 0s linear 0.35s;
}
.js .lq__it.is-open .lq__a {
  visibility: visible;
  opacity: 1;
  translate: 0 0;
  transition-delay: 0s;
}
html:not(.js) .lq__list {
  grid-template-columns: 1fr;
}
html:not(.js) .lq__a {
  grid-column: 1;
  grid-row: auto;
  position: static;
  margin-block-end: 1rem;
}
.lq__aq {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.25;
}
.lq__at {
  margin-block-start: 1rem;
  font-size: var(--fs-lg);
  color: var(--slate);
}
.lq__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-block-start: 2rem;
  color: var(--slate);
  font-size: var(--fs-sm);
}
.lq__ask b {
  color: var(--ink);
}
.lq__ask .ic {
  color: var(--accent-deep);
}
@media (max-width: 860px) {
  .lq__list {
    grid-template-columns: 1fr;
  }
  .lq__a {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-block-end: 1rem;
  }
  .lq__aq {
    display: none;
  }
  .js .lq__a {
    display: none;
  }
  .js .lq__it.is-open .lq__a {
    display: block;
  }
}

/* ───────── 11 · The request sentence ───────── */
.lt {
  padding-block: var(--sp-section);
  background: radial-gradient(80% 60% at 85% 0%, rgba(var(--accent-rgb), 0.25), transparent 60%), var(--ink);
  color: #fff;
}
.lt__title {
  margin-block-start: 0.7rem;
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.lt__form {
  margin-block-start: clamp(2rem, 1.5rem + 2vw, 3.2rem);
}
.lt__s {
  max-width: 62rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1rem + 1.9vw, 2.5rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}
.lt__f {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.lt__in {
  width: var(--w);
  min-width: 4ch;
  max-width: 100%;
  padding: 0 0.15em;
  border: 0;
  border-block-end: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: #ffcf9e;
  transition: border-color var(--t-fast) ease;
}
.lt__in::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 300;
}
.lt__in:focus {
  outline: none;
  border-block-end-color: #ffcf9e;
}
.lt__sel {
  width: auto;
  appearance: none;
  cursor: pointer;
}
.lt__sel option {
  color: var(--ink);
}
.lt__f.is-bad .lt__in {
  border-block-end-color: #fda4af;
}
.lt__err {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #fda4af;
}
.lt__notes {
  max-width: 42rem;
  margin-block-start: 1.8rem;
}
.lt__nl {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}
.lt__notes textarea {
  display: block;
  width: 100%;
  margin-block-start: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  resize: vertical;
}
.lt__notes textarea:focus {
  outline: none;
  border-color: #ffcf9e;
}
.lt__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-block-start: 2rem;
}
.lt__foot .link__arrow {
  width: 18px;
}
[dir="rtl"] .lt__foot .link__arrow {
  transform: scaleX(-1);
}
.lt__privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.lt__privacy a {
  text-decoration: underline;
}
.lt__ch {
  display: flex;
  gap: 1.2rem;
  font-size: var(--fs-sm);
}
.lt__ch a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}
.lt .form__status {
  margin-block-start: 1rem;
}
.lt .form__status.is-ok {
  color: #86efac;
}
.lt .form__status.is-bad {
  color: #fda4af;
}

/* ───────── Shared heading entrance ───────── */
.motion-ready [data-lsh] .lsh__t,
.motion-ready [data-lsh] .lsh__l {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.8s ease, translate 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-ready [data-lsh] .lsh__l {
  transition-delay: 0.15s;
}
.motion-ready [data-lsh].is-in .lsh__t,
.motion-ready [data-lsh].is-in .lsh__l {
  opacity: 1;
  translate: 0 0;
}

/* Fixes: grid pin must not shrink-wrap the centred .wrap; empty size choice reads as a placeholder */
.lh__top,
.lh__view {
  width: 100%;
}
.lt__sel:invalid {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 300;
}
.js .lh__pin {
  grid-template-columns: minmax(0, 1fr);
}

/* ───────── 5 · Industry carousel, light version (home-pro.mjs edCarousel inside .edc-light) ───────── */
.edc-light .edc__slide {
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%),
    linear-gradient(150deg, #ffffff, #f7f8fc);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 40px 80px -50px rgba(var(--accent-deep-rgb), 0.35);
}
.edc-light .edc__tag {
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  color: color-mix(in srgb, var(--tone) 70%, black);
}
.edc-light .edc__for {
  color: var(--slate);
}
.edc-light .edc__points li {
  color: var(--ink-2);
}
.edc-light .edc__points .ic {
  color: color-mix(in srgb, var(--tone) 80%, black);
}
.edc-light .edc__win {
  box-shadow: 0 30px 60px -36px rgba(11, 18, 32, 0.35), 0 0 0 1px var(--line);
}
.edc-light .edc__nav {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink);
}
.edc-light .edc__nav:hover {
  background: var(--mist-2);
}
.edc-light .edc__dot span {
  background: rgba(11, 18, 32, 0.18);
}
.edc-light .edc__dot[aria-current="true"] span {
  background: var(--accent-deep);
}
.edc-light .edc__all .link {
  color: var(--accent-deep);
}

/* ───────── 10 · FAQ answer as a chat thread (visitor asks, the OSYSTMO team answers) ───────── */
.lq__a {
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(var(--accent-deep-rgb), 0.35);
  overflow: hidden;
}
.lq__ch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  border-block-end: 1px solid var(--line);
  background: var(--mist);
}
.lq__ch b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.lq__ch small {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--slate);
}
.lq__ch small i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.lq__av {
  width: 36px;
  height: 36px;
  padding: 5px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
}
.lq__av--sm {
  width: 30px;
  height: 30px;
  padding: 4px;
  align-self: flex-end;
}
.lq__thread {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 250px;
  padding: 1.4rem 1.2rem 1.6rem;
  background:
    radial-gradient(rgba(11, 18, 32, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--white);
}
.lq__msg {
  max-width: 82%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-md);
  line-height: 1.65;
}
.lq__msg--q {
  align-self: flex-end;
  border-radius: 20px 20px 6px 20px;
  color: #fff;
  background: linear-gradient(135deg, #4d0fb6, #9b45f2);
  font-weight: 500;
}
[dir="rtl"] .lq__msg--q {
  border-radius: 20px 20px 20px 6px;
}
.lq__seen {
  align-self: flex-end;
  font-size: 0.72rem;
  color: var(--slate-light);
  margin-block-end: 0.6rem;
}
.lq__row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.lq__msg--a {
  border-radius: 20px 20px 20px 6px;
  color: var(--ink);
  background: var(--mist);
}
[dir="rtl"] .lq__msg--a {
  border-radius: 20px 20px 6px 20px;
}
.lq__typing {
  display: none;
  gap: 4px;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: var(--mist);
}
.lq__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-light);
  animation: lq-dot 1s ease-in-out infinite;
}
.lq__typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.lq__typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes lq-dot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}
@keyframes lq-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes lq-typing {
  0% { display: inline-flex; }
  100% { display: none; }
}
/* Opening a question plays the exchange: the question lands, "seen", the team types, the answer lands */
.motion-ready .lq__it.is-open .lq__msg--q {
  animation: lq-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.05s;
}
.motion-ready .lq__it.is-open .lq__seen {
  animation: lq-pop 0.3s ease both 0.5s;
}
.motion-ready .lq__it.is-open .lq__row .lq__av {
  animation: lq-pop 0.3s ease both 0.6s;
}
.motion-ready .lq__it.is-open .lq__typing {
  display: inline-flex;
  animation: lq-pop 0.3s ease both 0.6s, lq-typing 0.01s linear forwards 1.5s;
}
.motion-ready .lq__it.is-open .lq__msg--a {
  animation: lq-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both 1.5s;
}
@media (max-width: 860px) {
  .lq__thread {
    min-height: 0;
  }
  .lq__msg {
    max-width: 92%;
    font-size: var(--fs-sm);
  }
}

/* ───────── 11 · Request: sentence on one side, "after you send" card on the other ───────── */
.lt__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.lt__grid .lt__form {
  margin: 0;
}
.lt__s {
  font-size: clamp(1.3rem, 0.95rem + 1.35vw, 2.05rem);
  line-height: 2;
}
.lt__notes {
  max-width: none;
}
.lt__side {
  position: sticky;
  top: 110px;
}
.lt__card {
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}
.lt__card-h {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-lg);
}
.lt__card-h b {
  font-weight: 600;
}
.lt__mark {
  width: 34px;
  height: 34px;
}
.lt__steps {
  display: grid;
  gap: 0;
  margin-block-start: 1.2rem;
}
.lt__steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}
.lt__steps li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: -0.7rem;
  height: 1.2rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.lt__sn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1c1230;
  background: #ffcf9e;
}
.lt__reach {
  margin-block-start: 1.2rem;
  padding-block-start: 1.2rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}
.lt__reach-h {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.lt__reach-p {
  margin-block-start: 0.4rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}
.lt__reach .lt__ch {
  flex-direction: column;
  gap: 0.6rem;
  margin-block-start: 0.6rem;
}
@media (max-width: 960px) {
  .lt__grid {
    grid-template-columns: 1fr;
  }
  .lt__side {
    position: static;
  }
}

/* ───────── 11 · Request, centred across the page; the title types itself in ───────── */
.lt .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lt__title {
  display: inline-grid;
  margin-block-start: 0.9rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.8rem);
}
.lt__tg,
.lt__tl {
  grid-area: 1 / 1;
  justify-self: start;
}
.lt__tl:empty {
  display: none;
}
.motion-ready .lt__title .lt__tg {
  visibility: hidden;
}
.motion-ready .lt__title .lt__tl {
  display: inline;
}
.motion-ready .lt__title .lt__tl::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.9em;
  margin-inline-start: 0.08em;
  vertical-align: -0.08em;
  background: #ffcf9e;
  animation: lt-caret 0.9s steps(1) infinite;
}
.motion-ready .lt__title.is-done .lt__tl::after {
  animation: lt-caret 0.9s steps(1) 3 forwards;
}
@keyframes lt-caret {
  50% {
    opacity: 0;
  }
}
.lt__form {
  width: 100%;
  max-width: 60rem;
}
.lt__s {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(1.35rem, 0.95rem + 1.5vw, 2.25rem);
}
.lt__notes {
  max-width: 40rem;
  margin-inline: auto;
  text-align: start;
}
.lt__foot {
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.lt .lt__ch {
  justify-content: center;
  margin-block-start: 1rem;
}

/* ───────── 7 · The region as a dot map (home-map.mjs) ───────── */
.rm {
  padding-block: var(--sp-section);
  background: radial-gradient(70% 60% at 60% 55%, rgba(var(--accent-rgb), 0.12), transparent 70%), #0a0f1c;
  color: #fff;
  overflow: hidden;
}
.rm__stage {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
}
.rm__map {
  display: block;
  width: 100%;
  height: auto;
}
.rm__ctx circle {
  fill: rgba(255, 255, 255, 0.1);
}
.rm__land circle {
  fill: rgba(var(--accent-rgb), 0.45);
  transition: fill 0.35s ease;
}
.rm__land.is-on circle {
  fill: var(--accent);
}
.motion-ready .rm__map circle {
  opacity: 0;
  transition: opacity 0.6s ease, fill 0.35s ease;
}
.motion-ready .rm__stage.is-in circle {
  opacity: 1;
}
.motion-ready .rm__stage.is-in .rm__ctx circle {
  transition-delay: 0.1s;
}
.motion-ready .rm__stage.is-in .rm__land circle {
  transition-delay: 0.45s;
}
.rm__cs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rm__c {
  position: absolute;
  left: var(--x);
  top: var(--y);
}
.rm__pin {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  translate: -11px -50%;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.rm__dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.45);
}
.rm__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
.motion-ready .rm__dot::after {
  animation: rm-ping 2.2s ease-out infinite;
}
@keyframes rm-ping {
  0% { opacity: 0.8; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.8); }
}
.rm__label {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(10, 15, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rm__c.is-on .rm__dot {
  background: #ffcf9e;
}
.rm__c.is-on .rm__label {
  background: var(--accent-deep);
  border-color: transparent;
}
.rm__pin:focus-visible {
  outline: 2px solid #ffcf9e;
  outline-offset: 4px;
  border-radius: 12px;
}
/* The card opens beside its pin */
.rm__card {
  pointer-events: auto;
  position: absolute;
  top: 1.4rem;
  left: -1rem;
  z-index: 3;
  width: min(340px, 80vw);
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity 0.3s ease, translate 0.35s ease, visibility 0s linear 0.3s;
}
.rm__c.is-on .rm__card {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition-delay: 0s;
}
.rm__c[data-rm-c="ae"] .rm__card,
.rm__c[data-rm-c="gcc"] .rm__card {
  left: auto;
  right: -1rem;
}
.rm__c[data-rm-c="gcc"] .rm__card {
  top: auto;
  bottom: 1.4rem;
}
.rm__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.rm__head b {
  font-size: var(--fs-lg);
  font-weight: 700;
}
.rm__head span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.rm__sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block: 0.3rem 0.7rem;
  font-size: var(--fs-xs);
  color: var(--slate);
}
.rm__card ul {
  display: grid;
  gap: 0.5rem;
}
.rm__card li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
}
.rm__card li b {
  color: var(--ink);
  font-weight: 600;
}
.rm__card .ic {
  width: 16px;
  flex-shrink: 0;
  margin-block-start: 0.15rem;
  color: var(--ok);
}
.rm .lb__also {
  margin-block-start: 3rem;
}
/* Phones: pins only on the map, the open card sits under it */
@media (max-width: 760px) {
  .rm__stage {
    padding-block-end: 0;
  }
  .rm__label {
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
  }
  .rm__dot {
    width: 16px;
    height: 16px;
  }
  .rm__pin {
    translate: -8px -50%;
  }
  .rm__cs {
    position: static;
  }
  .rm__c {
    position: absolute;
  }
  .rm__card,
  .rm__c[data-rm-c] .rm__card {
    position: fixed;
    display: none;
  }
}
.rm__mob {
  display: none;
}
@media (max-width: 760px) {
  .rm__mob {
    display: block;
    margin-block-start: 1rem;
  }
  .rm__mob .rm__card {
    position: static;
    display: block;
    width: auto;
    opacity: 1;
    visibility: visible;
    translate: none;
  }
}
@media (max-width: 760px) {
  .rm__c[data-rm-c="ae"] .rm__pin,
  .rm__c[data-rm-c="gcc"] .rm__pin {
    flex-direction: row-reverse;
    translate: calc(-100% + 8px) -50%;
  }
  .rm__c[data-rm-c="ae"] .rm__pin {
    translate: calc(-100% + 8px) -120%;
  }
}

/* ═════════ Mobile pass (≤720px): evolution, video, workspaces, AI panels ═════════ */
@media (max-width: 720px) {
  /* Evolution → a vertical timeline: dot on the start side, the line fills downward with the scroll */
  .evo {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 30rem;
  }
  .evo::before {
    display: block;
    inset-block: 26px 40px;
    inset-inline: 21px auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--mist-2), var(--accent));
    transform: scaleY(var(--line, 1));
    transform-origin: top;
  }
  [dir="rtl"] .evo::before {
    background: linear-gradient(180deg, var(--mist-2), var(--accent));
    transform-origin: top;
  }
  .evo__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    text-align: start;
    padding-block-end: 1.9rem;
  }
  .evo__item > *:not(.evo__dot) {
    grid-column: 2;
  }
  .evo__dot,
  .evo__item--now .evo__dot,
  .motion-ready .evo__item--now:not(.is-lit) .evo__dot {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 44px;
    height: 44px;
    margin: 0;
    box-shadow: 0 0 0 6px var(--white);
  }
  .evo__item--now.is-lit .evo__dot,
  html:not(.motion-ready) .evo__item--now .evo__dot {
    box-shadow: 0 0 0 6px var(--white), 0 12px 26px -10px rgba(var(--accent-deep-rgb), 0.6);
  }
  .evo__dot .ic {
    width: 20px;
    height: 20px;
  }
  .evo__mark {
    width: 28px;
    height: 28px;
  }
  .evo__here {
    position: static;
    justify-self: start;
    margin-block-end: 0.35rem;
  }
  .evo__t {
    margin-block: 0.1rem 0.3rem;
    font-size: var(--fs-lg);
  }
  .evo__p {
    max-width: none;
    font-size: var(--fs-sm);
  }

  /* Video poster: flat (no tilt), full width, calmer overlay */
  .tv__frame {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    transform: none !important;
  }
  .tv__shade {
    backdrop-filter: blur(3px);
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.35), rgba(11, 18, 32, 0.7));
  }
  .tv__soon {
    padding-inline: 1.4rem;
  }

  /* Workspaces window: the four workspaces as a 2×2 grid, compact steps, full-width run button */
  .lw__stage {
    width: calc(100% - 2 * var(--gutter));
  }
  .lw__win {
    border-radius: 18px;
  }
  .lw__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0.7rem;
    overflow: visible;
  }
  .lw__ws {
    padding: 0.5rem 0.55rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }
  .lw__ws .lw__g {
    width: 20px;
    height: 20px;
  }
  .lw__ws em {
    min-width: 18px;
    font-size: 0.68rem;
  }
  .lw__panel {
    padding: 0.9rem;
    gap: 0.8rem;
  }
  .lw__crumb {
    font-size: var(--fs-md);
  }
  .lw__steps {
    gap: 0.45rem;
    margin-block: 0.8rem;
  }
  .lw__steps li {
    padding: 0.6rem 0.75rem;
  }
  .lw__sv {
    display: none;
  }
  .lw__sl {
    font-size: 0.82rem;
    align-self: center;
  }
  .lw__run {
    width: 100%;
    justify-content: center;
  }
  .lw__out {
    padding: 0.9rem;
  }

  /* AI / automation / integrations → three tabs in a row, the open one's content below.
     Articles become "contents" so their headings line up as tabs and their bodies stack under them. */
  .lp__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    height: auto;
  }
  .lp__p,
  .lp__p.is-open {
    display: contents;
  }
  .lp__h {
    grid-row: 1;
  }
  .lp__tab,
  .lp__p:not(.is-open) .lp__tab {
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    height: 100%;
    padding: 0.7rem 0.4rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    text-align: center;
  }
  .lp__p.is-open .lp__tab {
    border-color: transparent;
    background: var(--accent-deep);
    color: #fff;
  }
  .lp__p.is-open .lp__ic {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }
  .lp__n {
    display: none;
  }
  .lp__ic {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .lp__label,
  .lp__p:not(.is-open) .lp__label {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
  }
  .lp__c {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-block-start: 0.6rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--white) 30%, var(--accent-wash));
  }
  .js .lp__p:not(.is-open) .lp__c {
    display: none;
  }
  .lp__txt {
    font-size: var(--fs-sm);
  }
  .lp__vis.smt__panel {
    padding: 0.8rem 0 0;
  }
  .lp__vis .smp {
    max-width: none;
  }
  .lp__vis .chat__body {
    font-size: 0.85rem;
  }
  .lp__vis .chat__chips {
    flex-wrap: wrap;
  }
}

/* ───────── Scroll knob: one pill; hold the knob and pull up / down to scroll the page ───────── */
.snav {
  padding: 0;
  gap: 0;
}
.snav__k {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 48px;
  height: 118px;
  padding: 6px 0;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  color: var(--slate);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.snav__k.is-drag {
  cursor: grabbing;
}
.snav__k:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.snav__a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  opacity: 0.55;
  transition: opacity var(--t-fast) ease, color var(--t-fast) ease;
}
.snav__a .ic {
  width: 15px;
  height: 15px;
}
.snav__a--up .ic {
  transform: rotate(-90deg);
}
.snav__a--down .ic {
  transform: rotate(90deg);
}
[dir="rtl"] .snav__a .ic {
  scale: -1 1;
}
.snav__k:hover .snav__a {
  opacity: 0.9;
}
.snav__knob {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 8px 18px -6px rgba(var(--accent-deep-rgb), 0.7);
  transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow var(--t-fast) ease;
}
.snav__knob i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}
.snav__k.is-drag .snav__knob {
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.25), 0 10px 22px -6px rgba(var(--accent-deep-rgb), 0.8);
}
.snav.is-end .snav__a--down {
  opacity: 0.2;
}
/* The visitor is scrolling the usual way: the knob slides out of the way until they stop */
.snav.is-on.is-away {
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
}
