.page-home {
  --hm-line: rgba(232, 245, 240, .14);
  --hm-line-soft: rgba(232, 245, 240, .08);
  --hm-line-dark: rgba(11, 42, 33, .16);
  background: var(--ink-900);
  color: var(--mist-100);
  overflow-x: hidden;
}

.page-home .hm-hero {
  position: relative;
  padding: clamp(26px, 6vw, 62px) 0 clamp(30px, 6vw, 68px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(0, 229, 195, .13), transparent 62%),
    var(--ink-950);
  border-bottom: 1px solid var(--hm-line);
}

.page-home .hm-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-home .hm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  display: block;
}

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

.page-home .hm-frame {
  position: relative;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 46px);
  background: rgba(7, 30, 23, .55);
  backdrop-filter: blur(2px);
}

.page-home .hm-tick {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--cyan);
  opacity: .85;
}
.page-home .hm-tick--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius-lg); }
.page-home .hm-tick--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: var(--radius-lg); }
.page-home .hm-tick--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: var(--radius-lg); }
.page-home .hm-tick--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius-lg); }

.page-home .hm-hero__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-home .hm-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hm-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 8.2vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--mist-100);
}

.page-home .hm-hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hm-hero__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--mist-400);
}

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

.page-home .hm-readout {
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  padding: 18px 20px;
  align-self: start;
}

.page-home .hm-readout__cap {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.page-home .hm-readout__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hm-line-soft);
}
.page-home .hm-readout__row:first-of-type { border-top: 0; padding-top: 0; }

.page-home .hm-readout__num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  flex: 0 0 auto;
}

.page-home .hm-readout__txt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist-400);
}

.page-home .hm-shell {
  display: grid;
  gap: clamp(18px, 3vw, 40px);
  padding-top: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-home .hm-toc {
  border-top: 1px solid var(--hm-line);
  padding-top: 14px;
}

.page-home .hm-toc__cap {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.page-home .hm-toc__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .hm-toc__item { flex: 0 0 auto; }

.page-home .hm-toc__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-pill);
  color: var(--mist-400);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .hm-toc__link:hover,
.page-home .hm-toc__link:focus-visible {
  color: var(--ink-950);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .hm-toc__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--cyan);
}
.page-home .hm-toc__link:hover .hm-toc__index,
.page-home .hm-toc__link:focus-visible .hm-toc__index { color: var(--ink-950); }

.page-home .hm-flow {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  min-width: 0;
}

.page-home .hm-chapter {
  padding-top: clamp(22px, 3.4vw, 40px);
  border-top: 1px solid var(--hm-line);
  min-width: 0;
}

.page-home .hm-chapter__head { max-width: 66ch; }

.page-home .hm-chapter__no {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.page-home .hm-chapter__no::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--cyan);
}

.page-home .hm-chapter__no--dark { color: rgba(11, 42, 33, .6); }
.page-home .hm-chapter__no--dark::before { background: var(--ink-800); }

.page-home .hm-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 4.8vw, 42px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--mist-100);
}

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

.page-home .hm-p--tight { margin-top: 18px; }

.page-home .hm-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 195, .4);
  padding-bottom: 1px;
}
.page-home .hm-link:hover,
.page-home .hm-link:focus-visible { border-bottom-color: var(--cyan); }

.page-home .hm-link--dark {
  color: var(--ink-800);
  border-bottom-color: rgba(11, 61, 46, .45);
}

.page-home .hm-strip {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .hm-sub {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-pill);
  background: var(--ink-800);
  color: var(--mist-100);
  font-size: 14px;
  white-space: nowrap;
}

.page-home .hm-sub.is-checked {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 195, .35);
  color: var(--cyan);
}

.page-home .hm-sub__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.page-home .hm-figure {
  margin: 24px 0 0;
}

.page-home .hm-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--hm-line);
  object-fit: cover;
}

.page-home .hm-figure .media__caption,
.page-home .hm-caption {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist-400);
}

.page-home .hm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-home .hm-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
}

.page-home .hm-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home .hm-table__cap {
  text-align: left;
  padding: 14px 16px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.page-home .hm-table th,
.page-home .hm-table td {
  padding: 12px 10px;
  text-align: right;
  border-bottom: 1px solid var(--hm-line-soft);
  white-space: nowrap;
}

.page-home .hm-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--mist-400);
  border-bottom: 1px solid var(--hm-line);
}

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

.page-home .hm-table .num { font-family: var(--font-mono); color: var(--mist-100); }

.page-home .hm-cell-team {
  text-align: left;
  font-weight: 500;
  color: var(--mist-100);
}

.page-home .hm-cell-rank { text-align: left; white-space: nowrap; }
.page-home .hm-cell-rank .num { color: var(--cyan); font-weight: 700; }

.page-home .hm-table .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-left: 4px;
}

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

.page-home .hm-table tr.is-focus {
  background: var(--cyan-soft);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.page-home .hm-form { display: inline-flex; gap: 4px; }
.page-home .hm-form i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
}
.page-home .hm-form .w { background: rgba(0, 229, 195, .18); color: var(--cyan); }
.page-home .hm-form .d { background: rgba(169, 198, 187, .16); color: var(--mist-400); }
.page-home .hm-form .l { background: rgba(255, 90, 95, .16); color: var(--coral); }

.page-home .hm-col-opt,
.page-home .hm-col-form { display: none; }

.page-home .hm-split {
  display: grid;
  gap: clamp(20px, 3.4vw, 38px);
  align-items: start;
}

.page-home .hm-split__media { display: grid; justify-items: center; gap: 10px; }

.page-home .hm-phone {
  width: min(300px, 100%);
  padding: 10px;
  border: 1px solid var(--hm-line);
  border-radius: 30px;
  background: var(--ink-800);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
}

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

.page-home .hm-fold {
  margin-top: 22px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  overflow: hidden;
}

.page-home .hm-fold__sum {
  cursor: pointer;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-home .hm-fold__sum::-webkit-details-marker { display: none; }
.page-home .hm-fold__sum::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--amber);
}
.page-home .hm-fold[open] .hm-fold__sum::before { content: "–"; }

.page-home .hm-fold__body {
  padding: 0 18px 20px;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .hm-fields {
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.page-home .hm-fields__item {
  display: grid;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--ink-700);
}

.page-home .hm-fields dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-home .hm-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist-400);
}

.page-home .hm-chapter--paper {
  background: var(--paper);
  color: var(--on-paper);
  border-top: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px);
}

.page-home .hm-chapter--paper .hm-h2 { color: var(--on-paper); }
.page-home .hm-chapter--paper .hm-p { color: rgba(11, 42, 33, .72); }

.page-home .hm-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-step {
  border: 1px solid var(--hm-line-dark);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(255, 255, 255, .55);
}

.page-home .hm-step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-800);
  margin-bottom: 8px;
}
.page-home .hm-step:nth-child(1) .hm-step__no { color: #A97E00; }

.page-home .hm-step .t-h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--on-paper);
}

.page-home .hm-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 42, 33, .72);
}

.page-home .hm-leagues {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-leagues__item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-sm);
  background: var(--ink-800);
  position: relative;
}

.page-home .hm-leagues__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--ink-700);
  border-radius: 2px;
}

.page-home .hm-leagues__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--mist-100);
}

.page-home .hm-leagues__meta {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist-400);
}

.page-home .hm-close {
  margin-top: 10px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 229, 195, .12), transparent 70%), var(--ink-950);
}

.page-home .hm-close__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--mist-100);
}

.page-home .hm-close__text {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist-400);
}

.page-home .hm-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (min-width: 640px) {
  .page-home .hm-col-opt { display: table-cell; }
  .page-home .hm-table { min-width: 620px; }
  .page-home .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .hm-leagues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .hm-hero__actions .btn { min-width: 168px; justify-content: center; }
}

@media (min-width: 900px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: start;
  }
  .page-home .hm-col-form { display: table-cell; }
  .page-home .hm-table { min-width: 100%; }
  .page-home .hm-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  }
  .page-home .hm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .page-home .hm-shell {
    grid-template-columns: 176px minmax(0, 1fr);
    align-items: start;
  }
  .page-home .hm-toc {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    align-self: start;
  }
  .page-home .hm-toc__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-home .hm-toc__link {
    display: flex;
    width: 100%;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    padding: 8px 10px;
    font-size: 13px;
    white-space: normal;
  }
  .page-home .hm-toc__link:hover,
  .page-home .hm-toc__link:focus-visible {
    background: var(--ink-800);
    color: var(--mist-100);
    border-left-color: var(--cyan);
  }
  .page-home .hm-toc__link:hover .hm-toc__index,
  .page-home .hm-toc__link:focus-visible .hm-toc__index { color: var(--cyan); }
  .page-home .hm-readout { position: sticky; top: calc(var(--header-h) + 18px); }
  .page-home .hm-leagues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-toc__link,
  .page-home .hm-sub {
    transition: none;
  }
}
