.page-home {
  --home-cut: clamp(12px, 4vw, 28px);
  --home-glow: 0 0 32px rgba(123, 59, 255, .5);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home .home-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(640px, 100svh, 960px);
  padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--indigo), var(--void));
  overflow: hidden;
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .48;
  mix-blend-mode: screen;
}

.page-home .home-hero__beam {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 24%;
  z-index: 1;
  height: clamp(90px, 16vw, 200px);
  background:
    linear-gradient(100deg,
      transparent 0%,
      rgba(34, 224, 255, .32) 28%,
      rgba(255, 46, 154, .26) 58%,
      transparent 100%);
  transform: rotate(-7deg) skewX(-14deg);
  filter: blur(2px);
  pointer-events: none;
  animation: home-beam 7s ease-in-out infinite alternate;
}

@keyframes home-beam {
  from {
    transform: rotate(-7deg) skewX(-14deg) translateY(0);
    opacity: .62;
  }
  to {
    transform: rotate(-5deg) skewX(-10deg) translateY(16px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__beam {
    animation: none;
    opacity: .85;
  }
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  max-width: min(100%, 980px);
}

.page-home .home-hero__kicker {
  margin: 0;
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-poster);
  font-size: clamp(2.6rem, 11vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: var(--home-glow);
}

.page-home .home-hero__title .text-cyan {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__quick {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  margin: 10px 0 0;
  padding: 0;
}

.page-home .home-hero__quick li {
  display: grid;
  gap: 4px;
  min-width: 110px;
  padding-top: 12px;
  border-top: 2px solid var(--line-strong);
}

.page-home .home-hero__num {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--yellow);
  font-family: var(--font-mono);
  line-height: 1;
}

.page-home .pulse-divider {
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(123, 59, 255, .42), transparent);
  color: var(--cyan);
}

.page-home .pulse-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .section {
  padding: clamp(56px, 8vw, 110px) 0;
}

.page-home .section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 52px);
  max-width: 760px;
}

.page-home .section__num {
  margin: 0;
  color: var(--cyan);
  font-size: .8rem;
  letter-spacing: .12em;
}

.page-home .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.page-home .section__lead {
  margin: 0;
  color: var(--mist);
}

.page-home .home-textlink {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: .85rem;
  transition: border-color .2s ease, color .2s ease;
}

.page-home .home-textlink:hover,
.page-home .home-textlink:focus-visible {
  border-color: var(--cyan);
  color: var(--offwhite);
}

.page-home .home-lanes__grid {
  align-items: stretch;
}

.page-home .home-lane {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-home .home-lane:hover,
.page-home .home-lane:focus-within {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 10px 10px 0 rgba(5, 3, 15, .8);
}

.page-home .home-lane .card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.35;
}

.page-home .home-lane .card__title a {
  color: var(--offwhite);
  text-decoration: none;
}

.page-home .home-lane .card__body {
  color: var(--mist);
  line-height: 1.75;
}

.page-home .home-lane .card__foot {
  margin-top: auto;
}

.page-home .home-devices__inner {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-home .home-devices__copy {
  display: grid;
  gap: 14px;
}

.page-home .home-steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px;
  display: grid;
  gap: 10px;
}

.page-home .home-steps li {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--cyan);
  background: rgba(26, 16, 53, .72);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--offwhite);
}

.page-home .home-steps .mono {
  color: var(--yellow);
}

.page-home .home-devices__media {
  border: 2px solid var(--line);
  box-shadow: var(--hard-shadow);
  background: var(--panel);
}

.page-home .home-scale__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 2px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.page-home .home-stat {
  display: grid;
  gap: 6px;
  padding: clamp(16px, 2.4vw, 26px);
  background: var(--indigo);
}

.page-home .home-stat .stat__num {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cyan);
  font-family: var(--font-mono);
  line-height: 1;
}

.page-home .home-stat .stat__label {
  color: var(--mist);
  font-size: .9rem;
  line-height: 1.5;
}

.page-home .home-scale__lower {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .home-scale__cases {
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--hard-shadow);
}

.page-home .home-subtitle {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 0 18px;
}

.page-home .home-scale__more {
  margin: 18px 0 0;
}

.page-home .home-folds__grid {
  display: grid;
  gap: 14px;
}

.page-home .home-fold {
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--hard-shadow);
}

.page-home .home-fold .fold__summary {
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-poster);
  font-weight: 600;
  color: var(--offwhite);
  list-style-position: inside;
}

.page-home .home-fold .fold__body {
  padding: 0 20px 12px;
  color: var(--mist);
  line-height: 1.75;
}

.page-home .home-fold .fold__meta {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--slate);
  font-size: .78rem;
}

.page-home .home-outro {
  padding: clamp(56px, 8vw, 110px) 0;
  background: linear-gradient(180deg, var(--void), var(--indigo));
  border-top: 2px solid var(--line);
}

.page-home .home-outro__inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .home-outro__media {
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--hard-shadow);
}

.page-home .home-outro__copy {
  display: grid;
  gap: 12px;
}

.page-home .home-outro__contacts {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.page-home .home-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(26, 16, 53, .7);
}

.page-home .home-contact .mono {
  color: var(--yellow);
}

.page-home .home-contact .copy-btn {
  margin-left: auto;
}

.page-home .home-outro__legal {
  color: var(--slate);
  font-size: .8rem;
  margin: 0;
}

@media (min-width: 640px) {
  .page-home .home-scale__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-home .home-folds__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    max-width: 980px;
  }

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

  .page-home .home-scale__lower {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
  }

  .page-home .home-outro__inner {
    grid-template-columns: .8fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__title {
    font-size: clamp(5rem, 9.5vw, 8rem);
  }

  .page-home .home-hero__lead {
    font-size: 1.125rem;
  }
}
