.page-home {
  --home-line: rgba(0, 180, 255, 0.16);
  --home-line-warm: rgba(255, 106, 0, 0.45);
  position: relative;
  min-height: 100vh;
  background-color: var(--c-bg);
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--c-white);
}

.page-home .home-hero {
  position: relative;
  padding: 100px 0 64px;
  overflow: clip;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -90px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--home-line-warm), transparent);
  opacity: 0.65;
  pointer-events: none;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .breadcrumb {
  margin-bottom: 4px;
}

.page-home .home-hero__title {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 66px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.page-home .home-hero__lead {
  max-width: 56ch;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-gray);
  letter-spacing: 0.02em;
}

.page-home .home-hero__points li {
  position: relative;
  padding-left: 18px;
}

.page-home .home-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-blue);
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-screen {
  position: relative;
  background: rgba(30, 36, 43, 0.94);
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-screen__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-screen__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}

.page-home .home-screen__dot:nth-of-type(2) {
  background: var(--c-yellow);
}

.page-home .home-screen__dot:nth-of-type(3) {
  background: var(--c-green);
}

.page-home .home-screen__label {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-gray);
  text-transform: uppercase;
}

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

.page-home .home-hero__badge {
  position: absolute;
  top: -16px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 12px 18px;
  color: var(--c-bg);
  background: var(--c-orange);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .home-hero__badge strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.page-home .home-hero__badge span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .home-entry {
  position: relative;
  padding: 68px 0 56px;
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}

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

@media (min-width: 992px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.page-home .home-entry__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.page-home .home-entry__card:hover,
.page-home .home-entry__card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 255, 0.42);
  box-shadow: var(--shadow-md);
}

.page-home .home-entry__card:focus-visible {
  outline: none;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(0, 180, 255, 0.35);
}

.page-home .home-entry__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--c-blue);
}

.page-home .home-entry__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-white);
}

.page-home .home-entry__card p {
  flex-grow: 1;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-gray);
}

.page-home .home-entry__mobile {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 44px;
  background: var(--c-panel);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-home .home-entry__mobile-media img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-home .home-entry__mobile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px 32px;
}

.page-home .home-entry__mobile-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
}

.page-home .home-entry__mobile-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

@media (min-width: 768px) {
  .page-home .home-entry__mobile {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .page-home .home-entry__mobile-media img {
    height: 100%;
    min-height: 320px;
  }

  .page-home .home-entry__mobile-info {
    justify-content: center;
    padding: 40px 36px;
  }
}

.page-home .home-timeline {
  position: relative;
  padding: 64px 0;
  overflow: clip;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140px;
  width: 400px;
  height: 100%;
  transform: skewX(-12deg);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.page-home .home-timeline__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-home .home-timeline__inner {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 64px;
  }
}

.page-home .home-timeline__list {
  position: relative;
  margin: 36px 0 0 16px;
  padding: 0;
  list-style: none;
  border-left: 2px dashed var(--home-line-warm);
}

.page-home .home-timeline__item {
  position: relative;
  padding: 0 0 30px 36px;
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__dot {
  position: absolute;
  top: 4px;
  left: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.16);
}

.page-home .home-timeline__card {
  padding: 20px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-timeline__card:hover {
  background: rgba(30, 36, 43, 0.9);
  border-color: rgba(0, 180, 255, 0.35);
}

.page-home .home-timeline__card .card__meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-blue);
}

.page-home .home-timeline__card h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
}

.page-home .home-timeline__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-gray);
}

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

.page-home .home-timeline__expert h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
}

.page-home .home-timeline__expert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .home-timeline__expert img {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px 0;
  border: 1px solid var(--home-line);
}

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

.page-home .home-stats {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
}

.page-home .home-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-stats__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

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

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

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

@media (min-width: 992px) {
  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.page-home .home-stats__cell {
  padding: 26px 22px;
  background: rgba(20, 24, 29, 0.86);
  border: 1px solid var(--home-line);
  backdrop-filter: blur(3px);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.page-home .home-stats__cell:hover {
  transform: translateY(-4px);
  background: rgba(30, 36, 43, 0.92);
  border-color: rgba(0, 180, 255, 0.5);
}

.page-home .home-stats__cell .stat__num {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--c-blue);
}

.page-home .home-stats__cell .stat__label {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--c-gray);
}

.page-home .home-stats__detail {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--home-line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-gray);
  transition: color 0.2s ease;
}

.page-home .home-stats__cell:hover .home-stats__detail {
  color: var(--c-white);
}

.page-home .home-stats__chart {
  margin-top: 36px;
  padding: 18px 16px 12px;
  background: rgba(20, 24, 29, 0.86);
  border: 1px solid var(--home-line);
}

.page-home .home-stats__chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-stats__note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.page-home .home-stats__note p {
  flex: 1 1 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 128px 0 76px;
  }
}
