.page-home {
  font-family: var(--body-font);
}

.page-home .hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 168, 55, 0.28), transparent 40%),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 58%, var(--green-bright) 100%);
  color: var(--white);
  padding: 5.5rem 0 3rem;
}

.page-home .hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 45%;
  height: 110%;
  background: linear-gradient(135deg, transparent 30%, rgba(212, 168, 55, 0.16) 62%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

.page-home .hero-copy {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  border: 1px solid rgba(212, 168, 55, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(212, 168, 55, 0.12);
}

.page-home .hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.page-home .hero-copy h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 12em;
}

.page-home .hero-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  max-width: 42em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.page-home .hero-actions .btn-outline,
.page-home .download-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.page-home .hero-chapter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.35rem;
}

.page-home .hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(6, 31, 24, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .hero-live .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--gold-light);
}

.page-home .hero-chapter-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-home .chapter-list {
  display: grid;
  gap: 0.7rem;
}

.page-home .chapter-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  text-decoration: none;
  padding: 0.85rem 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.page-home .chapter-item:hover,
.page-home .chapter-item:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 168, 55, 0.65);
  transform: translateY(-2px);
}

.page-home .chapter-index {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1.6;
}

.page-home .chapter-item-body {
  display: grid;
  gap: 0.2rem;
}

.page-home .chapter-title {
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
}

.page-home .chapter-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}

.page-home .realtime-section,
.page-home .feature-section,
.page-home .download-section {
  scroll-margin-top: 6rem;
}

.page-home .realtime-section {
  background: var(--gray-light);
}

.page-home .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.page-home .section-heading-index {
  order: 1;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.page-home .section-heading-title {
  order: 2;
  flex: 1 1 auto;
  min-width: 11em;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .section-heading-note {
  order: 3;
  flex: 0 0 100%;
  margin: 0;
  color: var(--text-weak);
  font-size: 0.9rem;
}

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

.page-home .realtime-visual,
.page-home .feature-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.page-home .realtime-visual img,
.page-home .feature-visual img,
.page-home .download-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .realtime-content {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .realtime-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: var(--shadow-sm);
}

.page-home .realtime-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-home .realtime-card-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-weak);
  text-transform: uppercase;
}

.page-home .realtime-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .realtime-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--gray-mid);
}

.page-home .realtime-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .realtime-item-label {
  color: var(--text-weak);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-home .realtime-item-value {
  font-weight: 800;
  text-align: right;
  line-height: 1.5;
}

.page-home .realtime-note {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-home .realtime-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}

.page-home .realtime-more:hover,
.page-home .realtime-more:focus-visible {
  color: var(--gold);
}

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

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

.page-home .feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
}

.page-home .feature-item-mark {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 0.32rem 0.5rem;
  text-transform: uppercase;
  line-height: 1;
}

.page-home .feature-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.page-home .feature-item p {
  margin: 0;
  color: var(--text-weak);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-home .feature-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.8rem;
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  color: var(--white);
}

.page-home .stat-cell {
  display: grid;
  gap: 0.2rem;
}

.page-home .stat-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.page-home .stat-num {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  color: var(--gold-light);
  line-height: 1.2;
}

.page-home .feature-brand-link {
  grid-column: 1 / -1;
  justify-self: stretch;
  text-align: center;
}

.page-home .feature-stats .btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
}

.page-home .feature-stats .btn-outline:hover,
.page-home .feature-stats .btn-outline:focus-visible {
  background: rgba(212, 168, 55, 0.12);
  color: var(--white);
}

.page-home .download-section {
  background:
    linear-gradient(120deg, var(--green-dark) 0%, var(--green-deep) 60%, var(--green-bright) 100%);
  color: var(--white);
}

.page-home .download-layout {
  display: grid;
  gap: 1.75rem;
}

.page-home .download-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(6, 31, 24, 0.5);
  aspect-ratio: 2 / 1;
}

.page-home .download-copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.page-home .download-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .download-kicker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 55, 0.55);
}

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

.page-home .download-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 16em;
}

.page-home .download-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 44em;
}

.page-home .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.page-home .download-meta {
  list-style: none;
  margin: 0;
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  width: 100%;
  box-sizing: border-box;
}

.page-home .download-meta li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.page-home .download-meta li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.page-home .download-guide {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .download-guide a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 55, 0.5);
}

@media (min-width: 768px) {
  .page-home .hero-section {
    padding: 7.5rem 0 4rem;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 3.5rem;
    align-items: center;
  }

  .page-home .section-heading-title {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
  }

  .page-home .section-heading-note {
    order: 2;
    flex: 0 1 auto;
    width: auto;
    margin-left: auto;
  }

  .page-home .section-heading-index {
    order: 3;
    margin-left: 0.5rem;
  }

  .page-home .realtime-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 2rem;
  }

  .page-home .realtime-visual {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-home .feature-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .page-home .feature-visual {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-home .feature-stats {
    grid-column: 1 / -1;
  }

  .page-home .download-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
  }

  .page-home .download-visual {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-home .download-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-section {
    padding: 8.5rem 0 5rem;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 4.5rem;
  }

  .page-home .hero-lead {
    font-size: 1.06rem;
  }

  .page-home .feature-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .page-home .feature-stats {
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    align-items: center;
  }

  .page-home .feature-brand-link {
    grid-column: auto;
  }

  .page-home .download-layout {
    gap: 3.5rem;
  }
}
