.page-home {
  background: var(--ink);
  color: var(--text);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 20px;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(53, 230, 214, 0.11), transparent 42%),
    radial-gradient(ellipse at 12% 92%, rgba(255, 122, 45, 0.07), transparent 38%);
}

.page-home .pitch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--line);
  opacity: 0.62;
  pointer-events: none;
}

.page-home .home-hero__shell {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-hero h1 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(50px, 13vw, 82px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.page-home .home-hero__lead {
  max-width: 56ch;
  margin: 0 0 22px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.page-home .home-hero__textlink,
.page-home .home-textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 214, 0.35);
}

.page-home .home-hero__textlink:hover,
.page-home .home-textlink:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.page-home .home-hero__meta {
  margin: 18px 0 0;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.page-home .home-hero__figure {
  margin: 0;
}

.page-home .home-hero__figure .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

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

.page-home .home-hero__figure .media__caption {
  margin-top: 10px;
  color: var(--mist);
  font-size: 12px;
}

.page-home .home-rail__shell {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.page-home .date-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .rail-day {
  position: relative;
  display: flex;
  flex: 0 0 112px;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 12px 13px;
  scroll-snap-align: start;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .rail-day:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .rail-day--today {
  border-color: var(--cyan);
  background: rgba(53, 230, 214, 0.08);
  box-shadow: 0 0 0 1px rgba(53, 230, 214, 0.45), 0 0 24px rgba(53, 230, 214, 0.12);
}

.page-home .rail-day--today::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.page-home .rail-day__name {
  font-size: 16px;
  font-weight: 800;
}

.page-home .rail-day__time {
  color: var(--cyan);
  font-size: 12px;
}

.page-home .rail-day__games {
  color: var(--mist);
  font-size: 12px;
}

.page-home .home-rail__hint {
  margin: 2px 0 0;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.page-home .home-toc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 9px 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-toc__label {
  flex: 0 0 auto;
  padding: 0 8px 0 20px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-toc__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
}

.page-home .home-toc__link:hover {
  color: var(--text);
  border-color: var(--line);
}

.page-home .home-toc__link[aria-current="true"] {
  color: var(--cyan);
  background: rgba(53, 230, 214, 0.09);
  border-color: rgba(53, 230, 214, 0.5);
}

.page-home .home-tomorrow,
.page-home .home-injury,
.page-home .home-access,
.page-home .home-version {
  padding: 56px 0;
}

.page-home .section__title,
.page-home .home-slate h2,
.page-home .injury-paper h2,
.page-home .access-copy h2,
.page-home .version-copy h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-home .home-section-lead {
  max-width: 68ch;
  margin: 0;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .tomorrow-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-home .tomorrow-list {
  border-top: 1px solid var(--line);
}

.page-home .matchline {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .matchline:hover {
  background: rgba(53, 230, 214, 0.045);
  border-bottom-color: rgba(53, 230, 214, 0.55);
}

.page-home .matchline__time {
  color: var(--cyan);
  font-size: 14px;
}

.page-home .matchline__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.page-home .matchline__league {
  color: var(--mist);
  font-size: 12px;
}

.page-home .matchline__title {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.page-home .matchline__arrow {
  display: none;
  color: var(--cyan);
  font-size: 20px;
}

.page-home .phone-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.page-home .phone-card__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-home .phone-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .phone-card__note {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
}

.page-home .phone-card__text {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.page-home .phone-card .btn {
  justify-self: start;
}

.page-home .home-slate {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-slate__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.7);
}

.page-home .home-slate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.82), rgba(6, 12, 22, 0.96));
}

.page-home .home-slate .shell {
  position: relative;
  z-index: 1;
}

.page-home .home-slate__head {
  max-width: 760px;
}

.page-home .home-slate__head p:last-child {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

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

.page-home .slate-item {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: rgba(12, 24, 40, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .slate-item:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 230, 214, 0.62);
  box-shadow: 0 0 0 1px rgba(53, 230, 214, 0.18), 0 18px 34px rgba(0, 0, 0, 0.3);
}

.page-home .slate-no {
  color: var(--mist);
  font-size: 34px;
  line-height: 1;
  opacity: 0.42;
}

.page-home .slate-body {
  display: grid;
  gap: 6px;
}

.page-home .slate-league {
  margin: 0;
  color: var(--mist);
  font-size: 12px;
}

.page-home .slate-body h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.page-home .slate-time {
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
}

.page-home .slate-link {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page-home .slate-link:hover {
  color: var(--lime);
}

.page-home .injury-paper {
  padding: 22px;
  color: var(--brown);
  background: var(--cream);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.page-home .injury-paper .eyebrow {
  color: var(--brown);
  opacity: 0.58;
}

.page-home .injury-paper h2 {
  color: var(--brown);
}

.page-home .injury-head > p:last-child {
  max-width: 70ch;
  margin: 0;
  color: var(--brown);
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.82;
}

.page-home .injury-grid {
  display: grid;
  gap: 24px;
  margin: 24px 0;
}

.page-home .injury-table-wrap {
  overflow-x: auto;
  border-top: 2px solid rgba(42, 33, 27, 0.36);
}

.page-home .injury-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .injury-table caption {
  padding: 10px 0 8px;
  color: var(--brown);
  font-size: 12px;
  text-align: left;
  opacity: 0.7;
}

.page-home .injury-table th {
  padding: 10px 8px;
  color: var(--brown);
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(42, 33, 27, 0.36);
}

.page-home .injury-table td {
  padding: 11px 8px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(42, 33, 27, 0.16);
}

.page-home .injury-table td.mono {
  font-size: 13px;
}

.page-home .injury-state {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.page-home .injury-state--warn {
  color: #a83b0a;
  background: rgba(255, 122, 45, 0.18);
}

.page-home .injury-state--ok {
  color: #0b655c;
  background: rgba(53, 230, 214, 0.22);
}

.page-home .injury-state--idle {
  color: #5b4a3d;
  background: rgba(42, 33, 27, 0.09);
}

.page-home .injury-figure {
  margin: 0;
}

.page-home .injury-figure .media {
  overflow: hidden;
  border: 1px solid rgba(42, 33, 27, 0.22);
  border-radius: 12px;
}

.page-home .injury-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .injury-figure figcaption {
  margin-top: 8px;
  color: var(--brown);
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.75;
}

.page-home .injury-paper .btn--ghost {
  color: var(--brown);
  border-color: rgba(42, 33, 27, 0.4);
}

.page-home .injury-paper .btn--ghost:hover {
  background: rgba(42, 33, 27, 0.08);
}

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

.page-home .access-copy > p:last-of-type {
  max-width: 68ch;
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

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

.page-home .access-tier {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mist);
  border-radius: 14px;
}

.page-home .access-tier--a {
  border-left-color: var(--cyan);
}

.page-home .access-tier--b {
  border-left-color: var(--orange);
}

.page-home .access-tier--c {
  border-left-color: var(--mist);
}

.page-home .access-tier__code {
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
}

.page-home .access-tier--b .access-tier__code {
  color: var(--orange);
}

.page-home .access-tier--c .access-tier__code {
  color: var(--mist);
}

.page-home .access-tier h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.page-home .access-tier p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .access-footnote {
  margin: 24px 0 0;
  padding: 10px 0 10px 14px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
  border-left: 3px solid var(--orange);
}

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

.page-home .version-copy p {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.page-home .version-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .version-steps li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .version-steps .mono {
  color: var(--cyan);
  font-size: 13px;
}

.page-home .version-steps h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.page-home .version-steps p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-links {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.page-home .home-links p {
  max-width: 70ch;
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
}

.page-home .home-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.page-home .home-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 214, 0.35);
}

.page-home .home-links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal][data-revealed] {
    animation: homeRise 500ms var(--ease) both;
  }
}

@keyframes homeRise {
  from {
    opacity: 0.001;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .page-home .home-hero {
    padding: 44px 0 22px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
  }

  .page-home .home-hero__figure {
    align-self: stretch;
  }

  .page-home .home-hero__figure .media {
    height: 100%;
  }

  .page-home .home-hero__figure img {
    height: 100%;
    min-height: 300px;
  }

  .page-home .rail-day {
    flex-basis: 132px;
  }

  .page-home .matchline {
    grid-template-columns: 70px minmax(0, 1fr) auto 22px;
  }

  .page-home .matchline__arrow {
    display: block;
  }

  .page-home .tomorrow-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
    align-items: start;
  }

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

  .page-home .injury-paper {
    padding: 32px;
  }

  .page-home .injury-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
    align-items: start;
  }

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

  .page-home .version-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .page-home .home-hero h1 {
    font-size: 88px;
  }

  .page-home .home-hero__grid {
    gap: 64px;
  }

  .page-home .home-tomorrow,
  .page-home .home-injury,
  .page-home .home-access,
  .page-home .home-version {
    padding: 80px 0;
  }

  .page-home .home-slate {
    padding: 80px 0;
  }

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