.page-home {
  --home-cut: 34px;
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: clip;
}

.page-home .home-shell {
  padding-top: clamp(14px, 3vw, 26px);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-home .breadcrumb {
  margin-bottom: clamp(18px, 3.5vw, 36px);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-sans);
  text-wrap: balance;
}

.page-home p {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  padding-bottom: clamp(30px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: clamp(56px, 12vw, 116px);
  height: 5px;
  background: var(--orange);
  transform: skewX(-26deg);
  transform-origin: left center;
}

.page-home .home-hero h1 {
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  font-size: clamp(2rem, 7.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.page-home .hero-lead {
  max-width: 33em;
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .hero-figure {
  margin: 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 三个入口 ---------- */
.page-home .section-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3.4vw, 38px);
}

.page-home h2 {
  margin: 0.2em 0 0.5em;
  font-size: clamp(1.6rem, 4.4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-home .section-note {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.75;
}

.page-home .entry-grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 26px);
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--panel-700);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  background: color-mix(in srgb, var(--panel-700) 80%, var(--cyan));
  transform: translateY(-4px);
}

.page-home .entry-num {
  position: absolute;
  top: clamp(8px, 1.6vw, 16px);
  right: clamp(14px, 2vw, 24px);
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  opacity: 0.6;
  pointer-events: none;
}

.page-home .entry-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--mist);
  max-width: 22ch;
}

.page-home .entry-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.page-home .entry-card p:not(.entry-kicker):not(.entry-meta) {
  font-size: 0.9875rem;
  line-height: 1.75;
  color: var(--paper);
}

.page-home .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.page-home .entry-card .link-underline {
  align-self: flex-start;
  font-size: 0.9375rem;
}

/* ---------- 状态带 ---------- */
.page-home .home-status {
  margin-top: clamp(36px, 7vw, 80px);
}

.page-home .state-band {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-home .state-cell {
  background: var(--ink-800);
  padding: clamp(16px, 2.4vw, 26px);
}

.page-home .state-cell--alert {
  background: var(--panel-700);
  box-shadow: inset 4px 0 0 var(--orange);
}

.page-home .state-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  margin-bottom: 8px;
}

.page-home .state-value {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.page-home .state-cell--alert .state-value {
  color: var(--orange);
}

.page-home .state-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .status-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(20px, 3.4vw, 34px);
}

.page-home .status-body p {
  flex: 1 1 22em;
  max-width: 34em;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .status-figure {
  margin: 0;
}

.page-home .status-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 跨设备 ---------- */
.page-home .home-devices {
  margin-top: clamp(36px, 7vw, 80px);
}

.page-home .device-split {
  display: grid;
  gap: clamp(20px, 3.2vw, 40px);
}

.page-home .device-figure {
  margin: 0;
}

.page-home .device-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .device-copy p {
  max-width: 34em;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .device-list {
  list-style: none;
  margin: clamp(16px, 2.6vw, 24px) 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .device-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9875rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .device-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-home .device-copy .link-underline {
  font-size: 0.9375rem;
}

/* ---------- 三步动线 ---------- */
.page-home .home-flow {
  margin-top: clamp(36px, 7vw, 80px);
}

.page-home .flow-split {
  display: grid;
  gap: clamp(22px, 3.4vw, 42px);
}

.page-home .flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

.page-home .flow-step {
  position: relative;
  padding: 0 0 0 clamp(16px, 2.4vw, 24px);
  border-left: 1px solid var(--line);
}

.page-home .flow-step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--cyan);
}

.page-home .flow-step:last-child::before {
  background: var(--lime);
}

.page-home .flow-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  margin-bottom: 6px;
}

.page-home .flow-step h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.page-home .flow-step p:not(.flow-time) {
  font-size: 0.9875rem;
  line-height: 1.75;
  color: var(--mist);
  max-width: 30em;
}

.page-home .flow-figure {
  margin: 0;
  align-self: start;
}

.page-home .flow-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 覆盖量级 ---------- */
.page-home .home-coverage {
  margin-top: clamp(36px, 7vw, 80px);
}

.page-home .coverage-chips {
  list-style: none;
  margin: 0 0 clamp(16px, 2.6vw, 24px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .coverage-chips .stat-chip {
  background: var(--ink-800);
  padding: clamp(14px, 2.2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .coverage-chips .stat-num {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .coverage-chips .stat-label {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mist);
}

.page-home .coverage-note {
  max-width: 36em;
  line-height: 1.8;
  color: var(--mist);
  font-size: 0.9875rem;
}

/* ---------- 求助入口 ---------- */
.page-home .home-help {
  margin-top: clamp(36px, 7vw, 80px);
}

.page-home .help-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .help-cell {
  display: block;
  padding: clamp(18px, 2.8vw, 28px);
  background: var(--ink-800);
  color: inherit;
  text-decoration: none;
  transition: background 200ms var(--ease);
}

.page-home .help-cell:hover,
.page-home .help-cell:focus-visible {
  background: var(--panel-700);
}

.page-home .help-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.page-home .help-cell h3 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
}

.page-home .help-cell p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .help-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .help-foot p {
  flex: 1 1 20em;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .coverage-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    align-items: end;
  }

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

  .page-home .entry-card:nth-child(2) {
    margin-top: 2.5rem;
  }

  .page-home .entry-card:nth-child(3) {
    margin-top: 5rem;
  }

  .page-home .device-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .flow-split {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .help-cell {
    transition: none;
  }

  .page-home .entry-card:hover,
  .page-home .entry-card:focus-within {
    transform: none;
  }
}
