:root {
  --carbon: #0b0b0b;
  --silver: #d5d8dc;
  --lime: #c6e800;
  --nav: 148px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--carbon);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--carbon);
  color: var(--silver);
  font-family: Bahnschrift, "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

html:has(.page) {
  scroll-snap-type: none;
}

.page {
  min-height: 100dvh;
  background-color: #080808;
  background-image: repeating-linear-gradient(
    125deg,
    #141414 0 2px,
    #0c0c0c 2px 4px,
    #1a1a1a 4px 5px,
    #090909 5px 8px
  );
}

.page__main {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.page__lead {
  max-width: 38rem;
  margin: 0 0 28px;
  color: var(--silver);
  font-size: 18px;
  line-height: 1.5;
}

::selection {
  background: var(--lime);
  color: var(--carbon);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--nav);
  padding: 0 28px;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.18) 0%,
    rgb(0 0 0 / 0.08) 72%,
    transparent 100%
  );
  box-shadow: none;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-solid {
  background: linear-gradient(
    180deg,
    #050505 0%,
    rgb(5 5 5 / 0.96) 58%,
    rgb(5 5 5 / 0.4) 86%,
    transparent 100%
  );
  box-shadow: none;
}

.nav__brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__brand img {
  display: block;
  height: 132px;
  width: auto;
}

.nav__links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px 0 16px;
  overflow: hidden;
  color: var(--silver);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  box-shadow: inset 0 0 0 1px #2c2c2c;
  transition: color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.nav__links a::before {
  content: "";
  width: 7px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.35;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgb(198 232 0 / 0.16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--lime);
}

.nav__links a:hover::before,
.nav__links a.is-active::before {
  opacity: 1;
  transform: translateY(-1px);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: translateX(120%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--lime);
  color: #111;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.nav .btn {
  position: relative;
  height: 50px;
  padding: 0 28px;
  overflow: hidden;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 0 22px rgb(198 232 0 / 0.22);
}

.nav .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.28), transparent 42%);
  pointer-events: none;
}

.nav .btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45), transparent);
  transform: skewX(-24deg);
  animation: wrap-sheen 2.8s var(--ease) infinite;
  pointer-events: none;
}

.nav .btn:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgb(198 232 0 / 0.5);
}

@keyframes wrap-sheen {
  0% {
    left: -40%;
  }
  55%,
  100% {
    left: 130%;
  }
}

.screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-margin-top: 0;
  background: #050505;
}

#s1.screen {
  height: 100vh;
  height: 100dvh;
  margin-top: 0;
  scroll-margin-top: 0;
}

#s1.screen::before,
#s1.screen::after,
.screen::before,
.screen::after {
  content: none;
}

.screen > .shot,
.screen > .compare {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.shot {
  container-type: size;
}

.shot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: min(100cqw, calc(100cqh * 16 / 9));
  height: auto;
}

.shot__frame img,
.screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.umow-hit {
  position: absolute;
  left: 5%;
  top: 61%;
  z-index: 6;
  width: 14%;
  height: 8%;
  border-radius: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 120%;
  cursor: pointer;
}

.umow-hit--end {
  left: 7%;
  top: 72%;
}

.umow-hit:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.screen__fade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: calc(var(--nav) + 168px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.92) 0%,
    rgb(0 0 0 / 0.7) 36%,
    rgb(0 0 0 / 0.18) 70%,
    transparent 100%
  );
}

html.has-motion .screen > img,
html.has-motion .screen > .shot,
html.has-motion .screen > .compare {
  opacity: 0;
  transform: translateY(36px) scale(1.05);
  filter: blur(10px);
}

html.has-motion .screen.is-in > img,
html.has-motion .screen.is-in > .shot,
html.has-motion .screen.is-in > .compare {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.7s var(--ease),
    transform 1s var(--ease),
    filter 0.7s var(--ease);
}

.compare {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  --pos: 50%;
}

.compare__layer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.compare__before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  background: var(--lime);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 18px rgb(198 232 0 / 45%);
}

.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 3px solid var(--lime);
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgb(11 11 11 / 45%);
}

.compare__knob::before,
.compare__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
}

.compare__knob::before {
  left: 8px;
  border-right-color: #111;
  transform: translateY(-50%);
}

.compare__knob::after {
  right: 8px;
  border-left-color: #111;
  transform: translateY(-50%);
}

.compare__tag {
  position: absolute;
  top: 8%;
  z-index: 4;
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px #000;
  pointer-events: none;
}

.compare__tag--l {
  left: 4%;
}

.compare__tag--r {
  right: 4%;
}

.offer {
  display: flex;
  align-items: center;
  background-color: #080808;
  background-image: repeating-linear-gradient(
    125deg,
    #141414 0 2px,
    #0c0c0c 2px 4px,
    #1a1a1a 4px 5px,
    #090909 5px 8px
  );
}

.offer__inner {
  position: relative;
  z-index: 5;
  width: min(1040px, calc(100% - 72px));
  margin: 0 auto;
  padding: calc(var(--nav) + 12px) 0 40px;
}

.offer__kicker {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.offer h1 {
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  font-style: italic;
  font-weight: 600;
  line-height: 0.95;
}

.offer__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 56px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.offer__list li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 0 22px;
}

.offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.offer__list strong {
  color: #fff;
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
}

.offer__list span {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  :root {
    --nav: 72px;
  }

  .nav {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 0 12px;
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav) + env(safe-area-inset-top));
  }

  .nav__links {
    display: none;
  }

  .nav__brand img {
    height: 52px;
  }

  .nav .btn {
    height: 40px;
    padding: 0 16px;
    font-size: 11px;
  }

  .screen,
  #s1.screen {
    height: 100svh;
    margin-top: 0;
    scroll-margin-top: 0;
  }

  .screen > img,
  .compare__layer {
    object-fit: contain;
    object-position: center center;
  }

  .umow-hit {
    top: 60%;
    width: 18%;
    height: 9%;
  }

  .umow-hit--end {
    top: 71%;
  }

  .offer__inner {
    width: calc(100% - 32px);
    padding: calc(var(--nav) + env(safe-area-inset-top) + 16px) 0 32px;
  }

  .offer h1 {
    font-size: 32px;
    margin-bottom: 22px;
  }

  .offer__list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .offer__list strong {
    font-size: 18px;
  }

  .compare__tag {
    top: 12%;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .btn,
  .nav,
  .nav__links a,
  .nav__links a::before,
  .nav__links a::after,
  .nav .btn::after,
  .screen::after,
  .screen > img,
  .screen > .compare {
    animation: none;
    transition: none;
    filter: none;
    transform: none;
    opacity: 1;
  }
}
