:root {
  --bg: #05070e;
  --bg-soft: rgba(12, 15, 28, 0.7);
  --panel: rgba(17, 21, 36, 0.56);
  --panel-strong: rgba(15, 18, 31, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8fc;
  --muted: #c1c6d8;
  --accent: #b9d5ff;
  --accent-strong: #ffffff;
  --blue: #8ea2ff;
  --violet: #b68aff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 229, 197, 0.18), transparent 18%),
    radial-gradient(circle at 60% 8%, rgba(114, 140, 255, 0.24), transparent 22%),
    radial-gradient(circle at 38% 22%, rgba(195, 126, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #05070d 0%, #050810 48%, #06070d 100%);
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92em;
}

.page-shell {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 80px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(14, 18, 32, 0.66), rgba(8, 10, 18, 0.82));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3),
    0 40px 90px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(102, 255, 216, 0.1), rgba(138, 91, 255, 0.08) 38%, rgba(255, 255, 255, 0.04) 74%, rgba(255, 255, 255, 0));
  opacity: 0.82;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-text,
.site-nav a,
.nav-download,
.button {
  text-decoration: none;
}

.brand-text {
  font-size: clamp(1.9rem, 2.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 10px;
  color: rgba(247, 248, 252, 0.9);
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(247, 248, 252, 0.9);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.nav-download {
  margin-left: auto;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 238, 246, 0.88));
  color: #14151d;
  font-weight: 700;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

.nav-download:hover {
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: 34px;
  margin-top: 26px;
}

section {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(15, 18, 31, 0.74), rgba(8, 10, 18, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.hero {
  position: relative;
  display: grid;
  gap: 0;
  min-height: min(840px, calc(100vh - 84px));
  padding: 58px 28px 40px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(3.5rem, 7.2vw, 6.2rem);
  text-shadow: 0 14px 34px rgba(4, 6, 14, 0.26);
}

.hero-title {
  display: grid;
  justify-items: center;
  gap: 0.02em;
}

.hero-word-window {
  display: block;
  min-width: 7.7ch;
  height: 0.95em;
  overflow: hidden;
}

.hero-word-track {
  display: grid;
  justify-items: center;
  animation: hero-word-cycle 7.2s cubic-bezier(0.72, 0, 0.22, 1) infinite;
}

.hero-word {
  display: grid;
  place-items: center;
  min-height: 0.95em;
}

.hero-title-fixed {
  display: block;
  text-shadow: 0 14px 34px rgba(4, 6, 14, 0.4);
}

.hero-title-fixed .hero-title-accent {
  color: #8fd2ff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow,
.card-label,
.card-step {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-lead,
.feature-card p,
.detail-card p,
.install-card p,
.hero-card p,
.video-copy p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-copy-secondary {
  z-index: 5;
  margin-top: -118px;
}

.hero-lead {
  max-width: 26ch;
  color: var(--text);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
  line-height: 1.08;
  font-weight: 700;
  text-shadow: 0 10px 24px rgba(4, 6, 14, 0.28);
}

.hero-subline {
  margin: 14px 0 0;
  color: rgba(247, 248, 252, 0.72);
  font-size: 0.98rem;
  font-weight: 500;
  text-shadow: 0 8px 18px rgba(4, 6, 14, 0.26);
}

.hero-actions,
.video-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  font-weight: 700;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 238, 246, 0.88));
  color: #161824;
  border-color: rgba(255, 255, 255, 0.2);
}

.button.secondary {
  background:
    linear-gradient(180deg, rgba(145, 168, 255, 0.34), rgba(102, 120, 255, 0.2));
  color: #fff;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.install-grid,
.feature-grid,
.details-grid {
  display: grid;
  gap: 16px;
}

.hero-card,
.install-card,
.feature-card,
.detail-card,
.showcase-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: blur(24px);
}

.hero-glow-left {
  width: 620px;
  height: 300px;
  top: 118px;
  left: 20%;
  background: radial-gradient(circle, rgba(182, 99, 255, 0.48), transparent 72%);
}

.hero-glow-right {
  width: 620px;
  height: 300px;
  top: 92px;
  right: 12%;
  background: radial-gradient(circle, rgba(109, 120, 255, 0.3), transparent 72%);
}

.hero-shot {
  position: relative;
  z-index: 2;
  width: min(1040px, 97vw);
  margin: -122px auto -176px;
  padding: 16px;
  isolation: isolate;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 44px 86px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: perspective(1800px) rotateX(12deg) rotateY(-8deg) rotateZ(-4deg);
  transform-origin: center top;
}

.hero-shot::before,
.hero-shot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-shot::before {
  inset: -72px -84px -92px;
  z-index: -2;
  border-radius: 72px;
  background:
    radial-gradient(circle at 4% 86%, rgba(121, 240, 214, 0.24), transparent 18%),
    radial-gradient(circle at 10% 18%, rgba(133, 98, 255, 0.2), transparent 20%),
    radial-gradient(circle at 52% 0%, rgba(180, 120, 255, 0.22), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(126, 152, 255, 0.24), transparent 20%),
    radial-gradient(circle at 97% 84%, rgba(115, 130, 255, 0.18), transparent 18%),
    linear-gradient(90deg, rgba(108, 84, 255, 0.08), rgba(179, 118, 255, 0.12) 50%, rgba(106, 132, 255, 0.1));
  filter: blur(50px);
  opacity: 1;
}

.hero-shot::after {
  inset: -18px;
  z-index: -1;
  border-radius: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 56px rgba(112, 121, 255, 0.12),
    0 0 110px rgba(156, 103, 255, 0.08);
}

.hero-shot img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 1;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  filter:
    brightness(0.9)
    saturate(1.02)
    contrast(1)
    drop-shadow(0 0 24px rgba(134, 108, 255, 0.12))
    drop-shadow(0 0 64px rgba(134, 108, 255, 0.1))
    drop-shadow(0 0 110px rgba(164, 108, 255, 0.08));
}

.section-heading {
  padding: 34px 34px 0;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  max-width: 12ch;
}

.quick-install,
.screens,
.feature-band,
.details,
.video-section {
  padding-bottom: 34px;
}

.install-grid,
.showcase-grid,
.feature-grid,
.details-grid,
.video-layout {
  padding: 24px 34px 0;
}

.install-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.install-card-main {
  background:
    radial-gradient(circle at top left, rgba(167, 231, 255, 0.2), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.text-link {
  color: #d6e4ff;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(260px, 0.78fr);
  gap: 18px;
  align-items: start;
}

.showcase-card {
  overflow: hidden;
  padding: 16px;
  height: 100%;
}

.showcase-portrait {
  align-self: start;
}

.showcase-card img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-card figcaption {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.showcase-card strong {
  color: var(--text);
  font-size: 1.08rem;
}

.feature-grid,
.details-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
}

.install-video {
  width: 100%;
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(109, 120, 255, 0.08)),
    linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(10, 12, 20, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

@media (max-width: 1080px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .showcase-grid,
  .video-layout,
  .install-grid,
  .feature-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    margin: -36px auto -56px;
    transform: none;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
    padding-bottom: 44px;
  }

  .site-header {
    border-radius: 24px;
    padding: 12px 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-download {
    margin-left: 0;
  }

  .hero,
  .section-heading,
  .install-grid,
  .showcase-grid,
  .feature-grid,
  .details-grid,
  .video-layout,
  .steps,
  .cta-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: auto;
  }

  .hero-copy h1,
  .section-heading h2,
  .cta-band h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-word-window {
    min-width: 6.8ch;
  }

  .brand-text {
    font-size: 2.2rem;
  }

  .hero-lead,
  .feature-card p,
  .detail-card p,
  .install-card p,
  .hero-card p,
  .video-copy p {
    font-size: 0.98rem;
  }

  .install-video {
    min-height: 220px;
  }

  .hero-shot {
    margin: 10px auto -8px;
    padding: 10px;
    border-radius: 24px;
  }

  .hero-shot::before {
    inset: -18px -20px -24px;
    filter: blur(20px);
  }

  .hero-shot::after {
    inset: -8px;
    border-radius: 30px;
  }

  .hero-copy-secondary {
    margin-top: -4px;
  }

  .hero-lead {
    font-size: clamp(1.3rem, 5.3vw, 2rem);
    line-height: 1.1;
  }
}

.hero-shot img {
  filter:
    brightness(0.84)
    saturate(1.02)
    contrast(1)
    drop-shadow(0 0 14px rgba(134, 108, 255, 0.16))
    drop-shadow(0 0 30px rgba(164, 108, 255, 0.1));
}

@keyframes hero-word-cycle {
  0%,
  23% {
    transform: translateY(0);
  }

  33%,
  56% {
    transform: translateY(-25%);
  }

  66%,
  89% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(-75%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word-track {
    animation: none;
  }

  .hero-word-window {
    height: auto;
  }

  .hero-word:not(:first-child) {
    display: none;
  }
}
