.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(46px, 6vw, 82px);
  background: linear-gradient(180deg, rgba(6, 8, 26, 0) 0%, rgba(13, 20, 48, 0.45) 100%);
}

.page-home .hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(199, 210, 232, 0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 31% 68%, rgba(199, 210, 232, 0.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 62% 14%, rgba(243, 238, 227, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 84% 46%, rgba(199, 210, 232, 0.42), transparent 60%),
    radial-gradient(1.4px 1.4px at 48% 88%, rgba(47, 227, 210, 0.4), transparent 60%),
    radial-gradient(760px 460px at 82% 2%, rgba(124, 92, 255, 0.26), transparent 72%),
    radial-gradient(620px 420px at 6% 94%, rgba(47, 227, 210, 0.13), transparent 72%);
}

.page-home .hero__glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: min(58vh, 520px);
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero__context {
  margin: 0 0 clamp(20px, 3vw, 34px);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--rock);
}

.page-home .hero__head {
  display: grid;
  gap: 18px;
  align-items: end;
}

.page-home .hero__note {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--rock);
  writing-mode: horizontal-tb;
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 7.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-home .hero__title span {
  color: var(--silver);
  font-weight: 800;
}

.page-home .hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--silver);
}

@media (min-width: 900px) {
  .page-home .hero__head {
    grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 0.82fr);
    gap: 0 36px;
  }

  .page-home .hero__note {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-self: start;
    padding-top: 10px;
  }

  .page-home .hero__lead {
    font-size: 1.0625rem;
  }
}

.page-home .hero__search {
  position: relative;
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, rgba(22, 33, 74, 0.9) 0%, rgba(13, 20, 48, 0.84) 56%, rgba(6, 8, 26, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(199, 210, 232, 0.1), 0 28px 60px rgba(4, 3, 13, 0.5);
  overflow: hidden;
}

.page-home .hero__search::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--aurora), transparent);
  opacity: 0.75;
}

.page-home .hero__search-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.page-home .hero__search-label {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--aurora);
}

.page-home .hero__search-note {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--rock);
}

.page-home .hero__input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 15px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(6, 8, 26, 0.78);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.page-home .hero__input::placeholder {
  color: var(--rock);
}

.page-home .hero__input:focus,
.page-home .hero__input:focus-visible {
  border-color: rgba(47, 227, 210, 0.6);
  box-shadow: 0 0 0 4px rgba(47, 227, 210, 0.12);
}

.page-home .hero__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.page-home .hero__chips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .hero__chips li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(13, 20, 48, 0.62);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--silver);
}

.page-home .track {
  position: relative;
  z-index: 0;
  margin-top: clamp(30px, 4.5vw, 56px);
}

.page-home .track__arc {
  display: none;
}

.page-home .track__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .track__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-height: 116px;
  padding: 14px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 92, 255, 0.16), transparent 62%),
    linear-gradient(168deg, rgba(22, 33, 74, 0.94), rgba(13, 20, 48, 0.78));
  box-shadow: inset 0 1px 0 rgba(199, 210, 232, 0.09), inset 0 -16px 28px rgba(4, 3, 13, 0.55);
  color: var(--silver);
  text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.page-home .track__card:hover,
.page-home .track__card:focus-visible {
  border-color: rgba(47, 227, 210, 0.55);
  box-shadow: inset 0 1px 0 rgba(47, 227, 210, 0.22), 0 0 22px rgba(47, 227, 210, 0.18);
  outline: none;
}

.page-home .track__num {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--rock);
  transition: color var(--t-fast);
}

.page-home .track__card:hover .track__num,
.page-home .track__card:focus-visible .track__num {
  color: var(--aurora);
}

.page-home .track__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--cream);
}

.page-home .track__meta {
  margin-top: auto;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--rock);
}

@media (min-width: 640px) {
  .page-home .track__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-home .track__list {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 58px;
  }

  .page-home .track__arc {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 120px;
    opacity: 0.65;
  }

  .page-home .track__item:nth-child(1) { transform: translateY(54px); }
  .page-home .track__item:nth-child(2) { transform: translateY(36px); }
  .page-home .track__item:nth-child(3) { transform: translateY(18px); }
  .page-home .track__item:nth-child(4) { transform: translateY(6px); }
  .page-home .track__item:nth-child(5) { transform: translateY(0); }
  .page-home .track__item:nth-child(6) { transform: translateY(6px); }
  .page-home .track__item:nth-child(7) { transform: translateY(18px); }
  .page-home .track__item:nth-child(8) { transform: translateY(36px); }
}

.page-home .home-section {
  padding: clamp(54px, 7.5vw, 100px) 0;
}

.page-home .home-section--tight {
  padding: clamp(34px, 4.5vw, 54px) 0;
}

.page-home .home-section--dust {
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.86) 0%, rgba(6, 8, 26, 0.2) 100%);
}

.page-home .home-h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.7vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.page-home .head-split {
  display: grid;
  gap: 14px;
  align-items: end;
}

@media (min-width: 900px) {
  .page-home .head-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0 48px;
  }
}

.page-home .query-cards {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .query-cards .gp-card {
  height: 100%;
}

.page-home .home-flow {
  margin-top: clamp(30px, 4.4vw, 50px);
}

.page-home .home-flow__title {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--rock);
}

.page-home .home-flow__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-flow__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: baseline;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-flow__num {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--aurora);
}

.page-home .home-flow__label {
  font-size: 0.95rem;
  line-height: 1.74;
  color: var(--silver);
}

.page-home .home-flow__meta {
  grid-column: 2;
  justify-self: start;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--rock);
}

@media (min-width: 760px) {
  .page-home .home-flow__row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0 20px;
    padding: 17px 4px;
  }

  .page-home .home-flow__meta {
    grid-column: 3;
    justify-self: end;
  }
}

.page-home .group-head {
  display: grid;
  gap: 26px;
}

.page-home .group-head__media {
  max-width: 260px;
  justify-self: start;
}

@media (min-width: 900px) {
  .page-home .group-head {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
    gap: 0 48px;
    align-items: end;
  }

  .page-home .group-head__media {
    justify-self: end;
    max-width: 240px;
  }
}

.page-home .group-list {
  list-style: none;
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .group-list__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(170deg, rgba(22, 33, 74, 0.72), rgba(6, 8, 26, 0.68));
  color: inherit;
  text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.page-home .group-list__link:hover,
.page-home .group-list__link:focus-visible {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.18);
  outline: none;
}

.page-home .group-list__num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--purple);
}

.page-home .group-list__title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--cream);
}

.page-home .group-list__text {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--silver);
}

.page-home .group-list__cta {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--aurora);
}

@media (min-width: 640px) {
  .page-home .group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .group-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.page-home .compare {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 44px);
}

@media (min-width: 960px) {
  .page-home .compare {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 0 48px;
    align-items: start;
  }
}

.page-home .compare__media {
  margin: 0;
}

.page-home .compare__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .compare__row {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .compare__row:first-child {
  border-top: 1px solid var(--line);
}

.page-home .compare__label {
  margin: 0;
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--rock);
}

.page-home .compare__cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page-home .compare__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.74;
  color: var(--silver);
}

@media (min-width: 760px) {
  .page-home .compare__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 34px;
  }
}

.page-home .compare__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 38px);
}

.page-home .cross {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .page-home .cross {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0 56px;
    align-items: center;
  }
}

.page-home .cross__steps {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-home .cross__btn {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .cross__media {
  margin: 0;
}

.page-home .home-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.66) 0%, rgba(6, 8, 26, 0) 100%);
}

.page-home .home-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

@media (min-width: 820px) {
  .page-home .home-strip__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .strip-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .strip-stat__num {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .strip-stat__label {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--rock);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .track__item,
  .page-home .track__card,
  .page-home .group-list__link,
  .page-home .hero__input {
    transition: none;
  }

  .page-home .track__item {
    transform: none !important;
  }
}
