.page-home {
  --ph-primary: #00A89D;
  --ph-primary-dark: #008a81;
  --ph-accent: #F36A3B;
  --ph-accent-dark: #d94e1f;
  --ph-deep: #1B4E6B;
  --ph-deep-dark: #0f3142;
  --ph-paper: #F5F2E6;
  --ph-ink: #1A1A1A;
  --ph-gray: #8C8C8C;
  --ph-aux: #6BCB9A;
  --ph-danger: #C0392B;
  --ph-font-head: var(--font-head);
  --ph-font-body: var(--font-body);
  --ph-font-mono: var(--font-mono);
  --ph-shadow-hard: 8px 8px 0 rgba(26, 26, 26, 0.16);
  --ph-shadow-hard-sm: 4px 4px 0 rgba(26, 26, 26, 0.14);
  background-color: var(--ph-paper);
  color: var(--ph-ink);
  font-family: var(--ph-font-body);
  overflow-x: hidden;
}

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

.page-home .page-wrap {
  width: min(var(--container), 90%);
  margin-inline: auto;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 0.375rem;
  text-decoration: none;
  border: 2px solid var(--ph-ink);
  box-shadow: var(--ph-shadow-hard-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.16);
}

.page-home .btn-primary {
  background-color: var(--ph-primary);
  color: #fff;
}

.page-home .btn-accent {
  background-color: var(--ph-accent);
  color: #fff;
  border-color: var(--ph-ink);
}

.page-home .btn-outline {
  background-color: transparent;
  border: 2px solid currentColor;
}

.page-home .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.page-home .btn-light.btn-outline {
  color: var(--ph-paper);
  border-color: var(--ph-paper);
}

.page-home .section {
  padding-block: 4rem;
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.page-home .section-head-light {
  color: var(--ph-paper);
}

.page-home .section-head-light .section-lead {
  color: rgba(245, 242, 230, 0.78);
}

.page-home .section-number {
  font-family: var(--ph-font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--ph-accent);
  flex-shrink: 0;
  font-weight: 700;
}

.page-home .section-head-light .section-number {
  color: var(--ph-accent);
}

.page-home .section-head-text {
  flex: 1 1 20rem;
}

.page-home .section-title {
  font-family: var(--ph-font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.page-home .section-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ph-gray);
  margin: 0;
  max-width: 42em;
}

.page-home .section-link {
  margin-left: auto;
  align-self: flex-end;
  font-weight: 700;
  color: var(--ph-primary-dark);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.2s ease;
}

.page-home .section-link:hover {
  border-bottom-color: var(--ph-primary-dark);
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245, 242, 230, 0.75);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.page-home .breadcrumb-sep {
  color: var(--ph-accent);
}

/* -------- hero -------- */
.page-home .hero {
  position: relative;
  background-color: var(--ph-deep);
  color: var(--ph-paper);
  padding: 2.5rem 0 7rem;
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0, 168, 157, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(243, 106, 59, 0.22) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero-bg-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ph-deep-dark) 0%, rgba(15, 49, 66, 0.72) 55%, rgba(0, 168, 157, 0.15) 100%);
}

.page-home .hero-bg-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 94%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

.page-home .hero-copy-wrap {
  max-width: 40rem;
}

.page-home .hero-title {
  font-family: var(--ph-font-head);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-home .hero-title::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 4px;
  margin-top: 0.9rem;
  background: var(--ph-accent);
  border-radius: 2px;
}

.page-home .hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245, 242, 230, 0.86);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.page-home .hero-feature-line {
  font-size: 0.875rem;
  color: rgba(245, 242, 230, 0.68);
  margin: 0;
}

.page-home .hero-panel {
  background: rgba(245, 242, 230, 0.1);
  border: 1.5px solid rgba(245, 242, 230, 0.25);
  border-radius: 0.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--ph-shadow-hard);
}

.page-home .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.page-home .panel-label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .panel-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ph-accent);
  letter-spacing: 0.1em;
}

.page-home .panel-live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ph-accent);
  animation: ph-pulse 1.4s infinite ease-in-out;
}

@keyframes ph-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.page-home .panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.page-home .panel-stat-item {
  text-align: center;
  padding: 0.7rem 0.3rem;
  background: rgba(245, 242, 230, 0.08);
  border-radius: 0.4rem;
  border-left: 2px solid var(--ph-accent);
}

.page-home .stat-num {
  display: block;
  font-family: var(--ph-font-mono);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.page-home .stat-label {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.3rem;
  color: rgba(245, 242, 230, 0.7);
}

.page-home .panel-updated {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(245, 242, 230, 0.78);
  border-top: 1px solid rgba(245, 242, 230, 0.15);
  padding-top: 0.7rem;
}

.page-home .updated-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ph-aux);
  flex-shrink: 0;
}

.page-home .hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
}

.page-home .hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
  fill: var(--ph-paper);
}

/* -------- match cards -------- */
.page-home .match-section {
  background-color: var(--ph-paper);
  padding-bottom: 4.5rem;
}

.page-home .match-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .match-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 2px solid var(--ph-ink);
  border-radius: 0.75rem;
  box-shadow: var(--ph-shadow-hard);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .match-card:hover,
.page-home .match-card:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 rgba(26, 26, 26, 0.2);
}

.page-home .match-media {
  position: relative;
  min-height: 120px;
  max-height: 220px;
  overflow: hidden;
}

.page-home .match-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27, 78, 107, 0.65) 100%);
  pointer-events: none;
}

.page-home .match-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .match-media-empty {
  background: var(--ph-deep);
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .match-main {
  padding: 1.2rem 1.2rem 1.4rem;
}

.page-home .match-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.page-home .tag-btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border: 1.5px solid var(--ph-ink);
  border-radius: 2rem;
  background: var(--ph-paper);
  letter-spacing: 0.06em;
}

.page-home .tag-btn-accent {
  background: var(--ph-accent);
  color: #fff;
  border-color: var(--ph-ink);
}

.page-home .match-league {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ph-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--ph-font-head);
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-home .team-name {
  flex: 1;
  line-height: 1.3;
}

.page-home .team-name:last-child {
  text-align: right;
}

.page-home .team-score {
  font-family: var(--ph-font-mono);
  font-weight: 800;
  color: var(--ph-primary-dark);
  background: rgba(0, 168, 157, 0.1);
  border-radius: 0.35rem;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.page-home .match-meta {
  font-size: 0.8rem;
  color: var(--ph-gray);
  margin-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.2);
  padding-bottom: 0.7rem;
}

.page-home .match-goal-distribution {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.page-home .goal-bar {
  display: grid;
  grid-template-columns: 4.5em 1fr 2.2em;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
}

.page-home .goal-bar-label {
  color: var(--ph-gray);
  white-space: nowrap;
}

.page-home .goal-bar-track {
  height: 7px;
  background: rgba(26, 26, 26, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .goal-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ph-primary), var(--ph-aux));
  border-radius: 3px;
}

.page-home .goal-bar-value {
  font-family: var(--ph-font-mono);
  font-weight: 800;
  text-align: right;
}

.page-home .match-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ph-primary-dark);
  cursor: pointer;
}

.page-home .match-expand .accordion-icon {
  width: 0.8em;
  height: 0.8em;
  position: relative;
  transition: transform 0.2s ease;
}

.page-home .match-expand .accordion-icon::before,
.page-home .match-expand .accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.page-home .match-expand .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-home .match-expand[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.page-home .match-detail {
  display: none;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(26, 26, 26, 0.2);
}

.page-home .match-detail[data-open] {
  display: block;
}

.page-home .match-detail p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #333;
}

/* -------- data section -------- */
.page-home .data-section {
  background-color: var(--ph-deep);
  color: var(--ph-paper);
  padding-block: 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-home .data-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 168, 157, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.page-home .data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.page-home .data-card {
  background: rgba(245, 242, 230, 0.07);
  border: 1.5px solid rgba(245, 242, 230, 0.2);
  border-radius: 0.75rem;
  padding: 1.3rem 1.2rem;
}

.page-home .data-card-title {
  font-family: var(--ph-font-head);
  font-size: 1.4rem;
  margin: 0 0 1rem;
  font-weight: 700;
}

.page-home .svg-chart {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 0.5rem;
  padding: 0.6rem;
}

.page-home .svg-chart svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.3rem;
  background: var(--ph-paper);
}

.page-home .chart-grid-line {
  stroke: rgba(26, 26, 26, 0.14);
  stroke-dasharray: 3 4;
  stroke-width: 1;
}

.page-home .chart-note {
  font-size: 0.8rem;
  color: rgba(245, 242, 230, 0.7);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.page-home .data-card-image .media-frame {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(245, 242, 230, 0.22);
}

.page-home .media-frame-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 168, 157, 0.35), transparent 50%);
  pointer-events: none;
}

.page-home .ranking-block {
  margin-top: 1.2rem;
}

.page-home .ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.page-home .ranking-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 242, 230, 0.1);
  border-radius: 0.4rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  border-left: 3px solid transparent;
}

.page-home .ranking-trend {
  font-weight: 800;
  width: 1.4rem;
  display: inline-block;
  text-align: center;
}

.page-home .ranking-trend.up {
  color: var(--ph-aux);
}

.page-home .ranking-trend.down {
  color: var(--ph-accent);
}

.page-home .ranking-item em {
  margin-left: auto;
  font-family: var(--ph-font-mono);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(245, 242, 230, 0.6);
}

/* -------- app download -------- */
.page-home .app-download-section {
  background-color: var(--ph-paper);
  padding-block: 4.5rem;
}

.page-home .download-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #fff;
  border: 2px solid var(--ph-ink);
  border-radius: 1rem;
  box-shadow: var(--ph-shadow-hard);
  padding: 1.8rem 1.4rem;
}

.page-home .section-head-compact .section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}

.page-home .app-feature-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.page-home .app-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .feature-icon {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--ph-deep);
  color: #fff;
  border-radius: 0.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.page-home .app-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .app-version-note {
  font-size: 0.82rem;
  color: var(--ph-gray);
}

.page-home .download-code {
  position: relative;
  background: var(--ph-deep);
  border: 1.5px solid var(--ph-ink);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: var(--ph-shadow-hard-sm);
}

.page-home .code-placeholder {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .code-placeholder svg {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}

.page-home .code-caption {
  color: rgba(245, 242, 230, 0.82);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* -------- story section -------- */
.page-home .story-section {
  background-color: var(--ph-paper);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

.page-home .story-pattern {
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  opacity: 0.09;
  pointer-events: none;
}

.page-home .story-pattern svg {
  width: 100%;
  height: 100%;
  fill: var(--ph-primary);
}

.page-home .story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-home .story-media {
  border: 2px solid var(--ph-ink);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: var(--ph-shadow-hard);
  transform: rotate(-1.2deg);
}

.page-home .story-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .story-copy {
  max-width: 40rem;
}

.page-home .story-text-block {
  margin: 1.2rem 0 1.5rem;
}

.page-home .story-text-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 0.9rem;
}

.page-home .story-stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.page-home .story-stat {
  background: #fff;
  border: 1.5px solid var(--ph-ink);
  border-radius: 0.5rem;
  box-shadow: var(--ph-shadow-hard-sm);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-home .story-stat .stat-num {
  color: var(--ph-primary-dark);
}

.page-home .story-stat .stat-label {
  color: var(--ph-gray);
  margin-top: 0;
}

/* -------- news preview -------- */
.page-home .news-preview-section {
  background-color: var(--ph-paper);
  border-top: 2px solid rgba(26, 26, 26, 0.06);
}

.page-home .news-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .news-preview-item {
  padding: 1.2rem;
  border: 2px solid var(--ph-ink);
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: var(--ph-shadow-hard-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.page-home .news-preview-item + .news-preview-item {
  margin-top: 1rem;
}

.page-home .news-cate {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-accent-dark);
  display: inline-block;
  width: fit-content;
  padding: 0.15rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 2rem;
}

.page-home .news-title-link {
  font-family: var(--ph-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ph-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .news-title-link:hover,
.page-home .news-title-link:focus-visible {
  color: var(--ph-primary-dark);
}

.page-home .news-brief {
  font-size: 0.85rem;
  color: var(--ph-gray);
  line-height: 1.6;
}

/* -------- service section -------- */
.page-home .service-section {
  background-color: var(--ph-deep-dark);
  color: var(--ph-paper);
  padding-block: 4.5rem;
}

.page-home .service-section .section-head-light .section-lead {
  color: rgba(245, 242, 230, 0.72);
}

.page-home .service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.page-home .service-col {
  background: rgba(245, 242, 230, 0.06);
  border: 1px solid rgba(245, 242, 230, 0.16);
  border-radius: 0.6rem;
  padding: 0.9rem;
}

.page-home .service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.page-home .service-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 0.35rem;
  font-size: 0.85rem;
}

.page-home .service-name {
  font-weight: 700;
}

.page-home .service-status {
  font-size: 0.72rem;
  color: var(--ph-aux);
  font-weight: 700;
  background: rgba(107, 203, 154, 0.12);
  border-radius: 2rem;
  padding: 0.1rem 0.5rem;
}

.page-home .service-round {
  font-family: var(--ph-font-mono);
  font-size: 0.75rem;
  color: rgba(245, 242, 230, 0.6);
}

.page-home .service-tally {
  font-size: 0.86rem;
  color: rgba(245, 242, 230, 0.78);
  line-height: 1.7;
  margin: 0 0 1.4rem;
  max-width: 34rem;
}

.page-home .service-section .btn {
  margin-bottom: 1rem;
}

/* -------- reveal -------- */
.page-home [data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.page-home [data-reveal][data-visible="false"] {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal][data-visible="false"] {
    opacity: 1;
    transform: none;
  }
}

/* -------- tablet / desktop -------- */
@media (min-width: 680px) {
  .page-home .hero {
    padding-top: 3.5rem;
  }

  .page-home .hero-inner {
    grid-template-columns: 1.35fr 0.8fr;
    align-items: end;
  }

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

  .page-home .match-card {
    grid-template-columns: 150px 1fr;
  }

  .page-home .match-media {
    max-height: none;
    min-height: 100%;
  }

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

  .page-home .data-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .page-home .download-box {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 2.2rem 2.4rem;
  }

  .page-home .app-feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .story-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }

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

  .page-home .story-stat {
    flex-direction: column;
    gap: 0.2rem;
  }

  .page-home .news-preview-item {
    grid-template-columns: 7.5rem 1fr;
    grid-template-areas:
      "cate title"
      "cate brief";
    column-gap: 1rem;
  }

  .page-home .news-cate {
    grid-area: cate;
    align-self: start;
  }

  .page-home .news-title-link {
    grid-area: title;
  }

  .page-home .news-brief {
    grid-area: brief;
  }

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

@media (min-width: 1024px) {
  .page-home .hero {
    padding-bottom: 8rem;
  }

  .page-home .hero-inner {
    grid-template-columns: 1.25fr 0.9fr;
  }

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

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

  .page-home .match-card:nth-child(6n+1),
  .page-home .match-card:nth-child(6n+5) {
    grid-column: span 1;
  }

  .page-home .match-card:nth-child(6n+2) {
    grid-column: span 1;
  }

  .page-home .match-card:nth-child(6n+3) {
    grid-column: span 2;
    grid-template-columns: 220px 1fr;
  }

  .page-home .match-card:nth-child(6n+4) {
    grid-column: span 2;
    grid-template-columns: 220px 1fr;
  }

  .page-home .download-box {
    padding: 2.6rem 3rem;
  }

  .page-home .app-feature-list {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1280px) {
  .page-home .section {
    padding-block: 5rem;
  }

  .page-home .data-section {
    padding-block: 5.5rem;
  }

  .page-home .match-card:nth-child(6n+1) {
    grid-column: 1;
  }

  .page-home .match-card:nth-child(6n+2) {
    grid-column: 2;
  }

  .page-home .match-card:nth-child(6n+3) {
    grid-column: 1 / -1;
  }
}
