.page-home {
  --home-vertical-pad: 48px;
  --home-card-pad: 24px;
  background: var(--surface);
  color: var(--navy);
  overflow-x: hidden;
}

.page-home .home-hero {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-hero.blueprint-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -80px;
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(255, 215, 0, .25);
  border-radius: 50%;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  z-index: 0;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.page-home .home-hero__content {
  max-width: 680px;
}

.page-home .home-kicker {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.page-home .home-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 24px;
}

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

.page-home .home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

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

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

.page-home .home-hero__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-style: italic;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transform: rotate(4deg);
}

.page-home .home-strip {
  margin-top: 36px;
  background: var(--yellow);
  color: var(--navy);
  clip-path: polygon(0 10px, 100% 0, 100% calc(100% - 10px), 0 100%);
  padding: 18px 0 22px;
}

.page-home .home-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.page-home .home-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.page-home .home-strip__item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--navy);
  border-radius: 50%;
  flex: none;
}

.page-home .home-toc {
  background: var(--surface);
  padding: 40px 0;
}

.page-home .home-toc__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-toc__index {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-toc__index .section-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

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

.page-home .home-toc__link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 31, 68, .06);
  transition: all .2s ease;
}

.page-home .home-toc__link:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.page-home .home-toc__num {
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  line-height: 1.3;
}

.page-home .home-toc__link.is-active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.page-home .home-toc__link.is-active .home-toc__num {
  background: var(--yellow);
  color: var(--navy);
}

.page-home .home-section {
  padding: var(--home-vertical-pad) 0;
}

.page-home .home-section__num {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  align-self: flex-start;
  line-height: 1.3;
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .section-head .section-title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

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

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

.page-home .home-update__text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 20px;
}

.page-home .home-update__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-update__points li {
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.page-home .home-update__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
}

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

.page-home .home-section--legacy {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
}

.page-home .home-section--legacy .section-head .section-title {
  color: var(--white);
}

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

.page-home .home-legacy__arrow {
  font-size: 34px;
  color: var(--yellow);
  text-align: center;
  font-weight: 900;
  align-self: center;
}

.page-home .home-legacy__card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: var(--home-card-pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-legacy__card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  color: var(--white);
}

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

.page-home .home-legacy__card img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  opacity: .5;
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-home .home-legacy__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}

.page-home .home-legacy__card--new {
  background: rgba(255, 215, 0, .08);
  border-color: rgba(255, 215, 0, .25);
}

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

.page-home .home-sync__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-sync__content h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
}

.page-home .home-sync__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
}

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

.page-home .home-sync__points li {
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.page-home .home-sync__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.page-home .home-sync__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.page-home .home-coverage__intro {
  max-width: 780px;
  margin-bottom: 24px;
}

.page-home .home-coverage__intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
}

.page-home .home-coverage__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-coverage__leagues h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

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

.page-home .home-coverage__list li {
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid rgba(10, 31, 68, .06);
}

.page-home .home-coverage__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.page-home .home-coverage__visual a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .home-coverage__stats {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-home .home-section--search {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
}

.page-home .home-section--search .section-head .section-title {
  color: var(--white);
}

.page-home .home-search__panel {
  max-width: 720px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: var(--home-card-pad);
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-home .home-search__panel p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}

.page-home .home-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  color: var(--gray);
  margin: 20px 0 14px;
  box-shadow: var(--shadow-sm);
}

.page-home .home-search__icon {
  font-size: 20px;
  color: var(--navy);
  font-weight: 700;
}

.page-home .home-search__sample {
  flex: 1;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}

.page-home .home-search__kbd {
  background: var(--yellow);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-style: italic;
  font-weight: 900;
  font-size: 13px;
}

.page-home .home-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .home-outro {
  background: var(--navy);
  color: var(--white);
  padding: var(--home-vertical-pad) 0;
  border-top: 4px solid var(--yellow);
}

.page-home .home-outro__trust {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .7);
  max-width: 44em;
  margin: 0 0 20px;
}

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

.page-home .home-outro__links a {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.page-home .home-outro__links a:hover {
  background: var(--yellow);
  color: var(--navy);
}

@media (min-width: 768px) {
  .page-home .home-toc__grid {
    grid-template-columns: 4fr 8fr;
  }

  .page-home .home-update__grid {
    grid-template-columns: 7fr 5fr;
  }

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

  .page-home .home-legacy__grid {
    grid-template-columns: 5fr 1fr 6fr;
  }

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

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

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

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

  .page-home .home-search__panel {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .page-home {
    --home-vertical-pad: 72px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-strip .container {
    justify-content: space-around;
  }

  .page-home .home-section__num {
    font-size: 15px;
  }

  .page-home .home-toc__link {
    padding: 20px 24px;
  }
}
