.page-home {
  --home-grid-alpha: rgba(212, 175, 55, 0.12);
  --home-gold-grad: linear-gradient(135deg, var(--color-gold), var(--color-gold-end));
}

.page-home .home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 2.5rem 1.25rem 2rem;
  color: var(--color-light);
  background:
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.18), transparent 36%),
    radial-gradient(circle at 82% 24%, rgba(15, 42, 82, 0.88), transparent 48%),
    linear-gradient(135deg, var(--color-deep-space), var(--color-aux-space));
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-grid-alpha) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-alpha) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  filter: saturate(0.65) contrast(1.1);
}

.page-home .home-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.7), rgba(212, 175, 55, 0) 70%);
  opacity: 0.5;
  filter: blur(10px);
}

.page-home .home-hero__orb--a {
  width: 220px;
  height: 220px;
  top: 10%;
  right: 8%;
}

.page-home .home-hero__orb--b {
  width: 120px;
  height: 120px;
  bottom: 18%;
  left: 6%;
}

.page-home .home-hero__orb--c {
  width: 64px;
  height: 64px;
  top: 34%;
  left: 48%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.7), transparent 70%);
}

.page-home .home-hero__stream {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 100%;
  height: 46%;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: auto;
}

.page-home .home-hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.5rem, 9vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--color-light);
}

.page-home .home-hero__lead {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: rgba(232, 237, 242, 0.82);
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-gold);
}

.page-home .home-hero__facts li::before {
  content: "● ";
  color: var(--color-vivid-orange);
  font-size: 0.55em;
  vertical-align: middle;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.page-home .home-hero__index {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 237, 242, 0.18);
}

.page-home .home-hero__index-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--color-light);
  background: rgba(15, 42, 82, 0.36);
  border: 1px solid rgba(232, 237, 242, 0.12);
  border-radius: var(--radius);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.page-home .home-hero__index-item:hover,
.page-home .home-hero__index-item:focus-visible {
  background: rgba(15, 42, 82, 0.72);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.page-home .home-hero__index-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
}

.page-home .home-hero__index-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}

.page-home .home-hero__index-item em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-muted);
}

.page-home .home-dashboard {
  background: var(--color-bg);
  color: var(--color-dark);
  padding: 4rem 0;
}

.page-home .home-section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.page-home .home-section-head h2 {
  margin: 0.7rem 0 0.6rem;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: inherit;
}

.page-home .home-section-desc {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.page-home .home-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.page-home .home-dashboard__stat {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.5rem;
  padding: 1.4rem 1.1rem 1.15rem;
  background: linear-gradient(145deg, var(--color-deep-space), var(--color-aux-space));
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-dashboard__stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--home-gold-grad);
}

.page-home .home-dashboard__label {
  width: 100%;
  color: rgba(232, 237, 242, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.page-home .home-dashboard__num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-gold);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .page-home .home-dashboard__num {
    background-image: linear-gradient(135deg, var(--color-gold), var(--color-gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.page-home .home-dashboard__unit {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-light);
  opacity: 0.75;
}

.page-home .home-dashboard__stat p {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(232, 237, 242, 0.72);
}

.page-home .home-dashboard__visual {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
}

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

.page-home .home-dashboard__chart img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-home .home-dashboard__chart figcaption,
.page-home .home-solutions__figure figcaption,
.page-home .home-news__figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

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

.page-home .home-dashboard__extras li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line-light);
}

.page-home .home-dashboard__extras span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-muted);
}

.page-home .home-dashboard__extras strong {
  text-align: right;
  font-weight: 600;
  color: var(--color-dark);
}

.page-home .home-solutions {
  background: var(--color-aux-space);
  color: var(--color-light);
  padding: 4rem 0;
}

.page-home .home-solutions .home-section-desc {
  color: rgba(232, 237, 242, 0.7);
}

.page-home .home-solutions__visual {
  margin: 2.5rem 0 1.25rem;
}

.page-home .home-solutions__figure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 0;
  padding: 1.2rem;
  background: rgba(11, 27, 58, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: calc(var(--radius) + 4px);
}

.page-home .home-solutions__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .home-solutions__figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
}

.page-home .home-solutions__figure figcaption strong {
  font-size: 1.15rem;
  color: var(--color-light);
}

.page-home .home-solutions__figure figcaption span {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(232, 237, 242, 0.74);
}

.page-home .home-solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-home .solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-light);
  padding: 1.4rem 1.2rem 1.2rem;
  background: rgba(11, 27, 58, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.page-home .solution-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  transform: scaleY(0.35);
  transform-origin: top;
  opacity: 0;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.page-home .solution-card:hover,
.page-home .solution-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  background: rgba(11, 27, 58, 0.8);
  box-shadow: 0 12px 24px rgba(11, 27, 58, 0.35);
}

.page-home .solution-card:hover::after,
.page-home .solution-card:focus-visible::after {
  transform: scaleY(1);
  opacity: 1;
}

.page-home .solution-card__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.page-home .solution-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--color-light);
}

.page-home .solution-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(232, 237, 242, 0.72);
}

.page-home .solution-card__link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-gold-end);
}

.page-home .home-news {
  background: var(--color-bg);
  color: var(--color-dark);
  padding: 4rem 0;
}

.page-home .home-news__grid {
  display: grid;
  gap: 1.5rem;
}

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

.page-home .home-news__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-home .home-news__list {
  border-top: 1px solid var(--color-line-light);
}

.page-home .home-news__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0.5rem;
  text-decoration: none;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-line-light);
  transition:
    background 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}

.page-home .home-news__item:hover,
.page-home .home-news__item:focus-visible {
  background: rgba(212, 175, 55, 0.08);
  padding-left: 1rem;
}

.page-home .home-news__tag {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.page-home .home-news__item strong {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.page-home .home-news__item p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .home-news__more {
  margin-top: 1.5rem;
}

.page-home .home-trust {
  background: var(--color-deep-space);
  color: var(--color-light);
  padding: 4rem 0;
}

.page-home .home-trust .home-section-desc {
  color: rgba(232, 237, 242, 0.7);
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
}

.page-home .home-trust__item {
  padding: 1.4rem;
  background: linear-gradient(160deg, rgba(15, 42, 82, 0.6), rgba(11, 27, 58, 0.2));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius);
}

.page-home .home-trust__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.page-home .home-trust__item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.page-home .home-trust__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(232, 237, 242, 0.74);
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-trust__links a {
  color: var(--color-gold-end);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.15rem;
  font-weight: 600;
}

.page-home .home-trust__links a:hover,
.page-home .home-trust__links a:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 4rem 4rem 2.5rem;
  }

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

  .page-home .home-hero__index {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

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

  .page-home .home-dashboard__visual {
    grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr);
    align-items: start;
  }

  .page-home .home-solutions__figure {
    grid-template-columns: 260px 1fr;
  }

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

  .page-home .home-solutions__grid .solution-card:nth-child(even) {
    margin-top: 2rem;
  }

  .page-home .home-news__grid {
    grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr);
    align-items: start;
  }

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

@media (min-width: 1180px) {
  .page-home .home-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-news__item {
    grid-template-columns: 6.5rem 1fr;
  }
}
