.page-home {
  --home-gold-bar: linear-gradient(90deg, var(--c-gold) 0%, var(--c-gold-deep) 80%, rgba(232, 163, 61, 0) 100%);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 200, 69, .16) 0, rgba(255, 200, 69, 0) 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 64px),
    linear-gradient(135deg, var(--c-deep-blue) 0%, var(--c-navy) 100%);
  color: var(--c-text);
  padding: 32px 0 56px;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-deep) 60%, transparent);
  border-radius: 999px 999px 0 0;
  opacity: .85;
}

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

.page-home .home-hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-breadcrumb {
  margin-bottom: 24px;
  opacity: .85;
}

.page-home .home-hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 14px;
}

.page-home .home-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  margin: 0 0 20px;
  color: var(--c-text);
  letter-spacing: .01em;
  max-width: 920px;
}

.page-home .home-hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text-muted);
  margin: 0;
  max-width: 660px;
}

.page-home .home-hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
}

.page-home .home-index-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 200, 69, .34);
  background: rgba(255, 255, 255, .06);
  color: var(--c-text);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.page-home .home-index-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
}

.page-home .home-index-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 200, 69, .12);
  border-color: rgba(255, 200, 69, .56);
}

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

.page-home .home-hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.page-home .home-section {
  padding: 64px 0;
}

.page-home .home-section-stats {
  background: var(--c-surface);
}

.page-home .home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.page-home .home-section-head .section-number {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: .9;
  font-weight: 700;
  color: var(--c-gold);
}

.page-home .home-section-head-text {
  flex: 1;
  min-width: 0;
}

.page-home .home-section-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 8px;
  color: var(--c-deep-blue);
}

.page-home .home-section-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.page-home .home-rule {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--home-gold-bar);
  margin-bottom: 32px;
}

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

.page-home .home-stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.page-home .home-stat-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--home-gold-bar);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.page-home .home-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-home .home-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: var(--c-deep-blue);
}

.page-home .home-stat-label {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
}

.page-home .home-stat-card p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

.page-home .home-stats-note {
  background: var(--c-white);
  border-left: 4px solid var(--c-gold);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  color: var(--c-navy);
  font-size: 14px;
  line-height: 1.85;
  margin: 24px 0 0;
  box-shadow: var(--shadow-sm);
}

.page-home .home-section-leagues {
  background: var(--c-white);
}

.page-home .home-league-grid,
.page-home .home-compare-grid,
.page-home .home-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .home-league-copy p,
.page-home .home-compare-copy p,
.page-home .home-cases-copy p {
  margin: 0 0 18px;
  color: var(--c-navy);
  line-height: 1.9;
  font-size: 15px;
}

.page-home .home-check-list,
.page-home .home-compare-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

.page-home .home-check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: var(--c-deep-blue);
  line-height: 1.7;
}

.page-home .home-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c-gold) 0%, var(--c-gold-deep) 100%);
  box-shadow: 0 2px 6px rgba(232, 163, 61, .4);
}

.page-home .home-check-list strong {
  color: var(--c-deep-blue);
}

.page-home .home-league-more {
  margin-top: 10px;
}

.page-home .home-league-more a {
  color: var(--c-red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(230, 57, 70, .3);
  transition: border-color var(--transition-fast);
}

.page-home .home-league-more a:hover {
  border-color: var(--c-red);
}

.page-home .home-league-media,
.page-home .home-cases-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-navy);
  box-shadow: var(--shadow-md);
}

.page-home .home-league-media img,
.page-home .home-cases-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-league-media figcaption,
.page-home .home-cases-media figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
  background: var(--c-surface);
}

.page-home .home-section-compare {
  background: var(--c-surface);
}

.page-home .home-compare-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.page-home .home-compare-tag {
  position: absolute;
  left: 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-deep-blue);
  border: 1px solid rgba(255, 200, 69, .45);
  color: var(--c-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  box-shadow: var(--shadow-sm);
}

.page-home .home-compare-tag.tag-top {
  top: 18px;
}

.page-home .home-compare-tag.tag-bottom {
  bottom: 18px;
}

.page-home .home-compare-divider {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: var(--home-gold-bar);
  border-radius: var(--radius-pill);
}

.page-home .home-compare-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translate(-50%, -50%);
  border: 5px solid var(--c-deep-blue);
  box-shadow: 0 0 0 2px rgba(255, 200, 69, .5);
}

.page-home .home-compare-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-deep-blue);
}

.page-home .home-compare-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}

.page-home .home-compare-actions,
.page-home .home-cases-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-section-cases {
  background: var(--c-white);
}

.page-home .home-league-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .home-league-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 600;
}

.page-home .home-league-badge::before {
  content: "▲";
  font-size: 9px;
  color: var(--c-red);
  margin-right: 7px;
}

.page-home .home-section-contact {
  background: var(--c-deep-blue);
}

.page-home .home-section-contact .home-section-head h2 {
  color: var(--c-text);
}

.page-home .home-section-contact .home-section-desc {
  color: var(--c-text-muted);
}

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

.page-home .home-contact-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.page-home .home-contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--c-gold);
  margin: 0 0 18px;
  letter-spacing: .04em;
}

.page-home .home-contact-list,
.page-home .home-contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-contact-list li {
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-contact-links a {
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: color var(--transition-fast);
}

.page-home .home-contact-links a:hover {
  color: var(--c-gold);
}

.page-home .home-contact-links a::before {
  content: "→";
  color: var(--c-gold);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .home-stat-num {
    animation: home-num-rise 520ms cubic-bezier(.2, .8, .2, 1) both;
  }

  @keyframes home-num-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (min-width: 720px) {
  .page-home .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-section {
    padding: 80px 0;
  }

  .page-home .home-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 56px 0 72px;
  }

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

  .page-home .home-hero-media img {
    aspect-ratio: 4 / 3;
  }

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

  .page-home .home-section-head {
    align-items: flex-end;
    gap: 22px;
  }

  .page-home .home-league-grid,
  .page-home .home-compare-grid,
  .page-home .home-cases-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-home .home-contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  .page-home .home-league-grid,
  .page-home .home-compare-grid,
  .page-home .home-cases-grid {
    gap: 72px;
  }

  .page-home .home-section-contact {
    padding-bottom: 96px;
  }
}
