.demo-section {
  background: #f5f4ef;
  color: #20201e;
  padding: clamp(62px, 8vw, 112px) max(6vw, calc((100% - 1280px) / 2));
  scroll-margin-top: 72px;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(36px, 8vw, 135px);
  max-width: 1280px;
  margin: auto;
}
.demo-kicker, .demo-device-top, .demo-station {
  font: 650 11px/1.4 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .095em;
}
.demo-kicker { color: #ac0a20; margin: 0 0 18px; }
.demo-intro h2 {
  margin: 0;
  font-size: clamp(44px, 5.1vw, 78px);
  font-weight: 630;
  letter-spacing: -.06em;
  line-height: 1.03;
}
.demo-lead {
  color: #53534d;
  max-width: 42ch;
  margin: 20px 0 30px;
  line-height: 1.6;
  font-size: clamp(16px, 1.3vw, 19px);
}
.demo-options {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.demo-options label { display: inline-flex; cursor: pointer; position: relative; }
.demo-options input, .demo-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: -1px;
  padding: 0;
  border: 0;
}
.demo-options label span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #b6b6ad;
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.demo-options label:hover span { border-color: #282826; }
.demo-options input:checked + span { background: #242422; border-color: #242422; color: white; }
.demo-options input:focus-visible + span, .demo-scan:focus-visible {
  outline: 3px solid #e0243c;
  outline-offset: 4px;
}
.demo-device {
  position: relative;
  color: #f8f8f3;
  background: linear-gradient(140deg, #343431, #20201f 57%, #161615);
  padding: clamp(21px, 2.7vw, 36px);
  border: 1px solid #333330;
  border-radius: 24px;
  width: 100%;
  max-width: 435px;
  min-width: 0;
  box-sizing: border-box;
  justify-self: center;
  box-shadow: inset 0 1px 1px #ffffff35, 0 12px 26px -19px #161514;
}
.demo-device-top { display: flex; align-items: center; justify-content: space-between; color: #cdcdc6; }
.demo-light { width: 7px; height: 7px; background: #ff5764; border-radius: 50%; box-shadow: 0 0 6px #ff57647d; }
.demo-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  min-height: 152px;
  box-sizing: border-box;
  margin: 18px 0 16px;
  padding: 16px 22px;
  background: #141513;
  border: 1px solid #474842;
  border-radius: 12px;
  box-shadow: inset 0 2px 5px #0004;
}
.demo-station { color: #b9b9b2; }
.demo-value { font-family: inherit; font-size: clamp(38px, 4.5vw, 56px); line-height: 1.1; font-weight: 530; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.demo-status { color: #cccfc2; font-size: 14px; line-height: 1.4; }
.demo-device[data-scanned] .demo-status { color: #c9e6b8; }
.demo-device[data-scanned] .demo-light { background: #b6d59c; box-shadow: 0 0 6px #b6d59c7d; }
.demo-scan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 49px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ff7580;
  background: #b91329;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.demo-scan:hover { background: #ca152f; }
.demo-scan:active { transform: translateY(1px); }
.demo-scan-icon { position: relative; display: inline-block; width: 20px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; box-sizing: border-box; transform: rotate(-9deg); }
.demo-scan-icon::after { content: ""; position: absolute; top: 3px; left: 0; right: 0; height: 1.5px; background: currentColor; }
@media (max-width: 760px) {
  .demo-section { padding: 58px max(5vw, 20px); }
  .demo-layout { grid-template-columns: 1fr; gap: 30px; }
  .demo-device { justify-self: start; }
  .demo-lead { margin-bottom: 22px; }
}
