.page-home {
  --home-rule: rgba(242, 239, 230, 0.18);
  --home-sheet-rule: rgba(11, 18, 32, 0.22);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home h1,
.page-home h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}

.page-home p {
  margin: 0;
}

.page-home section {
  padding-block: clamp(48px, 9vw, 108px);
}

/* ---------- HERO ---------- */
.page-home .hero {
  padding-top: clamp(22px, 5vw, 48px);
  background:
    radial-gradient(120% 80% at 88% -10%, rgba(44, 229, 208, 0.14), transparent 62%),
    radial-gradient(90% 70% at -10% 108%, rgba(255, 122, 61, 0.12), transparent 66%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .hero__crumb {
  margin-bottom: 18px;
}

.page-home .hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-home .hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(44, 229, 208, 0.16);
}

.page-home .hero__title {
  font-size: clamp(30px, 7.4vw, 68px);
  font-weight: 900;
  max-width: 15em;
}

.page-home .hero__title span {
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(44, 229, 208, 0.28);
}

.page-home .hero__text {
  margin-top: 18px;
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(242, 239, 230, 0.78);
}

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

.page-home .hero__figure {
  margin-top: 28px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--ink-3);
}

.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .media-frame__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 230, 0.6);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.page-home .hero__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .hero__figure-sm {
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--ink-3);
}

.page-home .hero__figure-sm img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
}

.page-home .pathcard {
  background: rgba(17, 28, 46, 0.86);
  border-left: 2px solid var(--clay);
  border-top: 1px solid var(--home-rule);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 18px 20px;
}

.page-home .pathcard__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--stone);
  margin-bottom: 12px;
}

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

.page-home .pathcard__steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 239, 230, 0.86);
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(242, 239, 230, 0.12);
}

.page-home .pathcard__steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .pathcard__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.page-home .hero__toc {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--home-rule);
  padding-top: 12px;
}

.page-home .hero__toc a {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-decoration: none;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line);
  transition: color 140ms ease, border-color 140ms ease, padding-left 140ms ease;
}

.page-home .hero__toc a:hover,
.page-home .hero__toc a:focus-visible,
.page-home .hero__toc a.is-active,
.page-home .hero__toc a[aria-current] {
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  padding-left: 16px;
}

/* ---------- SECTION TEXT ---------- */
.page-home .section__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .section__title {
  font-size: clamp(24px, 4.6vw, 42px);
  font-weight: 900;
  margin-bottom: 14px;
}

/* ---------- LEAGUES ---------- */
.page-home .leagues {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.page-home .leagues__text {
  max-width: 38em;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 239, 230, 0.74);
  margin-bottom: 26px;
}

.page-home .league-switch {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 4px;
}

.page-home .league-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.page-home .league-switch__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: thin;
}

.page-home .league-switch__tab {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
  border: 1px solid var(--line);
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.page-home .league-switch__tab:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.page-home .league-switch__panels {
  border-top: 1px solid var(--home-rule);
  padding-top: 20px;
  padding-bottom: 18px;
  min-height: 132px;
}

.page-home .league-switch__panels > .league-panel {
  display: none;
}

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

.page-home .league-panel__name {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-home .league-panel__desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 239, 230, 0.76);
}

.page-home .league-panel__meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--moss);
}

.page-home .league-switch__input:nth-of-type(1):checked ~ .league-switch__panels > .league-panel:nth-child(1),
.page-home .league-switch__input:nth-of-type(2):checked ~ .league-switch__panels > .league-panel:nth-child(2),
.page-home .league-switch__input:nth-of-type(3):checked ~ .league-switch__panels > .league-panel:nth-child(3),
.page-home .league-switch__input:nth-of-type(4):checked ~ .league-switch__panels > .league-panel:nth-child(4),
.page-home .league-switch__input:nth-of-type(5):checked ~ .league-switch__panels > .league-panel:nth-child(5),
.page-home .league-switch__input:nth-of-type(6):checked ~ .league-switch__panels > .league-panel:nth-child(6) {
  display: block;
}

.page-home .league-switch__input:nth-of-type(1):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(1),
.page-home .league-switch__input:nth-of-type(2):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(2),
.page-home .league-switch__input:nth-of-type(3):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(3),
.page-home .league-switch__input:nth-of-type(4):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(4),
.page-home .league-switch__input:nth-of-type(5):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(5),
.page-home .league-switch__input:nth-of-type(6):checked ~ .league-switch__tabs > .league-switch__tab:nth-child(6) {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .leagues__cta {
  margin-top: 26px;
}

/* ---------- STATS ---------- */
.page-home .stats {
  background:
    linear-gradient(180deg, rgba(17, 28, 46, 0.6), transparent 40%),
    var(--ink);
}

.page-home .stats__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.page-home .stat-tile {
  border: 1px solid var(--line);
  background: rgba(17, 28, 46, 0.62);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .stat-tile--lead {
  grid-column: span 2;
  border-color: rgba(44, 229, 208, 0.34);
  background: linear-gradient(150deg, rgba(44, 229, 208, 0.1), rgba(17, 28, 46, 0.7) 60%);
}

.page-home .stat-tile__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-home .stat-tile__desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 239, 230, 0.76);
}

.page-home .stat-tile__note {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(242, 239, 230, 0.66);
}

.page-home .stat-tile__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.page-home .stat__label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone);
}

.page-home .stats__cta {
  margin-top: 24px;
}

/* ---------- MOBILE BAND ---------- */
.page-home .mobile-band {
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.page-home .mobile-band__figure {
  margin: 0;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .mobile-band__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: top center;
}

.page-home .mobile-band__text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 239, 230, 0.78);
}

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

.page-home .mobile-band__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 239, 230, 0.8);
}

.page-home .mobile-band__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

/* ---------- ENTRY SHEET ---------- */
.page-home .entry {
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.page-home .entry::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184, 107, 75, 0.34);
  pointer-events: none;
}

.page-home .entry .section__kicker {
  color: var(--clay);
}

.page-home .entry__head {
  max-width: 46em;
  margin-bottom: 28px;
}

.page-home .entry__text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(11, 18, 32, 0.74);
}

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

.page-home .entry-list__item {
  min-width: 0;
}

.page-home .entry-link {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--home-sheet-rule);
  background: rgba(255, 255, 255, 0.34);
  padding: 14px 14px 15px;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  transform: translateX(3px);
  border-color: var(--clay);
  background: rgba(255, 255, 255, 0.62);
}

.page-home .entry-link__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--clay);
  line-height: 1.5;
}

.page-home .entry-link__body {
  display: block;
  min-width: 0;
}

.page-home .entry-link__title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .entry-link__note {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.66);
}

.page-home .entry-link__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--clay);
  text-align: right;
  line-height: 1.5;
}

.page-home .entry__figure {
  margin: 0;
  border: 1px solid var(--home-sheet-rule);
  background: rgba(11, 18, 32, 0.06);
  overflow: hidden;
}

.page-home .entry__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
}

.page-home .entry__figure .media-frame__cap {
  color: rgba(11, 18, 32, 0.6);
  border-top-color: var(--home-sheet-rule);
}

/* ---------- TRUST ---------- */
.page-home .trust {
  position: relative;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.page-home .trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--home-rule) 0 1px, transparent 1px 24px);
  opacity: 0.8;
}

.page-home .trust__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.page-home .trust__text {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 239, 230, 0.76);
  margin-bottom: 14px;
  max-width: 38em;
}

.page-home .trust__link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 229, 208, 0.5);
}

.page-home .trust__link:hover,
.page-home .trust__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

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

.page-home .trust__figure {
  border-top: 1px solid var(--home-rule);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.page-home .trust__num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .trust__unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone);
}

.page-home .trust__cap {
  flex: 1 0 100%;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 239, 230, 0.62);
}

.page-home .back-top {
  margin-top: clamp(32px, 6vw, 56px);
  text-align: center;
}

.page-home .back-top a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stone);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 9px 18px;
  display: inline-block;
  transition: color 150ms ease, border-color 150ms ease;
}

.page-home .back-top a:hover,
.page-home .back-top a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 720px) {
  .page-home .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .stat-tile--lead {
    grid-column: span 2;
  }

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

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .hero__side {
    padding-top: clamp(20px, 5vw, 78px);
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }

  .page-home .hero__figure {
    margin-top: 34px;
  }

  .page-home .mobile-band__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .mobile-band__figure img {
    max-height: 520px;
  }

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

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

  .page-home .stat-tile--lead {
    grid-column: span 3;
  }

  .page-home .stat-tile:nth-child(2),
  .page-home .stat-tile:nth-child(3) {
    grid-column: span 3;
  }

  .page-home .stat-tile:nth-child(4),
  .page-home .stat-tile:nth-child(5) {
    grid-column: span 3;
  }

  .page-home .trust__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-link,
  .page-home .hero__toc a,
  .page-home .back-top a {
    transition: none;
  }

  .page-home .entry-link:hover,
  .page-home .entry-link:focus-visible {
    transform: none;
  }
}
