/* Hexa · website. Uses the tokens from packages/ui/tokens.css. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--hx-bg-deep);
  color: var(--hx-text);
  font-family: var(--hx-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--hx-text);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap--narrow {
  max-width: 980px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 8, 0.92);
  border-bottom: 1px solid var(--hx-line);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav__links {
  display: flex;
  gap: 24px;
  margin-right: auto;
}
.nav__links a {
  font-size: 13.5px;
  color: var(--hx-text-2);
}
.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--hx-text);
}
.nav__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hx-text-2);
}
.icon-btn:hover {
  background: var(--hx-hover);
  color: var(--hx-text);
}
.nav__menu {
  display: none;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--hx-r-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background-color 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: #ffffff;
  color: var(--hx-ink);
}
.btn--primary:hover {
  background: #e8e8ed;
}
.btn--accent {
  background: var(--hx-accent);
  color: var(--hx-ink);
}
.btn--ghost {
  background: transparent;
  color: var(--hx-text);
  box-shadow: inset 0 0 0 1px var(--hx-line-strong);
}
.btn--ghost:hover {
  background: var(--hx-hover);
}
.btn--sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.btn--lg {
  height: 54px;
  padding: 0 30px;
  font-size: 17px;
}
.btn--get {
  /* App Store style "Obtener" pill */
  height: 30px;
  min-width: 72px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  background: var(--hx-surface-3);
  color: var(--hx-accent);
  border-radius: var(--hx-r-pill);
}
.btn--get:hover {
  background: #2e2e36;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hx-accent);
  font-size: 15px;
  font-weight: 500;
}
.more:hover {
  text-decoration: underline;
}
.more::after {
  content: '›';
  font-size: 1.15em;
  line-height: 1;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--hx-accent);
  letter-spacing: -0.005em;
}
.eyebrow--caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.display {
  font-size: 84px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.lead {
  font-size: 21px;
  line-height: 1.45;
  color: var(--hx-text-2);
  letter-spacing: -0.01em;
}
.muted {
  color: var(--hx-text-2);
}
.fine {
  font-size: 13px;
  color: var(--hx-text-3);
}
.mono {
  font-family: var(--hx-mono);
}
.kbd {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-family: var(--hx-mono);
  font-size: 11.5px;
  color: var(--hx-text-2);
  background: var(--hx-surface-3);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}
.section--tight {
  padding: 72px 0;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section__head p {
  margin-top: 10px;
}
.center {
  text-align: center;
}
.divider {
  height: 1px;
  background: var(--hx-line);
  border: 0;
  margin: 0;
}

/* ---------- Game art (placeholder until real covers exist) ---------- */
.art {
  --c: #4a4468;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      120% 80% at 85% 0%,
      color-mix(in srgb, var(--c), #ffffff 30%) 0%,
      transparent 55%
    ),
    radial-gradient(
      90% 90% at 0% 100%,
      color-mix(in srgb, var(--c), #000000 55%) 0%,
      transparent 70%
    ),
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--c), #ffffff 8%),
      color-mix(in srgb, var(--c), #000000 40%)
    );
}
.art::after {
  /* distant hills, same idea as the app's game hero */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  z-index: -1;
  background: color-mix(in srgb, var(--c), #000000 50%);
  clip-path: polygon(
    0 55%,
    14% 30%,
    27% 52%,
    42% 18%,
    58% 48%,
    72% 26%,
    86% 46%,
    100% 22%,
    100% 100%,
    0 100%
  );
  opacity: 0.8;
}
.art__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  font-size: 28%;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.icon {
  /* App Store style game icon */
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.icon--xs {
  width: 40px;
  height: 40px;
  font-size: 13px;
}
.icon--sm {
  width: 52px;
  height: 52px;
  font-size: 16px;
}
.icon--lg {
  width: 96px;
  height: 96px;
  font-size: 30px;
}
.icon--xl {
  width: 172px;
  height: 172px;
  font-size: 52px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    var(--hx-shadow-2);
}

/* ---------- Header of the home page ---------- */
.hero {
  padding: 96px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero .display {
  margin-top: 22px;
}
.hero .lead {
  max-width: 640px;
  margin: 22px auto 0;
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}
.hero .fine {
  margin-top: 16px;
}
.news-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 6px 0 6px;
  border-radius: var(--hx-r-pill);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  font-size: 13.5px;
  color: var(--hx-text-2);
}
.news-pill b {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--hx-r-pill);
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
  font-weight: 600;
  font-size: 12px;
}
.news-pill span {
  padding-right: 10px;
}
.shot {
  position: relative;
  margin: 72px auto 0;
  max-width: 1120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--hx-line-strong),
    var(--hx-shadow-3);
}
.shot img {
  width: 100%;
  height: auto;
}
.glow {
  position: relative;
}
.glow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 120px;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 147, 255, 0.35), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.hero__fade {
  position: relative;
}
.hero__fade::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(transparent, var(--hx-bg-deep));
}

/* ---------- Numbers band ---------- */
.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hx-line);
  border-bottom: 1px solid var(--hx-line);
}
.band > div {
  padding: 34px 24px;
  text-align: center;
  border-left: 1px solid var(--hx-line);
}
.band > div:first-child {
  border-left: 0;
}
.band strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.band span {
  font-size: 14px;
  color: var(--hx-text-2);
}

/* ---------- Editorial ("Hoy") cards ---------- */
.today {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}
.today-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--hx-r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  box-shadow: inset 0 0 0 1px var(--hx-line);
  transition: transform 0.25s;
}
.today-card:hover {
  transform: scale(1.012);
}
.today-card .eyebrow--caps {
  color: rgba(255, 255, 255, 0.75);
}
.today-card h3 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.today-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -26px -26px;
  padding: 16px 26px;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: none;
}
.today-card__foot .icon {
  width: 44px;
  height: 44px;
  font-size: 14px;
}
.today-card__foot div {
  flex: 1;
  min-width: 0;
}
.today-card__foot strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.today-card__foot span {
  font-size: 12.5px;
  color: var(--hx-text-2);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.step {
  padding: 30px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.step__n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
}
.step h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.step p {
  margin-top: 8px;
  color: var(--hx-text-2);
  font-size: 15px;
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.tile {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px;
  border-radius: var(--hx-r-xl);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  display: flex;
  flex-direction: column;
}
.tile--wide {
  grid-column: span 4;
}
.tile--half {
  grid-column: span 3;
}
.tile h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.tile p {
  margin-top: 10px;
  color: var(--hx-text-2);
  font-size: 15px;
  max-width: 42ch;
}
.tile__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
}
.tile__media {
  margin-top: auto;
  padding-top: 24px;
}
.tile__img {
  margin: 24px -30px -30px 30px;
  border-radius: 14px 0 0 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--hx-line-strong);
}
.tile__img img {
  width: 100%;
  height: auto;
}
.tile__img--crop {
  max-height: 330px;
}
.tile__phone {
  margin: 28px auto -30px;
  width: 290px;
  height: 300px;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
}
.tile__phone img {
  width: 100%;
  height: auto;
}
.keymap {
  display: grid;
  gap: 8px;
}
.keymap li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 14px;
  border-radius: 12px;
  background: var(--hx-surface-2);
  font-size: 14px;
}
.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-mods {
  display: grid;
  gap: 8px;
}
.mini-mod {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--hx-surface-2);
  font-size: 14px;
}
.mini-mod span:first-child {
  flex: 1;
}
.switch {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--hx-surface-3);
  position: relative;
  flex-shrink: 0;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}
.switch.is-on {
  background: var(--hx-accent);
}
.switch.is-on::after {
  left: 17px;
}
.shield {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shield li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hx-surface-2);
  font-size: 13px;
  color: var(--hx-text-2);
}
.shield li.no {
  color: var(--hx-danger);
  background: rgba(248, 113, 113, 0.1);
}
.shield li.yes {
  color: var(--hx-ok);
  background: rgba(74, 222, 128, 0.1);
}

/* ---------- Free vs Pro ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 48px auto 0;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: var(--hx-r-xl);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.plan h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: -8px;
}
.plan__price strong {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan__price span {
  font-size: 14px;
  color: var(--hx-text-2);
}
.plan .btn {
  margin-top: auto;
}
.plan .fine {
  margin-top: -6px;
}
.plan--pro {
  background: linear-gradient(180deg, rgba(139, 147, 255, 0.12), var(--hx-surface) 60%);
  box-shadow:
    inset 0 0 0 1.5px var(--hx-accent),
    0 30px 80px rgba(139, 147, 255, 0.12);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 32px;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--hx-accent);
  color: var(--hx-ink);
  font-size: 12px;
  font-weight: 700;
}
.checks {
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--hx-text-2);
}
.checks svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--hx-accent);
}
.checks b {
  color: var(--hx-text);
  font-weight: 600;
}
.support-note {
  max-width: 620px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--hx-text-3);
}
.tile h3 .badge {
  vertical-align: middle;
  margin-left: 6px;
}

/* ---------- Shelves and app-store rows ---------- */
.shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 20px) / 6);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar {
  display: none;
}
.shelf > * {
  scroll-snap-align: start;
}
.poster {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poster .art {
  aspect-ratio: 3 / 4;
  border-radius: var(--hx-r-md);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.poster .art__tag {
  font-size: 34px;
}
.poster strong {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--hx-text-2);
}
.poster__meta > span:first-child {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hx-line);
}
.row:nth-child(-n + 3) {
  border-top: 0;
}
.row__rank {
  width: 22px;
  font-size: 17px;
  font-weight: 600;
  color: var(--hx-text-2);
  text-align: center;
  flex-shrink: 0;
}
.row__text {
  flex: 1;
  min-width: 0;
}
.row__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__text span {
  display: block;
  font-size: 13px;
  color: var(--hx-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__text em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--hx-text-3);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--hx-surface-3);
  color: var(--hx-text-2);
}
.badge--ok {
  background: rgba(74, 222, 128, 0.12);
  color: var(--hx-ok);
}
.badge--warn {
  background: rgba(250, 204, 21, 0.12);
  color: var(--hx-warn);
}
.badge--accent {
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
}
.badge--pro {
  background: rgba(250, 204, 21, 0.14);
  color: var(--hx-pro);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Download ---------- */
.download {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--hx-r-xl);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.download__main {
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.download__main .h2 {
  margin-top: 26px;
}
.download__main .lead {
  margin-top: 12px;
  font-size: 18px;
}
.download__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.download__facts {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.download__facts div {
  font-size: 13px;
  color: var(--hx-text-3);
}
.download__facts strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--hx-text);
}
.download__side {
  padding: 56px;
  background: var(--hx-surface-2);
  border-left: 1px solid var(--hx-line);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hx-shadow-2);
}
.req li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--hx-line);
  font-size: 14.5px;
}
.req li:first-child {
  border-top: 0;
  padding-top: 0;
}
.req li span:first-child {
  width: 120px;
  flex-shrink: 0;
  color: var(--hx-text-3);
}
.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: #000000;
  box-shadow: inset 0 0 0 1px var(--hx-line-strong);
  color: var(--hx-text-2);
}
.store small {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  color: var(--hx-text-3);
}
.store b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--hx-text-2);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq details {
  border-top: 1px solid var(--hx-line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--hx-line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--hx-text-2);
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 48px 24px 0;
  color: var(--hx-text-2);
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 40px;
  background: var(--hx-bg);
  border-top: 1px solid var(--hx-line);
  font-size: 13px;
  color: var(--hx-text-2);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer .brand {
  color: var(--hx-text);
}
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--hx-text);
  margin-bottom: 14px;
}
.footer li + li {
  margin-top: 10px;
}
.footer a:hover {
  color: var(--hx-text);
  text-decoration: underline;
}
.footer__about p {
  margin-top: 14px;
  max-width: 34ch;
  line-height: 1.6;
}
.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-text-3);
}
.footer__base nav {
  display: flex;
  gap: 20px;
}

/* ---------- Catalog ---------- */
.page-head {
  padding: 56px 0 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  color: var(--hx-text-3);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--hx-text);
}
.search input::placeholder {
  color: var(--hx-text-3);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.chip {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--hx-surface);
  color: var(--hx-text-2);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  font-size: 14px;
  font-weight: 500;
}
.chip:hover {
  color: var(--hx-text);
}
.chip[aria-pressed='true'] {
  background: #ffffff;
  color: var(--hx-ink);
  box-shadow: none;
}
.featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature__label .eyebrow--caps {
  color: var(--hx-accent);
}
.feature__label h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-top: 2px;
}
.feature__label p {
  font-size: 15px;
  color: var(--hx-text-2);
}
.feature .art {
  aspect-ratio: 16 / 9;
  border-radius: var(--hx-r-lg);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.feature .art__tag {
  font-size: 64px;
}
.feature__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(10, 10, 14, 0.72);
}
.feature__bar div {
  flex: 1;
  min-width: 0;
}
.feature__bar strong {
  display: block;
  font-size: 14px;
}
.feature__bar span {
  font-size: 12.5px;
  color: var(--hx-text-2);
}
.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px;
}
.note {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.note__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(248, 113, 113, 0.12);
  color: var(--hx-danger);
}
.note div {
  flex: 1;
}
.note strong {
  display: block;
  font-size: 16px;
}
.note p {
  font-size: 14.5px;
  color: var(--hx-text-2);
  margin-top: 2px;
}
.vote {
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 56px;
  border-radius: 12px;
  background: var(--hx-surface-2);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  color: var(--hx-text);
  flex-shrink: 0;
}
.vote[aria-pressed='true'] {
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
  box-shadow: inset 0 0 0 1px rgba(139, 147, 255, 0.4);
}
.vote b {
  font-size: 14px;
}
.vote small {
  font-size: 10.5px;
  color: var(--hx-text-3);
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Game page (App Store product page) ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--hx-text-3);
}
.crumbs a:hover {
  color: var(--hx-text);
}
.product {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 32px 0 40px;
}
.product__info {
  flex: 1;
  min-width: 0;
}
.product__info .h1 {
  font-size: 48px;
}
.product__sub {
  margin-top: 6px;
  font-size: 19px;
  color: var(--hx-text-2);
}
.product__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.product__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.facts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--hx-line);
  border-bottom: 1px solid var(--hx-line);
}
.facts > div {
  padding: 18px 12px;
  text-align: center;
  border-left: 1px solid var(--hx-line);
}
.facts > div:first-child {
  border-left: 0;
}
.facts small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hx-text-3);
}
.facts strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hx-text-2);
}
.facts span {
  display: block;
  font-size: 12.5px;
  color: var(--hx-text-3);
}
.stars {
  color: var(--hx-text-2);
  letter-spacing: 1px;
  font-size: 13px;
}
.block {
  padding: 44px 0;
  border-bottom: 1px solid var(--hx-line);
}
.block:last-of-type {
  border-bottom: 0;
}
.block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.block__head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 2.3);
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shots figure {
  margin: 0;
}
.shots img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--hx-line-strong);
}
.shots figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--hx-text-2);
}
.prose {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--hx-text-2);
}
.prose p + p {
  margin-top: 12px;
}
.whats-new {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
}
.whats-new ul {
  display: grid;
  gap: 8px;
}
.whats-new li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--hx-text-2);
}
.whats-new li .badge {
  flex-shrink: 0;
  width: 92px;
  justify-content: center;
  white-space: nowrap;
}
.whats-new aside {
  text-align: right;
  font-size: 14px;
  color: var(--hx-text-3);
}
.whats-new aside strong {
  display: block;
  color: var(--hx-text-2);
  font-weight: 500;
}
.modgroups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.modgroup {
  padding: 22px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.modgroup h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}
.modgroup h3 span {
  font-size: 13px;
  font-weight: 500;
  color: var(--hx-text-3);
}
.modgroup ul {
  margin-top: 12px;
}
.modgroup li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--hx-line);
  font-size: 14.5px;
}
.modgroup li:first-child {
  border-top: 0;
}
.modgroup li > span:first-child {
  flex: 1;
  min-width: 0;
}
.ratings {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}
.score strong {
  display: block;
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.score span {
  display: block;
  margin-top: 6px;
  color: var(--hx-text-2);
  font-weight: 600;
}
.score small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--hx-text-3);
}
.hist {
  display: grid;
  gap: 6px;
}
.hist div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
}
.hist span {
  font-size: 11px;
  color: var(--hx-text-3);
  text-align: right;
  letter-spacing: 1px;
}
.hist i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--hx-surface-3);
  overflow: hidden;
}
.hist i::before {
  content: '';
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--hx-text-2);
  border-radius: 3px;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.review {
  padding: 22px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.review__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.review h3 {
  font-size: 15.5px;
  font-weight: 600;
}
.review time {
  font-size: 13px;
  color: var(--hx-text-3);
  white-space: nowrap;
}
.review .stars {
  color: var(--hx-warn);
  margin-top: 4px;
  display: block;
}
.review p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--hx-text-2);
  line-height: 1.55;
}
.review small {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--hx-text-3);
}
.info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.info div {
  padding: 14px 0;
  border-top: 1px solid var(--hx-line);
}
.info dt {
  font-size: 13px;
  color: var(--hx-text-3);
}
.info dd {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--hx-text);
}
.compat {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compat th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hx-text-3);
  padding: 0 0 10px;
}
.compat td {
  padding: 14px 0;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-text-2);
}
.compat td:first-child {
  color: var(--hx-text);
  font-weight: 600;
}

/* ---------- Download page ---------- */
.thanks {
  padding: 96px 0 64px;
  text-align: center;
}
.thanks .app-icon {
  margin: 0 auto;
}
.thanks .h1 {
  margin-top: 30px;
}
.thanks .lead {
  max-width: 620px;
  margin: 16px auto 0;
}
.thanks__alt {
  margin-top: 24px;
  font-size: 15px;
  color: var(--hx-text-2);
}
.progress {
  width: 360px;
  max-width: 100%;
  height: 6px;
  margin: 34px auto 0;
  border-radius: 3px;
  background: var(--hx-surface-3);
  overflow: hidden;
}
.progress i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--hx-accent);
  border-radius: 3px;
}
.install {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.install__card {
  border-radius: var(--hx-r-xl);
  overflow: hidden;
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.install__visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hx-surface-2);
  border-bottom: 1px solid var(--hx-line);
}
.install__body {
  padding: 26px;
}
.install__body h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.install__body p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--hx-text-2);
}
.win {
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #202027;
  box-shadow:
    0 0 0 1px var(--hx-line-strong),
    var(--hx-shadow-2);
  font-size: 12.5px;
  color: var(--hx-text-2);
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #2a2a32;
  font-size: 11.5px;
}
.win__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4a52;
}
.win__body {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.win__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.win__btns {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}
.win__btn {
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: #34343c;
  color: var(--hx-text);
  font-size: 12px;
}
.win__btn--primary {
  background: var(--hx-accent);
  color: var(--hx-ink);
  font-weight: 600;
}
.callout {
  display: flex;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--hx-r-lg);
  background: rgba(250, 204, 21, 0.06);
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.2);
}
.callout svg {
  flex-shrink: 0;
  color: var(--hx-warn);
  margin-top: 2px;
}
.callout strong {
  display: block;
  font-size: 16px;
}
.callout p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--hx-text-2);
}
.versions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.version {
  padding: 24px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-surface);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.version h3 {
  font-size: 17px;
  font-weight: 600;
}
.version p {
  font-size: 14px;
  color: var(--hx-text-2);
  flex: 1;
}
.version .fine {
  margin-top: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .display {
    font-size: 64px;
  }
  .today {
    grid-template-columns: 1fr 1fr;
  }
  .today-card:first-child {
    grid-column: span 2;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile,
  .tile--wide,
  .tile--half {
    grid-column: span 1;
  }
  .shelf {
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
  }
  .rows {
    grid-template-columns: repeat(2, 1fr);
  }
  .row:nth-child(3) {
    border-top: 1px solid var(--hx-line);
  }
  .grid5 {
    grid-template-columns: repeat(4, 1fr);
  }
  .download {
    grid-template-columns: 1fr;
  }
  .download__side {
    border-left: 0;
    border-top: 1px solid var(--hx-line);
  }
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts > div:nth-child(4) {
    border-left: 0;
  }
  .facts > div:nth-child(n + 4) {
    border-top: 1px solid var(--hx-line);
  }
  .modgroups,
  .reviews {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__about {
    grid-column: span 3;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }
  .nav__links {
    display: none;
  }
  .nav__menu {
    display: inline-flex;
  }
  .nav__in {
    gap: 12px;
    justify-content: space-between;
  }
  .nav__tools .btn {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .hero {
    padding-top: 56px;
  }
  .display {
    font-size: 46px;
  }
  .h1,
  .product__info .h1 {
    font-size: 36px;
  }
  .h2 {
    font-size: 30px;
  }
  .lead {
    font-size: 18px;
  }
  .hero__cta {
    flex-direction: column;
    gap: 16px;
  }
  .shot {
    margin-top: 44px;
    border-radius: 12px;
  }
  .band {
    grid-template-columns: 1fr 1fr;
  }
  .band > div:nth-child(3) {
    border-left: 0;
  }
  .band > div:nth-child(n + 3) {
    border-top: 1px solid var(--hx-line);
  }
  .band strong {
    font-size: 30px;
  }
  .today,
  .steps,
  .bento,
  .install,
  .versions,
  .featured,
  .modgroups,
  .reviews,
  .info {
    grid-template-columns: 1fr;
  }
  .today-card:first-child {
    grid-column: auto;
  }
  .today-card {
    min-height: 360px;
  }
  .shelf {
    grid-auto-columns: 42%;
  }
  .shots {
    grid-auto-columns: 86%;
  }
  .rows {
    grid-template-columns: 1fr;
  }
  .row:nth-child(2),
  .row:nth-child(3) {
    border-top: 1px solid var(--hx-line);
  }
  .grid5 {
    grid-template-columns: 1fr 1fr;
  }
  .download__main,
  .download__side {
    padding: 28px;
  }
  .page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    width: 100%;
  }
  .product {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .icon--xl {
    width: 120px;
    height: 120px;
    font-size: 36px;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts > div:nth-child(odd) {
    border-left: 0;
  }
  .facts > div:nth-child(4) {
    border-left: 1px solid var(--hx-line);
  }
  .facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--hx-line);
  }
  .whats-new,
  .ratings {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .whats-new aside {
    text-align: left;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer__about {
    grid-column: span 2;
  }
  .footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq details p {
    padding-right: 0;
  }
}
