.page-home {
  --home-cut: 28px;
  background: var(--paper);
}

.page-home .index-tag {
  margin: 20px 0 0;
}

.page-home .home-section {
  margin-block: 56px;
}

.page-home .home-hero {
  margin-top: 18px;
}

/* ---------- 首屏 Bento 拼贴 ---------- */

.page-home .hero-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .hero-focus {
  position: relative;
  padding: 26px 20px 0;
  color: #fff;
  background-color: var(--indigo);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 15px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
}

.page-home .hero-batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--amber);
}

.page-home .batch-code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.page-home .hero-focus h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 6.2vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -.6px;
  font-weight: 800;
  color: #fff;
}

.page-home .hero-lede {
  max-width: 46ch;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 26px;
}

.page-home .hero-link {
  padding-bottom: 2px;
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .hero-link:hover,
.page-home .hero-link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--orange);
}

.page-home .hero-figure {
  margin: 0 -20px;
  line-height: 0;
}

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

.page-home .hero-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .hero-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .hero-card:hover,
.page-home .hero-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-1);
}

.page-home .hero-card--accent {
  background: var(--mist);
  border-color: transparent;
}

.page-home .card-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--slate);
}

.page-home .hero-card h2 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hero-card p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .card-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.page-home .card-link:hover,
.page-home .card-link:focus-visible {
  color: var(--orange);
}

/* ---------- 更新节奏 ---------- */

.page-home .rhythm {
  display: grid;
  gap: 24px;
  padding: 26px 20px;
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.page-home .rhythm h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--ink);
}

.page-home .rhythm-copy > p {
  margin: 0 0 20px;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .rhythm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .rhythm-stats li {
  padding: 12px 10px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--indigo);
}

.page-home .stat-label {
  display: block;
  margin-top: 5px;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--slate);
}

.page-home .rhythm-scale-wrap {
  color: var(--blue);
}

.page-home .rhythm-scale {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-home .rhythm .scale-note {
  margin: 6px 0 0;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- 三条内容线 ---------- */

.page-home .flow {
  display: grid;
  gap: var(--gap-lg);
}

.page-home .flow h2 {
  margin: 6px 0 18px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--ink);
}

.page-home .tab-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-home .tab-list::-webkit-scrollbar {
  display: none;
}

.page-home .tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .tab:hover {
  color: var(--ink);
}

.page-home .tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px 6px 0 0;
}

.page-home .tab-panel {
  margin-top: 18px;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top-left-radius: 0;
}

.page-home .tab-panel--indigo {
  border-left: 3px solid var(--indigo);
}

.page-home .tab-panel--teal {
  border-left: 3px solid var(--teal);
}

.page-home .tab-panel--wine {
  border-left: 3px solid var(--wine);
}

.page-home .tab-panel h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--ink);
}

.page-home .tab-panel p {
  margin: 0 0 14px;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .tab-panel .meta-line {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-home .flow-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--mist);
  border-radius: var(--radius);
  align-self: start;
}

.page-home .flow-aside figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
}

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

.page-home .flow-aside h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.page-home .flow-aside p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .flow-aside a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.page-home .flow-aside a:hover,
.page-home .flow-aside a:focus-visible {
  color: var(--orange);
}

/* ---------- 两种使用场景 ---------- */

.page-home .duo {
  display: grid;
  gap: var(--gap-lg);
  align-items: center;
}

.page-home .duo-visual {
  overflow: hidden;
  background: var(--mist);
  line-height: 0;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
}

.page-home .duo-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .duo h2 {
  margin: 6px 0 20px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--ink);
}

.page-home .duo-list {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .duo-list li {
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.page-home .duo-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--ink);
}

.page-home .duo-list p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 收藏通道 ---------- */

.page-home .collect {
  display: grid;
  gap: 24px;
  padding: 26px 20px;
  background: var(--indigo);
  border-radius: var(--radius-lg);
}

.page-home .collect-visual {
  overflow: hidden;
  border-radius: var(--radius-sm);
  line-height: 0;
  background: rgba(255, 255, 255, .08);
}

.page-home .collect-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .collect .eyebrow {
  color: var(--amber);
}

.page-home .collect h2 {
  margin: 6px 0 14px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.4px;
  color: #fff;
}

.page-home .collect-copy > p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8);
}

.page-home .collect-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .collect-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
}

.page-home .step-num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--amber);
}

.page-home .collect-steps p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.page-home .collect .collect-note {
  margin: 18px 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--amber);
}

/* ---------- 问题排查路径 ---------- */

.page-home .route h2 {
  margin: 6px 0 22px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--ink);
}

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

.page-home .route-steps li {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}

.page-home .route-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--mist);
  border-radius: var(--radius-pill);
}

.page-home .route-steps h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}

.page-home .route-steps p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--slate);
  word-break: break-word;
}

.page-home .route-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 26px;
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 820px) {
  .page-home .route-steps {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .home-section {
    margin-block: 84px;
  }

  .page-home .duo {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
  }

  .page-home .collect {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 40px;
    padding: 40px;
  }
}

@media (min-width: 960px) {
  .page-home {
    --home-cut: 34px;
  }

  .page-home .hero-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap-lg);
  }

  .page-home .hero-focus {
    grid-column: span 7;
    padding: 34px 32px 0;
  }

  .page-home .hero-figure {
    margin-inline: -32px;
  }

  .page-home .hero-side {
    grid-column: span 5;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .page-home .rhythm {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 40px;
    padding: 40px;
  }

  .page-home .flow {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
    gap: 32px;
  }

  .page-home .flow-aside {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 359px) {
  .page-home .rhythm-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
<<<END>>>
