:root {
  --hx-ease: cubic-bezier(.16,1,.3,1);
}

.hx {
  --hx-bg: #f6f6f9;
  --hx-ink: #15151c;
  --hx-dim: rgba(21, 21, 28, .55);
  --hx-v: #6d3df2;
  --hx-line: rgba(21, 21, 28, .2);
}

:root[data-theme="dark"] .hx {
  --hx-bg: #0e0e11;
  --hx-ink: #f4f1ea;
  --hx-dim: rgba(244, 241, 234, .5);
  --hx-v: #8b5cf6;
  --hx-line: rgba(244, 241, 234, .22);
}

.hx, .hx-stick {
  transition: background-color .4s, color .4s;
}

.hx {
  position: relative;
}

.hx-stick {
  height: calc(100vh - 76px);
  flex-direction: column;
  justify-content: center;
  height: calc(100svh - 76px);
  padding: 24px 0 96px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hx-eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hx-dim);
  opacity: 0;
  animation: hxup .9s var(--hx-ease) .15s forwards;
  margin-bottom: max(14px, min(2.4vw, 34px));
  padding: 0 max(20px, min(4vw, 56px));
  font-size: max(12px, min(1.1vw, 15px));
  font-weight: 600;
  transform: translateY(8px);
}

.hx-line {
  white-space: nowrap;
  will-change: transform;
  padding: 0 max(20px, min(4vw, 56px));
  display: block;
  overflow: hidden;
}

.hx-line > span {
  animation: hxrise 1.25s var(--hx-ease) forwards;
  animation-delay: var(--d);
  display: inline-block;
  transform: translateY(112%);
}

.hx-h {
  font-family: Instrument Serif, Georgia, serif;
  font-weight: 400;
  font-size: var(--hx-fs, min(21vw,22vh));
  letter-spacing: -.035em;
  line-height: .9;
}

.hx-h em {
  color: var(--hx-v);
  font-style: italic;
}

.hx-price {
  font-weight: 600;
  font-size: var(--hx-fs, min(21vw,22vh));
  letter-spacing: -.06em;
  font-feature-settings: "tnum" 1;
  align-items: baseline;
  gap: .12em;
  margin-top: .04em;
  line-height: .92;
  display: flex;
}

.hx-price .old {
  color: var(--hx-dim);
  letter-spacing: -.04em;
  align-self: flex-start;
  margin-top: .14em;
  margin-right: .18em;
  font-size: .42em;
  position: relative;
}

.hx-price .old:after {
  content: "";
  background: var(--hx-v);
  transform-origin: 0;
  height: .07em;
  animation: hxstrike .7s var(--hx-ease) 1.9s forwards;
  position: absolute;
  top: 54%;
  left: -2%;
  right: -2%;
  transform: scaleX(0);
}

.hx-odo {
  height: .92em;
  line-height: .92;
  display: inline-flex;
  overflow: hidden;
}

.hx-odo .col {
  transition: transform 1.6s var(--hx-ease);
  flex-direction: column;
  display: flex;
  transform: translateY(0);
}

.hx-odo .col span, .hx-odo .sep {
  height: .92em;
  display: block;
}

.hx-cur {
  margin-left: .08em;
}

.hx-badge {
  letter-spacing: .04em;
  background: var(--hx-v);
  color: #fff;
  opacity: 0;
  transition: opacity .5s,transform .7s var(--hx-ease);
  border-radius: 99px;
  padding: .7em 1.1em;
  font-size: max(14px, min(1.6vw, 22px));
  font-weight: 700;
  position: absolute;
  top: 50%;
  right: max(20px, min(4vw, 56px));
  transform: scale(.6) rotate(-8deg);
}

.hx-badge.on {
  opacity: 1;
  transform: scale(1) rotate(-4deg);
}

.hx-foot {
  opacity: 0;
  animation: hxup 1s var(--hx-ease) 1.6s forwards;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 max(20px, min(4vw, 56px)) 26px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hx-foot p {
  max-width: 34ch;
  color: var(--hx-dim);
  font-size: max(14px, min(1.25vw, 18px));
  line-height: 1.45;
}

.hx-pills {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.hx-pills a {
  color: var(--hx-ink);
  border: 1px solid var(--hx-line);
  border-radius: 99px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}

.hx-pills a:hover {
  background: var(--hx-v);
  border-color: var(--hx-v);
}

.hx-scroll {
  background: linear-gradient(var(--hx-ink),transparent);
  transform-origin: top;
  width: 1px;
  height: 46px;
  animation: hxsc 2.2s var(--hx-ease) infinite;
  opacity: .5;
  position: absolute;
  bottom: 26px;
  left: 50%;
}

@keyframes hxrise {
  to {
    transform: none;
  }
}

@keyframes hxup {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hxstrike {
  to {
    transform: scaleX(1);
  }
}

@keyframes hxsc {
  0% {
    transform: scaleY(0);
  }

  60% {
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@media (max-width: 700px) {
  .hx-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .hx-pills {
    justify-content: flex-start;
  }

  .hx-badge {
    top: auto;
    bottom: 150px;
  }

  .hx-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx, .hx * {
    transition: none !important;
    animation-duration: 10ms !important;
    animation-delay: 0s !important;
  }

  .hx {
    height: auto;
  }

  .hx-stick {
    position: relative;
  }
}

.hx {
  color: var(--hx-ink);
  background: var(--hx-bg);
  font-family: Inter Tight, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

.hx-bar {
  display: none;
}

.hx-pills a {
  white-space: nowrap;
}

.hq-grid {
  grid-template-columns: 1fr !important;
}

.hx * {
  box-sizing: border-box;
  margin: 0;
}

.hx-stats {
  gap: max(18px, min(3vw, 40px));
  margin-top: 14px;
  display: flex;
}

.hx-stats b {
  letter-spacing: -.03em;
  font-feature-settings: "tnum" 1;
  font-size: max(20px, min(2vw, 30px));
  font-weight: 600;
  display: block;
}

.hx-stats span {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hx-dim);
  font-size: 10px;
  font-weight: 700;
}

.hq-grid > .hqs {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.hq-grid {
  padding-top: 56px !important;
  padding-bottom: 72px !important;
}

@media (min-width: 1024px) {
  .hq-grid > .hqs {
    grid-template-columns: minmax(250px, .36fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    display: grid;
  }

  .hq-grid > .hqs .hqs-tabs {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
  }

  .hq-grid > .hqs .hqs-tab {
    border-radius: 18px;
    align-items: flex-start;
    padding: 18px 18px 20px;
  }

  .hq-grid > .hqs .hqs-stage {
    margin-top: 0;
  }
}

.hx-right {
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  display: flex;
}

.hx-search {
  background: color-mix(in srgb,var(--hx-ink) 6%,transparent);
  border: 1px solid var(--hx-line);
  border-radius: 99px;
  width: min(520px, 100%);
  padding: 5px;
  transition: border-color .3s, box-shadow .3s;
  display: flex;
}

.hx-search:focus-within {
  border-color: var(--hx-v);
  box-shadow: 0 0 0 4px color-mix(in srgb,var(--hx-v) 20%,transparent);
}

.hx-search input {
  min-width: 0;
  color: var(--hx-ink);
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  padding: 0 18px;
  font-size: 16px;
}

.hx-search input::-webkit-input-placeholder {
  color: var(--hx-dim);
}

.hx-search input::placeholder {
  color: var(--hx-dim);
}

.hx-search button {
  cursor: pointer;
  background: var(--hx-v);
  color: #fff;
  font: inherit;
  white-space: nowrap;
  border: 0;
  border-radius: 99px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .hx-right {
    align-items: stretch;
    width: 100%;
  }
}

.hx-stick {
  justify-content: center;
  min-height: calc(100svh - 76px);
  height: auto !important;
  padding: 24px 0 36px !important;
}

.hx {
  --hx-fs: min(21vw,18vh);
}

.hx-foot {
  margin-top: max(18px, min(3vh, 34px));
  padding-bottom: 0 !important;
  position: static !important;
}

@media (max-width: 700px) {
  .hx-badge {
    display: none;
  }

  .hx-foot {
    gap: 18px;
  }

  .hx-search button {
    padding: 12px 14px;
    font-size: 13px;
  }

  .hx-search input {
    padding: 0 12px;
    font-size: 15px;
  }
}

@media (max-width: 1000px) {
  .hx-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-right {
    align-items: stretch;
    width: 100%;
  }

  .hx-search {
    width: 100%;
  }

  .hx-pills {
    justify-content: flex-start;
  }

  .hx-lead {
    max-width: none;
  }
}

.hx-foot {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

.hx-right {
  width: 100%;
  align-items: flex-start !important;
}

.hx-search {
  width: min(560px, 100%);
}

.hx-pills {
  justify-content: flex-start !important;
}

.hx-lead {
  order: 2;
}

.hx-right {
  order: 1;
}

.hx-stats p.rs-cnt {
  letter-spacing: -.03em;
  font-feature-settings: "tnum" 1;
  margin: 0;
  font-size: max(20px, min(2vw, 30px));
  font-weight: 600;
  line-height: 1.1;
}

.hx-stats p:not(.rs-cnt) {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hx-dim);
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 700;
}

.hx-line > span {
  animation-duration: .9s;
  animation-delay: calc(var(--d) * .25);
  transform: translateY(55%);
}

.hx-line > span.hx-price {
  transform: translateY(55%);
}
