body[data-page="home"] .hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 40px;
}

body[data-page="home"] .hero-content--wide {
  max-width: 760px;
}

body[data-page="home"] .hero-product {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-150px);
}

body[data-page="home"] .hero-product img {
  width: min(33vw, 470px);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.28));
}

body[data-page="home"] .hero-module-rail {
  position: absolute;
  top: 154px;
  right: 28px;
  width: 160px;
  display: grid;
  gap: 20px;
  padding-left: 22px;
  z-index: 4;
}

body[data-page="home"] .hero-module-rail::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 100%);
}

body[data-page="home"] .hero-module-rail__caption {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-module-rail__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.22s ease, transform 0.22s ease, font-size 0.22s ease, opacity 0.22s ease;
}

body[data-page="home"] .hero-module-rail__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body[data-page="home"] .hero-module-rail__item:hover {
  color: #fff;
  transform: translateX(-6px) scale(1.1);
}

body[data-page="home"] .hero-module-rail__item:hover::before {
  transform: translateY(-50%) scale(1.25);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .hero-module-rail__tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translate(-18px, -50%);
  width: 240px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body[data-page="home"] .hero-module-rail__item:hover .hero-module-rail__tooltip {
  opacity: 1;
  transform: translate(-12px, -50%);
}

body[data-page="home"] .board-preview {
  margin: 16px 0 44px;
}

body[data-page="home"] .board-month-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

body[data-page="home"] .board-month-switch__item {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 18, 20, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  color: var(--text-soft);
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  cursor: pointer;
  transform: scale(0.96);
  opacity: 0.84;
  transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body[data-page="home"] .board-month-switch__item.is-active {
  background: #111214;
  color: #fff;
  border-color: #111214;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 18px 34px rgba(17, 18, 20, 0.14);
}

body[data-page="home"] .board-month-switch__month {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.1;
}

body[data-page="home"] .board-month-switch__desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: inherit;
}

body[data-page="home"] .board-shell {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

body[data-page="home"] .board-table-wrap {
  overflow-x: auto;
}

body[data-page="home"] .board-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-spacing: 0;
}

body[data-page="home"] .board-table[hidden] {
  display: none !important;
}

body[data-page="home"] .board-table th,
body[data-page="home"] .board-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(17, 18, 20, 0.08);
}

body[data-page="home"] .board-table thead th {
  background: #111214;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
}

body[data-page="home"] .board-table tbody td {
  background: #fff;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 400;
}

body[data-page="home"] .board-table tbody td:first-child {
  background: #f5f7fb;
  color: var(--text);
  font-weight: 600;
  min-width: 88px;
}

body[data-page="home"] .board-table tbody td:nth-child(2) {
  background: #fafbfc;
  color: var(--text);
  font-weight: 500;
  min-width: 96px;
}

body[data-page="home"] .home-summary,
body[data-page="home"] .home-directory {
  padding-top: 40px;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-product {
    transform: none;
  }

  body[data-page="home"] .hero-module-rail {
    position: static;
    width: 100%;
    padding-left: 0;
    margin-top: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body[data-page="home"] .hero-module-rail::before,
  body[data-page="home"] .hero-module-rail__item::before,
  body[data-page="home"] .hero-module-rail__tooltip {
    display: none;
  }

  body[data-page="home"] .hero-module-rail__item {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .board-month-switch {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-product img {
    width: min(54vw, 280px);
  }
}
