.hero-home {
  position: relative;
  overflow: clip;
  padding: clamp(1.4rem, 3vw, 2.25rem) 0 4.5rem;
}

.hero-home__grid {
  position: relative;
  min-height: min(76vh, 920px);
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-home__headline,
.hero-home__details {
  display: grid;
  gap: 1.15rem;
}

.hero-home__details {
  max-width: 34rem;
  justify-self: end;
  align-content: start;
  padding-top: clamp(1rem, 3vw, 2.1rem);
}

.hero-home__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-home__title {
  margin: 0;
  max-width: 10.8ch;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 4.8vw, 5.3rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-home__lead,
.hero-home__body {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.7;
}

.launch-note {
  display: grid;
  gap: 0.65rem;
  max-width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.launch-note__label {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-home__cta {
  width: fit-content;
  min-width: 250px;
  margin-top: 0.35rem;
}

.hero-home__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-left: 0;
  background:
    radial-gradient(circle at 64% 26%, rgba(255, 255, 255, 0.05), transparent 20%),
    radial-gradient(circle at 78% 34%, rgba(0, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%),
    transparent;
  pointer-events: none;
}

.hero-home__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.05) calc(100% - 1px)),
    linear-gradient(180deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.04) calc(100% - 1px));
  opacity: 0.32;
}

.hero-home__beam-rig {
  position: absolute;
  inset: 0;
}

.hero-home__beam {
  position: absolute;
  top: -6%;
  width: 18%;
  height: 106%;
  transform-origin: top center;
  opacity: 0.14;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.12) 32%, rgba(255, 255, 255, 0));
  clip-path: polygon(48% 0, 52% 0, 100% 100%, 0 100%);
  filter: blur(20px);
  animation: beam-pulse 5.8s ease-in-out infinite;
}

.hero-home__beam::before {
  content: "";
  position: absolute;
  top: 3.5%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.38);
  transform: translateX(-50%);
}

.hero-home__beam::after {
  content: "";
  position: absolute;
  inset: 38% 12% 5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  filter: blur(42px);
}

.hero-home__beam--one {
  left: 52%;
  animation-delay: 0s;
}

.hero-home__beam--two {
  left: 68%;
  animation-delay: 1.5s;
}

.hero-home__beam--three {
  left: 82%;
  animation-delay: 3s;
}

.home-assistant {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.home-assistant__copy {
  display: grid;
  gap: 1.25rem;
}

.home-assistant__lead {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.home-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-assistant__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.015);
}

.home-assistant__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-assistant__fact {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.home-assistant__fact strong {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-assistant__fact span {
  color: var(--muted);
  line-height: 1.55;
}

.home-assistant__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.home-assistant__visual {
  display: grid;
  gap: 1rem;
}

.home-assistant__states {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-assistant__state,
.home-assistant__example {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.home-assistant__state {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  padding: 0.9rem 0.65rem 1rem;
  text-align: center;
}

.home-assistant__state img {
  width: min(100%, 132px);
  aspect-ratio: 824 / 960;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  background: transparent;
}

.home-assistant__state strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-assistant__example {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.home-assistant__example-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-assistant__example-user,
.home-assistant__example-bot {
  margin: 0;
  padding: 0.9rem 1rem;
  line-height: 1.65;
}

.home-assistant__example-user {
  justify-self: end;
  max-width: 90%;
  border: 1px solid rgba(0, 255, 255, 0.22);
  background: rgba(0, 255, 255, 0.1);
}

.home-assistant__example-bot {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.home-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-height: 11.8rem;
  padding: 1.35rem 1rem;
  border-right: 1px solid var(--line);
}

.rail-card:last-child {
  border-right: 0;
}

.rail-card__index {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rail-card h3,
.home-package-grid h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.home-process {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 3.2vw, 3rem);
  align-items: start;
}

.home-process__list {
  display: grid;
}

.home-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.catalog-card--home {
  min-height: 13.5rem;
}

@keyframes beam-pulse {
  0% {
    opacity: 0.16;
    transform: translateY(10%) scaleY(0.34);
  }

  18% {
    opacity: 0.88;
    transform: translateY(0) scaleY(1);
  }

  36% {
    opacity: 0.3;
    transform: translateY(6%) scaleY(0.58);
  }

  56% {
    opacity: 0.74;
    transform: translateY(-1%) scaleY(0.92);
  }

  74% {
    opacity: 0.24;
    transform: translateY(8%) scaleY(0.5);
  }

  90% {
    opacity: 0.92;
    transform: translateY(0) scaleY(1);
  }

  100% {
    opacity: 0.16;
    transform: translateY(10%) scaleY(0.34);
  }
}

@keyframes assistant-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-home__beam {
    animation: none;
    opacity: 0.26;
    transform: translateY(0) scaleY(1);
  }
}

@media (max-width: 1100px) {
  .hero-home__content,
  .home-assistant,
  .home-process,
  .home-rail,
  .home-package-grid {
    grid-template-columns: 1fr;
  }

  .hero-home__details {
    justify-self: start;
    padding-top: 0;
  }

  .rail-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail-card:last-child {
    border-bottom: 0;
  }

  .home-assistant__facts {
    grid-template-columns: 1fr;
  }

  .home-assistant__states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-home {
    padding-top: 1rem;
  }

  .hero-home__title {
    max-width: none;
    font-size: clamp(2.2rem, 9.2vw, 3.5rem);
  }

  .hero-home__beam {
    width: 26%;
  }

  .hero-home__beam--one {
    left: 26%;
  }

  .hero-home__beam--two {
    left: 50%;
  }

  .hero-home__beam--three {
    left: 74%;
  }

  .home-assistant__chips,
  .home-assistant__actions {
    display: grid;
  }

  .home-assistant__states,
  .home-assistant__facts {
    grid-template-columns: 1fr;
  }

  .home-assistant__example-user {
    max-width: 100%;
  }
}
