.page-home {
  --home-max: 1200px;
  --home-pad: 18px;
  --home-cut: 14px;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(0deg, rgba(36, 35, 31, 0.028) 0 1px, transparent 1px 5px);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 0 var(--home-pad) 84px;
  overflow-x: hidden;
}

.page-home .home-context,
.page-home .home-hero,
.page-home .home-route,
.page-home .home-strip,
.page-home .home-entries,
.page-home .home-params,
.page-home .home-quote,
.page-home .home-paths,
.page-home .home-help {
  max-width: var(--home-max);
  margin-inline: auto;
}

/* 顶部上下文条 */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--line-ink);
}

.page-home .home-context__stamp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
}

/* 首屏 */
.page-home .home-hero {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-ink);
  background: var(--paper);
  margin-top: 22px;
}

.page-home .home-hero__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 20px 30px;
  background: var(--paper);
}

.page-home .home-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-hero__meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-ink);
}

.page-home .home-hero__meter dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.page-home .home-hero__meter dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.page-home .home-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1;
  color: var(--ink);
}

.page-home .home-unit {
  font-size: 12px;
  color: var(--gray-700);
}

.page-home .home-hero__screen {
  position: relative;
  min-height: 250px;
  background: var(--ink);
  overflow: hidden;
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  opacity: 0.8;
  filter: saturate(0.78) contrast(1.06);
}

.page-home .home-hero__plate {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px 12px 14px;
  background: rgba(36, 35, 31, 0.9);
  border-left: 3px solid var(--cyan);
}

.page-home .home-hero__plate-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gray-300);
}

.page-home .home-hero__plate-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--paper);
}

.page-home .home-hero__plate-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

/* 路径图章节 */
.page-home .home-route {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: 56px;
}

.page-home .home-route__copy h2 {
  margin: 6px 0 12px;
}

.page-home .home-route__copy > p {
  margin: 0 0 20px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
}

.page-home .home-route__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-route__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line-ink);
}

.page-home .home-route__step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--orange-deep);
}

.page-home .home-route__steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 2px;
}

.page-home .home-route__steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-home .home-route__diagram {
  background: var(--ink);
  padding: 22px 16px 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

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

.page-home .routemap__path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  animation: home-dash 1200ms linear infinite;
}

@keyframes home-dash {
  to {
    stroke-dashoffset: -28;
  }
}

.page-home .routemap__node {
  cursor: default;
  outline: none;
}

.page-home .routemap__node circle {
  fill: var(--ink);
  stroke: var(--cyan);
  stroke-width: 2.5;
  transition: fill 200ms var(--ease), transform 200ms var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}

.page-home .routemap__node text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  fill: var(--paper);
  letter-spacing: 0.02em;
}

.page-home .routemap__node:hover circle,
.page-home .routemap__node:focus circle {
  fill: var(--cyan);
  transform: scale(1.18);
}

.page-home .routemap__node:hover text,
.page-home .routemap__node:focus text {
  fill: var(--cyan);
}

.page-home .home-route__hint {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gray-300);
  text-align: right;
}

/* 窄幅横图 */
.page-home .home-strip {
  margin-top: 44px;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  padding-top: 16px;
}

.page-home .home-strip .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 300;
  object-fit: cover;
  filter: saturate(0.82);
}

.page-home .home-strip .media-frame__cap {
  display: block;
  padding: 10px 0 0;
  font-size: 13px;
  color: var(--gray-700);
}

/* 四类入口 */
.page-home .home-entries {
  margin-top: 56px;
  padding: 36px 20px 40px;
  background: var(--paper-shadow);
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}

.page-home .home-entries__head {
  max-width: 62ch;
  margin-bottom: 24px;
}

.page-home .home-entries__head h2 {
  margin: 6px 0 10px;
}

.page-home .home-entries__head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-home .home-entries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px 18px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform 200ms var(--ease), border-left-color 200ms var(--ease);
}

.page-home .home-entry:hover {
  transform: translateY(-4px);
  border-left-color: var(--cyan);
}

.page-home .home-entry__code {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--orange-deep);
  letter-spacing: 0.1em;
}

.page-home .home-entry h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.page-home .home-entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-home .home-entry__who {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding-top: 4px;
  border-top: 1px dashed var(--line-ink);
}

.page-home .home-entry__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 1px;
}

.page-home .home-entry__link:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange);
}

/* 参数面板 */
.page-home .home-params {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 20px 44px;
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .home-params .section-title {
  color: var(--paper);
  margin: 6px 0 12px;
}

.page-home .home-params__copy > p {
  margin: 0 0 20px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-300);
}

.page-home .home-params__fields {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-params__fields > div {
  padding-top: 10px;
  border-top: 1px solid var(--line-paper);
}

.page-home .home-params__fields dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.page-home .home-params__fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-300);
}

.page-home .home-params__note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-300);
  margin: 0 0 20px;
}

.page-home .home-params__link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
}

.page-home .home-params__link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-home .home-params__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-params__figure {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-params__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 520;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .home-params__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .home-params__stats .param {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line-paper);
}

.page-home .home-params__stats .param__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-params__stats .param__unit {
  font-size: 12px;
  color: var(--gray-300);
}

.page-home .home-params__stats .param__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-300);
}

/* 报价 */
.page-home .home-quote {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

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

.page-home .home-quote__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 640;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  filter: saturate(0.85);
}

.page-home .home-quote__cap {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

.page-home .home-quote__copy h2 {
  margin: 6px 0 12px;
}

.page-home .home-quote__copy > p {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-700);
}

.page-home .home-quote__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-quote__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-home .home-quote__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--orange);
}

.page-home .home-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 两条路径 */
.page-home .home-paths {
  margin-top: 56px;
  padding: 34px 20px 38px;
  background: var(--paper-shadow);
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}

.page-home .home-paths__head {
  margin-bottom: 22px;
}

.page-home .home-paths__head h2 {
  margin: 6px 0 0;
}

.page-home .home-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-path {
  padding-top: 16px;
  border-top: 3px solid var(--ink);
}

.page-home .home-path h3 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
}

.page-home .home-path__steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-path__steps li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-home .home-path__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 1px;
}

.page-home .home-path__link:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange);
}

/* 联系 */
.page-home .home-help {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 20px;
  background: var(--paper);
  border-left: 4px solid var(--orange);
  border-top: 1px solid var(--line-ink);
  border-right: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}

.page-home .home-help h2 {
  margin: 6px 0 10px;
}

.page-home .home-help__copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-700);
}

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

.page-home .home-help__addr {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

@media (min-width: 700px) {
  .page-home {
    --home-pad: 26px;
  }

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

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

  .page-home .home-help {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: 38% 62%;
  }

  .page-home .home-hero__track {
    padding: 40px 30px 36px;
  }

  .page-home .home-hero__screen {
    min-height: 100%;
    clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-route {
    grid-template-columns: 6fr 4fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .home-route__diagram {
    position: sticky;
    top: 24px;
    padding: 26px 20px 18px;
  }

  .page-home .home-params {
    grid-template-columns: 6fr 4fr;
    gap: 44px;
    padding: 52px 40px 56px;
  }

  .page-home .home-quote {
    grid-template-columns: 5fr 6fr;
    gap: 44px;
    align-items: center;
  }

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

  .page-home .home-entries {
    padding: 44px 36px 48px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__track {
    padding: 52px 40px 44px;
  }
}

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

  .page-home .home-entry,
  .page-home .routemap__node circle {
    transition: none;
  }

  .page-home .home-entry:hover {
    transform: none;
  }
}
