.page-home {
  --page-line-gold: rgba(212, 175, 55, 0.42);
  --page-line-soft: rgba(45, 90, 136, 0.35);
  --page-gold-soft: rgba(212, 175, 55, 0.14);
  --page-ball-red: #ff7a8a;
  --page-bg-glow: radial-gradient(circle at 76% 8%, rgba(45, 90, 136, 0.35) 0%, rgba(11, 29, 58, 0) 46%);
  background-color: var(--color-deep);
  overflow-x: hidden;
}

.page-home .home-cover {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-height) + 2.5rem) 0 3rem;
}

.page-home .home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--page-bg-glow);
}

.page-home .home-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 90, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 136, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

.page-home .home-cover__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-home .home-cover__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.page-home .home-cover__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.18;
  color: var(--color-paper);
  margin: 0 0 1.1rem;
}

.page-home .home-cover__title-line {
  display: block;
}

.page-home .home-cover__title-hl {
  color: var(--color-gold);
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.28);
}

.page-home .home-cover__lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.82);
  max-width: 54rem;
  margin: 0 0 1.2rem;
}

.page-home .home-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin: 1.4rem 0 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--page-line-soft);
}

.page-home .home-cover__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.page-home .home-cover__meta-label {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  color: rgba(245, 240, 232, 0.6);
}

.page-home .home-cover__meta-value {
  font-family: var(--font-mono);
  font-size: var(--fs-data);
  font-weight: 700;
  color: var(--color-gold-bright);
}

.page-home .home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.9rem;
}

.page-home .home-jump {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-home .home-jump__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 0.75rem;
  background: rgba(16, 42, 76, 0.55);
  border: 1px solid var(--page-line-soft);
  border-radius: var(--radius-sm);
  color: var(--color-paper);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) {
  .page-home .home-jump__link:hover {
    border-color: var(--color-gold);
    background-color: var(--page-gold-soft);
  }
}

.page-home .home-jump__num {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-gold);
}

.page-home .home-cover__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 580px;
  order: -1;
}

.page-home .home-cover__figure::before {
  content: "";
  position: absolute;
  inset: 10px -8px -8px 10px;
  border: 1px solid var(--page-line-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.page-home .home-cover__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--page-line-gold);
  box-shadow: var(--shadow-card);
}

.page-home .home-cover__figcap {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.56);
  text-align: center;
}

.page-home .home-band {
  border: 0;
  height: 4px;
  margin: 0;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(212, 175, 55, 0.24) 32%, transparent 52%, rgba(215, 38, 61, 0.5) 76%, var(--color-red) 100%);
}

.page-home .home-band--reverse {
  background: linear-gradient(270deg, var(--color-gold) 0%, rgba(212, 175, 55, 0.24) 32%, transparent 52%, rgba(215, 38, 61, 0.5) 76%, var(--color-red) 100%);
}

.page-home .home-overview,
.page-home .home-query,
.page-home .home-tools,
.page-home .home-journal {
  position: relative;
  padding-block: var(--space-lg);
}

.page-home .home-overview__content,
.page-home .home-query__inner,
.page-home .home-tools__inner,
.page-home .home-journal__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-home .home-overview {
  background: linear-gradient(180deg, var(--color-deep) 0%, rgba(16, 42, 76, 0.82) 100%);
  overflow: hidden;
}

.page-home .home-overview__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-overview__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.14;
  filter: saturate(0.85);
}

.page-home .home-section-head {
  margin-bottom: 2.2rem;
}

.page-home .home-section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 175, 55, 0.16);
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.7);
  margin: 0 0 0.5rem;
}

.page-home .home-section-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.45rem;
}

.page-home .home-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-paper);
  margin: 0 0 0.9rem;
}

.page-home .home-section-rule {
  display: block;
  width: 88px;
  height: 2px;
  margin: 0 0 1rem;
}

.page-home .home-section-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.78);
  max-width: 720px;
  margin: 0;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.page-home .home-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.3rem 1.1rem 1.1rem;
  background: linear-gradient(165deg, rgba(16, 42, 76, 0.88), rgba(11, 29, 58, 0.96));
  border: 1px solid var(--page-line-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.page-home .home-stat--lead {
  grid-column: span 2;
}

.page-home .home-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 42px;
  background: var(--color-gold);
}

.page-home .home-stat__label {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: rgba(245, 240, 232, 0.72);
  margin-bottom: 0.35rem;
}

.page-home .home-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-gold);
}

.page-home .home-stat__unit {
  font-size: 0.55em;
  margin-left: 0.12em;
  color: rgba(242, 201, 76, 0.7);
}

.page-home .home-stat__note {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.56);
  margin: 0.5rem 0 0;
}

.page-home .home-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1rem 1.25rem;
  background: var(--page-gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
}

.page-home .home-trust__text {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--color-paper);
  margin: 0;
}

.page-home .home-trust__mark {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--color-gold);
}

.page-home .home-overview__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.1rem;
}

.page-home .home-text-link {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  padding-bottom: 2px;
}

.page-home .home-query {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 42, 76, 0.34) 100%);
}

.page-home .home-query__layout {
  display: grid;
  gap: 1.8rem;
  align-items: stretch;
}

.page-home .home-query__figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--page-line-gold);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.page-home .home-query__panel {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: linear-gradient(165deg, rgba(16, 42, 76, 0.9), rgba(11, 29, 58, 0.96));
  border: 1px solid var(--page-line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-home .home-query__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: rgba(242, 201, 76, 0.74);
  margin: 0 0 0.75rem;
}

.page-home .home-filter {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .home-filter__item {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 90, 136, 0.5);
  background: rgba(11, 29, 58, 0.6);
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: rgba(245, 240, 232, 0.78);
}

.page-home .home-filter__item.is-active {
  border-color: var(--color-gold);
  background: var(--page-gold-soft);
  color: var(--color-gold-bright);
}

.page-home .home-issue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--page-line-soft);
  border-bottom: 1px solid var(--page-line-soft);
  margin-bottom: 1rem;
}

.page-home .home-issue__label {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  color: rgba(245, 240, 232, 0.6);
  margin: 0 0 0.2rem;
}

.page-home .home-issue__number {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin: 0;
}

.page-home .home-issue__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: rgba(245, 240, 232, 0.8);
}

.page-home .home-issue__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.65);
}

.page-home .home-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
}

.page-home .home-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(45, 90, 136, 0.4), rgba(16, 42, 76, 0.9));
  border: 1px solid var(--page-line-soft);
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
}

.page-home .home-ball--red {
  background: linear-gradient(145deg, rgba(215, 38, 61, 0.38), rgba(215, 38, 61, 0.12));
  border-color: rgba(215, 38, 61, 0.55);
  color: var(--page-ball-red);
}

.page-home .home-omission {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.page-home .home-omission__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.65rem;
  background: rgba(11, 29, 58, 0.5);
  border-left: 2px solid var(--color-blue-soft);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  color: rgba(245, 240, 232, 0.84);
}

.page-home .home-omission__value {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--color-gold-bright);
}

.page-home .home-query__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.page-home .home-query__link {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  padding-bottom: 2px;
}

.page-home .home-tools {
  background: linear-gradient(180deg, var(--color-deep) 0%, #0f2442 100%);
}

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

.page-home .home-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--color-indigo) 0%, var(--color-deep) 100%);
  border: 1px solid var(--page-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .page-home .home-tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
  }
}

.page-home .home-tool-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, transparent 55%, var(--color-red) 100%);
  opacity: 0.85;
}

.page-home .home-tool-card__num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 175, 55, 0.18);
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.6);
  margin: 0 0 1.1rem;
}

.page-home .home-tool-card__icon {
  width: 180px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--page-line-gold);
  margin-bottom: 1rem;
}

.page-home .home-tool-card__title {
  font-family: var(--font-heading);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-paper);
  margin: 0 0 0.6rem;
}

.page-home .home-tool-card__desc {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.72);
  margin: 0 0 1.2rem;
}

.page-home .home-tool-card__link {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-journal {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 42, 76, 0.4) 100%);
}

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

.page-home .home-timeline__item {
  position: relative;
  padding: 0 0 2rem 1.3rem;
  border-left: 1px solid var(--page-line-soft);
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0.4rem;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.page-home .home-timeline__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.page-home .home-timeline__title {
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-paper);
  margin: 0 0 0.45rem;
}

.page-home .home-timeline__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.74);
  max-width: 760px;
  margin: 0;
}

.page-home .home-journal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

@media (min-width: 680px) {
  .page-home .home-jump {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-cover__figure {
    order: 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-overview,
  .page-home .home-query,
  .page-home .home-tools,
  .page-home .home-journal {
    padding-block: var(--space-xl);
  }

  .page-home .home-section-head {
    display: grid;
    grid-template-columns: 210px 1fr;
    column-gap: 2.5rem;
    row-gap: 0.75rem;
  }

  .page-home .home-section-head .home-section-index {
    grid-row: 1 / span 4;
    margin-top: 0;
  }

  .page-home .home-section-kicker {
    grid-column: 2;
  }

  .page-home .home-section-title {
    grid-column: 2;
  }

  .page-home .home-section-rule {
    grid-column: 2;
  }

  .page-home .home-section-lead {
    grid-column: 2;
  }

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

  .page-home .home-stat {
    grid-column: span 2;
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .page-home .home-stat--lead {
    grid-column: span 2;
  }

  .page-home .home-query__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.4rem;
  }

  .page-home .home-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 1080px) {
  .page-home .home-cover__inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
  }

  .page-home .home-cover {
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .page-home .home-cover__figure {
    max-width: none;
  }

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

  .page-home .home-tool-card {
    padding: 1.8rem;
  }
}

@media (max-width: 767px) {
  .page-home .home-cover__figure::before {
    inset: 10px -8px -8px 10px;
  }

  .page-home .home-cover__title {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }
}
