.home-page {
  padding: 6px var(--space-page) 42px;
  background: linear-gradient(180deg, var(--color-bg-top), var(--color-bg-bottom));
}

.home-nav {
  height: 48px;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
}

.home-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.nav-back,
.nav-link,
.category,
.projection-item__action,
.more-link {
  border: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-back {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 32px;
  line-height: 24px;
  color: var(--color-text);
}

.nav-link {
  justify-self: end;
  padding: 5px 0;
  font-size: 13px;
  color: var(--color-primary-strong);
  white-space: nowrap;
}

.q-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.q-card {
  position: relative;
  min-width: 0;
  min-height: 100px;
  overflow: hidden;
  display: block;
  padding: 17px 15px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font: inherit;
  box-shadow: 0 8px 16px rgba(73, 72, 93, 0.1);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.q-card:active,
.category:active,
.projection-item__action:active,
.more-link:active {
  transform: scale(0.97);
}

.q-card--aq { background: linear-gradient(90deg, #ff6b5b, #ff9a7a); }
.q-card--iq { background: linear-gradient(90deg, #4a90e2, #7eb6f7); }
.q-card--sq { background: linear-gradient(90deg, #8b6bff, #b39bff); }
.q-card--cq { background: linear-gradient(90deg, #2f9e6f, #6fd6a6); }
.q-card--eq { background: linear-gradient(90deg, #e85a8c, #f3a0c0); }
.q-card--rq { background: linear-gradient(90deg, #f0a040, #f6c86a); }

.q-card__watermark {
  position: absolute;
  right: 8px;
  bottom: -12px;
  font-size: 65px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -5px;
  color: rgba(255, 255, 255, 0.18);
}

.q-card__label,
.q-card__desc {
  position: relative;
  z-index: 1;
  display: block;
}

.q-card__label {
  font-size: 19px;
  font-weight: 700;
}

.q-card__desc {
  margin-top: 5px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0.88;
}

.category-row {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 20px 0;
}

.category {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 1px;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-secondary);
}

.category__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin: 0 auto 3px;
  border-radius: 12px;
  color: var(--color-primary-strong);
  background: #fff;
  box-shadow: 0 4px 10px rgba(255, 122, 69, 0.08);
}

.category__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mind-card {
  position: relative;
  overflow: hidden;
  padding: 19px 16px 14px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.mind-card__header {
  position: relative;
  z-index: 1;
}

.section-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  color: #cf8a72;
}

.mind-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.mind-card__header > div > p:not(.section-kicker) {
  max-width: 274px;
  margin: 5px 0 15px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.mind-card__spark {
  position: absolute;
  color: #f7a057;
  font-size: 17px;
  line-height: 1;
}

.mind-card__spark--one {
  top: 3px;
  right: 29px;
}

.mind-card__spark--two {
  top: 22px;
  right: 9px;
  font-size: 10px;
  color: #ffc66c;
}

.mind-mascot {
  position: absolute;
  right: -21px;
  bottom: -34px;
  z-index: 2;
  width: 78px;
  height: 78px;
  pointer-events: none;
}

.projection-list {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  border-top: 1px solid #f5e9e4;
}

.projection-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: center;
  gap: 11px;
  min-height: 94px;
  padding: 10px 0;
  text-align: left;
}

.projection-item + .projection-item {
  border-top: 1px solid #f5e9e4;
}

.projection-item__copy strong,
.projection-item__copy small,
.projection-item__copy span {
  display: block;
}

.projection-item__copy strong {
  font-size: 15px;
  font-weight: 600;
}

.projection-item__copy small {
  margin-top: 3px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.projection-item__copy span {
  margin-top: 8px;
  font-size: 10px;
  color: #aba3a0;
}

.projection-item__copy em {
  margin-right: 7px;
  color: var(--color-primary-strong);
  font-style: normal;
}

.projection-item__art {
  position: relative;
  height: 74px;
  overflow: hidden;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.projection-item__art::before,
.projection-item__art::after,
.projection-item__art i,
.projection-item__art b {
  position: absolute;
  display: block;
  content: "";
}

.projection-item__art--sunset {
  background: linear-gradient(135deg, #f6b99c 0%, #ffd58b 48%, #8dd1c5 100%);
}

.projection-item__art--sunset::before {
  width: 90px;
  height: 90px;
  top: -50px;
  left: -13px;
  border-radius: 50%;
  background: rgba(255, 242, 197, 0.87);
}

.projection-item__art--sunset::after {
  width: 72px;
  height: 33px;
  right: -18px;
  bottom: 11px;
  border-radius: 55% 45% 0 0;
  background: #e98a81;
  transform: rotate(-9deg);
}

.projection-item__art--garden {
  background: linear-gradient(135deg, #d5aff3 0%, #f7bdd8 50%, #a5dcca 100%);
}

.projection-item__art--garden::before {
  width: 54px;
  height: 54px;
  top: 6px;
  right: 18px;
  border: 5px solid rgba(255, 248, 225, 0.9);
  border-radius: 50%;
}

.projection-item__art--garden::after {
  width: 137px;
  height: 32px;
  bottom: -20px;
  left: -8px;
  border-radius: 50% 50% 0 0;
  background: #71bda3;
}

.projection-item__art--dream {
  background: linear-gradient(135deg, #82c9dd 0%, #b7b7ee 52%, #ffc6a3 100%);
}

.projection-item__art--dream::before {
  width: 56px;
  height: 56px;
  top: -21px;
  right: 9px;
  border-radius: 50%;
  background: #ffe49b;
}

.projection-item__art--dream::after {
  width: 85px;
  height: 43px;
  left: -17px;
  bottom: -14px;
  border-radius: 50%;
  background: rgba(255, 246, 238, 0.82);
}

.projection-item__art i {
  width: 13px;
  height: 13px;
  top: 19px;
  left: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.projection-item__art b {
  width: 7px;
  height: 7px;
  top: 17px;
  right: 17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.projection-item__action {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: #f47e62;
  box-shadow: 0 3px 8px rgba(193, 79, 61, 0.22);
  font: inherit;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.projection-item__action span {
  margin-left: 2px;
  font-size: 14px;
  vertical-align: -1px;
}

.more-link {
  width: 100%;
  padding: 10px 0 1px;
  color: #bd8476;
  font-size: 13px;
}

.more-link span {
  margin-left: 3px;
}
