/* ===== Page: home ===== */
.page-home {
  background: var(--space-deep-1000);
  color: var(--metal-silver-200);
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.page-home__hero {
  position: relative;
  isolation: isolate;
  background: var(--space-deep-1000);
  padding: calc(var(--header-h) + 40px) 5vw 56px;
  overflow: hidden;
}

.page-home__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--space-deep-900);
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

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

.page-home .hero__brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .hero__eyebrow-text {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-silver-400);
}

.page-home .hero__title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 11vw, 116px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--metal-silver-200);
  text-transform: uppercase;
  transform: skew(-2deg, 0);
  margin: 0;
  max-width: 7em;
}

.page-home .hero__lead {
  max-width: 560px;
  margin: 0;
}

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

.page-home .hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 8px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--slate-500);
  border-bottom: 1px solid var(--slate-500);
}

.page-home .hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero__stat-label {
  font-size: 12px;
  color: var(--steel-silver-400);
  margin: 0;
}

.page-home .hero__stat-value {
  margin: 0;
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-green-500);
  line-height: 1.1;
}

.page-home .hero__visual {
  position: relative;
  border-radius: 12px;
}

.page-home .hero__imgwrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: var(--space-deep-800);
  border: 1px solid var(--slate-500);
}

.page-home .hero__imgwrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__speedlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.page-home .hero__line {
  fill: none;
  stroke: var(--neon-green-500);
  stroke-width: 1.2;
  stroke-dasharray: 14 10;
}

.page-home .hero__cornernote {
  position: absolute;
  right: 0;
  bottom: 12px;
  z-index: 3;
  background: rgba(9, 27, 38, 0.86);
  border-left: 2px solid var(--neon-green-500);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(2px);
}

.page-home .hero__cornernote-key {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon-green-300);
  text-transform: uppercase;
}

.page-home .hero__cornernote strong {
  font-size: 16px;
  color: var(--metal-silver-200);
  font-weight: 700;
}

/* ---------- Notice ---------- */
.page-home__notice {
  border-top: 1px solid var(--slate-500);
  border-bottom: 1px solid var(--slate-500);
  background: var(--space-deep-900);
  padding: 28px 0;
}

.page-home .notice__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-direction: column;
}

.page-home .notice__badge {
  flex-shrink: 0;
}

.page-home .notice__text {
  flex: 1;
}

.page-home .notice__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--metal-silver-200);
  margin: 0 0 6px;
}

.page-home .notice__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel-silver-400);
}

.page-home .notice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--neon-green-500);
  text-decoration: none;
  border-bottom: 1px dashed var(--neon-green-500);
  padding-bottom: 3px;
}

/* ---------- Data strip ---------- */
.page-home__datastrip {
  padding: 64px 0;
  background: var(--space-deep-1000);
  border-bottom: 1px solid var(--slate-500);
}

.page-home .datastrip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.page-home .datastrip__item {
  border-top: 2px solid var(--neon-green-500);
  padding-top: 18px;
}

.page-home .datastrip__num {
  font-family: var(--font-data);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--neon-green-500);
}

.page-home .datastrip__label {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--metal-silver-200);
}

.page-home .datastrip__desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel-silver-400);
}

/* ---------- Dual dimension ---------- */
.page-home__dualdim {
  padding: 88px 0;
  background: var(--space-deep-1000);
}

.page-home .dualdim__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

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

.page-home .dualdim__dimlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.page-home .dimlist__card {
  background: var(--space-deep-900);
  border: 1px solid var(--slate-500);
  border-radius: 8px;
  padding: 22px;
}

.page-home .dimlist__index {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--neon-green-500);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-home .dimlist__card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
}

.page-home .dimlist__card p {
  margin: 0;
  font-size: 14px;
  color: var(--steel-silver-400);
  line-height: 1.6;
}

.page-home .dualdim__visual {
  border: 1px solid var(--slate-500);
  border-radius: 12px;
  overflow: hidden;
  background: var(--space-deep-900);
}

.page-home .dualdim__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Quick path ---------- */
.page-home__quickpath {
  padding: 88px 0;
  background: var(--space-deep-900);
  border-top: 1px solid var(--slate-500);
  border-bottom: 1px solid var(--slate-500);
}

.page-home .quickpath__steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .quickpath__step {
  position: relative;
  padding: 28px 24px;
  background: var(--space-deep-1000);
  border: 1px solid var(--slate-500);
  border-radius: 8px;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.page-home .quickpath__step:hover {
  border-color: var(--neon-green-500);
  transform: translateY(-2px);
}

.page-home .quickpath__num {
  font-family: var(--font-data);
  font-size: 56px;
  font-weight: 800;
  line-height: 0.9;
  color: var(--neon-green-500);
  opacity: 0.35;
  margin-bottom: 18px;
}

.page-home .quickpath__step h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
}

.page-home .quickpath__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel-silver-400);
}

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

/* ---------- Verify ---------- */
.page-home__verify {
  padding: 88px 0;
  background: var(--space-deep-1000);
}

.page-home .verify__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .verify__visual {
  border: 1px solid var(--slate-500);
  border-radius: 12px;
  overflow: hidden;
  background: var(--space-deep-800);
}

.page-home .verify__img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-home .verify__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-home .verify__list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel-silver-400);
}

/* ---------- Test build ---------- */
.page-home__testbuild {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--space-deep-900), var(--space-deep-800));
  border-top: 1px solid var(--slate-500);
}

.page-home .testbuild__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-home .testbuild__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.page-home .testbuild__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--metal-silver-200);
}

.page-home .testbuild__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--neon-green-500);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(45deg);
}

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

.page-home .testbuild__visual {
  border: 1px solid var(--slate-500);
  border-radius: 12px;
  overflow: hidden;
  background: var(--space-deep-900);
}

.page-home .testbuild__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Sub entry ---------- */
.page-home__subentry {
  padding: 88px 0 104px;
  background: var(--space-deep-1000);
}

.page-home .subentry__grid {
  margin-top: 40px;
  gap: 16px;
}

.page-home .subentry__card {
  text-decoration: none;
  background: var(--space-deep-900);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.page-home .subentry__card:hover {
  border-color: var(--neon-green-500);
  transform: translateY(-2px);
}

/* ---------- Responsive: tablet ---------- */
@media (min-width: 768px) {
  .page-home__hero {
    padding-top: calc(var(--header-h) + 24px);
  }

  .page-home .hero__inner {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .hero__title {
    font-size: clamp(72px, 9vw, 116px);
  }

  .page-home .hero__stat-value {
    font-size: 30px;
  }

  .page-home .notice__inner {
    flex-direction: row;
  }

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

  .page-home .dualdim__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

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

  .page-home .quickpath__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .verify__grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }

  .page-home .testbuild__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }

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

/* ---------- Responsive: desktop ---------- */
@media (min-width: 1024px) {
  .page-home .hero__meta {
    gap: 24px;
  }

  .page-home .dualdim__visual,
  .page-home .verify__visual,
  .page-home .testbuild__visual {
    aspect-ratio: auto;
  }

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

  .page-home .subentry__card {
    min-height: 180px;
  }
}
