.page-home {
  --home-font-data: var(--font-mono);
  --home-font-display: var(--font-sans);
  --home-grid-line: rgba(255, 255, 255, 0.07);
  background: var(--moon-white);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home .home-container {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
}

.page-home .home-container--narrow {
  width: min(100% - 32px, 960px);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--home-font-display);
}

.page-home .section-tag {
  letter-spacing: 0.12em;
}

.page-home .home-cover .section-tag,
.page-home .home-update .section-tag,
.page-home .home-blueprint .section-tag {
  color: var(--green);
  border-color: rgba(57, 255, 20, 0.55);
}

.page-home .home-cover {
  position: relative;
  background: var(--blue-deep);
  color: var(--white);
  padding-block: 36px 0;
  overflow: hidden;
}

.page-home .home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-home .home-cover::after {
  content: "";
  position: absolute;
  top: 16%;
  right: -16%;
  width: 46%;
  min-width: 280px;
  height: 26%;
  min-height: 160px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.42), rgba(255, 107, 53, 0.04));
  border: 1px solid rgba(255, 107, 53, 0.6);
  transform: rotate(-16deg);
  border-radius: 6px;
  pointer-events: none;
}

.page-home .cover-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--home-font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.page-home .cover-meta-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: home-live-pulse 2s infinite;
}

@keyframes home-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

.page-home .cover-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  padding-block: 40px 32px;
}

.page-home .cover-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .cover-kicker {
  font-family: var(--home-font-data);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-home .cover-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

.page-home .home-cover h1 {
  font-size: 34px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 22px;
}

.page-home .cover-title-bar {
  color: var(--orange);
  font-weight: 700;
  font-family: var(--home-font-data);
}

.page-home .cover-lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32em;
  margin: 0 0 30px;
}

.page-home .cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.page-home .cover-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.page-home .cover-figure {
  margin: 0;
  position: relative;
  z-index: 2;
}

.page-home .cover-figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  filter: saturate(1.1) contrast(1.02);
}

.page-home .cover-index-head {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.page-home .cover-index-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  margin: 0;
}

.page-home .cover-index {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 107, 53, 0.7);
  margin-top: 20px;
}

.page-home .cover-index-item[hidden] {
  display: none;
}

.page-home .cover-index-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(30, 58, 110, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
  transition: background 0.3s, transform 0.3s;
  position: relative;
}

.page-home .cover-index-item:hover {
  background: rgba(30, 58, 110, 0.9);
  transform: translateY(-2px);
}

.page-home .cover-index-num {
  font-family: var(--home-font-data);
  font-size: 15px;
  color: var(--orange);
  font-weight: 600;
}

.page-home .cover-index-name {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.page-home .cover-index-arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  transition: color 0.3s;
}

.page-home .cover-index-item:hover .cover-index-arrow {
  color: var(--orange);
}

.page-home .home-stats {
  background: var(--moon-white);
  color: var(--ink);
  padding-block: 72px 48px;
}

.page-home .stats-head {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.page-home .stats-heading h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  margin: 14px 0 0;
  color: var(--ink);
}

.page-home .stats-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
  max-width: 46em;
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .stat-card {
  background: var(--white);
  border: 1px solid var(--line-gray);
  border-top: 3px solid var(--orange);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(11, 27, 58, 0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}

.page-home .stat-card:hover {
  box-shadow: 0 8px 28px rgba(11, 27, 58, 0.1);
  transform: translateY(-3px);
}

.page-home .stat-label {
  font-family: var(--home-font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--blue-secondary);
}

.page-home .stat-num {
  font-family: var(--home-font-data);
  font-size: 34px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.1;
}

.page-home .stat-unit {
  color: var(--orange);
  font-size: 24px;
}

.page-home .stat-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.page-home .stats-figure {
  margin: 0;
}

.page-home .stats-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line-gray);
  display: block;
}

.page-home .home-update {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: 72px 56px;
  position: relative;
  overflow: hidden;
}

.page-home .home-update::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

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

.page-home .update-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .update-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 14px 0 0;
  color: var(--white);
}

.page-home .update-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--green);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}

.page-home .update-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .update-note strong {
  color: var(--green);
  font-weight: 700;
}

.page-home .update-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--green);
  border-radius: 50%;
}

.page-home .update-cards {
  display: grid;
  gap: 14px;
}

.page-home .update-card {
  background: rgba(30, 58, 110, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.page-home .update-card:hover {
  background: rgba(30, 58, 110, 0.85);
}

.page-home .update-index {
  font-family: var(--home-font-data);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.page-home .update-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 6px 0 8px;
}

.page-home .update-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.page-home .home-index {
  background: var(--moon-white);
  color: var(--ink);
  padding-block: 72px 48px;
}

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

.page-home .index-copy h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin: 14px 0 20px;
  color: var(--ink);
}

.page-home .index-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  max-width: 36em;
  margin: 0 0 20px;
}

.page-home .index-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
}

.page-home .index-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line-gray);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--home-font-data);
  color: var(--ink);
  background: var(--white);
}

.page-home .index-search input::placeholder {
  color: #9ca3af;
}

.page-home .index-tip {
  font-size: 13px;
  color: #6b7280;
  margin: 10px 0 0;
}

.page-home .index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .index-actions .btn-ghost {
  border-color: var(--blue-secondary);
  color: var(--blue-deep);
  background: transparent;
}

.page-home .index-actions .btn-accent {
  background: var(--green);
  color: var(--blue-deep);
}

.page-home .index-figure {
  margin: 0;
}

.page-home .index-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-gray);
  display: block;
}

.page-home .home-blueprint {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: 56px 72px;
  position: relative;
  overflow: hidden;
}

.page-home .home-blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-home .blueprint-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .blueprint-copy h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 14px 0 20px;
  color: var(--white);
}

.page-home .blueprint-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px;
  max-width: 34em;
}

.page-home .blueprint-figure {
  margin: 0;
}

.page-home .blueprint-figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

@media (min-width: 768px) {
  .page-home .home-container {
    width: min(100% - 48px, 1240px);
  }

  .page-home .home-container--narrow {
    width: min(100% - 48px, 960px);
  }

  .page-home .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

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

  .page-home .index-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .page-home .blueprint-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-cover h1 {
    font-size: 52px;
  }

  .page-home .cover-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .page-home .cover-figure img {
    max-height: 560px;
  }

  .page-home .cover-index {
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
  }

  .page-home .cover-index-item {
    border-bottom: none;
  }

  .page-home .cover-index-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }

  .page-home .stats-head {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
  }

  .page-home .update-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    margin-bottom: 36px;
  }

  .page-home .stat-num {
    font-size: 42px;
  }

  .page-home .stat-card {
    padding: 28px 22px;
  }
}
