.page-home {
  --home-section-space: clamp(3rem, 6vw, 5rem);
  background: var(--color-primary-dark);
}

.page-home .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 5rem 1.25rem 3rem;
  color: var(--color-text-inverse);
  background: linear-gradient(120deg, rgba(6, 13, 31, 0.94), rgba(10, 31, 68, 0.8));
  overflow: hidden;
}

.page-home .hero__media,
.page-home .hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.page-home .hero__overlay {
  background:
    linear-gradient(90deg, rgba(6, 13, 31, 0.96) 0%, rgba(10, 31, 68, 0.88) 50%, rgba(10, 31, 68, 0.45) 100%),
    linear-gradient(0deg, rgba(6, 13, 31, 0.9) 0%, transparent 60%);
}

.page-home .hero__network {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: min(70vw, 520px);
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  animation: page-home-drift 12s ease-in-out infinite alternate;
}

@keyframes page-home-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-14px);
  }
}

.page-home .home-breadcrumb {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.page-home .home-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-silver);
}

.page-home .home-breadcrumb a {
  color: var(--color-silver);
  text-decoration: none;
}

.page-home .home-breadcrumb a:hover {
  color: var(--color-accent);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(192, 192, 192, 0.5);
  background: rgba(6, 13, 31, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.page-home .hero__eye-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
}

.page-home .hero__title {
  max-width: 13em;
  margin: 1.5rem 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8.5vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.page-home .hero__description {
  max-width: 42rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

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

.page-home .hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1rem;
  max-width: 38rem;
  margin: 2.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(192, 192, 192, 0.28);
}

.page-home .hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .hero__meta dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-silver);
  text-transform: uppercase;
}

.page-home .hero__meta dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
}

.page-home .cert-section {
  position: relative;
  padding: var(--home-section-space) 1.25rem;
  color: var(--color-text-inverse);
  background: linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.page-home .cert-section::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent 70%);
  pointer-events: none;
}

.page-home .cert-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-home .cert-section__copy .proto-label {
  margin: 0 0 0.75rem;
}

.page-home .cert-section__copy h2,
.page-home .feature-section__head h2,
.page-home .stats-section__head h2,
.page-home .steps-section__head h2,
.page-home .news-section__head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.page-home .cert-section__lead {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
}

.page-home .cert-section__text {
  margin: 0 0 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .cert-section__facts {
  display: grid;
  gap: 0.625rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .cert-section__facts li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .cert-section__facts li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-home .cert-section__badge img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-float);
}

.page-home .feature-section {
  padding: var(--home-section-space) 1.25rem;
  background: var(--color-background);
}

.page-home .feature-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-home .feature-section__head,
.page-home .stats-section__head,
.page-home .steps-section__head,
.page-home .news-section__head {
  margin-bottom: 2rem;
}

.page-home .feature-section__head .proto-label,
.page-home .stats-section__head .proto-label,
.page-home .steps-section__head .proto-label,
.page-home .news-section__head .proto-label {
  margin: 0 0 0.75rem;
}

.page-home .feature-section__head p,
.page-home .stats-section__head p,
.page-home .news-section__head p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.page-home .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--color-text-inverse);
  border: 1px solid rgba(192, 192, 192, 0.8);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .feature-card:hover,
.page-home .feature-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-float);
}

.page-home .feature-card__index {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.page-home .feature-card__media {
  overflow: hidden;
  margin: 0 0 1.25rem;
  background: var(--color-primary-dark);
}

.page-home .feature-card__media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.page-home .feature-card:hover .feature-card__media img,
.page-home .feature-card:focus-within .feature-card__media img {
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.05);
}

.page-home .feature-card__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(192, 192, 192, 0.8);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(10, 31, 68, 0.04));
}

.page-home .feature-card__symbol svg {
  width: 80%;
  height: auto;
}

.page-home .feature-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .feature-card__body .tag {
  margin-bottom: 0.75rem;
}

.page-home .feature-card__body h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--color-primary);
}

.page-home .feature-card__body p {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-major);
}

.page-home .feature-card__actions {
  margin-top: auto;
  opacity: 0.85;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .feature-card:hover .feature-card__actions,
.page-home .feature-card:focus-within .feature-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.page-home .stats-section {
  padding: var(--home-section-space) 1.25rem;
  background: var(--color-text-inverse);
}

.page-home .stats-section__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.page-home .stats-section__head p {
  color: var(--color-text-muted);
}

.page-home .stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-home .stat-card {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: var(--color-background);
  border: 1px solid rgba(192, 192, 192, 0.75);
  box-shadow: var(--shadow-card);
}

.page-home .stat-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--color-accent);
}

.page-home .stat-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.1;
  color: var(--color-primary);
}

.page-home .stat-card__label {
  display: block;
  margin-top: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

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

.page-home .stats-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(192, 192, 192, 0.75);
  box-shadow: var(--shadow-card);
}

.page-home .steps-section {
  position: relative;
  padding: var(--home-section-space) 1.25rem;
  color: var(--color-text-inverse);
  background: linear-gradient(150deg, var(--color-primary-dark), var(--color-primary));
}

.page-home .steps-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0% 40%, transparent 40%);
}

.page-home .steps-section__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.page-home .steps-section__head .proto-label {
  margin: 0 0 0.75rem;
}

.page-home .steps-section__lead {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-accent-light);
}

.page-home .steps-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .step-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(18, 59, 119, 0.35);
  border: 1px solid rgba(192, 192, 192, 0.25);
  scroll-margin-top: 5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .step-card:target,
.page-home .step-card:focus {
  border-color: var(--color-accent);
  box-shadow: inset 4px 0 0 var(--color-accent);
  background: rgba(18, 59, 119, 0.55);
}

.page-home .step-card__num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
}

.page-home .step-card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-text-inverse);
}

.page-home .step-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .step-card__next {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-accent-light);
  text-decoration: none;
}

.page-home .step-card__next:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.page-home .news-section {
  padding: var(--home-section-space) 1.25rem;
  background: var(--color-background);
}

.page-home .news-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-home .news-section__head p {
  color: var(--color-text-muted);
}

.page-home .news-list {
  display: grid;
  gap: 1.25rem;
}

.page-home .news-card {
  padding: 1.5rem;
  background: var(--color-text-inverse);
  border: 1px solid rgba(192, 192, 192, 0.8);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .news-card:hover,
.page-home .news-card:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-float);
}

.page-home .news-card .tag {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.page-home .news-card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-primary);
}

.page-home .news-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-major);
}

.page-home .news-card__link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-accent);
  text-decoration: none;
}

.page-home .news-card__link:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.page-home .news-section__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

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

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

@media (min-width: 1024px) {
  .page-home .hero {
    min-height: 780px;
    padding-top: 6rem;
  }

  .page-home .hero__title {
    max-width: none;
  }

  .page-home .cert-section__inner {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

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

  .page-home .feature-card--down {
    margin-top: 2.5rem;
  }

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

  .page-home .stats-section__inner {
    max-width: var(--container-max);
  }

  .page-home .stats-visual img {
    max-width: 880px;
  }

  .page-home .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-home .hero__network {
    animation: none;
  }
}
