body.page-apps { background: #fff; }
body.page-apps .site-header { background: #fff; }
body.page-apps .site-header.scrolled { background: rgba(255, 255, 255, 0.96); }

.oa-scene {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 460px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.oa-scene::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -210px;
  width: 520px;
  height: 460px;
  background: #e10613;
  border-radius: 48% 42% 0 52%;
  transform: rotate(-24deg);
}
.oa-swoosh {
  position: absolute;
  top: -10px;
  right: -40px;
  width: 920px;
  height: 540px;
  z-index: 1;
}
.oa-worker {
  position: absolute;
  top: 0;
  right: -8px;
  width: min(340px, 30vw);
  height: 340px;
  object-fit: cover;
  object-position: 78% 12%;
  z-index: 2;
  mask-image: linear-gradient(115deg, transparent 0%, #000 20%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, #000 20%, #000 92%, transparent 100%);
}
.oa-shirt {
  position: absolute;
  right: 7.5vw;
  top: 168px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.oa-wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px 48px;
}
.oa-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.oa-kicker::after {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.oa-wrap h1 {
  margin-top: 8px;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.oa-lead {
  max-width: 560px;
  margin-top: 12px;
  color: #5c6772;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 500;
}

.oa-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.oa-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(16, 24, 40, 0.08);
  padding: 22px 18px 16px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-rows: 1fr auto;
  gap: 8px 8px;
  min-height: 520px;
}
.oa-copy { padding: 6px 4px 0 8px; }
.oa-head { display: flex; gap: 12px; align-items: center; }
.oa-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 10px 18px rgba(225, 6, 19, 0.2);
}
.oa-badge .icon { width: 34px; height: 34px; }
.oa-mark {
  width: 64px;
  height: 64px;
  flex: none;
  filter: drop-shadow(0 10px 14px rgba(225, 6, 19, 0.22));
}
.oa-head h2 {
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.oa-head h2 .pname { display: block; color: var(--ink); }
.oa-tag {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #2a313b;
}
.oa-desc {
  margin-top: 8px;
  color: #5c6773;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  max-width: 280px;
}
.oa-list {
  margin-top: 16px;
  display: grid;
  gap: 11px;
}
.oa-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #2c3440;
  font-size: 14.5px;
}
.oa-list .icon { width: 22px; height: 22px; color: var(--red); flex: none; }

.oa-stage { position: relative; min-height: 390px; }
.device {
  background: #111214;
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.28);
  position: absolute;
}
.device .glass {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.dev-red { background: var(--red); color: #fff; }
.dev-top { padding: 8px 8px 6px; }
.dev-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
}
.dev-bar strong { font-size: 11px; display: block; line-height: 1.05; }
.dev-bar small { display: block; font-size: 8px; font-weight: 700; opacity: 0.9; }
.mini-f {
  width: 16px;
  height: 16px;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  flex: none;
}
.dev-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 6px;
}
.dev-tile {
  background: #fff;
  border-radius: 8px;
  min-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #66717d;
  font-size: 8px;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(80, 0, 10, 0.08);
}
.dev-tile .icon { width: 14px; height: 14px; color: var(--red); }
.dev-sheet {
  background: #fff;
  border-radius: 12px 12px 0 0;
  margin-top: -4px;
  padding: 7px 7px 4px;
  flex: 1;
  color: #1d2430;
}
.dev-label { font-size: 9px; font-weight: 800; }
.dev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 4px; }
.dev-stats span { display: block; font-size: 7px; color: #8b949f; font-weight: 700; }
.dev-stats b { display: block; font-size: 11px; }
.dev-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3px;
  align-items: center;
  font-size: 8px;
  padding: 2px 0;
  border-top: 1px solid #f1f3f6;
}
.dev-row .id { color: #8b949f; font-weight: 700; }
.pill { font-size: 7px; font-weight: 800; border-radius: 99px; padding: 1px 4px; }
.pill.ok { color: var(--green); background: var(--green-bg); }
.pill.wait { color: var(--amber); background: var(--amber-bg); }
.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #f0f2f5;
  padding: 4px 2px 5px;
  color: #98a1ab;
  font-size: 7px;
  font-weight: 800;
  text-align: center;
}
.tabbar span { display: grid; justify-items: center; gap: 1px; }
.tabbar .on { color: var(--red); }
.tabbar .icon { width: 12px; height: 12px; }

.sales-a { width: 168px; height: 348px; left: 0; top: 24px; transform: rotate(-7deg); z-index: 1; }
.sales-b { width: 172px; height: 356px; right: -4px; top: 6px; transform: rotate(5deg); z-index: 3; }
.prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 8px 4px;
}
.prod-search {
  margin: 0 8px 6px;
  background: #f3f5f8;
  border-radius: 999px;
  padding: 5px 8px;
  color: #98a1ab;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  gap: 4px;
  align-items: center;
}
.prod-search .icon { width: 11px; height: 11px; }
.cat {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  border-top: 1px solid #f3f5f8;
}
.cat i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
  flex: none;
}
.cat b { display: block; font-size: 9px; }
.cat small { color: #8b949f; font-size: 8px; font-weight: 700; }
.c1 { background: #f6d7a8; }
.c2 { background: #f3b4a2; }
.c3 { background: #b7e0c2; }
.c4 { background: #c9d4f5; }
.c5 { background: #e7d3f2; }

.tablet {
  width: 352px;
  height: 268px;
  left: -6px;
  top: 8px;
  border-radius: 16px;
  padding: 7px;
  z-index: 1;
}
.tablet .glass { flex-direction: row; background: #f4f6f8; }
.side {
  width: 78px;
  background: #1b2430;
  color: #d5dbe3;
  padding: 8px 6px;
  flex: none;
}
.side .brand {
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.side button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 7.5px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 5px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.side button .icon { width: 10px; height: 10px; }
.side button.on { background: var(--red); color: #fff; }
.dash { flex: 1; padding: 7px 8px; min-width: 0; }
.dash h3 { font-size: 12px; letter-spacing: -0.03em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.kpi { background: #fff; border-radius: 7px; padding: 4px 6px; }
.kpi span { display: block; font-size: 7px; color: #7b8591; font-weight: 700; }
.kpi b { font-size: 12px; }
.kpi.r b { color: var(--red); }
.kpi.g b { color: var(--green); }
.kpi.a b { color: #3b82f6; }
.chart {
  margin-top: 6px;
  background: #fff;
  border-radius: 7px;
  padding: 5px 6px 4px;
}
.chart p { font-size: 8px; font-weight: 800; }
.bars { height: 28px; display: flex; align-items: flex-end; gap: 6px; margin-top: 4px; }
.bars i { flex: 1; background: var(--red); border-radius: 2px 2px 0 0; display: block; }
.bars span { display: block; text-align: center; font-size: 6px; color: #98a1ab; font-weight: 700; }
.moves { margin-top: 4px; background: #fff; border-radius: 7px; padding: 4px 6px; }
.moves p { font-size: 8px; font-weight: 800; }
.mv {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px;
  font-size: 7px;
  padding-top: 2px;
  color: #3c4652;
  font-weight: 700;
}
.scan {
  width: 122px;
  height: 236px;
  right: -6px;
  bottom: 0;
  z-index: 2;
  border-radius: 20px;
}
.scan-view {
  height: 92px;
  background: #111 url("../img/warehouse-scan.jpg") center/cover;
  position: relative;
}
.scan-frame {
  position: absolute;
  inset: 18px 22px;
  border: 2px solid #ff3b30;
  border-radius: 4px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
}
.scan-card { padding: 7px 8px 6px; }
.scan-card .found { color: var(--green); font-size: 9px; font-weight: 800; }
.scan-card b { display: block; font-size: 8px; margin-top: 2px; }
.scan-card small { display: block; color: #66717d; font-size: 8px; font-weight: 700; }
.confirm {
  margin: 6px 8px 8px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 10px;
  padding: 6px;
}

.stores {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 6px 2px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.store-dark { background: #111; color: #fff; }
.store-web {
  background: #fff;
  color: #1d2430;
  border: 1.5px solid #e6e8ee;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
}
.store-web:hover { border-color: var(--red); }
.store small { display: block; font-size: 8px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.85; line-height: 1.1; }
.store b { display: block; font-size: 13px; letter-spacing: -0.03em; line-height: 1.1; }
.store .play { width: 18px; height: 18px; }
.store .apple { width: 16px; height: 18px; fill: #fff; }
.web-orb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: grid;
  place-items: center;
}
.web-orb .icon { width: 16px; height: 16px; }

.web-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 54px 28px 80px;
}
.web-main h1 { font-size: 52px; letter-spacing: -0.045em; line-height: 1; }
.web-main .oa-tag { font-size: 20px; }
.web-main .oa-lead { margin-top: 16px; font-size: 18px; }
.web-main .btn { margin-top: 22px; }

@media (max-width: 1100px) {
  .oa-grid { grid-template-columns: 1fr; }
  .oa-wrap h1, .web-main h1 { font-size: 44px; }
  .oa-worker, .oa-shirt { display: none; }
}
@media (max-width: 760px) {
  .oa-card { grid-template-columns: 1fr; min-height: 0; }
  .oa-stage { min-height: 360px; }
  .stores { flex-wrap: wrap; }
  .oa-wrap { padding: 12px 16px 32px; }
  .sales-a { left: 12px; }
  .tablet { width: 250px; }
}
