.page-home {
  overflow-x: hidden;
  background: var(--void);
}

.page-home .home-hero {
  position: relative;
  padding: clamp(22px, 4vw, 48px) 0 clamp(72px, 10vw, 132px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 64px));
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: 0;
  width: 62%;
  height: 78%;
  background: linear-gradient(115deg, rgba(255, 77, 28, 0) 28%, rgba(255, 77, 28, 0.22) 50%, rgba(255, 77, 28, 0) 72%);
  transform: skewX(-12deg);
  pointer-events: none;
  z-index: 0;
}

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

.page-home .home-hero__crumb {
  margin-bottom: clamp(14px, 2vw, 24px);
}

.page-home .home-hero__shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 48px);
}

.page-home .home-hero__note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 246, 239, 0.7);
}

.page-home .home-index {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.page-home .home-index__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 6px 11px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 246, 239, 0.78);
  text-decoration: none;
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.page-home .home-index__item:hover,
.page-home .home-index__item:focus-visible {
  color: var(--cyan);
  padding-left: 8px;
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--flare);
}

.page-home .home-index__label {
  font-size: 15px;
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--warm);
}

.page-home .home-hero__accent {
  display: block;
  margin-top: 6px;
  background: linear-gradient(94deg, var(--flare) 0%, var(--gold) 52%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-home .home-hero__lead {
  max-width: 62ch;
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.82;
  color: rgba(255, 246, 239, 0.84);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.page-home .home-hero__figure {
  margin: clamp(26px, 3.4vw, 44px) 0 0;
}

.page-home .home-hero__figure .fx-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.04);
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  padding: 1px;
  list-style: none;
  background: var(--glass-line);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-glass);
  overflow: hidden;
}

.page-home .home-hero__stat {
  padding: 16px 18px;
  background: rgba(5, 10, 31, 0.76);
}

.page-home .home-hero__stat .fx-stat__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .home-hero__stat .fx-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 246, 239, 0.66);
}

.page-home .home-section {
  position: relative;
  padding: clamp(48px, 7vw, 104px) 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.page-home .home-section > .fx-container {
  position: relative;
  z-index: 1;
}

.page-home .home-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 48%);
  height: 100%;
  background: linear-gradient(160deg, rgba(255, 77, 28, 0.1), rgba(23, 230, 200, 0.05));
  clip-path: polygon(100% 0, 100% 100%, 0 24%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-section--night::before {
  background: linear-gradient(160deg, rgba(255, 77, 28, 0.18), rgba(23, 230, 200, 0.08));
}

.page-home .home-section--end {
  padding-bottom: clamp(64px, 9vw, 130px);
}

.page-home .home-section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 3.8vw, 52px);
}

.page-home .home-section__lead {
  max-width: 70ch;
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.82;
  color: var(--graphite);
}

.page-home .home-section--night .home-section__lead {
  color: rgba(255, 246, 239, 0.8);
}

.page-home .home-section--night .fx-chapter__title {
  color: var(--warm);
}

.page-home .home-section--night .fx-chapter__no {
  color: var(--cyan);
}

.page-home .fx-band--warm .fx-chapter__title {
  color: var(--night);
}

.page-home .home-section__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 38px);
}

.page-home .home-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 48px);
}

.page-home .home-steps__visual .fx-media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-solid);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(11, 20, 55, 0.06);
}

.page-home .home-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-step {
  position: relative;
  padding: 22px 24px 22px 78px;
  background: var(--warm);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-solid);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-step:hover {
  transform: translateX(6px);
  border-color: var(--flare);
  box-shadow: -6px 0 0 0 var(--flare);
}

.page-home .home-step__no {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--night);
  background: linear-gradient(140deg, var(--gold), var(--flare));
  border-radius: var(--radius-solid);
}

.page-home .home-step__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--night);
}

.page-home .home-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .home-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 26px);
}

.page-home .home-feed__card {
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: var(--radius-glass);
  border: 1px solid var(--glass-line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(8px);
}

.page-home .home-feed__title {
  margin: 0;
  padding-left: 14px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--warm);
  border-left: 4px solid var(--cyan);
}

.page-home .home-feed__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 246, 239, 0.8);
}

.page-home .home-feed__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-feed__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 246, 239, 0.78);
}

.page-home .home-feed__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--flare);
}

.page-home .home-follow {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.6vw, 52px);
}

.page-home .home-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-perk {
  padding: 16px 18px;
  border-radius: var(--radius-solid);
  background: var(--night);
  border: 1px solid rgba(23, 230, 200, 0.18);
}

.page-home .home-perk__num {
  display: block;
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold);
}

.page-home .home-perk__label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 246, 239, 0.76);
}

.page-home .home-follow__text {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.85;
  color: var(--graphite);
}

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

.page-home .home-follow__figure .fx-media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(11, 20, 55, 0.06);
}

.page-home .home-rank {
  display: grid;
  gap: 18px;
}

.page-home .home-rank__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .home-rank__key {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--flare);
}

.page-home .home-rank__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-rank__panels {
  margin-top: 6px;
}

.page-home .home-rank__lead {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 246, 239, 0.76);
}

.page-home .home-rank__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.page-home .home-history__figure .fx-media {
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-solid);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(11, 20, 55, 0.06);
}

.page-home .home-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-solid);
  overflow: hidden;
}

.page-home .home-timeline__item {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: var(--warm);
}

.page-home .home-timeline__no {
  font-family: var(--font-num);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--flare-deep);
}

.page-home .home-timeline__label {
  font-size: 14px;
  line-height: 1.68;
  color: var(--graphite);
}

.page-home .home-next {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-next__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--radius-glass);
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--warm);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.page-home .home-next__card:hover,
.page-home .home-next__card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(23, 230, 200, 0.08);
}

.page-home .home-next__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--flare);
}

.page-home .home-next__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.page-home .home-next__text {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 246, 239, 0.74);
}

.page-home .home-next__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.page-home .home-next__aside {
  margin: clamp(26px, 3vw, 38px) 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 246, 239, 0.72);
}

.page-home .home-next__aside a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .fx-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

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

  .page-home .home-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .home-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-rank__row {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__shell {
    grid-template-columns: minmax(188px, var(--rail)) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-hero__rail {
    position: sticky;
    top: calc(var(--header-h) + 26px);
  }

  .page-home .home-steps {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-follow {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

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

  .page-home .home-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-step,
  .page-home .home-next__card,
  .page-home .home-index__item {
    transition: none;
  }

  .page-home .home-step:hover,
  .page-home .home-next__card:hover,
  .page-home .home-next__card:focus-visible {
    transform: none;
  }
}
