:root {
  color-scheme: dark;
  --brand-red: #d8162e;
  --surface: #000;
  --services-font: var(--site-font);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: #fff; font-family: var(--services-font); }
.slider { height: 185vh; height: 185svh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  direction: ltr;
}
.panel {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  z-index: 2;
  clip-path: polygon(var(--start-top) 0, var(--end-top) 0, var(--end-bottom) 100%, var(--start-bottom) 100%);
}
.panel[data-panel="0"] {
  --start-top: 19%; --end-top: 100%; --start-bottom: 13%; --end-bottom: 100%;
}
.panel[data-panel="1"] {
  --start-top: 11%; --end-top: 19%; --start-bottom: 5%; --end-bottom: 13%;
}
.panel[data-panel="2"] {
  --start-top: 0%; --end-top: 11%; --start-bottom: 0%; --end-bottom: 5%;
}
.slide-word, .slide-copy-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.slide-copy-layer { z-index: 3; }
.marquee {
  position: absolute;
  inset: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  color: #fff;
  opacity: .18;
  pointer-events: none;
}
.track {
  display: flex;
  width: max-content;
  font: 800 clamp(112px, 20vw, 282px)/1.1 var(--services-font);
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee var(--marquee-duration, 100s) linear infinite;
}
.erp-word .marquee { top: 48%; }
.erp-word .track {
  font-size: clamp(134px, min(30.5vw, 33.6svh), 528px);
  --marquee-duration: 1008s;
}
.products-panel { cursor: crosshair; }
.products-word .track { font-size: min(14.4vw, 265px); }
.products-word .track span, .modules-word .track span {
  display: grid;
  width: 100vw;
  place-items: center;
}
.slide-particles {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.modules-word .marquee { top: 38%; }
.modules-word .track { font-size: min(15vw, 310px); }
.modules-word .track span { padding-right: 16vw; }
@keyframes marquee { to { transform: translateX(-50%); } }
.slide-copy {
  --copy-gray: #d2d2d2;
  --copy-red: color-mix(in srgb, var(--brand-red) 88%, white);
  --copy-reveal: 0%;
  position: absolute;
  top: 69%;
  right: 8.064%;
  width: max-content;
  max-width: 67.9%;
  pointer-events: auto;
  color: var(--copy-gray);
  text-align: right;
  font: 400 clamp(16px, min(1.85vw, 2svh), 32px)/1.27 var(--services-font);
}
.slide-copy :is(h1, h2) {
  margin: 0 0 .18em;
  color: #fff;
  font-size: 1.06em;
  font-weight: 800;
  line-height: 1.22;
}
.slide-copy p { margin: 0; }
.products-copy { top: auto; bottom: 10%; right: 15%; }
.modules-copy { top: 73%; right: 22%; max-width: 62%; }
.copy-highlight {
  --highlight-mix: clamp(0%, (var(--copy-reveal) - var(--highlight-start)) * 5, 100%);
  color: color-mix(in srgb, var(--copy-gray), var(--copy-red) var(--highlight-mix));
}
.slide-copy-layer[data-text-slide="0"] .slide-copy { pointer-events: none; }
.panel-select, .erp-details-link {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.panel-select:focus-visible { outline: 0; background: #ffffff14; }
.panel-select:disabled { pointer-events: none; }
.erp-details-link:focus-visible { outline: 2px solid #ff8293; outline-offset: -4px; background: #ffffff14; }
.slide-navigation {
  --slide-edge: clamp(10px, 1.6vw, 28px);
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}
.slide-picker {
  position: absolute;
  left: calc(var(--slide-edge) + 44px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}
.slide-navigation button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.slide-picker button { width: 32px; height: 32px; }
.slide-picker button[aria-pressed]::after { content: ""; width: 9px; height: 9px; border: 1px solid #8a747f; border-radius: 50%; }
.slide-picker button[aria-pressed="true"]::after { background: var(--brand-red); border-color: var(--brand-red); }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.slide-arrow[data-slide-step="-1"] { right: var(--slide-edge); }
.slide-arrow[data-slide-step="1"] { left: var(--slide-edge); }
.slide-arrow::before {
  content: "";
  width: 13px;
  height: 13px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateX(-2px) rotate(-45deg);
}
.slide-arrow[data-slide-step="1"]::before { transform: translateX(2px) rotate(135deg); }
.slide-navigation .slide-arrow:hover { color: #9cdeff; }
.slide-navigation button:focus-visible { outline: 2px solid #ff8293; outline-offset: -4px; }
@media (max-width: 650px) {
  .erp-word .marquee { top: 41%; }
  .products-word .track, .modules-word .track { --marquee-duration: 65s; }
  .slide-copy { top: 54%; right: 5.9%; max-width: 72.2%; line-height: 1.45; }
  .products-copy { top: auto; bottom: 5%; right: 14%; }
  .modules-copy { top: 65%; right: 21%; max-width: 68%; }
  .slide-picker { left: calc(var(--slide-edge) + 6px); top: calc(50% + 82px); }
}
@media (max-width: 650px), (max-height: 550px) {
  .slide-copy br { display: none; }
}
@media (max-height: 550px) { .modules-copy { top: 66%; } }
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .panel { transition: clip-path 420ms cubic-bezier(.25,.72,.22,1); }
}
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

.erp-method {
  --wheel-size: clamp(470px, min(65vw, 78svh), 760px);
  position: relative;
  overflow: clip;
  background: #101011;
  color: #fff;
  font: 400 1rem/1.85 var(--services-font);
}
.erp-method-shell {
  display: grid;
  place-items: center;
  min-block-size: max(100svh, calc(var(--wheel-size) + 60px));
  max-inline-size: 1460px;
  margin-inline: auto;
  padding: clamp(40px, 7svh, 92px) clamp(28px, 6vw, 96px);
  padding-right: calc(var(--wheel-size) * .54 + 30px);
}
.erp-wheel {
  --orbit-turn: -90deg;
  position: absolute;
  top: 50%;
  right: calc(var(--wheel-size) * -.51);
  container-type: inline-size;
  inline-size: var(--wheel-size);
  aspect-ratio: 1;
  transform: translateY(-50%);
  direction: ltr;
}
.erp-wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, transparent 65.8%, #f7f6f5 66.2%);
  pointer-events: none;
}
.erp-wheel-step {
  --angle: calc(var(--orbit-turn) - 72deg * var(--step-index));
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(1px, 1.3cqi, 7px);
  min-width: 44px;
  min-height: 44px;
  width: clamp(80px, 22cqi, 118px);
  padding: 2px 3px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #161619;
  cursor: pointer;
  font: 800 clamp(10px, 3cqi, 16px)/1.3 var(--services-font);
  text-align: center;
  direction: rtl;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-41.5cqi) rotate(calc(-1 * var(--angle)));
}
.erp-wheel-step img {
  display: block;
  width: clamp(24px, 9.2cqi, 48px);
  height: auto;
  filter: grayscale(1) brightness(.42);
  pointer-events: none;
}
.erp-wheel-step span { white-space: nowrap; }
.erp-wheel-step[aria-pressed="true"] { color: #a91025; }
.erp-wheel-step[aria-pressed="true"] img { filter: none; }
.erp-wheel-step:hover { background: #1616190a; }
.erp-wheel-step:focus-visible { outline: 2px solid #ae1027; outline-offset: -2px; }
.erp-method-detail { inline-size: min(100%, 540px); }
.erp-method-detail h2 {
  margin: 0 0 .95rem;
  color: #b6b5b9;
  font-size: clamp(14px, 1.32vw, 19px);
  font-weight: 400;
}
.erp-step-details { min-block-size: 15rem; }
.erp-step-detail h3 {
  margin: 0 0 1rem;
  font-size: clamp(28px, 3.25vw, 52px);
  font-weight: 800;
  line-height: 1.25;
}
.erp-step-detail p {
  margin: 0;
  color: #eeedf0;
  font-size: clamp(15px, 1.48vw, 22px);
  line-height: 1.85;
}
.erp-step-detail .erp-step-result {
  margin-block-start: 1.3rem;
  padding-block-start: .85rem;
  border-block-start: 2px solid var(--brand-red);
  color: #fff;
  font-weight: 800;
}
@media (prefers-reduced-motion: no-preference) {
  .erp-wheel-step { transition: transform 650ms cubic-bezier(.22,.74,.24,1), color 220ms; }
  .erp-step-detail:not([hidden]) { animation: erp-step-reveal 320ms ease-out both; }
}
@keyframes erp-step-reveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .erp-method { --wheel-size: clamp(345px, 95vw, 490px); }
  .erp-method-shell {
    align-items: start;
    padding: calc(var(--wheel-size) + 38px) clamp(18px, 5vw, 36px) 36px;
  }
  .erp-wheel { top: 16px; transform: none; }
  .erp-step-details { min-block-size: 16rem; }
}

.product-catalog {
  background: #e8e8ea;
  color: #141416;
  font: 400 1rem/1.5 var(--services-font);
}
.product-catalog-shell, .module-catalog-shell {
  max-inline-size: 1380px;
  margin-inline: auto;
  padding: clamp(44px, 8vw, 112px) clamp(12px, 6vw, 96px);
}
.product-catalog h2, .module-catalog h2 {
  margin: 0 0 clamp(20px, 4vw, 48px);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.15;
}
.product-catalog h2::before, .module-catalog h2::before {
  content: "";
  display: block;
  inline-size: clamp(26px, 5vw, 68px);
  block-size: 3px;
  margin-block-end: .38em;
  background: var(--brand-red);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(7px, 1.8vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-inline-size: 0;
  padding: clamp(5px, 1.05vw, 14px);
  border: 1px solid #d5d5d9;
  border-radius: clamp(8px, 1.4vw, 18px);
  background: #fafafa;
}
.product-card-art {
  display: grid;
  min-block-size: clamp(66px, 14vw, 175px);
  place-items: center;
  border-radius: clamp(5px, .85vw, 11px);
  background: radial-gradient(ellipse at 50% 30%, #fff, #efeff1 78%);
}
.product-card-art img {
  display: block;
  inline-size: clamp(30px, 6vw, 80px);
  block-size: auto;
}
.product-card h3 {
  align-self: center;
  margin: 0;
  padding: clamp(8px, 1.7vw, 21px) 2px clamp(4px, .5vw, 8px);
  font-size: clamp(12px, 1.7vw, 23px);
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.module-catalog {
  background: #101011;
  color: #f3f2f4;
  font: 100 1rem/1.6 var(--services-font);
}
.module-catalog h2 { font-weight: 500; }
.module-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #3b3b40;
  border-spacing: 0;
  border-radius: 12px;
  background: #18181b;
  font-size: clamp(13px, 1.4vw, 18px);
}
.module-table :is(th, td) {
  padding: clamp(9px, 1.3vw, 17px) clamp(9px, 2.25vw, 30px);
  text-align: start;
  vertical-align: middle;
}
.module-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-block-end: 1px solid #5b3239;
  background: #28282d;
  font-weight: inherit;
}
.module-table thead th:first-child {
  width: 31%;
  border-start-start-radius: 11px;
}
.module-table thead th:nth-child(2) { width: 33%; text-align: end; }
.module-table thead th:nth-child(3) { width: 18%; }
.module-table thead th:last-child {
  border-start-end-radius: 11px;
}
.module-table tr > :nth-child(n+3) { text-align: center; }
.module-table tbody th { font-weight: inherit; }
.module-table tbody tr:not(:last-child) > * { border-block-end: 1px solid #303036; }
.module-table tbody tr:nth-child(even) { background: #1d1d21; }
.module-table code {
  display: block;
  color: #d3d2d7;
  text-align: left;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: clamp(11px, 1.2vw, 16px);
}
.module-table .module-meta { color: #bfbec4; font-variant-numeric: tabular-nums; }
.module-table .module-version {
  display: block;
  color: #f3f2f4;
  font-size: .9em;
  overflow-wrap: anywhere;
}
.module-table .module-compatibility, .module-table .module-meta-label {
  display: block;
  font-size: max(10px, .78em);
  color: #bfbec4;
}
.module-table time { white-space: nowrap; }
@media (max-width: 550px) {
  .module-table :is(th, td) { padding-inline: 5px; }
  .module-table thead th:first-child { width: 25%; }
  .module-table thead th:nth-child(2) { width: 28%; }
  .module-table thead th:nth-child(3) { width: 25%; }
  .module-table thead th { font-size: 11px; }
  .module-table .module-meta { font-size: 11px; }
}
