:root {
  --hs-ink: #202044;
  --hs-muted: #625f7d;
  --hs-lilac: #e6d9ff;
  --hs-pink: #f3c4dc;
  --hs-coral: #ff6b5c;
  --hs-orange: #ff9e37;
  --hs-yellow: #ffd84d;
  --hs-green: #62df83;
  --hs-purple: #8b58dc;
  --hs-line: rgba(32, 32, 68, 0.12);
  --hs-shadow: 0 22px 56px rgba(75, 65, 127, 0.17);
}

body.hexstack-home {
  color: var(--hs-ink);
  background: #fff9fd;
}

.hexstack-home .site-header {
  border-bottom-color: rgba(139, 88, 220, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(75, 65, 127, 0.08);
}

.hexstack-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.hexstack-home .brand-mark,
.hexstack-home .footer-brand__mark {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(139, 88, 220, 0.16);
}

.hexstack-home .brand-name,
.hexstack-home .footer-brand__identity strong {
  color: var(--hs-ink);
}

.hexstack-home .nav-links a {
  border-radius: 8px;
  color: #565477;
}

.hexstack-home .nav-links a:hover,
.hexstack-home .nav-links a.active {
  background: #f2eaff;
  color: #7044c2;
}

.hexstack-home .account-link {
  border-color: rgba(139, 88, 220, 0.2);
  border-radius: 8px;
  background: #fffaff;
}

.hexstack-home .account-avatar {
  background: linear-gradient(180deg, #a96be7, #7044c2);
}

.hexstack-home .account-copy small,
.hexstack-home .account-arrow {
  color: #7044c2;
}

.hexstack-home .btn-signup,
.hs-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hexstack-home .btn-signup,
.hs-button--primary {
  color: var(--action-pink-text);
  background: linear-gradient(100deg, var(--action-pink-start), var(--action-pink-end));
  box-shadow: 0 5px 0 var(--action-pink-shadow), 0 14px 28px rgba(142, 58, 166, 0.25);
}

.hexstack-home .btn-signup:hover,
.hs-button--primary:hover {
  color: var(--action-pink-text);
  transform: translateY(2px);
  filter: brightness(1.04);
  box-shadow: 0 3px 0 var(--action-pink-shadow), 0 10px 22px rgba(142, 58, 166, 0.22);
}

.hs-button--quiet {
  color: var(--hs-ink);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(75, 65, 127, 0.1);
}

.hs-button--quiet:hover {
  color: #7044c2;
  transform: translateY(-2px);
  background: #ffffff;
}

.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hs-eyebrow--dark {
  border-color: rgba(139, 88, 220, 0.18);
  background: #f2eaff;
  color: #7044c2;
}

.hs-copy {
  max-width: 660px;
  margin-top: 1rem;
  color: var(--hs-muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.78;
}

.hs-hero {
  position: relative;
  min-height: min(850px, calc(100vh - var(--nav-h)));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3.5rem) 0 5.5rem;
  background: linear-gradient(120deg, #6d5bd0 0%, #9c76e2 41%, #f3c5df 100%);
}

.hs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 27%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 79% 34%, rgba(255, 255, 255, 0.34) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(33, 29, 92, 0.34), transparent 62%);
  pointer-events: none;
}

.hs-hero__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transform: rotate(30deg);
  pointer-events: none;
}

.hs-hero__glow::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.hs-hero__glow--one {
  top: 7%;
  right: 13%;
}

.hs-hero__glow--two {
  bottom: -90px;
  left: 4%;
  transform: rotate(30deg) scale(0.72);
}

.hs-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.8rem);
}

.hs-hero__copy {
  max-width: 600px;
}

.hs-hero h1 {
  margin-top: 1rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(69, 47, 141, 0.34), 0 18px 36px rgba(51, 36, 101, 0.28);
}

.hs-hero h1 span {
  display: block;
  color: var(--hs-yellow);
}

.hs-hero__lead {
  margin-top: 1.25rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.hs-hero__text {
  max-width: 590px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.75;
}

.hs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.hs-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.hs-hero__signals span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hs-hero__signals i {
  color: var(--hs-yellow);
}

.hs-hero__visual {
  position: relative;
}

.hs-hero__visual-frame {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #f6d8ed;
  box-shadow: 0 26px 54px rgba(53, 36, 112, 0.34);
  transform: rotate(1.2deg);
}

.hs-hero__visual-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hs-float-note {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  min-width: 150px;
  padding: 0.75rem 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hs-ink);
  box-shadow: 0 16px 32px rgba(53, 36, 112, 0.2);
}

.hs-float-note span {
  color: var(--hs-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.hs-float-note--top {
  top: -22px;
  right: -24px;
}

.hs-float-note--bottom {
  bottom: -23px;
  left: -26px;
  grid-template-columns: 24px 1fr;
  align-items: center;
  min-width: 158px;
}

.hs-float-note--bottom i {
  color: var(--hs-orange);
  font-size: 1.2rem;
}

.hs-hero__scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.hs-hero__scroll span {
  display: inline-block;
  width: 26px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
}

.hs-hero__scroll span::after {
  content: "";
  display: block;
  width: 4px;
  height: 7px;
  margin: 7px auto 0;
  border-radius: 4px;
  background: var(--hs-yellow);
}

.hs-intro,
.hs-showcase,
.hs-reasons,
.hs-gallery {
  padding: 6rem 0;
}

.hs-intro {
  background: linear-gradient(180deg, #fff9fd 0%, #f1ebff 100%);
}

.hs-intro__grid,
.hs-reasons__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(2.4rem, 6vw, 6rem);
}

.hs-intro__media,
.hs-reasons__media {
  overflow: hidden;
  border: 1px solid rgba(139, 88, 220, 0.18);
  border-radius: 8px;
  background: #f2d8ef;
  box-shadow: var(--hs-shadow);
}

.hs-intro__media img,
.hs-reasons__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.hs-intro__copy h2,
.hs-section-head h2,
.hs-boosters__copy h2,
.hs-reasons__copy h2,
.hs-gallery__heading h2,
.hs-final-cta h2 {
  margin-top: 0.9rem;
  color: var(--hs-ink);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.hs-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

.hs-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(75, 65, 127, 0.06);
}

.hs-steps strong,
.hs-feature__number {
  color: #7044c2;
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 900;
}

.hs-steps h3,
.hs-feature h3,
.hs-booster-list h3 {
  color: var(--hs-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.hs-steps p,
.hs-feature p,
.hs-booster-list p {
  margin-top: 0.22rem;
  color: var(--hs-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.hs-showcase {
  background: #fff4fb;
}

.hs-section-head {
  max-width: 760px;
}

.hs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hs-feature {
  overflow: hidden;
  border: 1px solid rgba(139, 88, 220, 0.15);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(75, 65, 127, 0.1);
}

.hs-feature--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  align-items: center;
}

.hs-feature img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hs-feature--wide img {
  height: 100%;
  min-height: 250px;
}

.hs-feature > div {
  padding: 1.2rem 1.25rem 1.35rem;
}

.hs-feature__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--hs-coral);
}

.hs-boosters {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: linear-gradient(120deg, #574aa4 0%, #7257c7 52%, #d47bbb 100%);
}

.hs-boosters::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 70%, rgba(255, 216, 77, 0.3) 0 3px, transparent 4px);
  pointer-events: none;
}

.hs-boosters__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  align-items: center;
  gap: clamp(2.4rem, 6vw, 6rem);
}

.hs-boosters__copy h2,
.hs-boosters__copy .hs-copy {
  color: #ffffff;
}

.hs-copy--light {
  color: rgba(255, 255, 255, 0.84);
}

.hs-booster-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hs-booster-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hs-booster-list h3 {
  color: #ffffff;
}

.hs-booster-list p {
  color: rgba(255, 255, 255, 0.76);
}

.hs-booster-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.2rem;
}

.hs-booster-icon--hammer {
  background: var(--hs-coral);
}

.hs-booster-icon--move {
  background: var(--hs-green);
  color: #2b6d45;
}

.hs-booster-icon--shuffle {
  background: var(--hs-yellow);
  color: #8f5c00;
}

.hs-boosters__media {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: #eecce6;
  box-shadow: 0 24px 56px rgba(42, 27, 91, 0.3);
  transform: rotate(-1.2deg);
}

.hs-boosters__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hs-reasons {
  background: linear-gradient(180deg, #ffffff 0%, #f5efff 100%);
}

.hs-checklist {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.hs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--hs-ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
}

.hs-checklist i {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--hs-coral);
}

.hs-gallery {
  background: #f1ebff;
}

.hs-gallery__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.hs-games-carousel {
  margin-top: 2rem;
}

.hexstack-home .games-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.1rem;
  scroll-snap-type: x mandatory;
}

.hexstack-home .game-slide {
  --game-slide-height: 330px;
  --game-slide-width: clamp(180px, 19vw, 300px);
  flex: 0 0 var(--game-slide-width);
  width: var(--game-slide-width);
  height: var(--game-slide-height);
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: linear-gradient(180deg, #faf6ff, #f8d8ed);
  box-shadow: 0 15px 28px rgba(75, 65, 127, 0.14);
  scroll-snap-align: start;
}

.hexstack-home .game-slide.is-landscape {
  --game-slide-width: clamp(360px, 48vw, 700px);
}

.hexstack-home .games-track .game-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(180deg, #faf6ff, #f8d8ed);
}

.hs-gallery__button {
  border-radius: 8px;
  background: linear-gradient(180deg, #9b7be8, #7044c2);
  color: #ffffff;
  box-shadow: 0 5px 0 #50338f;
}

.hs-gallery__button:disabled {
  opacity: 0.42;
}

.hs-final-cta {
  padding: 5rem 0;
  background: linear-gradient(120deg, #ffbf4b 0%, #ff8b5f 52%, #ed5f83 100%);
}

.hs-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hs-final-cta h2,
.hs-final-cta p:not(.hs-eyebrow) {
  color: #ffffff;
}

.hs-final-cta p:not(.hs-eyebrow) {
  max-width: 650px;
  margin-top: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.hexstack-home .site-footer {
  border-top-color: rgba(139, 88, 220, 0.16);
  background: linear-gradient(180deg, #fff7fc 0%, #ffffff 100%);
}

.hexstack-home .footer-brand__identity small,
.hexstack-home .footer-policy-list a:hover,
.hexstack-home .footer-contact > a:hover {
  color: #7044c2;
}

.hexstack-home .footer-policy-list a::before {
  background: var(--hs-yellow);
}

.hexstack-home .footer-bottom {
  background: #f4edff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hs-hero {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .hs-hero__grid,
  .hs-intro__grid,
  .hs-reasons__grid,
  .hs-boosters__grid {
    grid-template-columns: 1fr;
  }

  .hs-hero__copy,
  .hs-intro__copy,
  .hs-reasons__copy,
  .hs-boosters__copy {
    max-width: 720px;
  }

  .hs-hero__visual,
  .hs-boosters__media {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .hs-hero,
  .hs-intro,
  .hs-showcase,
  .hs-boosters,
  .hs-reasons,
  .hs-gallery {
    padding-top: 4.3rem;
    padding-bottom: 4.3rem;
  }

  .hs-hero {
    padding-top: calc(var(--nav-h) + 2.1rem);
    padding-bottom: 4.8rem;
  }

  .hs-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hs-hero__actions,
  .hs-final-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hs-button {
    width: 100%;
  }

  .hs-hero__signals {
    display: grid;
  }

  .hs-float-note--top {
    top: -16px;
    right: -8px;
  }

  .hs-float-note--bottom {
    bottom: -18px;
    left: -8px;
  }

  .hs-feature-grid {
    grid-template-columns: 1fr;
  }

  .hs-feature--wide {
    grid-column: auto;
    display: block;
  }

  .hs-feature img,
  .hs-feature--wide img {
    height: 220px;
    min-height: 0;
  }

  .hs-gallery__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hexstack-home .game-slide {
    --game-slide-height: 300px;
    --game-slide-width: 190px;
  }

  .hexstack-home .game-slide.is-landscape {
    --game-slide-width: min(84vw, 540px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
