.page-home {
  --home-hero-bg: #1a2a6c;
  --home-panel-glass: rgba(26, 42, 108, 0.55);
  --home-card-glass: rgba(255, 255, 255, 0.08);
  --home-line: rgba(255, 255, 255, 0.14);
  --home-glass: rgba(26, 42, 108, 0.55);
}

.page-home section[id] {
  scroll-margin-top: 80px;
}

.page-home .hero-frame {
  position: relative;
  background: var(--home-hero-bg);
  color: #fff;
  padding: 24px 0 56px;
  overflow: hidden;
  min-height: 560px;
}

.page-home .hero-frame .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .hero-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
}

.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

.page-home .hero-index i {
  font-style: normal;
  color: var(--color-accent);
}

.page-home .hero-layout {
  display: grid;
  gap: 40px;
}

.page-home .hero-copy {
  background: var(--home-panel-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.page-home .hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}

.page-home h1 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
}

.page-home h1 span {
  display: block;
  font-size: 0.6em;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.page-home .hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.92;
  margin: 0 0 28px;
  max-width: 42em;
}

.page-home .hero-lead strong {
  color: var(--color-accent);
  font-weight: 700;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--home-line);
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.page-home .stat-plus {
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 3px;
}

.page-home .stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

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

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  max-width: 100%;
}

.page-home .hero-visual figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

.page-home .hero-dots {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.page-home .data-dot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(26, 42, 108, 0.82);
  border: 1px solid rgba(255, 111, 0, 0.7);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  pointer-events: auto;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.page-home .data-dot .dot-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.22);
  transition: background var(--transition);
}

.page-home .data-dot:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
}

.page-home .data-dot:hover .dot-ring {
  background: #fff;
}

.page-home .data-wall {
  background: var(--color-bg);
  padding: 72px 0 0;
  position: relative;
}

.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
}

.page-home .home-section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  color: var(--color-primary);
}

.page-home .home-section-desc {
  max-width: 54em;
  margin: 0;
  line-height: 1.7;
  color: #555;
}

.page-home .wall-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-card-bg);
}

.page-home .wall-bar {
  flex: 1;
  height: var(--h, 50%);
  min-width: 4px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, var(--color-primary), var(--color-accent));
  opacity: 0.75;
}

.page-home .data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-bg);
}

.page-home .data-cell {
  background: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .data-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.page-home .data-unit {
  margin-left: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
}

.page-home .data-label {
  margin-top: 10px;
  font-size: 13px;
  color: #444;
}

.page-home .data-wave {
  margin-top: 56px;
  width: 100%;
  overflow: hidden;
}

.page-home .data-wave img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.page-home .focus-reports {
  background: #fff;
  padding: 72px 0;
}

.page-home .reports-layout {
  display: grid;
  gap: 40px;
}

.page-home .reports-pool {
  min-width: 0;
}

.page-home .report-item {
  border-bottom: 1px solid var(--color-card-bg);
}

.page-home .report-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "sport status"
    "score arrow";
  gap: 4px 12px;
  padding: 18px 6px;
  cursor: pointer;
  align-items: center;
}

.page-home .report-head:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.page-home .report-sport {
  grid-area: sport;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.page-home .report-status {
  grid-area: status;
  font-size: 12px;
  color: #777;
  text-align: right;
  white-space: nowrap;
}

.page-home .report-score {
  grid-area: score;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.page-home .report-arrow {
  grid-area: arrow;
  justify-self: end;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.page-home .report-item[data-open] .report-arrow {
  transform: rotate(45deg);
}

.page-home .report-panel {
  display: block;
  padding: 0 6px 18px;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-home .report-panel p {
  margin: 0 0 14px;
}

.page-home .report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.page-home .reports-visual {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.page-home .reports-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-width: 100%;
}

.page-home .reports-visual figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

.page-home .expert-column {
  position: relative;
  background: var(--color-primary);
  padding: 72px 0;
  color: #fff;
}

.page-home .expert-column::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: 40px 40px;
  pointer-events: none;
}

.page-home .expert-layout {
  position: relative;
  display: grid;
  gap: 48px;
}

.page-home .expert-visual {
  margin: 0;
  position: relative;
}

.page-home .expert-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.page-home .expert-visual figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .expert-head .home-section-title {
  color: #fff;
}

.page-home .expert-head .home-section-desc {
  color: rgba(255, 255, 255, 0.74);
}

.page-home .expert-list {
  display: grid;
  gap: 14px;
}

.page-home .expert-item {
  background: var(--home-glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.page-home .expert-no {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.page-home .expert-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 1.12rem;
  color: #fff;
}

.page-home .expert-item p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .expert-item a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.page-home .update-board {
  background: var(--color-bg);
  padding: 72px 0;
}

.page-home .update-list {
  border-top: 1px solid var(--color-card-bg);
}

.page-home .update-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 4px;
  border-bottom: 1px solid var(--color-card-bg);
}

.page-home .update-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--color-accent);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--color-accent);
}

.page-home .tag-fixed {
  border-color: #d9534f;
  color: #d9534f;
}

.page-home .tag-update {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.page-home .tag-optimize {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-home .tag-new {
  border-color: #5cb85c;
  color: #2d7a2d;
}

.page-home .tag-check {
  border-color: var(--color-link);
  color: var(--color-link);
}

.page-home .update-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--color-text);
}

.page-home .update-content p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.page-home .update-meta {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
}

.page-home .update-refresh {
  display: inline-block;
  position: relative;
  padding: 2px 8px;
  background: var(--color-card-bg);
  border-radius: 4px;
  cursor: default;
  transition: background var(--transition);
}

.page-home .refresh-note {
  display: inline-block;
  margin-left: 6px;
  color: #666;
  font-size: 12px;
  transition: background var(--transition), color var(--transition);
}

.page-home .update-refresh:hover,
.page-home .update-refresh:focus {
  background: var(--color-accent);
  color: #fff;
}

.page-home .update-cta {
  margin-top: 32px;
  text-align: center;
}

.page-home .access-guide {
  position: relative;
  background: var(--color-primary);
  padding: 72px 0;
  color: #fff;
}

.page-home .access-guide::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: 40px 40px;
  pointer-events: none;
}

.page-home .guide-head .home-section-title {
  color: #fff;
}

.page-home .guide-head .home-section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.page-home .guide-grid {
  position: relative;
  display: grid;
  gap: 24px;
}

.page-home .guide-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: var(--home-card-glass);
}

.page-home .guide-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.page-home .guide-card h3 {
  margin: 8px 0 12px;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  line-height: 1.4;
  color: #fff;
}

.page-home .guide-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .guide-step {
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 0.93rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.page-home .guide-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.page-home .guide-note {
  position: relative;
  margin-top: 32px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-home .guide-note a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

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

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

  .page-home .hero-copy {
    padding: 36px 32px;
  }

  .page-home .update-item {
    grid-template-columns: 72px 1fr;
  }
}

@media (min-width: 992px) {
  .page-home .hero-frame {
    padding: 36px 0 72px;
  }

  .page-home .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .hero-dots {
    display: block;
  }

  .page-home .reports-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }

  .page-home .reports-visual img {
    aspect-ratio: auto;
  }

  .page-home .expert-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
  }

  .page-home .guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-home .data-wave {
    margin-top: 72px;
  }
}

.page-home {
  --h: 1rem;
}
