.page-home {
  --home-space-side: clamp(20px, 5vw, 80px);
  position: relative;
  overflow-x: hidden;
  background: var(--color-primary);
  color: var(--color-text-main);
}

.page-home .home-container {
  width: min(100% - var(--home-space-side) * 2, var(--container-max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.page-home .home-progress-tracker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 255, 136, 0.12);
  z-index: 999;
  pointer-events: none;
}

.page-home .home-progress-tracker::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent2), var(--color-accent1));
  transform: scaleX(0);
  transform-origin: left center;
}

.page-home .home-cut-corner {
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .home-context-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 28px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-text-mute);
}

.page-home .home-context-current {
  position: relative;
  color: var(--color-accent2);
  font-weight: 700;
  padding-left: 14px;
}

.page-home .home-context-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--color-accent1);
  transform: translateY(-50%);
}

.page-home .home-context-sep {
  opacity: 0.5;
}

.page-home .home-context-crumb {
  opacity: 0.75;
}

.page-home .home-hero-panel {
  position: relative;
  padding: clamp(28px, 4vw, 56px) var(--home-space-side) clamp(48px, 7vw, 96px);
  background: var(--color-primary);
  border-bottom: 1px solid rgba(0, 255, 136, 0.12);
  overflow: hidden;
}

.page-home .home-hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 75, 110, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: skewX(-8deg);
  transform-origin: top right;
  pointer-events: none;
}

.page-home .home-hero-panel::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: 25%;
  width: 520px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(0, 255, 136, 0.07), transparent 70%);
  pointer-events: none;
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-accent2);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.page-home .hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent2);
  animation: homeStatusPulse 2.4s ease-out infinite;
}

.page-home .hero-title {
  margin: 0 0 22px;
  font-weight: 900;
  line-height: 1.08;
}

.page-home .hero-title-l1 {
  display: block;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.page-home .hero-title-l2 {
  display: block;
  font-size: clamp(34px, 6.2vw, 72px);
  font-weight: 900;
  color: var(--color-text-mute);
  line-height: 1.06;
}

.page-home .hero-title-accent {
  color: var(--color-accent1);
}

.page-home .hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-mute);
  max-width: 560px;
  margin-bottom: 28px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.page-home .hero-meta-data {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 75, 110, 0.5);
}

.page-home .hero-meta-data .meta-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent2);
  letter-spacing: 0.04em;
}

.page-home .hero-meta-data .meta-text {
  font-size: 12px;
  color: var(--color-text-mute);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-visual-frame {
  position: relative;
  background: var(--color-secondary);
  padding: 12px;
  transform: rotate(0.4deg);
  box-shadow: 14px 18px 40px rgba(0, 0, 0, 0.3);
}

.page-home .hero-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-panel-extra);
}

.page-home .hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-visual-caption {
  display: block;
  padding: 12px 2px 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-accent2);
}

.page-home .hero-float-chip {
  position: absolute;
  background: var(--color-secondary);
  border-left: 3px solid var(--color-accent1);
  padding: 8px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .hero-float-chip-a {
  top: -16px;
  right: 14px;
}

.page-home .hero-float-chip-b {
  bottom: 30px;
  left: 14px;
}

.page-home .hero-chip-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent2);
}

.page-home .hero-chip-caption {
  font-size: 12px;
  color: var(--color-text-mute);
  letter-spacing: 0.03em;
}

.page-home .hero-chip-status {
  width: 8px;
  height: 8px;
  background: var(--color-accent2);
  border-radius: 50%;
  animation: homeStatusPulse 2s ease-out infinite;
}

.page-home .hero-data-svg {
  position: absolute;
  right: -10px;
  bottom: -26px;
  width: 140px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-stream-panel {
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
  padding: clamp(48px, 7vw, 96px) var(--home-space-side);
  border-bottom: 1px solid rgba(27, 75, 110, 0.5);
}

.page-home .home-section-head {
  position: relative;
  margin-bottom: 32px;
}

.page-home .home-section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent2);
  opacity: 0.6;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.page-home .home-section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin: 10px 0 10px;
  color: var(--color-text-main);
}

.page-home .home-section-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-mute);
  margin: 0;
  max-width: 620px;
}

.page-home .home-stream-board {
  position: relative;
  background: var(--color-primary);
  border: 1px solid rgba(27, 75, 110, 0.6);
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}

.page-home .home-stream-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 88px;
  background: repeating-linear-gradient(45deg, rgba(0, 255, 136, 0.05) 0 8px, transparent 8px 16px);
  pointer-events: none;
}

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

.page-home .home-stat-card {
  background: var(--color-secondary);
  border-left: 3px solid var(--color-accent1);
  padding: 18px 14px;
  text-align: left;
}

.page-home .home-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-accent2);
}

.page-home .home-stat-card .stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-mute);
  margin-top: 8px;
  line-height: 1.4;
}

.page-home .home-stream-chart {
  position: relative;
  padding: 12px 0 4px;
}

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

.page-home .home-stream-chart path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: homeDrawLine 2.2s ease-out forwards 0.2s;
}

.page-home .home-stream-chart path:nth-of-type(2) {
  animation-delay: 0.7s;
}

.page-home .home-stream-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 12px;
  color: var(--color-text-mute);
  margin-top: 12px;
}

.page-home .legend-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.page-home .legend-line-green {
  background-color: var(--color-accent2);
}

.page-home .legend-line-orange {
  background-color: var(--color-accent1);
}

.page-home .home-features-panel {
  padding: clamp(48px, 7vw, 96px) var(--home-space-side);
  background: var(--color-primary);
  border-bottom: 1px solid rgba(27, 75, 110, 0.4);
}

.page-home .home-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--color-secondary);
  padding: 24px;
  text-decoration: none;
  color: var(--color-text-main);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-feature-card-img {
  padding: 0 0 24px;
}

.page-home .home-feature-card-media {
  overflow: hidden;
  margin-bottom: 18px;
}

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

.page-home .home-feature-card-body {
  padding: 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home .home-feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent2);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.page-home .home-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 10px;
  color: var(--color-text-main);
  line-height: 1.3;
}

.page-home .home-feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-mute);
  margin: 0 0 12px;
  flex: 1;
}

.page-home .home-feature-link {
  display: inline-block;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent1);
}

.page-home .home-feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(27, 75, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.page-home .home-feature-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.page-home .home-feature-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(27, 75, 110, 0.5);
}

.page-home .home-feature-metrics span {
  background: rgba(0, 255, 136, 0.07);
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-mute);
  border-left: 2px solid var(--color-accent2);
}

.page-home .home-v3-panel {
  padding: clamp(48px, 7vw, 96px) var(--home-space-side);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  border-bottom: 1px solid rgba(27, 75, 110, 0.4);
}

.page-home .home-v3-board {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--color-primary);
  border: 1px solid rgba(27, 75, 110, 0.5);
}

.page-home .home-v3-copy {
  padding: clamp(24px, 4vw, 48px);
}

.page-home .home-v3-copy .home-section-title {
  font-size: clamp(26px, 3.6vw, 44px);
}

.page-home .home-v3-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-mute);
  margin: 14px 0 20px;
}

.page-home .home-v3-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .home-v3-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-mute);
}

.page-home .home-v3-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--color-accent2);
}

.page-home .home-v3-visual {
  position: relative;
}

.page-home .home-v3-visual-frame {
  position: relative;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  background: var(--color-panel-extra);
}

.page-home .home-v3-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 3 / 2;
}

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

.page-home .home-v3-visual-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(10, 26, 43, 0.85);
  color: var(--color-accent2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
}

.page-home .home-news-panel {
  padding: clamp(48px, 7vw, 96px) var(--home-space-side);
  background: var(--color-primary);
  border-bottom: 1px solid rgba(27, 75, 110, 0.4);
}

.page-home .home-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-news-card {
  display: block;
  background: var(--color-secondary);
  padding: 24px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-news-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 12px;
  color: var(--color-text-main);
}

.page-home .home-news-card .article-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-mute);
  margin: 0;
}

.page-home .home-news-card .article-meta {
  font-size: 12px;
  color: var(--color-accent2);
  letter-spacing: 0.04em;
}

.page-home .home-cta-panel {
  padding: clamp(32px, 6vw, 80px) var(--home-space-side);
  background: var(--color-primary);
}

.page-home .home-cta-board {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-home .home-cta-bg-wrap {
  position: absolute;
  inset: 0;
}

.page-home .home-cta-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.45) saturate(1.2);
}

.page-home .home-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 26, 43, 0.92) 0%, rgba(10, 26, 43, 0.62) 45%, rgba(27, 75, 110, 0.32) 100%);
}

.page-home .home-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(32px, 5vw, 64px);
  max-width: 760px;
}

.page-home .home-cta-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text-main);
  margin: 14px 0 16px;
}

.page-home .home-cta-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.85);
  margin-bottom: 24px;
}

.page-home .home-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.page-home .home-cta-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-mute);
  letter-spacing: 0.03em;
}

@keyframes homeStatusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 255, 136, 0);
  }
}

@keyframes homeDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 560px) {
  .page-home .hero-float-chip-b {
    left: -18px;
  }

  .page-home .hero-data-svg {
    right: -20px;
    width: 180px;
  }
}

@media (hover: hover) {
  .page-home .home-feature-card:hover,
  .page-home .home-news-card:hover {
    background: var(--color-panel-extra);
  }

  .page-home .home-feature-card:hover {
    transform: translateY(-4px);
  }

  .page-home .home-feature-metrics {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    transition: opacity 0.2s ease, max-height 0.3s ease, margin-top 0.2s ease, padding-top 0.2s ease, border-top 0.2s ease;
  }

  .page-home .home-feature-card:hover .home-feature-metrics,
  .page-home .home-feature-card:focus .home-feature-metrics {
    max-height: 80px;
    opacity: 1;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(27, 75, 110, 0.5);
  }

  .page-home .home-news-card:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 768px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }

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

  .page-home .home-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 880px) {
  .page-home .home-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .page-home .home-v3-board {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-v3-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-v3-img-wrap {
    aspect-ratio: 3 / 2;
    min-height: 320px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-stat-card {
    padding: 24px 20px;
  }

  .page-home .home-feature-card-media img {
    height: 200px;
  }
}
