.page-home {
  --home-shell-pad: 20px;
  display: block;
}

.page-home .home-shell {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--home-shell-pad);
}

@media (min-width: 768px) {
  .page-home {
    --home-shell-pad: 32px;
  }
}

/* ---------- hero ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 68px;
  color: var(--paper-000);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 96% at 86% 6%, rgba(47, 211, 164, .24), transparent 58%),
    linear-gradient(166deg, var(--ink-900) 0%, var(--ink-700) 58%, var(--night-800) 100%);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .25;
  pointer-events: none;
}

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

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, .5) 0%, rgba(11, 31, 51, .78) 62%, var(--ink-900) 100%);
  pointer-events: none;
}

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

.page-home .hero .breadcrumb {
  margin-bottom: 26px;
  color: rgba(251, 249, 244, .58);
}

.page-home .hero .breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  letter-spacing: .04em;
}

.page-home .hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-home .hero .breadcrumb a:hover,
.page-home .hero .breadcrumb a:focus-visible {
  color: var(--mint-500);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: 1.02fr .98fr;
    gap: 56px;
    align-items: end;
  }
}

.page-home .hero-kicker {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--mint-500);
}

.page-home .hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.6vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper-000);
}

.page-home .hero-lede {
  max-width: 34em;
  margin: 22px 0 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(251, 249, 244, .8);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .btn-ghost {
  border: 1px solid rgba(251, 249, 244, .32);
  background: transparent;
  color: var(--paper-000);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .btn-ghost:hover,
.page-home .btn-ghost:focus-visible {
  border-color: var(--mint-500);
  color: var(--mint-500);
  background: rgba(47, 211, 164, .1);
}

/* ---------- filter panel ---------- */

.page-home .filter-panel {
  padding: 20px 18px 16px;
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  color: var(--ink-900);
}

.page-home .filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-200);
}

.page-home .filter-head .label {
  color: var(--slate-500);
}

.page-home .filter-meta {
  font-size: .75rem;
  color: var(--slate-500);
}

.page-home .filter-group {
  border-bottom: 1px solid var(--line-200);
}

.page-home .filter-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .filter-group summary::-webkit-details-marker {
  display: none;
}

.page-home .filter-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 2px solid var(--slate-500);
  border-bottom: 2px solid var(--slate-500);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}

.page-home .filter-group[open] summary::after {
  transform: rotate(-135deg);
}

.page-home .filter-group-name {
  flex: 1;
}

.page-home .filter-group-num {
  font-size: .75rem;
  color: var(--slate-500);
}

.page-home .filter-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.page-home .filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: .9375rem;
  text-decoration: none;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .filter-item:hover,
.page-home .filter-item:focus-visible {
  background: var(--mint-050);
}

.page-home .filter-item.is-active {
  background: var(--mint-050);
  box-shadow: inset 3px 0 0 var(--coral-500);
  font-weight: 700;
}

.page-home .score-chip {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-400);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .8125rem;
  font-weight: 600;
}

.page-home .score-chip--muted {
  background: var(--paper-000);
  border: 1px solid var(--line-200);
  color: var(--slate-500);
  font-weight: 500;
}

.page-home .filter-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: .8125rem;
  color: var(--slate-500);
}

/* ---------- section head ---------- */

.page-home .section-head {
  max-width: 46em;
}

.page-home .section-kicker {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--mint-600);
}

.page-home .section-kicker--light {
  color: var(--mint-500);
}

.page-home .section-head h2,
.page-home .export-copy h2,
.page-home .pulse-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .section-lede {
  margin: 16px 0 0;
  line-height: 1.85;
  color: var(--slate-500);
}

/* ---------- compare board ---------- */

.page-home .compare {
  padding: 66px 0 60px;
  background: var(--paper-000);
}

.page-home .compare .section-head h2 {
  color: var(--ink-900);
}

.page-home .board {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 34px;
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stack);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-home .board {
    grid-template-columns: 34% 40% 26%;
  }
}

.page-home .board-col {
  padding: 24px 20px;
  border-top: 1px solid var(--line-200);
}

.page-home .board-col:first-child {
  border-top: 0;
}

@media (min-width: 1024px) {
  .page-home .board-col {
    border-top: 0;
    border-left: 1px solid var(--line-200);
  }

  .page-home .board-col:first-child {
    border-left: 0;
  }
}

.page-home .board-title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--slate-500);
}

.page-home .board-col--live {
  background: var(--ink-900);
  color: var(--paper-000);
}

.page-home .board-col--live .board-title {
  color: rgba(251, 249, 244, .6);
}

.page-home .team-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-200);
}

.page-home .team-name {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .team-side {
  font-size: .75rem;
  color: var(--slate-500);
}

.page-home .form-list {
  display: flex;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .form-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
}

.page-home .form-dot--win {
  background: var(--mint-500);
  color: var(--ink-900);
}

.page-home .form-dot--draw {
  background: var(--amber-400);
  color: var(--ink-900);
}

.page-home .form-dot--loss {
  background: var(--paper-000);
  border: 1px solid var(--line-200);
  color: var(--slate-500);
}

.page-home .board-note {
  margin: 14px 0 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--slate-500);
}

.page-home .board-note--dark {
  color: rgba(251, 249, 244, .55);
}

.page-home .board-badge {
  display: block;
  width: 96px;
  height: 96px;
  margin-top: 20px;
  object-fit: contain;
  opacity: .9;
}

.page-home .board-score {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber-400);
}

.page-home .board-score-sep {
  padding: 0 6px;
  color: rgba(251, 249, 244, .45);
}

.page-home .board-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: .8125rem;
  color: rgba(251, 249, 244, .7);
}

.page-home .timeline {
  margin: 22px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
  border-left: 1px solid rgba(251, 249, 244, .2);
}

.page-home .timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(251, 249, 244, .35);
}

.page-home .timeline-item.is-now::before {
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(255, 197, 61, .22);
}

.page-home .timeline-min {
  flex: none;
  width: 38px;
  font-size: .875rem;
  color: rgba(251, 249, 244, .6);
}

.page-home .timeline-item.is-now .timeline-min {
  color: var(--amber-400);
}

.page-home .timeline-text {
  font-size: .9375rem;
  color: var(--paper-000);
}

.page-home .squad-list {
  margin: 0;
  padding: 0;
}

.page-home .squad-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-200);
}

.page-home .squad-row dt {
  font-size: .8125rem;
  color: var(--slate-500);
}

.page-home .squad-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-900);
}

/* ---------- band ---------- */

.page-home .band {
  margin: 0;
  line-height: 0;
}

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

/* ---------- export ---------- */

.page-home .export {
  padding: 68px 0;
  background: var(--mint-050);
}

.page-home .export-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .page-home .export-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
  }
}

.page-home .export-copy h2 {
  color: var(--ink-900);
}

.page-home .export-lede {
  margin: 16px 0 0;
  line-height: 1.85;
  color: var(--ink-700);
}

.page-home .export-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(11, 31, 51, .12);
}

.page-home .export-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 31, 51, .12);
}

.page-home .export-item .label {
  align-self: start;
  padding: 3px 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--ink-900);
  border-bottom: 2px solid var(--mint-500);
}

.page-home .export-item p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--ink-700);
}

.page-home .export-copy .btn {
  margin-top: 28px;
}

.page-home .export-figure {
  margin: 0;
  padding: 14px;
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}

.page-home .export-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.page-home .export-figure figcaption {
  margin-top: 14px;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ---------- sync ---------- */

.page-home .sync {
  padding: 66px 0;
  background: var(--paper-000);
}

.page-home .sync .section-head h2 {
  color: var(--ink-900);
}

.page-home .sync-steps {
  display: grid;
  grid-template-columns: 1fr;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-200);
}

@media (min-width: 900px) {
  .page-home .sync-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .sync-step {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-200);
}

@media (min-width: 900px) {
  .page-home .sync-step {
    padding: 24px 26px;
    border-bottom: 0;
    border-right: 1px solid var(--line-200);
  }

  .page-home .sync-step:first-child {
    padding-left: 0;
  }

  .page-home .sync-step:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

.page-home .sync-num {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--mint-600);
}

.page-home .sync-step h3 {
  margin: 12px 0 10px;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .sync-step p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--slate-500);
}

.page-home .sync-foot {
  margin: 28px 0 0;
  font-size: .875rem;
  color: var(--slate-500);
}

.page-home .sync-foot a {
  color: var(--ink-700);
  text-decoration: underline;
  text-decoration-color: var(--mint-500);
  text-underline-offset: 3px;
}

.page-home .sync-foot a:hover,
.page-home .sync-foot a:focus-visible {
  color: var(--mint-600);
}

/* ---------- pulse ---------- */

.page-home .pulse {
  padding: 66px 0;
  background: var(--ink-900);
  color: var(--paper-000);
}

.page-home .pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 1024px) {
  .page-home .pulse-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: start;
  }
}

.page-home .pulse-copy h2 {
  color: var(--paper-000);
}

.page-home .pulse-copy p {
  margin: 18px 0 0;
  line-height: 1.85;
  color: rgba(251, 249, 244, .78);
}

.page-home .pulse-copy a:not(.btn) {
  color: var(--mint-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .pulse-copy .btn {
  margin-top: 28px;
}

.page-home .pulse-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(251, 249, 244, .18);
}

.page-home .pulse-fact {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(251, 249, 244, .18);
}

@media (min-width: 480px) {
  .page-home .pulse-fact {
    grid-template-columns: 116px 1fr;
  }
}

.page-home .pulse-num {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--mint-500);
}

.page-home .pulse-label {
  font-size: .9375rem;
  line-height: 1.75;
  color: rgba(251, 249, 244, .78);
}

/* ---------- assist ---------- */

.page-home .assist {
  padding: 66px 0 76px;
  background: var(--paper-000);
}

.page-home .assist .section-head h2 {
  color: var(--ink-900);
}

.page-home .assist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}

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

.page-home .assist-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-stack);
}

.page-home .assist-card--ink {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-000);
}

.page-home .assist-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .assist-card--ink h3 {
  color: var(--paper-000);
}

.page-home .assist-card p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--slate-500);
}

.page-home .assist-card--ink p {
  color: rgba(251, 249, 244, .78);
}

.page-home .assist-card p + p {
  margin-top: 10px;
}

.page-home .assist-line {
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--mint-500);
  word-break: break-all;
}

.page-home .assist-link {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 1px solid var(--line-200);
  align-self: flex-start;
}

.page-home .assist-link:hover,
.page-home .assist-link:focus-visible {
  color: var(--mint-600);
  border-bottom-color: var(--mint-500);
}

/* ---------- focus ---------- */

.page-home a:focus-visible,
.page-home summary:focus-visible {
  outline: 2px solid var(--mint-500);
  outline-offset: 2px;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
