/* Rank landings use the same shell as the homepage and pricing page.
   Keep this file limited to page-specific spacing; typography, paper
   background, rail and ranking cards come from app.css. */
.rank-landing {
  min-height: 100vh;
  padding-bottom: 24px;
}

.rank-main {
  padding-top: 72px;
  padding-bottom: 64px;
}

.rank-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rank-content > .home-sec {
  margin: 0;
}

.rl-hero h1 {
  margin: 0 0 8px;
  color: #1c1916;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.rl-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  margin: 0 0 8px;
  color: #a8a29e;
  font-size: 12.5px;
}

.rl-crumb a {
  color: #c2410c;
  font-weight: 650;
  text-decoration: none !important;
}

.rl-lead {
  max-width: 56em;
  margin: 0;
  color: #5c564f;
  font-size: 13.5px;
  line-height: 1.55;
}

/* Exact homepage board proportions. */
.rank-board-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.rank-board-grid-1 {
  grid-template-columns: 1fr;
}

.rl-back {
  margin: 0;
  padding: 2px 0 0;
  text-align: center;
}

.rl-back a {
  color: #c2410c;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none !important;
}

.rl-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
  padding: 18px 16px 28px;
  color: #a8a29e;
  font-size: 12.5px;
  text-align: center;
}

.rl-foot a {
  color: #78716c;
  text-decoration: none !important;
}

/* Pricing's empty topbar is the source of truth for the shared brand. */
.rank-topbar {
  width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.rank-topbar .topbar-brand {
  pointer-events: auto;
}

@media (max-width: 900px) {
  .rank-landing {
    padding-left: 0;
    padding-bottom: 72px;
  }

  .rank-main {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .rank-board-grid {
    grid-template-columns: 1fr;
  }
}
