#commute-demo .demo-kicker {
  font-size: .93rem;
  font-weight: 700;
  color: #39654e;
  margin-bottom: 12px;
}
.demo-board {
  background: #e8ede4;
  padding: clamp(18px, 3.4vw, 40px);
  border-radius: 24px;
  margin-top: 26px;
}
.demo-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.demo-device {
  min-width: 0;
  padding: clamp(20px, 3.2vw, 34px);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}
.demo-rider { background: #fbfcf6; color: #11382c; }
.demo-driver { background: #173e32; color: #f2faed; }
.demo-role {
  font-size: 1rem;
  font-weight: 650;
  margin: 0 0 25px;
}
.demo-device h4 { margin: 0 0 22px; line-height: 1.13; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.045em; }
.demo-time { font-size: clamp(21px, 2.4vw, 32px); font-weight: 650; line-height: 1.2; letter-spacing: -.04em; }
.demo-time span { display: block; margin-top: 3px; font-size: .88rem; letter-spacing: 0; font-weight: 500; }
.demo-route { position: relative; padding-left: 25px; }
.demo-route::before { position: absolute; content: ''; left: 4px; top: 10px; bottom: 32px; border-left: 2px solid currentColor; opacity: .4; }
.demo-route dt { position: relative; font-size: .88rem; }
.demo-route dt::before { position: absolute; content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; left: -25px; top: .4em; }
.demo-route dt:last-of-type::before { border-radius: 2px; }
.demo-route dd { font-weight: 650; margin: 0 0 12px; }
.demo-person { margin: 16px 0 0; font-weight: 650; }
.demo-idle { max-width: 26ch; color: #cce2cf; }
.demo-primary, .demo-perspectives button, .demo-replay { font: inherit; font-weight: 650; cursor: pointer; border: 0; min-height: 44px; padding: 9px 17px; border-radius: 22px; }
.demo-primary { align-self: flex-start; background: #155741; color: white; margin-top: auto; }
.demo-route { margin-bottom: 20px; }
.demo-driver .demo-primary { background: #d7f6b3; color: #123b29; }
.demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.demo-footer p { font-size: 1rem; color: #294b39; }
.demo-replay { flex-shrink: 0; background: white; color: #163e2d; }
.demo-perspectives { display: none; }
.demo-board button:hover { filter: brightness(.95); }
.demo-driver :focus-visible { outline-color: #e1ffa9; }
@media (max-width: 700px) {
  .demo-perspectives { display: flex; margin-bottom: 14px; gap: 6px; }
  .demo-perspectives button { flex: 1; color: #174835; background: transparent; }
  .demo-perspectives [aria-pressed="true"] { background: #fff; }
  .demo-screens { display: block; }
  .demo-device { border-radius: 26px; min-height: 330px; border: 4px solid #1c3428; }
  #commute-demo[data-role="rider"] .demo-driver,
  #commute-demo[data-role="driver"] .demo-rider { display: none; }
  .demo-footer { align-items: flex-start; flex-wrap: wrap; }
  .demo-role { margin-bottom: 16px; }
}
