.page-home {
  overflow-x: clip;
  color: var(--paper);
}

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

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-context__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--border);
  background: var(--ink-800);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.page-home .home-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(53, 224, 138, 0.16);
}

.page-home .home-hero {
  padding-top: 14px;
}

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

.page-home .home-index {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 31, 58, 0.94), rgba(11, 20, 40, 0.96));
  box-shadow: var(--shadow-hard);
}

.page-home .home-index::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(242, 246, 255, 0.026) 0 1px, transparent 1px 4px);
}

.page-home .home-index__head {
  position: relative;
  z-index: 3;
  padding: 16px 14px 13px;
  border-bottom: 1px solid var(--border);
}

.page-home .home-index__title {
  margin: 7px 0 0;
  color: var(--paper);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.page-home .home-index__note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.page-home .home-index__list {
  position: relative;
  z-index: 1;
  max-height: 330px;
  margin: 0;
  padding: 0 14px;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.page-home .home-index__list::-webkit-scrollbar {
  width: 4px;
}

.page-home .home-index__list::-webkit-scrollbar-thumb {
  background: var(--border);
}

.page-home .home-index__item + .home-index__item {
  border-top: 1px solid var(--border);
}

.page-home .home-index__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 9px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  color: var(--cyan);
}

.page-home .home-index__num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.page-home .home-index__sub {
  margin: 3px 0 0;
  padding-bottom: 9px;
  font-size: 11px;
  line-height: 1.7;
}

.page-home .home-index__tag {
  color: var(--muted);
  text-decoration: none;
}

.page-home .home-index__tag:hover,
.page-home .home-index__tag:focus-visible {
  color: var(--cyan);
}

.page-home .home-index__tag + .home-index__tag::before {
  content: "·";
  margin: 0 5px;
  color: var(--border);
}

.page-home .home-hero__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-800);
  box-shadow: var(--shadow-hard);
}

.page-home .home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.8);
}

.page-home .home-hero__main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 11, 24, 0.97) 0%, rgba(6, 11, 24, 0.78) 57%, rgba(6, 11, 24, 0.3) 100%),
    repeating-linear-gradient(180deg, rgba(242, 246, 255, 0.025) 0 1px, transparent 1px 5px);
}

.page-home .home-hero__body {
  position: relative;
  z-index: 2;
  padding: 22px 18px 24px;
}

.page-home .home-hero__title {
  max-width: 9em;
  margin: 13px 0 16px;
  color: var(--paper);
  font-size: clamp(38px, 10.5vw, 86px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.page-home .home-hero__lead {
  max-width: 51em;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.page-home .home-anchor {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

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

.page-home .home-anchor__version .chip {
  margin-bottom: 4px;
}

.page-home .home-anchor__version > strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(52px, 16vw, 116px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-shadow: 4px 4px 0 rgba(255, 122, 26, 0.22);
}

.page-home .home-anchor__version > span:last-child {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.page-home .home-anchor__packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-pack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid var(--border);
}

.page-home .home-pack__label {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.page-home .home-pack__num {
  color: var(--paper);
  font-size: clamp(19px, 6vw, 29px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  white-space: nowrap;
}

.page-home .home-pack__hint {
  color: var(--orange);
  font-size: 10px;
  line-height: 1.4;
}

.page-home .home-hero__note {
  margin: 18px 0 0;
  padding: 9px 11px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 26, 0.08);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.65;
}

.page-home .home-hero__actions,
.page-home .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-home .home-section {
  padding-top: 54px;
}

.page-home .home-section__head {
  max-width: 760px;
  margin-bottom: 20px;
}

.page-home .home-section__title {
  margin: 8px 0 10px;
  color: var(--paper);
  font-size: clamp(28px, 6.5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.page-home .home-section__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-home .home-season__grid {
  display: grid;
  gap: 18px;
}

.page-home .home-season__facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
}

.page-home .home-fact {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.page-home .home-fact__label {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .home-fact__value {
  margin: 0;
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-home .home-season__media {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-700);
  box-shadow: var(--shadow-hard);
}

.page-home .home-season__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .home-season__media .media-frame__caption {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--ink-800);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.page-home .home-servers {
  position: relative;
  overflow: hidden;
}

.page-home .home-servers__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .home-servers .home-section__head,
.page-home .home-server-band {
  position: relative;
  z-index: 1;
}

.page-home .home-server-band {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 1fr);
  gap: 12px;
  max-width: 100%;
  padding: 3px 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.page-home .home-server-band::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-server-band::-webkit-scrollbar-thumb {
  background: var(--cyan);
}

.page-home .home-server {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 252px;
  padding: 15px;
  border: 1px solid var(--border);
  background: rgba(11, 20, 40, 0.94);
  scroll-snap-align: start;
}

.page-home .home-server:first-child {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.page-home .home-server__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .home-server h3 {
  margin: 0;
  color: var(--paper);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.page-home .home-server p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.page-home .home-server__list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-server__list li {
  position: relative;
  padding-left: 13px;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.55;
}

.page-home .home-server__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

.page-home .home-server__link {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--border);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.page-home .home-server__link:hover,
.page-home .home-server__link:focus-visible {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-help {
  margin-top: 56px;
  padding: 40px 0;
  border-top: 3px solid var(--cyan);
  background: var(--paper);
  color: var(--ink-900);
}

.page-home .home-help .eyebrow {
  color: var(--ink-700);
}

.page-home .home-help__grid {
  display: grid;
  gap: 26px;
}

.page-home .home-help__title {
  margin: 8px 0 12px;
  color: var(--ink-900);
  font-size: clamp(28px, 6.4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.page-home .home-help__intro > p:not(.eyebrow):not(.home-help__foot) {
  margin: 0;
  color: var(--ink-700);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-home .home-help__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.page-home .home-help .chip--cyan {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--cyan);
}

.page-home .home-help .btn--ghost {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.page-home .home-help .btn--ghost:hover,
.page-home .home-help .btn--ghost:focus-visible {
  background: var(--ink-900);
  color: var(--paper);
}

.page-home .home-help__foot {
  margin: 18px 0 0;
  color: var(--ink-700);
  font-size: 12px;
  line-height: 1.6;
}

.page-home .home-help__foot a {
  color: var(--ink-900);
  font-weight: 700;
  text-underline-offset: 3px;
}

.page-home .home-help__list {
  border-top: 1px solid var(--ink-900);
}

.page-home .home-help__item {
  border-bottom: 1px solid rgba(6, 11, 24, 0.42);
}

.page-home .home-help__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-help__item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
}

.page-home .home-help__item[open] summary::after {
  content: "–";
}

.page-home .home-help__q {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .home-help__a {
  margin: 0;
  padding: 0 24px 14px 0;
  color: var(--ink-700);
  font-size: 13.5px;
  line-height: 1.75;
}

.page-home .home-local {
  padding-top: 56px;
}

.page-home .home-local__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-local__panel {
  min-width: 0;
}

.page-home .home-local__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}

.page-home .home-local__stat {
  min-width: 0;
}

.page-home .home-local__num {
  display: block;
  color: var(--cyan);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.page-home .home-local__label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.page-home .home-nodes {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.page-home .home-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.page-home .home-node__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(53, 224, 138, 0.14);
}

.page-home .home-node__name {
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.page-home .home-node__state {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.page-home .home-local__svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  overflow: visible;
}

.page-home .home-local__svg path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0.5;
}

.page-home .home-local__svg circle {
  fill: var(--green);
  filter: drop-shadow(0 0 6px rgba(53, 224, 138, 0.5));
}

.page-home .home-local__svg circle:nth-of-type(2) {
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(34, 230, 255, 0.5));
}

.page-home .home-local__media {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-700);
  box-shadow: var(--shadow-hard);
}

.page-home .home-local__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .home-local__media .media-frame__caption {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--ink-800);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.page-home .home-cta {
  padding-top: 56px;
}

.page-home .home-cta__inner {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(105deg, rgba(18, 31, 58, 0.98), rgba(11, 20, 40, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(34, 230, 255, 0.04) 18px 19px);
  box-shadow: var(--shadow-hard);
}

.page-home .home-cta h2 {
  margin: 8px 0 10px;
  color: var(--paper);
  font-size: clamp(26px, 5.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-home .home-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

@media (min-width: 720px) {
  .page-home .home-hero__body {
    padding: 30px 30px 32px;
  }

  .page-home .home-anchor {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: end;
    gap: 18px;
  }

  .page-home .home-season__grid,
  .page-home .home-local__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .page-home .home-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 28px 26px;
  }

  .page-home .home-cta__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-index {
    position: sticky;
    top: calc(var(--bar-h) + 18px);
  }

  .page-home .home-index__list {
    max-height: calc(100vh - 290px);
  }

  .page-home .home-section,
  .page-home .home-local {
    padding-top: 72px;
  }

  .page-home .home-help {
    margin-top: 72px;
    padding: 56px 0;
  }

  .page-home .home-cta {
    padding-top: 72px;
  }
}

@media (min-width: 1100px) {
  .page-home .home-server-band {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 4px;
  }

  .page-home .home-season__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }

  .page-home .home-local__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__link,
  .page-home .home-index__tag,
  .page-home .home-server__link,
  .page-home .home-help .btn--ghost {
    transition: none;
  }
}
</main>
