.page-home {
  --home-line: var(--cid-silver);
  --home-accent: var(--cid-clay);
  --home-track: linear-gradient(135deg, var(--cid-moss), var(--cid-orange));
  scroll-behavior: smooth;
}

.page-home .home-context {
  padding-top: 20px;
  padding-bottom: 0;
}

.page-home .home-intro {
  padding-top: 16px;
  padding-bottom: 36px;
}

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

.page-home .home-intro__left {
  padding-top: 10px;
}

.page-home .home-intro__right {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cid-ink);
  border: 1px solid var(--cid-silver);
  box-shadow: var(--shadow);
}

.page-home .home-intro__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(245, 240, 230, 0.16), rgba(31, 61, 46, 0.44));
  pointer-events: none;
}

.page-home .home-intro__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .home-intro__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-status {
  position: relative;
  z-index: 1;
  margin: 16px;
  padding: 18px;
  background: var(--cid-glass);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -18px rgba(31, 61, 46, 0.65);
}

.page-home .home-status__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.page-home .home-status__badge {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--cid-ink);
  background: var(--cid-card);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-home .home-status__refresh {
  margin: 10px 0 14px;
  font-size: 0.8rem;
  color: var(--cid-gray);
  border-bottom: 1px dashed rgba(168, 174, 176, 0.8);
  padding-bottom: 12px;
}

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

.page-home .home-status__numbers > div {
  background: rgba(245, 240, 230, 0.78);
  border: 1px solid var(--cid-silver);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.page-home .home-status__numbers dt {
  font-size: 0.72rem;
  color: var(--cid-gray);
  margin-bottom: 2px;
}

.page-home .home-status__numbers dd {
  margin: 0;
  font-family: var(--font-data);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cid-ink);
}

.page-home .home-status__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(168, 174, 176, 0.8);
}

.page-home .home-status__foot a {
  font-size: 0.82rem;
  color: var(--cid-moss);
  text-decoration: none;
}

.page-home .home-status__foot a:hover {
  color: var(--cid-clay);
}

.page-home .site-status__dot {
  animation: home-pulse 2s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.78); }
}

.page-home .home-toc {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--cid-silver);
}

.page-home .home-toc li {
  border-bottom: 1px solid var(--cid-silver);
}

.page-home .home-toc a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  color: var(--cid-ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.page-home .home-toc a:hover {
  padding-left: 10px;
  color: var(--cid-moss);
}

.page-home .home-toc__num {
  font-family: var(--font-data);
  color: var(--cid-clay);
  font-size: 1rem;
  font-weight: 600;
  min-width: 2ch;
}

.page-home .home-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-home .home-section__head {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding-left: 18px;
}

.page-home .home-section__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--home-track);
  border-radius: 2px;
}

.page-home .home-section__head .section-title__num {
  font-family: var(--font-data);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cid-clay);
  line-height: 1;
}

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

.page-home .home-section__head .brief {
  margin: 0;
  color: var(--cid-gray);
  font-size: 0.875rem;
}

.page-home .home-section__head .button {
  justify-self: start;
}

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

.page-home .home-section__aside .prose {
  font-size: 0.92rem;
  color: var(--cid-gray);
  margin-top: 8px;
}

.page-home .home-section__aside .chapter__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cid-ink);
}

.page-home .home-section__aside .button {
  margin-top: 18px;
}

.page-home .home-channels__img,
.page-home .home-standings__img,
.page-home .home-pricing__img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--cid-silver);
  box-shadow: var(--shadow);
  margin-top: 18px;
}

.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cid-silver);
  border-radius: var(--radius);
  background: var(--cid-glass);
}

.page-home .table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.page-home .table th {
  background: var(--cid-card);
  color: var(--cid-ink);
  text-align: left;
  padding: 11px 14px;
  font-family: var(--font-serif);
  font-weight: 700;
}

.page-home .table td {
  padding: 11px 14px;
  border-top: 1px solid rgba(168, 174, 176, 0.5);
  color: var(--cid-ink);
}

.page-home .home-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--cid-gray);
  border-left: 3px solid var(--cid-orange);
  padding-left: 10px;
}

.page-home .home-channels__grid {
  display: grid;
  gap: 12px;
}

.page-home .home-channels__grid .data-card {
  background: var(--cid-card);
  border: 1px solid var(--cid-silver);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.page-home .home-channels__grid .data-card__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cid-ink);
  margin-bottom: 4px;
}

.page-home .home-channels__grid .data-card__meta {
  display: block;
  font-size: 0.78rem;
  color: var(--cid-gray);
  font-family: var(--font-data);
}

.page-home .home-channels__grid .data-card__arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--cid-clay);
  text-decoration: none;
}

.page-home .home-channels__tags {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--cid-gray);
  line-height: 1.5;
  font-family: var(--font-sans);
}

.page-home .home-transfer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cid-silver);
}

.page-home .home-transfer-list li {
  display: grid;
  gap: 4px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--cid-silver);
}

.page-home .home-transfer-list__tag {
  justify-self: start;
}

.page-home .home-transfer-list__title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--cid-ink);
  font-size: 1rem;
}

.page-home .home-transfer-list__meta {
  margin: 0;
  font-size: 0.8rem;
  font-family: var(--font-data);
  color: var(--cid-gray);
}

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

.page-home .home-standings__board {
  background: var(--cid-glass);
  border: 1px solid var(--cid-silver);
  border-radius: var(--radius);
  padding: 18px;
}

.page-home .home-standings__board-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cid-ink);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(168, 174, 176, 0.6);
}

.page-home .home-standings__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-standings__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(168, 174, 176, 0.4);
}

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

.page-home .home-standings__rank {
  font-family: var(--font-data);
  color: var(--cid-gray);
  width: 2ch;
}

.page-home .home-standings__pts {
  margin-left: auto;
  font-family: var(--font-data);
  font-weight: 600;
  color: var(--cid-moss);
}

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

.page-home .home-pricing__card {
  background: var(--cid-glass);
  border: 1px solid var(--cid-silver);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.page-home .home-pricing__price {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-data);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--cid-clay);
  margin: 12px 0 16px;
}

.page-home .home-pricing__unit {
  font-size: 0.9rem;
  color: var(--cid-gray);
  margin-left: 4px;
}

.page-home .home-pricing__features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-home .home-pricing__features li {
  position: relative;
  padding-left: 22px;
  color: var(--cid-ink);
  font-size: 0.88rem;
}

.page-home .home-pricing__features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cid-orange);
  font-family: var(--font-data);
}

@media (min-width: 768px) {
  .page-home .home-intro {
    padding-bottom: 52px;
  }

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

  .page-home .home-intro__right {
    min-height: 480px;
  }

  .page-home .home-status {
    max-width: 480px;
    margin: 30px;
    padding: 26px;
  }

  .page-home .home-status__numbers dd {
    font-size: 1.6rem;
  }

  .page-home .home-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-home .home-section__head {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
  }

  .page-home .home-section__head .section-title__num {
    font-size: 2.1rem;
  }

  .page-home .home-section__head .button {
    margin-left: auto;
    justify-self: end;
  }

  .page-home .home-section__split {
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home {
    scroll-behavior: auto;
  }

  .page-home .site-status__dot {
    animation: none;
  }

  .page-home .home-toc a,
  .page-home .home-channels__grid .data-card,
  .page-home .home-pricing__card {
    transition: none;
  }
}
