.page-home {
  --home-line: rgba(230, 234, 242, 0.18);
  background: var(--bg-deep);
  color: var(--text-bright);
  overflow-x: hidden;
}

.page-home :focus-visible {
  outline: 3px solid var(--accent-mint);
  outline-offset: 3px;
}

.page-home .hero-data {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 40px 0 72px;
}

.page-home .hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero-backdrop-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-home .hero-backdrop-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0.72) 56%, var(--bg-deep) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .hero-window {
  position: relative;
  border: 4px solid var(--border-steel);
  background: rgba(11, 15, 25, 0.88);
  box-shadow: var(--shadow-panel);
  padding: clamp(24px, 5vw, 64px);
}

.page-home .hero-window::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 72px;
  right: 72px;
  height: 4px;
  background: var(--accent-mint);
  z-index: 2;
}

.page-home .hero-window::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 72px;
  right: 72px;
  height: 4px;
  background: var(--accent-violet);
  z-index: 2;
}

.page-home .hero-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
}

.page-home .hero-corner--tl {
  top: -4px;
  left: -4px;
  border-top: 3px solid var(--accent-mint);
  border-left: 3px solid var(--accent-mint);
}

.page-home .hero-corner--tr {
  top: -4px;
  right: -4px;
  border-top: 3px solid var(--accent-mint);
  border-right: 3px solid var(--accent-mint);
}

.page-home .hero-corner--bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 3px solid var(--accent-violet);
  border-left: 3px solid var(--accent-violet);
}

.page-home .hero-corner--br {
  bottom: -4px;
  right: -4px;
  border-bottom: 3px solid var(--accent-violet);
  border-right: 3px solid var(--accent-violet);
}

.page-home .hero-scale {
  display: none;
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 20px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 6px;
  font-family: var(--font-data);
  font-size: 10px;
  line-height: 1;
  color: var(--text-dim);
  background:
    repeating-linear-gradient(to bottom, var(--home-line) 0 1px, transparent 1px 14px) 0 0 / 100% 100% no-repeat,
    linear-gradient(to bottom, var(--accent-mint), var(--accent-mint)) 0 0 / 1px 100% no-repeat;
}

.page-home .hero-scale--left {
  left: -26px;
}

.page-home .hero-scale--right {
  right: -26px;
  align-items: flex-start;
  padding-right: 0;
  padding-left: 6px;
  background:
    repeating-linear-gradient(to bottom, var(--home-line) 0 1px, transparent 1px 14px) 0 0 / 100% 100% no-repeat,
    linear-gradient(to bottom, var(--accent-violet), var(--accent-violet)) 0 0 / 1px 100% no-repeat;
}

.page-home .hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--accent-mint);
}

.page-home .hero-kicker-divider {
  width: 40px;
  height: 1px;
  background: var(--accent-mint);
  opacity: 0.5;
}

.page-home .hero-title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.page-home .hero-lead {
  max-width: 660px;
  margin: 0 0 32px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .hero-fee-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .fee-card {
  position: relative;
  background: var(--panel-light);
  border: 3px solid var(--border-steel);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
  padding: 20px 18px 22px;
  color: var(--bg-deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.page-home .fee-card:hover,
.page-home .fee-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.page-home .fee-card--primary {
  border-color: var(--accent-mint);
}

.page-home .fee-card--combine {
  background: rgba(11, 15, 25, 0.92);
  border-color: var(--accent-amber);
  color: var(--text-bright);
}

.page-home .fee-card-tag {
  position: absolute;
  top: -12px;
  left: 14px;
}

.page-home .fee-card-league {
  margin: 4px 0 6px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
}

.page-home .fee-card-price {
  margin: 0 0 6px;
}

.page-home .fee-card-price .data-figure {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .fee-card-unit {
  margin-left: 4px;
  font-size: 14px;
  color: var(--text-dim);
}

.page-home .fee-card-note {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .fee-card--combine .fee-card-note {
  color: var(--text-dim);
}

.page-home .fee-card-detail {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--accent-amber);
  opacity: 0;
  transition: max-height 0.18s ease, margin-top 0.18s ease, opacity 0.18s ease;
}

.page-home .fee-card--combine:hover .fee-card-detail,
.page-home .fee-card--combine:focus-within .fee-card-detail {
  max-height: 60px;
  margin-top: 8px;
  opacity: 1;
}

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

.page-home .section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
}

.page-home .section-heading-main {
  flex: 1 1 260px;
}

.page-home .section-heading-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-dim);
}

.page-home .section-heading-row .page-heading {
  color: var(--text-bright);
}

.page-home .section-index {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-mint);
  border: 2px solid var(--accent-mint);
  transform: skewX(-8deg);
}

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

.page-home .rank-card {
  color: var(--bg-deep);
}

.page-home .rank-card-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-steel);
}

.page-home .rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(58, 65, 82, 0.18);
}

.page-home .rank-list li:last-child {
  border-bottom: 0;
}

.page-home .rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-mint);
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid var(--accent-mint);
}

.page-home .rank-team {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.page-home .rank-metric {
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .rank-metric .data-figure {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg-deep);
}

.page-home .ranking-summary-title {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
}

.page-home .summary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 16px;
}

.page-home .summary-item {
  padding-left: 10px;
  border-left: 3px solid var(--accent-mint);
}

.page-home .summary-item dt {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .summary-item dd {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-bright);
}

.page-home .summary-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .ranking-chart {
  position: relative;
  margin: 0;
}

.page-home .ranking-chart figcaption {
  padding: 10px 2px 0;
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .chart-hover-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: rgba(11, 15, 25, 0.84);
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-bright);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.page-home .ranking-chart:hover .chart-hover-layer,
.page-home .ranking-chart:focus .chart-hover-layer,
.page-home .ranking-chart:focus-within .chart-hover-layer {
  opacity: 1;
}

.page-home .ranking-note p {
  margin: 12px 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .ranking-note a {
  color: var(--accent-mint);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-mint);
}

.page-home .ranking-note a:hover {
  background: var(--accent-mint);
  color: var(--bg-deep);
}

.page-home .feature-stack {
  display: grid;
  gap: 24px;
}

.page-home .feature-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--bg-deep);
}

.page-home .feature-row-copy {
  flex: 1 1 auto;
}

.page-home .feature-row-title {
  margin: 12px 0 8px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
}

.page-home .feature-row-lead {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .feature-bullets {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .feature-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.page-home .feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent-mint);
  border: 2px solid var(--bg-deep);
  transform: rotate(45deg);
}

.page-home .feature-row-media {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
  align-self: flex-end;
}

.page-home .feature-row-media img,
.page-home .timeline-visual img,
.page-home .hero-backdrop-img,
.page-home .ranking-chart img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-home .feature-mini-title {
  margin: 12px 0 6px;
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 800;
}

.page-home .feature-mini p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .inline-link {
  font-weight: 700;
  color: var(--accent-mint);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-mint);
}

.page-home .inline-link:hover {
  background: var(--accent-mint);
  color: var(--bg-deep);
}

.page-home .timeline-visual {
  width: 120px;
  max-width: 120px;
  margin-left: auto;
}

.page-home .timeline-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .timeline-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-mint) 0 22%, var(--border-steel) 22% 100%);
}

.page-home .timeline-item {
  position: relative;
  padding-left: 0;
  margin-bottom: 24px;
}

.page-home .timeline-item:last-child {
  margin-bottom: 0;
}

.page-home .timeline-node {
  position: absolute;
  left: 11px;
  top: 26px;
  width: 17px;
  height: 17px;
  background: var(--accent-mint);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 0 3px var(--accent-violet);
}

.page-home .timeline-item--current .timeline-node {
  left: 10px;
  top: 24px;
  width: 19px;
  height: 19px;
  background: var(--accent-amber);
  box-shadow: 0 0 0 4px var(--accent-mint);
}

.page-home .timeline-content {
  color: var(--bg-deep);
}

.page-home .timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.page-home .timeline-version {
  font-size: 24px;
  font-weight: 800;
}

.page-home .timeline-status {
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid var(--border-steel);
}

.page-home .timeline-item--current .timeline-status {
  color: var(--accent-mint);
  border-color: var(--accent-mint);
}

.page-home .timeline-title {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
}

.page-home .timeline-content p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.page-home .team-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
}

.page-home .team-group-badge {
  display: inline-flex;
  padding: 4px 9px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--accent-violet);
}

.page-home .team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .team-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg-deep);
  background: transparent;
  border: 2px solid var(--border-steel);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.page-home .team-chip:hover,
.page-home .team-chip:focus-visible {
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  color: var(--bg-deep);
  transform: translateY(-1px);
}

.page-home .team-footnote {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}

.page-home .team-footnote a {
  font-weight: 700;
  color: var(--accent-mint);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-mint);
}

.page-home .team-footnote a:hover {
  background: var(--accent-mint);
  color: var(--bg-deep);
}

.page-home .home-contact-inner {
  display: grid;
  gap: 28px;
  padding: 32px;
  background: var(--panel-light);
  border: 4px solid var(--border-steel);
  box-shadow: var(--shadow-panel);
  color: var(--bg-deep);
}

.page-home .home-contact-inner .page-heading {
  margin-top: 12px;
  color: var(--bg-deep);
}

.page-home .home-contact-inner .page-lead {
  color: var(--text-dim);
}

.page-home .home-contact-detail {
  display: grid;
  gap: 12px;
  justify-items: start;
  font-style: normal;
}

.page-home .home-contact-detail .contact-line {
  font-weight: 700;
  font-size: 16px;
  color: var(--bg-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(11, 15, 25, 0.15);
}

.page-home .home-contact-detail .contact-line:hover {
  border-bottom-color: var(--accent-mint);
  color: var(--bg-deep);
}

.page-home .home-contact-reply {
  margin: 4px 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .ranking-board,
.page-home .feature-archive,
.page-home .version-timeline,
.page-home .team-quick,
.page-home .home-contact {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

  .page-home .feature-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .home-contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .timeline-item {
    padding-left: 56px;
  }
}

@media (min-width: 820px) {
  .page-home .hero-scale {
    display: flex;
  }

  .page-home .feature-row {
    flex-direction: row;
    align-items: center;
  }

  .page-home .feature-row-media {
    width: 280px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-fee-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .ranking-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .ranking-summary {
    grid-column: span 3;
  }

  .page-home .rank-card {
    grid-column: span 3;
  }

  .page-home .ranking-chart {
    grid-column: span 8;
  }

  .page-home .ranking-note {
    grid-column: span 4;
  }

  .page-home .team-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .timeline-list::before {
    left: 24px;
  }

  .page-home .timeline-node {
    left: 16px;
  }

  .page-home .timeline-item--current .timeline-node {
    left: 15px;
  }
}
