.page-home {
  --hero-clip: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  --home-events-bg: #ffffff;
  --home-services-bg: #003B5C;
  --home-services-bg-light: #1D6F8F;
  --home-membership-bg: #F5F7FA;
  --home-milestone-bg: #002A44;
  --home-ios-bg: #001F33;
  --home-index-bg: #F5F7FA;
  --home-card-radius: 16px;
}

.page-home .breadcrumb {
  padding-top: 24px;
  padding-bottom: 8px;
  font-size: 14px;
  color: var(--leyu-text-secondary);
}

.page-home .home-hero {
  position: relative;
  color: #fff;
  clip-path: var(--hero-clip);
  background: var(--leyu-navy);
  padding-bottom: 80px;
}

.page-home .home-hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-home .home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-home .home-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 59, 92, 0.92) 0%, rgba(0, 42, 68, 0.78) 45%, rgba(29, 111, 143, 0.55) 100%);
}

.page-home .home-hero__slash {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: rgba(255, 122, 0, 0.18);
  clip-path: polygon(22% 0, 35% 0, 12% 100%, 0% 100%);
  transform: skewX(-8deg);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.page-home .home-hero__copy {
  padding: 28px;
  border-radius: var(--leyu-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.page-home .home-hero__kicker {
  font-family: var(--leyu-mono);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--leyu-orange-light);
  margin-bottom: 12px;
}

.page-home .home-hero__title {
  font-family: var(--leyu-title);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  max-width: 8em;
}

.page-home .home-hero__lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

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

.page-home .home-hero__action-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.page-home .home-hero__action-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-home .home-hero__panel {
  display: grid;
  gap: 20px;
}

.page-home .home-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  border-radius: var(--leyu-radius);
  background: rgba(0, 42, 68, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-home .home-mini-stats .stat {
  padding: 12px;
  border-radius: var(--leyu-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.page-home .home-mini-stats .stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.page-home .home-mini-stats .stat-value {
  font-family: var(--leyu-title);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.page-home .home-mini-stats .stat--orange .stat-value {
  color: var(--leyu-orange-light);
}

.page-home .home-mini-stats .stat-unit {
  font-size: 14px;
  margin-left: 2px;
}

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

.page-home .home-hero__quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--leyu-radius-sm);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s var(--leyu-ease), transform 0.3s var(--leyu-ease);
}

.page-home .home-hero__quick-link:hover {
  background: rgba(255, 122, 0, 0.25);
  transform: translateY(-2px);
}

.page-home .home-hero__quick-index {
  font-family: var(--leyu-mono);
  font-size: 13px;
  color: var(--leyu-orange-light);
}

.page-home .home-events {
  background: var(--home-events-bg);
  padding: 64px 0 72px;
}

.page-home .home-events__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .home-events__head .section-subtitle {
  max-width: 420px;
  margin: 0;
}

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

.page-home .home-event-card {
  border-radius: var(--leyu-radius-lg);
  overflow: hidden;
  background: var(--leyu-surface);
  border: 1px solid var(--leyu-border);
  box-shadow: var(--leyu-shadow-sm);
  transition: box-shadow 0.3s var(--leyu-ease), transform 0.3s var(--leyu-ease);
}

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

.page-home .home-event-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-home .home-event-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-home .home-event-card__body {
  padding: 24px;
}

.page-home .home-event-card__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .home-event-card__round {
  font-family: var(--leyu-mono);
  font-size: 13px;
  color: var(--leyu-text-secondary);
}

.page-home .home-event-card__title {
  font-family: var(--leyu-title);
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.1;
}

.page-home .home-event-card__meta {
  font-size: 14px;
  color: var(--leyu-text-secondary);
  margin: 0 0 16px;
}

.page-home .home-event-card__stats {
  font-size: 15px;
  line-height: 1.6;
  color: var(--leyu-text);
  margin: 0 0 16px;
}

.page-home .home-event-card__more {
  display: inline-block;
  color: var(--leyu-orange);
  font-weight: 700;
  font-size: 15px;
}

.page-home .home-events__list {
  display: grid;
  gap: 16px;
}

.page-home .home-event-row {
  border: 1px solid var(--leyu-border);
  border-radius: var(--leyu-radius);
  padding: 18px 20px;
  background: var(--leyu-surface);
  transition: box-shadow 0.3s var(--leyu-ease), transform 0.3s var(--leyu-ease);
}

.page-home .home-event-row:hover {
  box-shadow: var(--leyu-shadow-sm);
  transform: translateX(4px);
}

.page-home .home-event-row__date {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.page-home .home-event-row__week {
  font-family: var(--leyu-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--leyu-positive);
  background: rgba(0, 168, 120, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

.page-home .home-event-row__league {
  font-size: 13px;
  font-weight: 700;
  color: var(--leyu-navy);
}

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

.page-home .home-event-row__team {
  flex: 1;
  font-weight: 700;
  min-width: 0;
}

.page-home .home-event-row__score {
  font-family: var(--leyu-mono);
  font-weight: 900;
  font-size: 22px;
  color: var(--leyu-navy);
}

.page-home .home-event-row__stats {
  display: flex;
  gap: 20px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--leyu-border);
}

.page-home .home-event-row__stats div {
  display: flex;
  gap: 6px;
  font-size: 14px;
}

.page-home .home-event-row__stats dt {
  color: var(--leyu-text-secondary);
}

.page-home .home-event-row__stats dd {
  margin: 0;
  font-weight: 700;
  font-family: var(--leyu-mono);
}

.page-home .home-events__more {
  text-align: center;
}

.page-home .home-services {
  background: var(--home-services-bg);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--home-services-bg-light);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.6;
}

.page-home .home-services__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .section-tag--light {
  color: var(--leyu-orange-light);
}

.page-home .home-services__heading {
  font-family: var(--leyu-title);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 8px 0 16px;
}

.page-home .home-services__lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 34em;
}

.page-home .home-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-home .home-services__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--leyu-radius);
}

.page-home .home-services__num {
  font-family: var(--leyu-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--leyu-orange-light);
  line-height: 1;
}

.page-home .home-services__list h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}

.page-home .home-services__list p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.page-home .home-services__visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.page-home .home-services__img {
  width: 100%;
  height: auto;
  border-radius: var(--leyu-radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.page-home .home-services__heatmap {
  padding: 20px;
  border-radius: var(--leyu-radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.page-home .home-services__heatmap-title {
  font-weight: 700;
  margin: 0 0 16px;
}

.page-home .home-services__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 16px;
}

.page-home .home-services__bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--leyu-orange-light), var(--leyu-orange));
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

.page-home .home-services__legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.page-home .home-services__legend div {
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 6px;
  border-radius: var(--leyu-radius-sm);
}

.page-home .home-services__legend dt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.page-home .home-services__legend dd {
  margin: 0;
  font-family: var(--leyu-mono);
  font-weight: 700;
  font-size: 18px;
}

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

.page-home .home-membership__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .home-membership__head .section-title {
  margin-bottom: 0;
}

.page-home .home-membership__table {
  background: var(--leyu-surface);
  border-radius: var(--leyu-radius-lg);
  border: 1px solid var(--leyu-border);
  box-shadow: var(--leyu-shadow-sm);
}

.page-home .home-membership__table .table {
  min-width: 640px;
}

.page-home .home-membership__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--leyu-text-secondary);
}

.page-home .home-milestone {
  background: var(--home-milestone-bg);
  color: #fff;
  padding: 72px 0;
}

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

.page-home .home-milestone__intro .section-title {
  color: #fff;
  margin-bottom: 0;
}

.page-home .home-milestone__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-milestone__timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--leyu-orange);
  border-radius: 0 var(--leyu-radius-sm) var(--leyu-radius-sm) 0;
}

.page-home .home-milestone__year {
  font-family: var(--leyu-title);
  font-size: 22px;
  font-weight: 900;
  color: var(--leyu-orange-light);
}

.page-home .home-milestone__timeline p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .home-ios {
  background: var(--home-ios-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.page-home .home-ios__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.page-home .home-ios__grid {
  position: absolute;
  width: 150%;
  height: 150%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotate(-8deg) translate(-10%, -10%);
}

.page-home .home-ios__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-ios__copy {
  max-width: 46em;
}

.page-home .home-ios__heading {
  font-family: var(--leyu-title);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 10px 0 16px;
}

.page-home .home-ios__lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}

.page-home .home-ios__features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-ios__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.page-home .home-ios__features li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--leyu-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  flex-shrink: 0;
}

.page-home .home-ios__device {
  display: flex;
  justify-content: center;
}

.page-home .home-ios__frame {
  position: relative;
  max-width: 280px;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, #0f2d47, #153b5c);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.page-home .home-ios__screenshot {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.page-home .home-ios__statusbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--leyu-mono);
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-home .home-index__inner {
  display: grid;
  gap: 32px;
}

.page-home .home-index__head {
  max-width: 520px;
}

.page-home .home-index__lead {
  color: var(--leyu-text-secondary);
  line-height: 1.7;
  font-size: 16px;
  margin: 12px 0 0;
}

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

.page-home .home-index__card {
  background: var(--leyu-surface);
  border: 1px solid var(--leyu-border);
  border-radius: var(--leyu-radius);
  padding: 24px;
  text-decoration: none;
  color: var(--leyu-text);
  transition: box-shadow 0.3s var(--leyu-ease), transform 0.3s var(--leyu-ease), border-color 0.3s var(--leyu-ease);
  display: block;
}

.page-home .home-index__card:hover {
  box-shadow: var(--leyu-shadow);
  transform: translateY(-4px);
  border-color: var(--leyu-orange);
}

.page-home .home-index__card-num {
  display: inline-block;
  font-family: var(--leyu-mono);
  font-size: 13px;
  color: var(--leyu-orange);
  margin-bottom: 10px;
}

.page-home .home-index__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-home .home-index__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--leyu-text-secondary);
  margin: 0;
}

.page-home .home-disclaimer {
  background: var(--leyu-bg);
  padding: 56px 0;
}

.page-home .home-disclaimer__inner {
  padding: 28px;
  border-radius: var(--leyu-radius);
  background: var(--leyu-surface);
  border: 1px solid var(--leyu-border);
  box-shadow: var(--leyu-shadow-sm);
  max-width: 860px;
}

.page-home .home-disclaimer__title {
  font-family: var(--leyu-title);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 14px;
}

.page-home .home-disclaimer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--leyu-text);
  margin: 0 0 10px;
}

.page-home .home-disclaimer p:last-child {
  margin-bottom: 0;
}

.page-home .home-disclaimer a {
  color: var(--leyu-orange);
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .page-home .home-events__layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .page-home .home-event-card__img {
    height: 220px;
  }

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

  .page-home .home-milestone__inner {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

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

  .page-home .home-ios__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

  .page-home .home-index__card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 640px;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  }

  .page-home .home-hero__inner {
    padding-top: 96px;
    align-items: center;
  }

  .page-home .home-events {
    padding-top: 80px;
  }

  .page-home .home-event-row__teams {
    flex-wrap: nowrap;
  }

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

  .page-home .home-index__card--wide {
    grid-column: span 2;
  }
}

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