.page-home {
  --ph-pad: clamp(56px, 7vw, 96px);
  --ph-line: rgba(199, 205, 214, .14);
  --ph-line-soft: rgba(199, 205, 214, .07);
  --ph-line-strong: rgba(199, 205, 214, .32);
  --ph-panel: linear-gradient(180deg, rgba(20, 24, 31, .94), rgba(10, 12, 15, .96));
  background: var(--lr-void);
  color: var(--lr-ink);
  font-family: var(--lr-font-body);
  overflow-x: hidden;
}

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

.page-home .lr-figure__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ HERO ============ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--ph-line);
}

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

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: saturate(.85) brightness(.9);
}

.page-home .hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, var(--ph-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ph-line-soft) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .8;
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(102deg, rgba(10, 12, 15, .92) 0%, rgba(10, 12, 15, .74) 44%, var(--lr-void) 90%),
    linear-gradient(180deg, rgba(10, 12, 15, .5), rgba(10, 12, 15, .2) 26%, rgba(10, 12, 15, .92));
}

.page-home .hero__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-block: 44px 56px;
}

.page-home .hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--lr-font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--lr-mist);
}

.page-home .hero__ver {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--lr-amber);
  color: var(--lr-void);
  font-weight: 700;
  letter-spacing: .06em;
}

.page-home .hero__title {
  margin: 0 0 22px;
  font-size: clamp(38px, 8vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.015em;
  color: var(--lr-ink);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.page-home .hero__lead {
  max-width: 44ch;
  margin: 0 0 30px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(237, 241, 246, .86);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .hero__aside {
  margin: 0 0 34px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--lr-mist);
}

.page-home .hero__aside a {
  color: var(--lr-cool);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 155, 255, .4);
}

.page-home .hero__aside a:hover {
  border-bottom-color: var(--lr-cool);
}

/* countdown */
.page-home .countdown {
  max-width: 460px;
  padding: 20px 20px 22px;
  border: 1px solid var(--ph-line-strong);
  border-radius: var(--lr-radius);
  background: linear-gradient(180deg, rgba(20, 24, 31, .94), rgba(10, 12, 15, .94));
  backdrop-filter: blur(2px);
}

.page-home .countdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .countdown__label {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lr-mist);
}

.page-home .countdown__clock {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--lr-font-mono);
  font-size: clamp(38px, 10vw, 56px);
  line-height: 1;
  font-weight: 500;
  color: var(--lr-amber);
  letter-spacing: .01em;
}

.page-home .countdown__group i {
  display: inline-block;
  margin-left: 5px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--lr-mist);
}

.page-home .countdown__colon {
  color: rgba(255, 148, 36, .5);
}

.page-home .countdown__track {
  height: 3px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--lr-gun);
  overflow: hidden;
}

.page-home .countdown__track span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lr-ember), var(--lr-flame) 58%, var(--lr-amber));
  animation: ph-track 3.2s var(--lr-ease) infinite alternate;
}

@keyframes ph-track {
  from { width: 34%; }
  to { width: 52%; }
}

.page-home .countdown__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(237, 241, 246, .74);
}

/* rail */
.page-home .hero__rail {
  border: 1px solid var(--ph-line-strong);
  border-radius: var(--lr-radius);
  background: linear-gradient(180deg, rgba(18, 63, 68, .58), rgba(10, 12, 15, .94));
  overflow: hidden;
}

.page-home .rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ph-line);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--lr-silver);
}

.page-home .rail__stamp {
  color: var(--lr-amber);
}

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

.page-home .rail__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-top: 1px solid var(--ph-line);
  transition: background .25s var(--lr-ease);
}

.page-home .rail__item:first-child {
  border-top: 0;
}

.page-home .rail__item:hover,
.page-home .rail__item:focus-within {
  background: rgba(18, 63, 68, .5);
}

.page-home .rail__code {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--lr-cool);
  padding-top: 2px;
}

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

.page-home .rail__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--lr-ink);
}

.page-home .rail__extra {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: var(--lr-mist);
  transition: max-height .3s var(--lr-ease), opacity .3s var(--lr-ease), margin-top .3s var(--lr-ease);
}

.page-home .rail__item:hover .rail__extra,
.page-home .rail__item:focus-within .rail__extra {
  max-height: 80px;
  opacity: 1;
  margin-top: 6px;
}

.page-home .rail__time {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--lr-mist);
  padding-top: 2px;
}

.page-home .rail__foot {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--ph-line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--lr-mist);
}

/* ============ SECTIONS ============ */
.page-home .lr-section {
  padding-block: var(--ph-pad);
  border-top: 1px solid var(--ph-line);
}

.page-home .lr-section__head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.page-home .lr-section__title {
  margin: 12px 0 14px;
}

.page-home .lr-section__intro {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(237, 241, 246, .76);
}

.page-home .lr-tabpanel[hidden] {
  display: none;
}

/* ============ 01 changes ============ */
.page-home .change {
  max-width: 76ch;
  padding: 28px 24px;
  border: 1px solid var(--ph-line);
  border-left: 3px solid var(--lr-ember);
  border-radius: 0 var(--lr-radius) var(--lr-radius) 0;
  background: var(--ph-panel);
}

.page-home .change__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--lr-ink);
}

.page-home .change__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(237, 241, 246, .8);
}

.page-home .change__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .change__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(237, 241, 246, .78);
}

.page-home .change__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background: var(--lr-amber);
}

/* ============ 02 entrances ============ */
.page-home .entrance {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .entrance__figure {
  margin: 0;
}

.page-home .entrance__figure .lr-figure__frame {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--ph-line);
  border-radius: var(--lr-radius);
  overflow: hidden;
}

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

.page-home .entrance__card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--ph-line-strong);
  border-radius: var(--lr-radius);
  background: var(--ph-panel);
  scroll-margin-top: 110px;
  transition: border-color .25s var(--lr-ease);
}

.page-home .entrance__card:hover {
  border-color: var(--lr-flame);
}

.page-home .entrance__card--stats {
  background: linear-gradient(180deg, rgba(18, 63, 68, .56), rgba(10, 12, 15, .96));
  border-color: rgba(61, 155, 255, .34);
}

.page-home .entrance__card--stats:hover {
  border-color: var(--lr-cool);
}

.page-home .entrance__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .entrance__code {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lr-mist);
}

.page-home .entrance__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--lr-ink);
}

.page-home .entrance__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(237, 241, 246, .8);
}

/* ============ 03 cycle ============ */
.page-home .cycle-section {
  background:
    linear-gradient(180deg, rgba(18, 63, 68, .34), rgba(10, 12, 15, 0) 62%);
}

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

.page-home .cycle__step {
  position: relative;
  padding: 22px 0 22px 26px;
  border-left: 1px solid var(--ph-line-strong);
}

.page-home .cycle__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 29px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lr-amber);
  box-shadow: 0 0 0 4px rgba(255, 148, 36, .14);
}

.page-home .cycle__time {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lr-amber);
}

.page-home .cycle__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--lr-ink);
}

.page-home .cycle__desc {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--lr-mist);
}

/* ============ 04 data ============ */
.page-home .data__figure {
  margin: 0 0 28px;
}

.page-home .data__figure .lr-figure__frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ph-line);
  border-radius: var(--lr-radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 36, 45, .9), rgba(10, 12, 15, .9));
}

.page-home .stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--ph-line);
  border-radius: var(--lr-radius);
  background: var(--ph-line);
  overflow: hidden;
}

.page-home .stats__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px;
  background: var(--lr-slate);
}

.page-home .stats__key {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lr-mist);
}

.page-home .stats__num {
  font-family: var(--lr-font-mono);
  font-size: clamp(38px, 6vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--lr-amber);
}

.page-home .stats__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(237, 241, 246, .72);
}

/* ============ 05 steps ============ */
.page-home .steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ph-step;
}

.page-home .steps__item {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--ph-line);
  border-radius: var(--lr-radius);
  background: linear-gradient(180deg, rgba(58, 33, 73, .42), rgba(10, 12, 15, .94));
}

.page-home .steps__idx {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--lr-silver);
}

.page-home .steps__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--lr-ink);
}

.page-home .steps__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(237, 241, 246, .76);
}

/* ============ 06 service ============ */
.page-home .service-section {
  background: linear-gradient(180deg, rgba(74, 26, 36, .3), rgba(10, 12, 15, 0) 60%);
}

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

.page-home .service__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ph-line);
}

.page-home .service__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ph-line);
}

.page-home .service__key {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lr-mist);
}

.page-home .service__val {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lr-ink);
}

.page-home .service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .service__figure {
  margin: 0;
}

.page-home .service__figure .lr-figure__frame {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--ph-line);
  border-radius: var(--lr-radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 36, 45, .9), rgba(10, 12, 15, .9));
}

/* ============ RESPONSIVE ============ */
@media (min-width: 700px) {
  .page-home .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .service__row {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

@media (min-width: 860px) {
  .page-home .cycle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .cycle__step {
    padding: 36px 24px 8px 0;
    border-left: 0;
    border-top: 1px solid var(--ph-line-strong);
  }
  .page-home .cycle__step::before {
    left: 0;
    top: -5px;
  }
  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 940px) {
  .page-home .hero__wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 56px;
    align-items: start;
    padding-block: 72px 96px;
  }
  .page-home .entrance {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 36px;
    align-items: start;
  }
  .page-home .service {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
    align-items: start;
  }
  .page-home .data__figure .lr-figure__frame {
    aspect-ratio: 21 / 9;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .countdown__track span {
    animation: none;
    width: 42%;
  }
  .page-home .rail__extra,
  .page-home .rail__item,
  .page-home .entrance__card {
    transition: none;
  }
  .page-home .rail__extra {
    max-height: none;
    opacity: 1;
    margin-top: 6px;
  }
}
</main>
