.page-home{
  --home-grid-line: rgba(245,245,247,0.055);
  --home-gold-glow: rgba(201,162,39,0.24);
  --home-cyan-glow: rgba(0,229,255,0.10);
  --home-chapter-size: clamp(4rem, 10vw, 7.5rem);
  --home-panel-rot: linear-gradient(135deg, rgba(10,17,40,0.985) 0%, rgba(26,11,46,0.94) 55%, rgba(10,17,40,0.99) 100%);
}
.page-home .home-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 72px;
}
.page-home .home-hero__bg{
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.page-home .home-hero__veil{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 24%, rgba(0,229,255,0.16) 0%, transparent 44%),
    linear-gradient(108deg, rgba(10,17,40,0.94) 0%, rgba(10,17,40,0.72) 42%, rgba(26,11,46,0.90) 100%);
}
.page-home .home-hero__inner{
  display: grid;
  gap: 38px;
  align-items: center;
}
.page-home .home-hero__kicker{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--c-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-home .home-hero__title{
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4.4vw, 3.55rem);
  line-height: 1.24;
  color: var(--c-white);
  margin-bottom: 20px;
}
.page-home .home-hero__slogan{
  color: var(--c-gray);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 40em;
  margin-bottom: 28px;
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .home-hero__collage{
  display: grid;
  gap: 18px;
}
.page-home .home-server-card{
  display: grid;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(201,162,39,0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.page-home .home-server-card:hover,
.page-home .home-batch-card:hover{
  transform: translateY(-4px);
  border-color: rgba(229,200,107,0.68);
  box-shadow: 0 14px 46px rgba(0,0,0,0.34), 0 0 0 1px rgba(201,162,39,0.14);
}
.page-home .home-server-card__img{
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.page-home .home-server-card__body{
  display: grid;
  gap: 8px;
  padding: 2px 4px 6px;
}
.page-home .home-server-card__eyebrow{
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--c-gold-light);
}
.page-home .home-server-card__title{
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--c-white);
}
.page-home .home-server-card__list{
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.page-home .home-server-card__list li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-gray);
  font-family: var(--font-body);
}
.page-home .home-server-card__code{
  font-family: var(--font-mono);
  color: var(--c-white);
  letter-spacing: 0.02em;
}
.page-home .home-server-card__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.page-home .home-server-card__dot.is-live{
  background: var(--c-good);
  box-shadow: 0 0 0 4px rgba(0,255,157,0.12);
}
.page-home .home-server-card__dot.is-next{
  background: var(--c-warning);
  box-shadow: 0 0 0 4px rgba(255,184,0,0.12);
}
.page-home .home-server-card__dot.is-ready{
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0,229,255,0.12);
}
.page-home .home-batch-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px 64px;
  border-radius: var(--radius);
  border: 1px solid rgba(201,162,39,0.24);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.page-home .home-batch-card__number{
  font-family: var(--font-mono);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-home .home-batch-card__text{
  color: var(--c-gray);
  line-height: 1.7;
  font-size: 0.94rem;
}
.page-home .home-batch-card__arrow{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.6);
  color: var(--c-gold-light);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.page-home .home-batch-card__arrow:hover{
  background: var(--c-gold);
  color: var(--c-deep);
  transform: translateX(2px);
}
.page-home .section__header{
  max-width: 860px;
  margin-bottom: 34px;
}
.page-home .section__index{
  display: block;
  font-family: var(--font-mono);
  font-size: var(--home-chapter-size);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229,200,107,0.75);
  margin-bottom: 10px;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.page-home .section__title{
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 12px;
}
.page-home .section__lead{
  color: var(--c-gray);
  font-size: 0.98rem;
  line-height: 1.82;
  max-width: 46em;
}
.page-home .home-service,
.page-home .home-library,
.page-home .home-archive,
.page-home .home-update,
.page-home .home-closing{
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-home .home-service{
  background: var(--home-panel-rot);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-top: 1px solid rgba(201,162,39,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 88px 0 92px;
}
.page-home .home-service::before{
  content: "";
  position: absolute;
  top: -20%;
  left: -8%;
  width: 420px;
  height: 420px;
  z-index: -1;
  background: radial-gradient(circle, var(--home-gold-glow) 0%, transparent 68%);
}
.page-home .home-service::after{
  content: "";
  position: absolute;
  right: -12%;
  bottom: -24%;
  width: 340px;
  height: 340px;
  z-index: -1;
  background: radial-gradient(circle, var(--home-cyan-glow) 0%, transparent 66%);
}
.page-home .home-service > .container,
.page-home .home-library > .container,
.page-home .home-archive > .container,
.page-home .home-update > .container,
.page-home .home-closing > .container{
  position: relative;
  z-index: 1;
}
.page-home .home-service__layout{
  display: grid;
  gap: 20px;
  margin-top: 38px;
}
.page-home .home-service__requirements,
.page-home .home-service__schedule{
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
}
.page-home .home-service__heading{
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--c-gold-light);
  margin-bottom: 18px;
}
.page-home .home-service__list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .home-service__list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--c-white);
}
.page-home .home-service__list li span{
  font-family: var(--font-mono);
  color: var(--c-gold-light);
  font-size: 0.78rem;
  border: 1px solid rgba(229,200,107,0.34);
  border-radius: 5px;
  padding: 2px 8px;
  white-space: nowrap;
}
.page-home .home-service__table-scroll{
  overflow-x: auto;
}
.page-home .home-service__table{
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.page-home .home-service__table th{
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-gray);
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.page-home .home-service__table td{
  padding: 13px 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-home .home-service__table td:first-child{
  font-family: var(--font-mono);
  color: var(--c-gold-light);
}
.page-home .home-service__table td:nth-child(2){
  font-family: var(--font-mono);
  color: var(--c-white);
}
.page-home .home-library{
  background:
    radial-gradient(circle at 16% 12%, rgba(201,162,39,0.10) 0%, transparent 42%),
    var(--c-deep);
  padding: 96px 0 88px;
}
.page-home .home-library::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.30), transparent);
}
.page-home .home-library__scroll{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 38px 0 28px;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.page-home .home-library__card{
  flex: 0 0 86%;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
}
.page-home .home-library__cover{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-home .home-library__card-body{
  padding: 24px 24px 28px;
}
.page-home .home-library__tag{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-home .home-library__card-title{
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--c-white);
  margin-bottom: 12px;
}
.page-home .home-library__card-body p{
  color: var(--c-gray);
  line-height: 1.78;
  font-size: 0.94rem;
}
.page-home .home-library__stat{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--c-gray);
}
.page-home .home-library__stat em{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 700;
  color: transparent;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-home .home-library__cta,
.page-home .home-update__cta{
  display: flex;
  justify-content: flex-start;
}
.page-home .home-archive{
  background: var(--home-panel-rot);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 96px 0 92px;
}
.page-home .home-archive::before{
  content: "";
  position: absolute;
  right: -10%;
  top: -12%;
  width: 360px;
  height: 360px;
  z-index: -1;
  background: radial-gradient(circle, var(--home-gold-glow) 0%, transparent 68%);
}
.page-home .home-archive__wrap{
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .home-archive__image img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(229,200,107,0.26);
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
}
.page-home .home-archive__list{
  display: grid;
  gap: 14px;
  margin: 28px 0 20px;
}
.page-home .home-archive__item{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.09);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.page-home .home-archive__item:hover{
  transform: translateX(4px);
  border-color: rgba(0,229,255,0.42);
  box-shadow: 0 10px 30px rgba(0,0,0,0.24);
}
.page-home .home-archive__code{
  font-family: var(--font-mono);
  font-size: 1.04rem;
  color: var(--c-gold-light);
}
.page-home .home-archive__state{
  font-size: 0.76rem;
  color: var(--c-cyan);
  border: 1px solid rgba(0,229,255,0.28);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.page-home .home-archive__detail{
  grid-column: 1 / -1;
  font-size: 0.86rem;
  color: var(--c-gray);
}
.page-home .home-update{
  background:
    linear-gradient(150deg, rgba(10,17,40,0.94) 0%, rgba(26,11,46,0.96) 54%, rgba(10,17,40,0.98) 100%);
  padding: 96px 0 90px;
}
.page-home .home-update::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.46), transparent);
}
.page-home .home-update__cards{
  display: grid;
  gap: 18px;
  margin: 42px 0 32px;
}
.page-home .home-update__card{
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
}
.page-home .home-update__card::after{
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
}
.page-home .home-update__code{
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229,200,107,0.72);
  margin-bottom: 14px;
}
.page-home .home-update__card h3{
  font-family: var(--font-title);
  font-size: 1.28rem;
  color: var(--c-white);
  margin-bottom: 10px;
}
.page-home .home-update__card p{
  color: var(--c-gray);
  font-size: 0.94rem;
  line-height: 1.78;
}
.page-home .home-closing{
  background: var(--c-night);
  border-top: 1px solid rgba(201,162,39,0.18);
  padding: 78px 0;
}
.page-home .home-closing__inner{
  display: grid;
  gap: 26px;
}
.page-home .home-closing__label{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-home .home-closing__title{
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 14px;
}
.page-home .home-closing__copy p{
  color: var(--c-gray);
  line-height: 1.8;
  max-width: 34em;
}
.page-home .home-closing__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (min-width: 768px){
  .page-home .home-library__scroll{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 22px;
  }
  .page-home .home-library__card{
    flex: none;
  }
  .page-home .home-update__cards{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-archive__wrap{
    grid-template-columns: 34% 1fr;
    gap: 44px;
  }
}

@media (min-width: 1024px){
  .page-home .home-hero{
    padding: 56px 0 92px;
  }
  .page-home .home-hero__inner{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
  .page-home .home-hero__collage{
    grid-template-columns: 42% 58%;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: start;
  }
  .page-home .home-server-card{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transform: translate(24%, 6%);
    z-index: 2;
  }
  .page-home .home-server-card:hover{
    transform: translate(24%, 2%);
  }
  .page-home .home-batch-card{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    transform: translate(-10%, -22%);
  }
  .page-home .home-batch-card:hover{
    transform: translate(-10%, -26%);
  }
  .page-home .home-service__layout{
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
  }
  .page-home .home-service__requirements,
  .page-home .home-service__schedule{
    padding: 34px 32px;
  }
  .page-home .home-closing__inner{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-server-card,
  .page-home .home-batch-card,
  .page-home .home-archive__item:hover{
    transform: none !important;
    transition: none;
  }
}
