.page-home {
  --home-ink: #2B1E16;
  --home-blue: #1E5B8A;
  --home-orange: #E8732A;
  --home-green: #3D7A4B;
  --home-red: #C8442E;
  --home-navy: #0D2B40;
  --home-cream: #F5F0E6;
  --home-snow: #FAFAFA;
  --home-line: #D9D0C0;
  --home-sand: #F2E4C9;
  --home-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --timeline-day-w: 76px;
  --timeline-track-w: 2280px;
  overflow-x: hidden;
  background: var(--home-cream);
  color: var(--home-ink);
  line-height: 1.6;
}

.page-home .container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

.page-home a {
  color: var(--home-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-home .home-racingline {
  display: flex;
  height: 6px;
}

.page-home .home-racingline__stripe {
  flex: 1;
}

.page-home .home-racingline__stripe--orange {
  background: var(--home-orange);
}

.page-home .home-racingline__stripe--blue {
  background: var(--home-blue);
}

.page-home .home-racingline__stripe--green {
  background: var(--home-green);
}

.page-home .home-banner {
  padding: 18px 0 6px;
}

.page-home .home-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .breadcrumb__sep {
  color: var(--home-line);
}

.page-home .breadcrumb__current {
  font-weight: 600;
  color: var(--home-ink);
}

.page-home .home-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--home-line);
}

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

.page-home .home-today {
  padding: 28px 0 72px;
}

.page-home .home-today__layout {
  display: grid;
  gap: 36px;
}

.page-home .home-today__head .data-index {
  display: inline-block;
  margin-bottom: 10px;
}

.page-home .home-today__head h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--home-ink);
}

.page-home .home-today__lead {
  max-width: 34em;
  font-size: 16px;
  color: rgba(43, 30, 22, 0.78);
}

.page-home .today-match-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.page-home .today-match {
  background: var(--home-snow);
  border-radius: 28px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.08);
  transition: box-shadow 200ms ease-out;
}

.page-home .today-match[open] {
  box-shadow: 0 10px 28px rgba(43, 30, 22, 0.12);
}

.page-home .today-match__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  flex-wrap: wrap;
}

.page-home .today-match__summary::-webkit-details-marker {
  display: none;
}

.page-home .today-match__time {
  flex: 0 0 auto;
  min-width: 48px;
  font-weight: 700;
  color: var(--home-blue);
}

.page-home .today-match__sport {
  flex: 0 0 auto;
  background: var(--home-sand);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
}

.page-home .today-match__teams {
  flex: 1 1 auto;
  font-weight: 700;
  color: var(--home-ink);
  min-width: 160px;
}

.page-home .today-match__status {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.page-home .today-match__status--live {
  background: var(--home-orange);
  color: var(--home-snow);
}

.page-home .today-match__status--upcoming {
  background: var(--home-blue);
  color: var(--home-snow);
}

.page-home .today-match__status--ready {
  background: var(--home-green);
  color: var(--home-snow);
}

.page-home .today-match__detail {
  padding: 4px 20px 20px;
  border-top: 1px dashed var(--home-line);
  margin-top: 4px;
  display: grid;
  gap: 12px;
}

.page-home .today-match__score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--home-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--home-red);
}

.page-home .today-match__score-info {
  font-size: 13px;
  color: rgba(43, 30, 22, 0.6);
  font-weight: 500;
}

.page-home .today-match__meta {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: rgba(43, 30, 22, 0.72);
  font-size: 14px;
}

.page-home .today-match__meta li::before {
  content: "· ";
  color: var(--home-blue);
  font-weight: 700;
}

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

.page-home .home-today__media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.page-home .home-today__figure {
  margin: 0;
  width: 100%;
}

.page-home .home-today__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(13, 43, 64, 0.18);
}

.page-home .home-today__figcaption,
.page-home .home-resource__chart-cap,
.page-home .home-cycle__figure-note,
.page-home .home-fee__note {
  margin-top: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-home .home-today__gauge {
  background: var(--home-snow);
  border-radius: 28px;
  padding: 16px 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.08);
}

.page-home .home-today__gauge-value {
  font-family: var(--home-mono);
  font-size: 40px;
  font-weight: 800;
  color: var(--home-orange);
  line-height: 1;
}

.page-home .home-today__gauge-unit {
  font-size: 14px;
  font-weight: 600;
}

.page-home .home-today__about {
  font-size: 14px;
  font-weight: 600;
}

.page-home .home-timeline {
  padding: 72px 0;
  background: var(--home-snow);
}

.page-home .home-timeline .section__lead {
  max-width: 42em;
}

.page-home .timeline-frame {
  margin-top: 40px;
}

.page-home .timeline-track {
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--home-blue) var(--home-line);
  border-radius: 28px;
}

.page-home .timeline-track::-webkit-scrollbar {
  height: 8px;
}

.page-home .timeline-track::-webkit-scrollbar-thumb {
  background: var(--home-blue);
  border-radius: 999px;
}

.page-home .timeline-track::-webkit-scrollbar-track {
  background: var(--home-line);
}

.page-home .timeline-track__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(30, var(--timeline-day-w));
  min-width: var(--timeline-track-w);
  padding: 40px 8px 8px;
}

.page-home .timeline-track__line {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 1;
}

.page-home .timeline-day {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.page-home .timeline-day__week {
  font-size: 11px;
  font-weight: 700;
  color: var(--home-blue);
  min-height: 16px;
  white-space: nowrap;
}

.page-home .timeline-day__num {
  font-family: var(--home-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--home-ink);
}

.page-home .timeline-day__bar {
  width: 12px;
  border-radius: 999px;
  background: var(--home-line);
}

.page-home .timeline-day__bar--high {
  height: 56px;
  background: var(--home-orange);
}

.page-home .timeline-day__bar--mid {
  height: 38px;
  background: var(--home-blue);
}

.page-home .timeline-day__bar--low {
  height: 20px;
  background: var(--home-green);
}

.page-home .timeline-day__bar--none {
  height: 4px;
  background: var(--home-line);
}

.page-home .timeline-day__count {
  font-size: 12px;
  font-family: var(--home-mono);
  color: rgba(43, 30, 22, 0.7);
}

.page-home .timeline-day.is-today .timeline-day__num {
  background: var(--home-orange);
  color: var(--home-snow);
  border-radius: 999px;
  padding: 2px 10px;
}

.page-home .timeline-scroll-hint {
  margin-top: 12px;
  text-align: right;
  color: var(--home-blue);
  font-size: 12px;
}

.page-home .home-fee {
  padding: 72px 0;
  background: var(--home-sand);
}

.page-home .home-fee__layout {
  display: grid;
  gap: 36px;
}

.page-home .home-fee__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .home-fee__figure {
  margin: 0;
  width: 100%;
}

.page-home .home-fee__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(43, 30, 22, 0.14);
}

.page-home .home-fee__lead {
  font-size: 16px;
  color: rgba(43, 30, 22, 0.8);
  max-width: 38em;
  margin: 12px 0 24px;
}

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

.page-home .fee-block {
  background: var(--home-snow);
  border-radius: 28px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.08);
  overflow: hidden;
}

.page-home .fee-block__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--home-ink);
}

.page-home .fee-block__summary::-webkit-details-marker {
  display: none;
}

.page-home .fee-block__summary::after {
  content: "+";
  font-family: var(--home-mono);
  font-size: 22px;
  color: var(--home-orange);
  font-weight: 700;
  transition: transform 200ms ease-out;
}

.page-home .fee-block[open] .fee-block__summary::after {
  transform: rotate(45deg);
}

.page-home .fee-block__hint {
  font-size: 12px;
  font-weight: 500;
  color: rgba(43, 30, 22, 0.5);
  margin-left: auto;
}

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

.page-home .fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px dashed var(--home-line);
}

.page-home .fee-row:last-child {
  border-bottom: 0;
}

.page-home .fee-row__main {
  display: grid;
  gap: 2px;
}

.page-home .fee-row__name {
  font-weight: 700;
  color: var(--home-ink);
}

.page-home .fee-row__desc {
  font-size: 13px;
  color: rgba(43, 30, 22, 0.6);
}

.page-home .fee-row__price {
  text-align: right;
  font-family: var(--home-mono);
  flex-shrink: 0;
}

.page-home .fee-row__price b {
  font-size: 28px;
  font-weight: 800;
  color: var(--home-orange);
}

.page-home .fee-row__price span {
  font-size: 12px;
  color: rgba(43, 30, 22, 0.62);
}

.page-home .home-fee__footnote {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(43, 30, 22, 0.65);
}

.page-home .home-credit {
  padding: 72px 0;
  background: var(--home-cream);
}

.page-home .home-credit .section__lead {
  max-width: 44em;
}

.page-home .credit-graph {
  background: var(--home-snow);
  border-radius: 32px;
  padding: 28px 24px 20px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.08);
  margin-top: 36px;
}

.page-home .credit-graph__svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .credit-graph__axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--home-mono);
  font-size: 12px;
  color: rgba(43, 30, 22, 0.7);
  flex-wrap: wrap;
}

.page-home .credit-card-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-home .credit-card {
  background: var(--home-snow);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.06);
}

.page-home .credit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--home-blue);
  color: var(--home-snow);
  font-family: var(--home-mono);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-home .credit-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-home .credit-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(43, 30, 22, 0.72);
}

.page-home .credit-cal {
  margin-top: 20px;
  background: var(--home-snow);
  border-radius: 28px;
  box-shadow: 0 6px 20px rgba(43, 30, 22, 0.06);
  overflow: hidden;
}

.page-home .credit-cal__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.page-home .credit-cal__summary::-webkit-details-marker {
  display: none;
}

.page-home .credit-cal__summary::after {
  content: "+";
  font-family: var(--home-mono);
  font-size: 22px;
  color: var(--home-green);
  font-weight: 700;
}

.page-home .credit-cal[open] .credit-cal__summary::after {
  transform: rotate(45deg);
}

.page-home .credit-cal__table {
  border-top: 1px solid var(--home-line);
  font-size: 14px;
}

.page-home .credit-cal__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px dashed var(--home-line);
  font-family: var(--home-mono);
}

.page-home .credit-cal__row:last-child {
  border-bottom: 0;
}

.page-home .credit-cal__row--head {
  font-weight: 800;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--home-blue);
}

.page-home .home-resource {
  padding: 72px 0;
  background: var(--home-navy);
  color: var(--home-cream);
}

.page-home .home-resource h2 {
  color: var(--home-cream);
}

.page-home .home-resource .section__lead {
  color: rgba(245, 240, 230, 0.82);
}

.page-home .home-resource .section__head {
  border-color: rgba(245, 240, 230, 0.16);
}

.page-home .resource-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.page-home .resource-card {
  background: #16384f;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.page-home .resource-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--home-cream);
}

.page-home .resource-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(245, 240, 230, 0.86);
}

.page-home .resource-card ul li::before {
  content: "→ ";
  color: var(--home-green);
  font-weight: 700;
}

.page-home .resource-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(245, 240, 230, 0.82);
}

.page-home .resource-card--wide {
  grid-column: 1 / -1;
}

.page-home .home-resource__chart {
  margin: 32px 0 0;
}

.page-home .home-resource__chart-img {
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  border-radius: 32px;
}

.page-home .home-resource__chart-cap {
  color: rgba(245, 240, 230, 0.7);
}

.page-home .home-cycle {
  padding: 72px 0;
  background: var(--home-snow);
}

.page-home .home-cycle__layout {
  display: grid;
  gap: 36px;
}

.page-home .quarter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.page-home .quarter-card {
  background: var(--home-cream);
  border-radius: 20px;
  padding: 20px;
  border-left: 6px solid var(--home-blue);
  display: grid;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(43, 30, 22, 0.06);
}

.page-home .quarter-card__q {
  font-family: var(--home-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--home-blue);
}

.page-home .quarter-card__months {
  font-size: 14px;
  color: rgba(43, 30, 22, 0.75);
}

.page-home .quarter-card__fee {
  font-family: var(--home-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--home-orange);
  margin-top: 6px;
}

.page-home .home-cycle__points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(43, 30, 22, 0.8);
}

.page-home .home-cycle__points li {
  position: relative;
  padding-left: 28px;
}

.page-home .home-cycle__points li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--home-green);
  font-size: 16px;
}

.page-home .home-cycle__contact {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(43, 30, 22, 0.7);
}

.page-home .home-cycle__media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .home-cycle__figure {
  margin: 0;
  width: 100%;
}

.page-home .home-cycle__figure img {
  width: 100%;
  aspect-ratio: 10 / 7;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(13, 43, 64, 0.18);
}

.page-home .home-cycle__figure-note {
  color: var(--home-blue);
}

@media (min-width: 680px) {
  .page-home .credit-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .page-home .home-today__media {
    position: sticky;
    top: 20px;
  }

  .page-home .home-fee__layout {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .page-home .home-cycle__layout {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

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

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

  .page-home .resource-card--wide {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .page-home .resource-card--wide p {
    margin: 0;
    max-width: 42em;
  }
}

@media (min-width: 1200px) {
  .page-home .home-today {
    padding-top: 40px;
  }

  .page-home .section__lead {
    font-size: 17px;
  }
}
