:root {
  color-scheme: light;
  --ink: #292827;
  --muted: #706d68;
  --paper: #efede7;
  --line: rgba(41, 40, 39, 0.16);
  --blue: #62b6d5;
  --white: #f8f6f1;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 7px;
}

.header-link {
  color: var(--muted);
  font-size: 13px;
}

.header-link span {
  display: inline-block;
  margin-left: 3px;
  color: var(--ink);
}

.hero {
  padding: 112px 0 120px;
}

.hero-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 76px);
  line-height: 1.01;
  letter-spacing: -0.055em;
  font-weight: 650;
}

.hero-copy > p {
  max-width: 580px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.download-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.download {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 620;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.download:hover {
  color: var(--white);
  background: #3a3937;
  box-shadow: 0 8px 20px rgba(41, 40, 39, 0.18);
  transform: translateY(-1px);
}

.download-row span {
  color: var(--muted);
  font-size: 12px;
}

.video-stage {
  position: relative;
  width: 100vw;
  height: 215svh;
  margin: 48px 0 0 calc(50% - 50vw);
}

.video-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.video-positioner {
  width: 100%;
  display: grid;
  place-items: center;
}

.video-frame {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  height: auto;
  aspect-ratio: 1920 / 1006;
  overflow: hidden;
  border: 1px solid rgba(248, 246, 241, 0.2);
  border-radius: 14px;
  background: #090909;
  box-shadow: 0 24px 60px rgba(41, 40, 39, 0.16);
  contain: layout paint;
}

.scroll-animations-ready .video-positioner {
  width: 100vw;
  height: 100svh;
  transform: translate3d(0, var(--position-y, var(--initial-offset-y)), 0);
  will-change: transform;
}

.scroll-animations-ready .video-frame {
  width: 100vw;
  height: 100svh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: inset(
    var(--frame-clip-y, var(--initial-clip-y))
    var(--frame-clip-x, var(--initial-clip-x))
    round var(--frame-radius, var(--initial-radius))
  );
  transform: scale(var(--frame-scale, var(--initial-scale)));
  transform-origin: center;
  will-change: transform, clip-path;
}

.product-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #090909;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(248, 246, 241, 0.2);
  border-radius: 999px;
  color: rgba(248, 246, 241, 0.8);
  background: rgba(9, 9, 9, 0.68);
  font-size: 11px;
  letter-spacing: 0.01em;
  opacity: var(--cue-opacity, 1);
  transform: translateX(-50%);
  transition: opacity 120ms linear;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@keyframes center-product-video {
  from {
    transform: translate3d(0, var(--initial-offset-y), 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes expand-product-video {
  from {
    clip-path: inset(
      var(--initial-clip-y) var(--initial-clip-x)
      round var(--initial-radius)
    );
    transform: scale(var(--initial-scale));
  }

  to {
    clip-path: inset(0 round 0);
    transform: scale(1);
  }
}

@keyframes fade-scroll-cue {
  from {
    opacity: 1;
  }

  35%,
  to {
    opacity: 0;
  }
}

@supports (animation-timeline: scroll()) {
  .uses-native-scroll-animation .video-positioner {
    animation: center-product-video 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--parallax-start) var(--position-end);
  }

  .uses-native-scroll-animation .video-frame {
    animation: expand-product-video 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--parallax-start) var(--parallax-end);
  }

  .uses-native-scroll-animation .scroll-cue {
    animation: fade-scroll-cue 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--parallax-start) var(--parallax-end);
  }
}

.details {
  padding: 112px 0 124px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 640;
}

.details-copy > p {
  max-width: 570px;
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

dl {
  margin: 0;
}

dl > div {
  min-height: 64px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}

dl > div:last-child {
  border-bottom: 1px solid var(--line);
}

dt,
dd {
  font-size: 13px;
}

dt {
  font-weight: 620;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.install {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: baseline;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.install h2 {
  font-size: 16px;
  letter-spacing: -0.015em;
}

.install p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.install a {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.install a span {
  margin-left: 4px;
  color: var(--blue);
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer nav {
  display: flex;
  gap: 22px;
}

.credits {
  display: flex;
  gap: 18px;
}

.credits a {
  color: var(--ink);
  font-weight: 600;
}

a:hover,
footer a:hover {
  color: #000;
}

a:focus-visible {
  outline: 3px solid rgba(98, 182, 213, 0.55);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: rgba(98, 182, 213, 0.38);
}

@media (max-width: 760px) {
  header,
  main,
  footer {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding: 80px 0 88px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .download-row {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .video-stage {
    margin-top: 32px;
  }

  .details {
    padding: 84px 0 92px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .install {
    padding: 56px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .install a {
    margin-top: 8px;
  }

  footer {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  footer nav {
    flex-wrap: wrap;
  }

  .credits {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-stage {
    width: auto;
    height: auto;
    margin-left: 0;
  }

  .video-pin {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .video-positioner,
  .scroll-animations-ready .video-positioner {
    width: 100%;
    height: auto;
    transform: none;
  }

  .video-frame,
  .scroll-animations-ready .video-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1006;
    border: 1px solid rgba(248, 246, 241, 0.2);
    border-radius: 14px;
    clip-path: none;
    transform: none;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 520px) {
  .desktop-break {
    display: none;
  }

  dl > div {
    padding: 16px 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
  }
}
