.page-home{
  --home-gap:1rem;
  --home-cut:16px;
  --home-soft-shadow:0 6px 18px rgba(11,30,45,.08);
}

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

.page-home .data-number{
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  font-weight:700;
}

.page-home .panel-tag{
  background:var(--teal-light);
  color:var(--blue-800);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.06em;
  padding:.28rem .55rem;
  white-space:nowrap;
}

.page-home .panel-tag-dark{
  background:rgba(255,255,255,.16);
  color:var(--cream);
}

.page-home .home-crumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.45rem;
  padding-top:1.25rem;
  padding-bottom:.5rem;
  font-size:.78rem;
  color:var(--gray);
}

.page-home .crumb-sep{
  opacity:.45;
}

.page-home .crumb-live{
  margin-left:.35rem;
}

.page-home .crumb-current{
  color:var(--blue-800);
  font-weight:700;
}

.page-home .hero-collage{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--home-gap);
  padding-top:.25rem;
  padding-bottom:1.25rem;
}

.page-home .hero-title-block{
  position:relative;
  padding:1.25rem 1.25rem 1.1rem;
  background:var(--blue-800);
  clip-path:polygon(0 0,calc(100% - var(--home-cut)) 0,100% var(--home-cut),100% 100%,0 100%);
}

.page-home .hero-title-block::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:96px;
  height:96px;
  background:repeating-linear-gradient(135deg,transparent 0 8px,rgba(255,255,255,.07) 8px 9px);
}

.page-home .hero-kicker{
  margin:0 0 .5rem;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--teal);
}

.page-home .hero-title-block h1{
  margin:0;
  font-size:clamp(1.65rem,6vw,2.6rem);
  line-height:1.2;
  color:var(--cream);
  letter-spacing:.02em;
}

.page-home .hero-lead{
  margin:.75rem 0 0;
  max-width:56ch;
  font-size:.85rem;
  line-height:1.75;
  color:rgba(253,248,240,.82);
}

.page-home .hero-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.5rem;
  margin:1.1rem 0 0;
}

.page-home .hero-metric{
  background:rgba(255,255,255,.07);
  border-left:3px solid var(--orange);
  padding:.55rem .7rem;
}

.page-home .hero-metric dt{
  font-size:.68rem;
  color:rgba(253,248,240,.72);
}

.page-home .hero-metric dd{
  margin:0;
  font-size:1.2rem;
  color:var(--orange);
  font-family:var(--font-mono);
  font-weight:700;
}

.page-home .hero-board,
.page-home .hero-compare,
.page-home .hero-scorer,
.page-home .scorer-panel{
  box-shadow:var(--home-soft-shadow);
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);
}

.page-home .hero-board,
.page-home .hero-compare,
.page-home .scorer-panel{
  background:var(--white);
  padding:1rem 1.1rem .9rem;
}

.page-home .hero-scorer{
  background:var(--blue-800);
  padding:1rem 1.1rem .9rem;
}

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

.page-home .panel-head h2,
.page-home .panel-head h3{
  margin:0;
  font-size:.88rem;
  font-weight:800;
  color:var(--blue-800);
}

.page-home .hero-scorer .panel-head h2{
  color:var(--cream);
}

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

.page-home .hero-board-list li{
  display:grid;
  grid-template-columns:1.75rem minmax(0,1fr) auto auto;
  align-items:center;
  gap:.55rem;
  padding:.48rem .1rem;
  border-bottom:1px dashed rgba(16,42,67,.12);
}

.page-home .hero-board-list li:last-child{
  border-bottom:0;
}

.page-home .board-rank{
  width:1.7rem;
  height:1.7rem;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-800);
  color:#fff;
  font-family:var(--font-mono);
  font-size:.75rem;
  font-weight:700;
}

.page-home .hero-board-list li:nth-child(-n+3) .board-rank{
  background:var(--orange);
}

.page-home .board-team{
  font-size:.8rem;
  font-weight:600;
  color:var(--blue-800);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.page-home .board-pts{
  font-size:.85rem;
  color:var(--orange);
}

.page-home .form-dots{
  display:inline-flex;
  align-items:center;
  gap:3px;
}

.page-home .form-dot{
  width:.4rem;
  height:.4rem;
  border-radius:50%;
  display:inline-block;
}

.page-home .form-dot.win{
  background:var(--teal);
}

.page-home .form-dot.draw{
  background:var(--orange-light);
}

.page-home .form-dot.loss{
  background:var(--red);
}

.page-home .board-link{
  display:inline-block;
  margin-top:.7rem;
  font-size:.75rem;
  font-weight:700;
  color:var(--orange);
  text-decoration:none;
}

.page-home .board-link:hover{
  color:var(--blue-800);
}

.page-home .legend-line{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-size:.65rem;
  color:var(--gray);
}

.page-home .legend-line i{
  width:.5rem;
  height:.5rem;
  display:inline-block;
}

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

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

.page-home .compare-rows{
  display:flex;
  flex-direction:column;
  gap:.45rem;
}

.page-home .compare-row{
  display:grid;
  grid-template-columns:4.25rem minmax(0,1fr) minmax(0,1fr);
  gap:.4rem;
  align-items:center;
}

.page-home .compare-team{
  font-size:.72rem;
  font-weight:600;
  color:var(--blue-800);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.page-home .compare-bar{
  position:relative;
  height:1.05rem;
  background:var(--teal-light);
  overflow:hidden;
}

.page-home .compare-bar i{
  display:block;
  height:100%;
  font-style:normal;
  font-size:.62rem;
  font-weight:700;
  line-height:1.05rem;
  padding-left:.25rem;
  overflow:hidden;
  white-space:nowrap;
}

.page-home .home-bar i{
  background:var(--blue-800);
  color:#fff;
}

.page-home .away-bar i{
  background:var(--orange);
  color:#fff;
}

.page-home .scorer-team{
  display:block;
  font-size:.75rem;
  font-weight:600;
  color:rgba(253,248,240,.85);
}

.page-home .scorer-goals{
  display:block;
  margin:.3rem 0 .35rem;
  font-size:2.4rem;
  line-height:1;
  color:var(--orange);
  font-weight:800;
}

.page-home .scorer-goals span{
  font-size:.85rem;
  margin-left:.2rem;
}

.page-home .scorer-note{
  margin:.5rem 0 0;
  font-size:.72rem;
  line-height:1.65;
  color:var(--gray);
}

.page-home .hero-scorer .scorer-note{
  color:rgba(253,248,240,.72);
}

.page-home .hero-notice{
  display:flex;
  align-items:flex-start;
  gap:.6rem;
  background:var(--teal-light);
  padding:.85rem 1rem;
  border-left:4px solid var(--teal);
}

.page-home .notice-dot{
  flex-shrink:0;
  width:.5rem;
  height:.5rem;
  margin-top:.3rem;
  border-radius:50%;
  background:var(--teal);
}

.page-home .hero-notice p{
  margin:0;
  font-size:.8rem;
  line-height:1.65;
  color:var(--blue-800);
}

.page-home .hero-notice strong{
  color:var(--orange);
}

.page-home .hero-figure{
  margin:0;
  overflow:hidden;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 8px);
}

.page-home .hero-img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.page-home .rank-section{
  padding-top:calc(var(--section-space,4rem) * .5);
}

.page-home .rank-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.page-home .rank-head .tag{
  flex-shrink:0;
  margin-top:.5rem;
}

.page-home .view-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1rem 0;
}

.page-home .view-tab{
  display:inline-flex;
  align-items:center;
  padding:.5rem 1.05rem;
  background:var(--white);
  border:1px solid rgba(16,42,67,.14);
  color:var(--blue-800);
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
  box-shadow:var(--home-soft-shadow);
}

.page-home .view-tab.is-active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}

.page-home .rank-grid{
  display:grid;
  gap:1rem;
}

.page-home .rank-table-panel{
  min-width:0;
}

.page-home .rank-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--white);
  box-shadow:var(--home-soft-shadow);
}

.page-home .rank-table{
  width:100%;
  min-width:680px;
  border-collapse:collapse;
  font-size:.82rem;
}

.page-home .rank-table th{
  background:var(--blue-800);
  color:var(--cream);
  text-align:left;
  padding:.6rem .75rem;
  font-weight:700;
  white-space:nowrap;
}

.page-home .rank-table td{
  padding:.68rem .75rem;
  border-bottom:1px solid rgba(16,42,67,.08);
  color:var(--blue-800);
}

.page-home .rank-table tbody tr:last-child td{
  border-bottom:0;
}

.page-home .rank-table tbody tr:hover{
  background:rgba(255,107,53,.05);
}

.page-home .rank-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.8rem;
  height:1.8rem;
  background:var(--blue-800);
  color:#fff;
  font-family:var(--font-mono);
  font-size:.75rem;
  font-weight:700;
}

.page-home .rank-table tbody tr:nth-child(-n+3) .rank-badge{
  background:var(--orange);
}

.page-home .rank-badge-sub{
  background:var(--gray);
}

.page-home .team-cell{
  font-weight:700;
}

.page-home .pts-cell{
  color:var(--orange);
  font-weight:700;
}

.page-home .form-text{
  display:inline-flex;
  gap:.2em;
  font-size:.74rem;
  letter-spacing:.04em;
  font-weight:600;
}

.page-home .net-cell{
  font-family:var(--font-mono);
  font-weight:700;
}

.page-home .net-plus{
  color:var(--teal);
}

.page-home .net-minus{
  color:var(--red);
}

.page-home .rank-note{
  margin:.6rem 0 0;
  font-size:.72rem;
  line-height:1.6;
  color:var(--gray);
}

.page-home .rank-figure{
  margin:0;
  overflow:hidden;
  background:var(--blue-800);
}

.page-home .rank-figure img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:220px;
}

.page-home .scorer-panel{
  display:flex;
  flex-direction:column;
}

.page-home .scorer-list{
  list-style:none;
  margin:0 0 .6rem;
  padding:0;
}

.page-home .scorer-list li{
  display:grid;
  grid-template-columns:1.6rem minmax(0,1fr) auto;
  align-items:center;
  gap:.5rem;
  padding:.55rem .1rem;
  border-bottom:1px dashed rgba(16,42,67,.12);
}

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

.page-home .scorer-rank{
  width:1.5rem;
  height:1.5rem;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--orange-light);
  color:var(--blue-800);
  font-family:var(--font-mono);
  font-size:.7rem;
  font-weight:700;
}

.page-home .scorer-name{
  font-size:.78rem;
  font-weight:600;
  color:var(--blue-800);
}

.page-home .scorer-count{
  font-size:.82rem;
  color:var(--orange);
}

.page-home .scorer-count span{
  font-size:.65rem;
  margin-left:.15rem;
}

.page-home .hfa-section{
  position:relative;
  margin-top:3.5rem;
  padding:3.5rem 0;
  background:var(--blue-800);
  color:var(--cream);
}

.page-home .hfa-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:6px;
  background:repeating-linear-gradient(100deg,var(--orange) 0 28px,transparent 28px 56px,var(--teal) 56px 84px,transparent 84px 112px);
}

.page-home .hfa-section .section-title h2{
  color:var(--cream);
}

.page-home .hfa-section .section-title small{
  color:rgba(253,248,240,.6);
}

.page-home .hfa-layout{
  display:grid;
  gap:1rem;
  margin-top:1.5rem;
}

.page-home .hfa-section .panel{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:none;
  padding:1rem;
}

.page-home .hfa-section .panel-head h3{
  color:var(--cream);
}

.page-home .chart-legend{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  font-size:.65rem;
  color:rgba(253,248,240,.72);
}

.page-home .chart-legend i{
  width:.5rem;
  height:.5rem;
  display:inline-block;
}

.page-home .gl-in{
  background:var(--teal);
}

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

.page-home .hfa-bars{
  display:flex;
  flex-direction:column;
}

.page-home .hfa-row{
  display:grid;
  grid-template-columns:3.6rem minmax(0,1fr) 1.15rem minmax(0,1fr) 1.15rem;
  gap:.35rem;
  align-items:center;
  padding:.42rem 0;
  border-bottom:1px dashed rgba(255,255,255,.1);
}

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

.page-home .hfa-team{
  font-size:.7rem;
  font-weight:600;
  color:var(--cream);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.page-home .hfa-track{
  background:rgba(255,255,255,.14);
  height:.42rem;
  border-radius:2px;
  overflow:hidden;
}

.page-home .hfa-track i{
  display:block;
  height:100%;
}

.page-home .in-track i{
  background:var(--teal);
}

.page-home .out-track i{
  background:var(--orange);
}

.page-home .hfa-num{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:700;
}

.page-home .in-num{
  color:var(--teal);
}

.page-home .out-num{
  color:var(--orange);
}

.page-home .hfa-figure{
  margin:0;
  overflow:hidden;
}

.page-home .hfa-figure img{
  width:100%;
  height:210px;
  object-fit:cover;
}

.page-home .hfa-analysis{
  display:flex;
  flex-direction:column;
}

.page-home .hfa-analysis h3{
  margin:0 0 .7rem;
  font-size:.92rem;
  font-weight:800;
  color:var(--cream);
}

.page-home .analysis-list{
  list-style:none;
  margin:0 0 .9rem;
  padding:0;
  flex:1;
}

.page-home .analysis-list li{
  display:flex;
  gap:.55rem;
  padding:.55rem 0;
  border-bottom:1px dashed rgba(255,255,255,.14);
  font-size:.78rem;
  line-height:1.65;
  color:rgba(253,248,240,.88);
}

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

.page-home .analysis-num{
  flex-shrink:0;
  font-family:var(--font-mono);
  font-size:.68rem;
  font-weight:700;
  color:var(--orange);
}

.page-home .updates-section{
  padding-top:2.5rem;
}

.page-home .updates-grid{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}

.page-home .update-card{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding:1rem 1.15rem 1.1rem;
  background:var(--white);
  box-shadow:var(--home-soft-shadow);
  border-left:4px solid var(--teal);
}

.page-home .update-card:nth-child(2){
  border-left-color:var(--orange);
}

.page-home .update-card:nth-child(3){
  border-left-color:var(--blue-700);
}

.page-home .update-card h3{
  margin:0;
  font-size:.95rem;
  line-height:1.5;
  color:var(--blue-800);
}

.page-home .update-card p{
  margin:0;
  font-size:.8rem;
  line-height:1.7;
  color:var(--gray);
  flex:1;
}

.page-home .update-link{
  margin-top:.35rem;
  font-size:.78rem;
  font-weight:700;
  color:var(--orange);
  text-decoration:none;
}

.page-home .update-link span{
  display:inline-block;
  transition:transform .2s ease;
}

.page-home .update-link:hover span{
  transform:translateX(4px);
}

.page-home .trust-section{
  padding-top:2.5rem;
}

.page-home .trust-layout{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}

.page-home .trust-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.5rem;
  background:var(--blue-800);
  padding:1rem;
}

.page-home .stat-item{
  background:rgba(255,255,255,.07);
  padding:.7rem .75rem;
  text-align:center;
}

.page-home .stat-num{
  display:block;
  font-size:1.45rem;
  line-height:1.2;
  color:var(--orange);
}

.page-home .stat-label{
  display:block;
  margin-top:.3rem;
  font-size:.68rem;
  color:rgba(253,248,240,.78);
}

.page-home .trust-card{
  background:var(--white);
  padding:1rem 1.15rem;
  box-shadow:var(--home-soft-shadow);
}

.page-home .trust-card h3{
  margin:0 0 .7rem;
  padding-bottom:.5rem;
  border-bottom:2px solid var(--orange-light);
  font-size:.9rem;
  color:var(--blue-800);
}

.page-home .trust-card p{
  margin:0;
  font-size:.78rem;
  line-height:1.75;
  color:var(--gray);
}

.page-home .partner-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}

.page-home .partner-list li{
  position:relative;
  padding-left:1rem;
  font-size:.82rem;
  font-weight:600;
  color:var(--blue-800);
}

.page-home .partner-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45rem;
  width:6px;
  height:6px;
  background:var(--orange);
  transform:rotate(45deg);
}

.page-home .trust-figure{
  margin:0;
  overflow:hidden;
}

.page-home .trust-figure img{
  width:100%;
  height:210px;
  object-fit:cover;
}

.page-home .trust-statement{
  background:var(--teal-light);
  padding:1.15rem 1.25rem;
  border-left:6px solid var(--teal);
}

.page-home .trust-statement p{
  margin:0;
  font-size:.88rem;
  line-height:1.8;
  color:var(--blue-800);
}

.page-home .trust-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:.9rem;
}

.page-home .btn-sm{
  padding:.42rem .85rem;
  font-size:.75rem;
}

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

.page-home .btn-outline{
  border-color:rgba(16,42,67,.2);
  color:var(--blue-800);
}

.page-home .btn-outline:hover{
  border-color:var(--blue-800);
  background:var(--blue-800);
  color:#fff;
}

@media (min-width:768px){

  .page-home{
    --home-gap:1.25rem;
  }

  .page-home .hero-metrics{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .page-home .hero-img{
    height:260px;
  }

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

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

  .page-home .hfa-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }

  .page-home .hfa-figure img,
  .page-home .trust-figure img{
    height:230px;
  }
}

@media (min-width:992px){

  .page-home .hero-collage{
    grid-template-columns:1.15fr .75fr 1fr;
    grid-template-rows:auto auto auto;
  }

  .page-home .hero-title-block{
    grid-column:1/3;
    grid-row:1;
    padding:1.8rem 2rem 1.5rem;
  }

  .page-home .hero-figure{
    grid-column:3;
    grid-row:1/3;
    margin-top:.75rem;
    height:100%;
    min-height:300px;
  }

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

  .page-home .hero-board{
    grid-column:1;
    grid-row:2;
  }

  .page-home .hero-compare{
    grid-column:2;
    grid-row:2;
  }

  .page-home .hero-scorer{
    grid-column:1;
    grid-row:3;
  }

  .page-home .hero-notice{
    grid-column:2/4;
    grid-row:3;
  }

  .page-home .rank-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
    grid-template-rows:auto auto;
  }

  .page-home .rank-table-panel{
    grid-column:1/3;
    grid-row:1;
  }

  .page-home .rank-figure{
    grid-column:1;
    grid-row:2;
  }

  .page-home .rank-figure img{
    height:100%;
    min-height:260px;
  }

  .page-home .scorer-panel{
    grid-column:2;
    grid-row:2;
  }

  .page-home .hfa-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }

  .page-home .hfa-chart-home{
    grid-column:1;
    grid-row:1;
  }

  .page-home .hfa-chart-away{
    grid-column:2;
    grid-row:1;
  }

  .page-home .hfa-figure{
    grid-column:1;
    grid-row:2;
  }

  .page-home .hfa-figure img{
    height:100%;
    min-height:270px;
  }

  .page-home .hfa-analysis{
    grid-column:2;
    grid-row:2;
  }

  .page-home .trust-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto auto auto;
  }

  .page-home .trust-stats{
    grid-column:1/4;
    grid-row:1;
  }

  .page-home .trust-card:first-of-type{
    grid-column:1;
    grid-row:2;
  }

  .page-home .trust-card:nth-of-type(2){
    grid-column:2;
    grid-row:2;
  }

  .page-home .trust-figure{
    grid-column:3;
    grid-row:2;
  }

  .page-home .trust-figure img{
    height:100%;
    min-height:240px;
  }

  .page-home .trust-statement{
    grid-column:1/4;
    grid-row:3;
  }
}

@media (hover:hover){
  .page-home .view-tab:hover{
    background:var(--orange-light);
    border-color:rgba(255,107,53,.5);
  }

  .page-home .view-tab.is-active:hover{
    background:var(--orange);
    border-color:var(--orange);
  }

  .page-home .update-link:hover{
    color:var(--blue-800);
  }

  .page-home .board-link:hover{
    color:var(--blue-800);
  }

  .page-home .btn-outline:hover{
    background:var(--blue-800);
    border-color:var(--blue-800);
    color:#fff;
  }
}

.page-home {
  --section-space: 1rem;
}
