








.hp-sentence {
  

  font-size: var(--hp-sentence-fs, clamp(23px, 2.5vw, 38px));
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--bg-elevated);
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(9, 17, 45, 0.45);
}



.hp-sentence.is-fitted {
  white-space: nowrap;
}

.hp-slot {
  position: relative;
  display: inline-block;
}

.hp-slot__btn {
  font: inherit;
  letter-spacing: inherit;
  

  color: var(--brand-pale);
  background: none;
  border: 0;
  border-bottom: 0.075em solid rgba(147, 197, 253, 0.6);
  border-radius: 2px;
  padding: 0 0.06em;
  margin: 0;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}

.hp-slot__btn:hover,
.hp-slot__btn[aria-expanded="true"] {
  color: var(--bg-elevated);
  border-bottom-color: var(--bg-elevated);
}

.hp-slot__btn:focus-visible {
  outline: 3px solid var(--bg-elevated);
  outline-offset: 3px;
}



.hp-slot__chev {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.18em;
  vertical-align: 0.18em;
  border-right: 0.07em solid currentColor;
  border-bottom: 0.07em solid currentColor;
  

  transform: translateY(0) rotate(45deg);
  transform-origin: center;
  

  transition: transform 0.2s cubic-bezier(0.32, 1.35, 0.56, 1);
  opacity: 0.72;
}



.hp-slot__btn[aria-expanded="true"] .hp-slot__chev {
  transform: translateY(0.127em) rotate(225deg);
}








.hp-menu:not([hidden]) {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.22, 1.24, 0.36, 1),
    display 0.26s allow-discrete;
}



@starting-style {
  .hp-menu:not([hidden]) {
    opacity: 0;
    transform: translateY(12px) scale(0.965);
  }
}

.hp-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 40;
  min-width: 266px;
  padding: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 26px 60px -22px rgba(13, 26, 58, 0.5), 0 2px 8px rgba(13, 26, 58, 0.07);
  

  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.4;
  color: var(--slate-deep);
  text-shadow: none;
  

  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transform-origin: bottom left;
  pointer-events: none;
  transition:
    opacity 0.1s linear,
    transform 0.12s cubic-bezier(0.3, 0, 0.7, 1),
    display 0.12s allow-discrete;
}



.hp-menu__list {
  display: block;
}



@media (min-width: 769px) {
  .hp-menu__list--split {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--hp-menu-rows, 4), auto);
    grid-auto-columns: 1fr;
    column-gap: 4px;
  }
}

.hp-menu__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-deep);
  text-align: left;
  cursor: pointer;
}

.hp-menu__item:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.hp-menu__item[aria-selected="true"] {
  background: var(--brand-deep);
  color: var(--bg-elevated);
}



.hp-menu__item:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: -2px;
}

.hp-menu__item[aria-selected="true"]:focus-visible {
  outline-color: var(--bg-elevated);
}

.hp-menu__thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 31px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--brand-tint);
}






.hp-canvas {
  position: relative;
  min-height: clamp(430px, 58vh, 555px);
  border-radius: 22px;
  background: var(--brand-tint);
  box-shadow: 0 24px 60px -28px rgba(13, 26, 58, 0.55);
}

.hp-canvas__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  

  object-position: center 84%;
  

  border-radius: 22px;
  

  opacity: 0;
  z-index: 0;
  transition: opacity 0s linear 0.42s;
}

.hp-canvas__img.is-on {
  opacity: 1;
}



.hp-canvas__img.is-top {
  z-index: 1;
  transition: opacity 0.42s ease;
}

.hp-original {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 11px;
  

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 20px -12px rgba(8, 15, 35, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--bg-elevated);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}



.hp-original__icon {
  position: relative;
  flex: none;
  width: 13px;
  height: 12px;
}

.hp-original__icon::before,
.hp-original__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2.5px;
  transition: background 0.18s, opacity 0.18s;
}

.hp-original__icon::before {
  top: 0;
  left: 0;
  opacity: 0.5;
}

.hp-original__icon::after {
  right: 0;
  bottom: 0;
  background: currentColor;
}

.hp-original:hover {
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px -12px rgba(8, 15, 35, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}



.hp-original.is-showing-original {
  background: var(--brand-pale);
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--brand-deep);
  box-shadow: 0 8px 20px -12px rgba(13, 26, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hp-original.is-showing-original .hp-original__icon::before {
  background: currentColor;
  opacity: 1;
}

.hp-original.is-showing-original .hp-original__icon::after {
  background: none;
  opacity: 0.5;
}



.hp-original.is-showing-original:hover {
  background: color-mix(in srgb, var(--brand-pale) 84%, var(--brand-deep));
  border-color: rgba(30, 58, 138, 0.5);
}






.hp-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: 56px 30px 26px;
  border-radius: 0 0 22px 22px;
  

  background: linear-gradient(
    180deg,
    rgba(9, 17, 45, 0) 0,
    rgba(9, 17, 45, 0.22) 20px,
    rgba(9, 17, 45, 0.7) 70px,
    rgba(9, 17, 45, 0.88) 170px,
    rgba(9, 17, 45, 0.95) 100%
  );
}

.hp-bar__main {
  min-width: 0;
  

}



.hp-bar .catchphrase {
  display: inline-block;
  

  position: relative;
  margin: 0 0 8px;
  max-width: 100%;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-elevated);
  text-shadow: 0 1px 10px rgba(9, 17, 45, 0.5);
  

  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}



.hp-bar .catchphrase::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: linear-gradient(90deg, var(--brand-pale), rgba(147, 197, 253, 0));
  box-shadow: 0 0 10px rgba(147, 197, 253, 0.45);
}



@media (hover: hover) and (pointer: fine) {
  .hp-bar .catchphrase:hover {
    transform: translateY(-1px);
  }

  .hp-bar .catchphrase:hover::after {
    transform: scaleX(1);
  }
}

.hp-bar .hero-ctas {
  justify-content: flex-start;
}



.hp-bar .hero-free-gens-today,
.hp-bar .hero-free-gens-today .hero-free-gens-upgrade {
  color: rgba(255, 255, 255, 0.9);
}

.hp-bar .hero-free-gens-today {
  text-align: left;
  text-shadow: 0 1px 8px rgba(9, 17, 45, 0.6);
}




.hp-bar__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 0;
  max-width: 300px;
  padding-bottom: 4px;
  

  text-align: right;
}



.hp-added {
  width: 100%;
  text-align: left;
}

.hp-added__title {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(9, 17, 45, 0.75);
}

.hp-added__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hp-added__list li {
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  

  text-shadow: 0 1px 8px rgba(9, 17, 45, 0.8);
}

.hp-added__list li:last-child {
  border-bottom: 0;
}






.hero-stats {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-stats.is-ready {
  opacity: 1;
  visibility: visible;
}

.hp-stats {
  display: flex;
  gap: 22px;
  cursor: default;
}



.hp-stat + .hp-stat {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hp-stat__num {
  display: block;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bg-elevated);
  

  font-variant-numeric: tabular-nums;
  min-width: 1ch;
  text-shadow: 0 1px 10px rgba(9, 17, 45, 0.6);
  transition: min-width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hp-stat__label {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(9, 17, 45, 0.75);
}






.hp-canvas::after {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 4;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-top-color: var(--bg-elevated);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.hp-canvas.is-loading::after {
  opacity: 1;
  animation: hp-spin 0.7s linear infinite;
}

@keyframes hp-spin {
  to { transform: rotate(360deg); }
}






@media (max-width: 1023px) {
  .hp-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hp-added {
    display: none;
  }

  .hp-bar__side {
    align-items: flex-start;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 768px) {
  

  .hp-canvas,
  .hp-canvas__img {
    border-radius: 16px;
  }

  .hp-canvas {
    min-height: clamp(400px, 66vh, 520px);
  }

  .hp-bar {
    padding: 70px 18px 20px;
    border-radius: 0 0 16px 16px;
  }

  

  .hp-slot {
    position: static;
  }

  .hp-menu {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-width: 0;
    max-width: none;
    

    max-height: 58vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  

  .hp-canvas__img,
  .hp-canvas__img.is-top {
    transition: none;
  }

  

  .hero-stats,
  .hp-stat__num {
    transition: none;
  }

  

  .hp-menu,
  .hp-menu:not([hidden]) {
    transition: none;
  }

  

  .hp-slot__chev {
    transition: none;
  }

  .hp-canvas.is-loading::after {
    animation: none;
  }

  

  .hp-bar .catchphrase,
  .hp-bar .catchphrase::after {
    transition: none;
  }
}
