:root {
  color-scheme: dark;
  --ink: #edf7ff;
  --muted: #a9bdd0;
  --blue: #1596ff;
  --blue-soft: #72c7ff;
  --line: rgba(156, 205, 239, 0.2);
  --surface: rgba(4, 16, 31, 0.62);
  --page-x: clamp(1.25rem, 5.2vw, 6.5rem);
  --page-y: clamp(1.15rem, 3vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #020a14;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #020a14;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #03101f;
}

.hero__media,
.hero__slide,
.hero__veil,
.hero__grid,
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__media {
  z-index: -5;
  overflow: hidden;
  animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both;
}

.hero__slide {
  inset: -2.5%;
  opacity: 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: polygon(104% 0, 104% 0, 96% 100%, 96% 100%);
  will-change: transform, clip-path;
  animation:
    scene-cycle 50s cubic-bezier(.76, 0, .24, 1) infinite,
    scene-drift 16s ease-in-out infinite alternate;
  animation-delay: var(--scene-delay), var(--drift-delay);
}

.hero__slide--devices {
  --scene-delay: 0s;
  --drift-delay: 0s;
  background-image: url("wipe-global-smartphones-v3.jpg");
}

.hero__slide--team {
  --scene-delay: 10s;
  --drift-delay: -3s;
  background-image: url("wipe-global-laptops-v2.jpg");
}

.hero__slide--tradein {
  --scene-delay: 20s;
  --drift-delay: -6s;
  background-image: url("wipe-global-tradein-v2.jpg");
}

.hero__slide--drives {
  --scene-delay: 30s;
  --drift-delay: -9s;
  background-image: url("wipe-global-drives-v2.jpg");
}

.hero__slide--hardware {
  --scene-delay: 40s;
  --drift-delay: -12s;
  background-image: url("wipe-global-hardware-v2.jpg");
}

.hero__wipe {
  position: absolute;
  z-index: 2;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 16vw;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(21, 150, 255, .08) 35%, rgba(87, 194, 255, .82) 52%, rgba(21, 150, 255, .08) 65%, transparent);
  filter: blur(12px);
  mix-blend-mode: screen;
  transform: translateX(110vw) skewX(-11deg);
  animation: light-wipe 10s cubic-bezier(.76, 0, .24, 1) infinite;
}

.hero__veil {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(2, 10, 20, .98) 0%, rgba(3, 14, 28, .92) 28%, rgba(3, 14, 28, .43) 61%, rgba(2, 9, 18, .12) 100%),
    linear-gradient(0deg, rgba(1, 7, 14, .82) 0%, transparent 30%, rgba(1, 7, 14, .35) 100%);
}

.hero__grid {
  z-index: -3;
  opacity: .22;
  background-image:
    linear-gradient(rgba(70, 163, 226, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 163, 226, .12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.75) 38%, transparent 72%);
}

.hero__glow {
  z-index: -2;
  left: -12%;
  right: auto;
  top: auto;
  bottom: -40%;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: rgba(0, 125, 255, .14);
  filter: blur(100px);
  animation: breathe 6s ease-in-out infinite alternate;
}

.topbar,
.footer {
  position: relative;
  z-index: 2;
  padding-inline: var(--page-x);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: var(--page-y);
  animation: fade-down .9s .1s ease both;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand__plate {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .3rem 0;
}

.brand__plate::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -42px -270px -92px calc(-1 * var(--page-x));
  border-radius: 0 70% 78% 0;
  background:
    radial-gradient(ellipse 82% 120% at 28% 20%, rgba(255, 255, 255, 1) 0%, rgba(252, 254, 255, .98) 22%, rgba(231, 247, 255, .88) 37%, rgba(180, 224, 252, .58) 52%, rgba(63, 163, 231, .2) 66%, transparent 82%),
    linear-gradient(135deg, rgba(255, 255, 255, .72) 0%, rgba(219, 242, 255, .4) 42%, rgba(73, 169, 232, .1) 59%, transparent 76%);
  filter: blur(14px);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.brand__plate::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0074c9 0%, #55c8ff 48%, #007bd4 100%);
  box-shadow: 0 0 9px rgba(41, 164, 245, .72), 0 0 18px rgba(41, 164, 245, .35);
  animation: brand-line-pulse 4.8s ease-in-out infinite;
}

.brand img {
  display: block;
  width: clamp(155px, 14vw, 218px);
  height: auto;
  filter: saturate(1.18) contrast(1.04) drop-shadow(0 2px 4px rgba(0, 76, 132, .2));
}

.topbar__right,
.status,
.language {
  display: flex;
  align-items: center;
}

.topbar__right {
  gap: clamp(1rem, 3vw, 3.2rem);
}

.status {
  gap: .65rem;
  color: #c9def0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37b6ff;
  box-shadow: 0 0 18px #0aa5ff;
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(62, 184, 255, .5);
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
}

.language {
  gap: .55rem;
  color: #7894aa;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.language__button {
  appearance: none;
  padding: .45rem .1rem;
  border: 0;
  color: #7894aa;
  background: transparent;
  cursor: pointer;
  transition: color .2s ease;
}

.language__button:hover,
.language__button:focus-visible,
.language__button.is-active {
  color: #fff;
}

.language__button:focus-visible,
.button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 4px;
}

.content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(790px, 55vw);
  margin: clamp(2.5rem, 8vh, 6rem) 0;
  padding-inline: var(--page-x);
}

.kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.25rem;
  color: var(--blue-soft);
  font-size: clamp(.68rem, .75vw, .8rem);
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: reveal .8s .18s ease both;
}

.kicker::before {
  content: "";
  flex: 0 0 38px;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(21, 150, 255, .7);
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 7.3rem);
  font-weight: 730;
  letter-spacing: -.065em;
  line-height: .88;
  text-wrap: balance;
  animation: reveal .95s .28s ease both;
}

h1 span {
  display: block;
}

.headline-accent {
  margin-top: .12em;
  color: transparent;
  background: linear-gradient(92deg, #fff 3%, #71c9ff 42%, #168fed 94%);
  -webkit-background-clip: text;
  background-clip: text;
}

.intro {
  max-width: 650px;
  margin: clamp(1.5rem, 3.2vh, 2.35rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.72;
  text-wrap: pretty;
  animation: reveal .9s .4s ease both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1.6rem, 3.8vh, 2.7rem);
  animation: reveal .9s .52s ease both;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(100deg, #087acf, #14a6ff);
  box-shadow: 0 14px 38px rgba(4, 124, 215, .25);
}

.button--primary:hover {
  box-shadow: 0 18px 46px rgba(4, 144, 244, .38);
}

.button--ghost {
  border-color: rgba(152, 203, 239, .28);
  color: #dcefff;
  background: rgba(4, 17, 31, .5);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  border-color: rgba(152, 203, 239, .58);
  background: rgba(12, 37, 59, .66);
}

.button__arrow {
  font-size: 1rem;
  transition: transform .25s ease;
}

.button:hover .button__arrow {
  transform: translate(2px, -2px);
}

.capabilities {
  display: flex;
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(2.2rem, 5vh, 4rem);
  border-top: 1px solid var(--line);
  animation: reveal .9s .64s ease both;
}

.capability {
  display: grid;
  gap: .4rem;
  min-width: clamp(138px, 11vw, 185px);
  padding: 1rem 1.35rem 0 0;
  color: #c3d8e9;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.capability__index {
  color: #278ed8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: var(--page-y);
  color: #668197;
  font-size: .7rem;
  letter-spacing: .05em;
  animation: reveal .9s .72s ease both;
}

.footer p {
  margin: 0;
}

.footer address {
  display: flex;
  gap: 1.5rem;
  font-style: normal;
  text-align: right;
}

.footer a {
  color: #8fb0c7;
  text-decoration: none;
  transition: color .2s ease;
}

.footer a:hover {
  color: #fff;
}

.scene-progress {
  position: absolute;
  z-index: 3;
  right: var(--page-x);
  bottom: clamp(4.1rem, 7.2vh, 6.3rem);
  display: grid;
  grid-template-columns: repeat(5, auto minmax(26px, 3.2vw));
  align-items: center;
  gap: .48rem;
  color: rgba(174, 205, 227, .62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .61rem;
  letter-spacing: .08em;
}

.scene-progress__track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(160, 205, 236, .22);
}

.scene-progress__fill {
  position: absolute;
  inset: 0;
  background: #4eb6ff;
  box-shadow: 0 0 9px rgba(78, 182, 255, .75);
  transform: scaleX(0);
  transform-origin: left;
  animation: segment-progress 50s linear infinite;
  animation-delay: var(--progress-delay);
}

.scene-progress__fill--one {
  --progress-delay: 0s;
}

.scene-progress__fill--two {
  --progress-delay: 10s;
}

.scene-progress__fill--three {
  --progress-delay: 20s;
}

.scene-progress__fill--four {
  --progress-delay: 30s;
}

.scene-progress__fill--five {
  --progress-delay: 40s;
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scene-cycle {
  0% {
    opacity: 1;
    clip-path: polygon(104% 0, 104% 0, 96% 100%, 96% 100%);
  }
  2%, 20% {
    opacity: 1;
    clip-path: polygon(-4% 0, 104% 0, 104% 100%, 4% 100%);
  }
  22% {
    opacity: 1;
    clip-path: polygon(-4% 0, -4% 0, 4% 100%, 4% 100%);
  }
  22.01%, 100% {
    opacity: 0;
    clip-path: polygon(104% 0, 104% 0, 96% 100%, 96% 100%);
  }
}

@keyframes scene-drift {
  from { transform: scale(1.025) translate3d(.6%, -.3%, 0); }
  to { transform: scale(1.075) translate3d(-.8%, .45%, 0); }
}

@keyframes light-wipe {
  0%, 84% { opacity: 0; transform: translateX(110vw) skewX(-11deg); }
  88% { opacity: .68; }
  100% { opacity: 0; transform: translateX(-22vw) skewX(-11deg); }
}

@keyframes segment-progress {
  0% { transform: scaleX(0); }
  20% { transform: scaleX(1); }
  20.01%, 100% { transform: scaleX(0); }
}

@keyframes brand-line-pulse {
  0%, 62%, 100% {
    opacity: .84;
    filter: brightness(1);
    box-shadow: 0 0 8px rgba(41, 164, 245, .55), 0 0 16px rgba(41, 164, 245, .2);
  }
  74% {
    opacity: 1;
    filter: brightness(2.25);
    box-shadow: 0 0 10px rgba(130, 218, 255, 1), 0 0 26px rgba(41, 164, 245, .92), 0 0 48px rgba(41, 164, 245, .56);
  }
  86% {
    opacity: .94;
    filter: brightness(1.28);
    box-shadow: 0 0 12px rgba(92, 198, 255, .8), 0 0 24px rgba(41, 164, 245, .42);
  }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
  0% { opacity: 0; transform: scale(.65); }
  28% { opacity: .8; }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes breathe {
  from { opacity: .6; transform: translate3d(-2%, 2%, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(2%, -2%, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .hero__slide {
    background-position: 62% 50%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 10, 20, .98) 0%, rgba(3, 14, 28, .88) 48%, rgba(3, 14, 28, .38) 100%),
      linear-gradient(0deg, rgba(1, 7, 14, .86) 0%, transparent 45%, rgba(1, 7, 14, .5) 100%);
  }

  .content {
    width: min(720px, 78vw);
  }

  .status {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
  }

  .hero__slide {
    background-position: 69% center;
  }

  .hero__media {
    opacity: .72;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 10, 20, .96) 0%, rgba(3, 14, 28, .78) 100%),
      linear-gradient(0deg, rgba(1, 7, 14, .94) 0%, rgba(1, 7, 14, .2) 70%, rgba(1, 7, 14, .56) 100%);
  }

  .hero__grid {
    opacity: .13;
    background-size: 44px 44px;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand__plate {
    min-height: 0;
    padding: .25rem 0;
  }

  .brand__plate::before {
    inset: -28px -130px -58px calc(-1 * var(--page-x));
    border-radius: 0 64% 72% 0;
    filter: blur(10px);
  }

  .brand__plate::after {
    bottom: -4px;
    width: 100%;
  }

  .brand img {
    width: 145px;
  }

  .topbar__right {
    padding-top: .25rem;
  }

  .content {
    width: 100%;
    margin-block: 3rem 2rem;
  }

  .kicker {
    max-width: 28rem;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.8rem);
  }

  .intro {
    max-width: 34rem;
    color: #c0d2e1;
  }

  .capabilities {
    width: 100%;
  }

  .capability {
    flex: 1 1 0;
    min-width: 0;
    padding-right: .65rem;
    font-size: .68rem;
  }

  .footer {
    align-items: flex-start;
    padding-top: 1rem;
    border-top: 1px solid rgba(159, 204, 236, .12);
  }

  .footer address {
    display: grid;
    gap: .35rem;
  }

  .scene-progress {
    display: none;
  }
}

@media (max-width: 480px) {
  .content {
    margin-top: 2rem;
  }

  .kicker::before {
    flex-basis: 24px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer {
    display: grid;
    gap: .6rem;
  }

  .footer address {
    text-align: left;
  }
}

@media (max-height: 760px) and (min-width: 701px) {
  .content {
    margin-block: 2rem;
  }

  h1 {
    font-size: clamp(3.2rem, 5.6vw, 6rem);
  }

  .capabilities {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
