.page-home {
  position: relative;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  overflow-x: clip;
  font-family: var(--font-body);
}

.page-home__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.page-home .breadcrumbs {
  padding: 24px 0 0;
  margin-bottom: 8px;
}

.page-home__intro {
  padding: 36px 0 44px;
}

.page-home__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.page-home__title {
  margin: 0 0 20px;
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  color: var(--text-light);
}

.page-home__lead {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-blue);
}

.page-home__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home__aside,
.page-home__main {
  min-width: 0;
}

.page-home__download {
  position: relative;
  padding: 24px 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(212, 160, 23, 0.16), transparent 36%),
    var(--bg-secondary);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.page-home__download::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.page-home__download::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 130px;
  height: 190px;
  background: repeating-linear-gradient(-55deg, rgba(212, 160, 23, 0.06) 0 2px, transparent 2px 10px);
  pointer-events: none;
}

.page-home__dl-img {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home__dl-img img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home__dl-badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-right: 28px;
}

.page-home__dl-title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-light);
}

.page-home__dl-desc {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-blue);
}

.page-home__dl-desc strong {
  color: var(--accent-gold-light);
  font-weight: 700;
}

.page-home__dl-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home__dl-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  border-bottom: 1px solid var(--divider);
}

.page-home__dl-list li:last-child {
  border-bottom: 0;
}

.page-home__dl-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.page-home__dl-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
}

.page-home__dl-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: color 0.2s ease;
}

.page-home__status-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.page-home__download:hover .page-home__dl-status {
  color: var(--accent-gold-light);
}

.page-home__download:hover .page-home__status-dot {
  background: var(--accent-gold-light);
  box-shadow: 0 0 0 3px rgba(245, 201, 81, 0.15);
}

.page-home__mini-help {
  position: relative;
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--bg-near-black);
  border: 1px solid var(--divider);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home__mini-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-light);
}

.page-home__mini-path {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent-gold-light);
}

.page-home__mini-arrow {
  margin: 0 8px;
  font-family: var(--font-numeric);
  font-weight: 700;
  color: var(--accent-red);
}

.page-home__mini-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home__mini-link:hover,
.page-home__mini-link:focus-visible {
  border-bottom-color: var(--accent-cyan);
}

.page-home__toc {
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
}

.page-home__toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.page-home__toc-num {
  font-family: var(--font-numeric);
  font-size: 13px;
  color: var(--gray-blue);
}

.page-home__toc-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-home__toc-list li {
  margin-bottom: 6px;
}

.page-home__toc-list li:last-child {
  margin-bottom: 0;
}

.page-home__toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home__toc-list a span {
  font-family: var(--font-numeric);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
}

.page-home__toc-list a:hover,
.page-home__toc-list a:focus-visible {
  border-color: var(--accent-gold);
  background: rgba(212, 160, 23, 0.1);
  transform: translateX(4px);
}

.page-home__section {
  position: relative;
  margin-bottom: 48px;
}

.page-home__section-head {
  margin-bottom: 14px;
}

.page-home__section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-light);
}

.page-home__section-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-blue);
}

.page-home__section-lead strong,
.page-home__sync-note strong {
  color: var(--text-light);
  font-weight: 700;
}

.page-home__fix-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: fix-step;
}

.page-home__fix-steps li {
  counter-increment: fix-step;
  position: relative;
  padding: 14px 16px 14px 58px;
  margin-bottom: 12px;
  background: var(--bg-near-black);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 14px 14px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-home__fix-steps li::before {
  content: counter(fix-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-numeric);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.page-home__fix-steps a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home__fix-steps a:hover {
  border-bottom-color: var(--accent-cyan);
}

.page-home__fix-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
  background: rgba(212, 160, 23, 0.08);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  color: var(--accent-gold-light);
}

.page-home__fix-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home__fix-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  transform: rotate(45deg);
}

.page-home__lineup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home__lineup-text {
  min-width: 0;
}

.page-home__lineup-img img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin: 4px 0 20px;
}

.page-home__number {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.page-home__number .data-number {
  color: var(--accent-gold);
  line-height: 1;
}

.page-home__number .data-number__unit {
  font-size: 13px;
  color: var(--gray-blue);
}

.page-home__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0 22px;
  padding: 16px 18px;
  background: var(--bg-near-black);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
}

.page-home__flow span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-light);
}

.page-home__flow i {
  font-style: normal;
  font-family: var(--font-numeric);
  font-weight: 700;
  color: var(--accent-gold);
}

.page-home__two-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.16), rgba(45, 212, 191, 0.08));
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 14px 14px 0;
}

.page-home__two-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-home__two-step a {
  flex: 0 0 auto;
}

.page-home__sync {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home__sync-text {
  min-width: 0;
}

.page-home__sync-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-home__sync-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px dashed var(--divider);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-home__sync-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.page-home__sync-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-blue);
}

.page-home__sync-img img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home__direct {
  display: grid;
  gap: 20px;
}

.page-home__direct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home__dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 0 16px 0 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home__dir-card:hover,
.page-home__dir-card:focus-visible {
  background: var(--bg-near-black);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.page-home__dir-num {
  font-family: var(--font-numeric);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
}

.page-home__dir-card strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-light);
}

.page-home__dir-card em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-blue);
}

.page-home__dir-side {
  align-self: start;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
}

.page-home__dir-side img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-home__dir-side p {
  margin: 12px 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-blue);
}

@media (min-width: 480px) {
  .page-home__direct-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .page-home__lineup {
    flex-direction: row;
    align-items: center;
  }

  .page-home__lineup-text {
    flex: 1 1 55%;
  }

  .page-home__lineup-img {
    flex: 1 1 45%;
  }

  .page-home__sync {
    flex-direction: row;
    align-items: center;
  }

  .page-home__sync-text {
    flex: 1 1 56%;
  }

  .page-home__sync-img {
    flex: 1 1 44%;
  }

  .page-home__direct {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 768px) {
  .page-home__direct-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .page-home__layout {
    grid-template-columns: 5fr 7fr;
    gap: 42px;
    align-items: start;
  }

  .page-home__sticky {
    position: sticky;
    top: calc(var(--header-offset) + 24px);
  }
}
