.page-home {
  --home-gap: clamp(20px, 4vw, 40px);
  --home-pad: clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

/* ---------- HERO ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 6vw, 56px) 0 var(--home-pad);
  background: var(--ink);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 24, 38, 0.97) 0%, rgba(8, 24, 38, 0.78) 52%, rgba(8, 24, 38, 0.94) 100%);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(26px, 5vw, 48px);
}

.page-home .home-hero__context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(55, 242, 200, 0.34);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
}

.page-home .home-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(55, 242, 200, 0.18);
  animation: home-pulse 2.4s var(--ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.05rem, 6.4vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

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

.page-home .home-hero__lede {
  margin: 20px 0 0;
  max-width: 36em;
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  line-height: 1.78;
  color: rgba(244, 239, 230, 0.82);
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-stat {
  padding: 14px 16px;
  background: rgba(12, 33, 49, 0.86);
}

.page-home .home-stat dt {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .home-stat dd {
  margin: 6px 0 0;
  font-family: var(--ff-mono);
  font-size: 0.95rem;
  color: var(--white);
}

.page-home .home-num {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--orange);
}

/* ---------- VERSION CARD ---------- */
.page-home .home-version-card {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(46, 74, 98, 0.95);
  border-radius: var(--radius);
  background: rgba(32, 42, 51, 0.52);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-soft);
}

.page-home .home-version-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-version-card__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: var(--white);
}

.page-home .home-version-card__desc {
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.74);
}

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

.page-home .home-vrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(46, 74, 98, 0.7);
  font-family: var(--ff-mono);
  font-size: 0.78rem;
}

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

.page-home .home-vrow__name {
  color: var(--white);
  letter-spacing: 0.04em;
}

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

.page-home .home-version-card__figure {
  margin: 16px 0 0;
}

.page-home .home-version-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(46, 74, 98, 0.8);
}

.page-home .home-version-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--mist);
}

.page-home .home-version-card__link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 106, 26, 0.5);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.page-home .home-version-card__link:hover,
.page-home .home-version-card__link:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

/* ---------- SECTION HEAD ---------- */
.page-home .home-sec-head {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid currentColor;
  border-bottom-color: var(--line);
}

.page-home .home-sec-head__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.32rem, 3.4vw, 1.9rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.page-home .home-sec-head__meta {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* ---------- QUICK PANEL ---------- */
.page-home .home-quick {
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-quick .home-sec-head__meta {
  color: var(--steel);
}

.page-home .home-quick__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(46, 74, 98, 0.18);
  border: 1px solid rgba(46, 74, 98, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-quick__link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 17px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-home .home-quick__link:hover,
.page-home .home-quick__link:focus-visible {
  background: var(--carbon);
  color: var(--paper);
  transform: translateY(-1px);
}

.page-home .home-quick__idx {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .home-quick__link:hover .home-quick__idx,
.page-home .home-quick__link:focus-visible .home-quick__idx {
  color: var(--amber);
}

.page-home .home-quick__body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.page-home .home-quick__label {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.page-home .home-quick__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .home-quick__link:hover .home-quick__desc,
.page-home .home-quick__link:focus-visible .home-quick__desc {
  color: var(--mist);
}

.page-home .home-quick__arrow {
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  color: var(--orange);
  transition: transform 0.18s var(--ease);
}

.page-home .home-quick__link:hover .home-quick__arrow,
.page-home .home-quick__link:focus-visible .home-quick__arrow {
  transform: translateX(4px);
}

/* ---------- ROUNDS TRACK ---------- */
.page-home .home-rounds {
  position: relative;
  isolation: isolate;
  padding: var(--home-pad) 0;
  background: var(--ink);
}

.page-home .home-rounds__visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .home-rounds__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.page-home .home-rounds__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 38, 0.92), rgba(8, 24, 38, 0.98));
}

.page-home .home-eyebrow {
  margin: 0 0 10px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--teal);
}

.page-home .home-rounds__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-rounds__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 4.2vw, 2.35rem);
  line-height: 1.16;
  color: var(--white);
}

.page-home .home-rounds__note {
  margin: 14px 0 0;
  max-width: 46em;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.72);
}

.page-home .home-rounds__big {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(4.4rem, 20vw, 9rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 106, 26, 0.55);
  text-align: right;
}

.page-home .home-rounds__track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--orange) rgba(46, 74, 98, 0.4);
}

.page-home .home-rounds__track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.page-home .home-match {
  flex: 0 0 min(76vw, 244px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--orange);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .home-match:hover {
  background: var(--ink-soft);
  border-top-color: var(--teal);
}

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

.page-home .home-match__no {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .home-match__tag {
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 2px;
  color: var(--teal);
  border: 1px solid rgba(55, 242, 200, 0.4);
}

.page-home .home-match__score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ff-mono);
}

.page-home .home-match__val {
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--white);
}

.page-home .home-match__val--dim {
  color: var(--mist);
}

.page-home .home-match__sep {
  font-size: 1.1rem;
  color: var(--steel);
}

.page-home .home-match__teams {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(244, 239, 230, 0.86);
}

.page-home .home-match__teams span {
  color: var(--steel);
  font-size: 0.74rem;
  padding: 0 3px;
}

.page-home .home-match__meta {
  display: flex;
  gap: 18px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(46, 74, 98, 0.8);
}

.page-home .home-match__meta dt {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .home-match__meta dd {
  margin: 3px 0 0;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--amber);
}

.page-home .home-rounds__foot {
  margin: 18px 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.7);
}

.page-home .home-rounds__foot a {
  margin-left: 6px;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.5);
}

.page-home .home-rounds__foot a:hover,
.page-home .home-rounds__foot a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

/* ---------- VERSION SECTION ---------- */
.page-home .home-version {
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-version .home-sec-head__meta {
  color: var(--steel);
}

.page-home .home-version__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(46, 74, 98, 0.28);
  border-radius: var(--radius);
  background: var(--white);
}

.page-home .home-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.page-home .home-table__cap {
  caption-side: top;
  padding: 10px 12px;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--steel);
  background: var(--paper);
}

.page-home .home-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--deep-teal);
  white-space: nowrap;
}

.page-home .home-table td {
  padding: 11px 12px;
  border-top: 1px solid rgba(46, 74, 98, 0.16);
  color: var(--carbon);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
}

.page-home .home-table td:first-child {
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-table tbody tr:hover {
  background: rgba(255, 106, 26, 0.09);
}

.page-home .home-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-status--ok {
  background: var(--deep-teal);
  color: var(--white);
}

.page-home .home-status--web {
  background: var(--amber);
  color: var(--ink);
}

.page-home .home-version__note {
  margin: 16px 0 0;
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--carbon);
}

.page-home .home-version__link {
  margin: 20px 0 0;
}

.page-home .home-version__figure {
  margin: 0;
  border: 1px solid rgba(46, 74, 98, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.page-home .home-version__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.page-home .home-version__cap {
  padding: 12px 14px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--steel);
  border-top: 1px solid rgba(46, 74, 98, 0.18);
}

.page-home .home-version__points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-version__points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--carbon);
}

.page-home .home-version__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 1px;
}

/* ---------- VALUE ---------- */
.page-home .home-value {
  padding: var(--home-pad) 0;
  background: var(--carbon);
  color: var(--paper);
}

.page-home .home-value__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(46, 74, 98, 0.6);
  border: 1px solid rgba(46, 74, 98, 0.6);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-value__item {
  padding: 20px 18px 22px;
  background: var(--carbon);
  border-left: 2px solid transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .home-value__item:hover {
  background: var(--ink-soft);
  border-left-color: var(--orange);
}

.page-home .home-value__no {
  display: block;
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-home .home-value__title {
  margin: 8px 0 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--white);
}

.page-home .home-value__text {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.74);
}

/* ---------- MORE ---------- */
.page-home .home-more {
  padding: var(--home-pad) 0 calc(var(--home-pad) * 0.7);
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-more__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-more__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 33, 49, 0.72);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .home-more__link:hover,
.page-home .home-more__link:focus-visible {
  border-color: var(--orange);
  background: var(--ink-soft);
  transform: translateY(-2px);
}

.page-home .home-more__k {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--teal);
}

.page-home .home-more__t {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--white);
}

.page-home .home-more__d {
  font-size: 0.79rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.66);
}

.page-home .home-more__top {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.page-home .home-more__top a {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 209, 214, 0.4);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.page-home .home-more__top a:hover,
.page-home .home-more__top a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  .page-home .home-quick__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .page-home .home-rounds__head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
  }

  .page-home .home-rounds__big {
    text-align: right;
  }

  .page-home .home-version__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

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

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

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

  .page-home .home-match {
    flex-basis: 262px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__dot {
    animation: none;
  }

  .page-home .home-quick__link,
  .page-home .home-more__link,
  .page-home .home-match,
  .page-home .home-quick__arrow {
    transition: none;
  }

  .page-home .home-quick__link:hover,
  .page-home .home-more__link:hover {
    transform: none;
  }
}
