:root {
  color-scheme:dark;
  font:16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#0c0e12;
  color:#eff1f4
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

main {
  max-width:1920px;
  margin:auto;
  padding:clamp(20px,3vw,54px)
}

header,figcaption,.timeline,.inspection,.meta,.inspection label {
  display:flex;
  align-items:center
}

header {
  justify-content:space-between;
  padding-bottom:24px;
  border-bottom:1px solid #303339
}

h1 {
  font-size:clamp(26px,3vw,43px);
  letter-spacing:-.055em;
  line-height:1.12;
  font-weight:550;
  margin:0
}

.meta,figcaption span,output,.inspection p {
  color:#a5acb6;
  font-size:13px
}

.meta {
  gap:10px;
  font-variant-numeric:tabular-nums
}

.meta i {
  width:3px;
  height:3px;
  border-radius:50%;
  background:#676e79
}

.comparison {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:24px
}

figure {
  margin:0;
  min-width:0
}

figcaption {
  justify-content:space-between;
  font-size:16px;
  font-weight:530;
  padding-bottom:12px
}

figcaption span {
  font-weight:400
}

.frame {
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:black;
  outline:1px solid #292d34
}

video,canvas {
  width:100%;
  height:100%;
  display:block
}

video {
  transform-origin:0 0
}

canvas {
  touch-action:none;
  cursor:grab
}

canvas:active {
  cursor:grabbing
}

button,select {
  font:inherit;
  font-size:14px;
  background:#1a1d23;
  border:1px solid #373c45;
  border-radius:6px;
  color:#ecf0f5;
  padding:8px 12px;
  cursor:pointer
}

button:hover,select:hover {
  background:#292e36
}

.primary {
  background:#deeaf3;
  color:#111820;
  border-color:transparent;
  min-width:69px;
  font-weight:600
}

.primary:hover {
  background:white
}

.timeline {
  gap:12px;
  padding:20px 0;
  border-bottom:1px solid #303339
}

input[type=range] {
  flex:1;
  min-width:40px;
  accent-color:#a4d5ea;
  cursor:pointer
}

output {
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}

.inspection {
  gap:12px;
  padding-top:16px;
  flex-wrap:wrap
}

.inspection label {
  gap:8px;
  font-size:14px;
  color:#b7bec7
}

.inspection p {
  margin:0 0 0 auto;
  line-height:1.5
}

#status {
  color:#ffc69e
}

@media(max-width:720px) {
  main {
    padding:16px
  }
  .comparison {
    gap:7px
  }
  figcaption {
    font-size:14px
  }
  figcaption span {
    font-size:12px
  }
  .timeline {
    gap:6px;
    flex-wrap:wrap
  }
  #scrub {
    order:-1;
    flex-basis:100%
  }
  .inspection p {
    margin:0;
    width:100%
  }
  .meta {
    font-size:12px
  }
}
