.page-custom {
  --custom-angle: 30deg;
  --custom-stripe: repeating-linear-gradient(
    var(--custom-angle),
    var(--color-primary) 0 14px,
    var(--color-surface) 14px 28px
  );
}

/* ---------- 面包屑 ---------- */
.page-custom .breadcrumb {
  padding-block: var(--space-3) 0;
}

/* ---------- 首屏 ---------- */
.page-custom .custom-hero {
  padding-block: var(--space-6) var(--section-y);
}

.page-custom .custom-hero-kicker {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-accent);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-heading);
  font-family: var(--font-heading);
}

.page-custom .custom-hero-title {
  margin: 0 0 var(--space-3);
  max-width: 17ch;
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--color-ink);
}

.page-custom .custom-hero-lede {
  margin: 0 0 var(--space-6);
  max-width: var(--measure);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--color-ink-soft);
}

.page-custom .custom-hero-split {
  display: grid;
  gap: var(--space-6);
}

.page-custom .custom-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.page-custom .custom-number {
  padding-left: var(--space-3);
  border-left: 3px solid var(--color-primary);
}

.page-custom .custom-number:nth-child(2) {
  margin-inline-start: 14%;
  border-left-color: var(--color-accent);
}

.page-custom .custom-number:nth-child(3) {
  margin-inline-start: 7%;
}

.page-custom .custom-number-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-custom .custom-number-value {
  font-family: var(--font-heading);
  font-size: var(--text-figure);
  font-weight: var(--weight-heading);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.page-custom .custom-number-unit {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  color: var(--color-ink-soft);
}

.page-custom .custom-number-label {
  display: block;
  margin-top: 6px;
  max-width: 30ch;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-ink-muted);
}

.page-custom .custom-hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--custom-stripe);
  overflow: hidden;
}

.page-custom .custom-hero-art img {
  display: block;
  width: min(100%, 480px);
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}

/* ---------- 三段对照带 ---------- */
.page-custom .custom-band-section {
  padding-block: 0 var(--section-y);
}

.page-custom .custom-band-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  color: var(--color-ink);
  max-width: var(--measure);
}

.page-custom .custom-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.page-custom .custom-band-step {
  display: grid;
  gap: 4px;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  border-top: 3px solid var(--color-line);
}

.page-custom .custom-band-step:nth-child(1) { border-top-color: var(--color-contrast-surface); }
.page-custom .custom-band-step:nth-child(2) { border-top-color: var(--color-primary); }
.page-custom .custom-band-step:nth-child(3) { border-top-color: var(--color-accent); }

.page-custom .custom-band-mark {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  color: var(--color-ink);
}

.page-custom .custom-band-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-ink-soft);
}

/* ---------- 通用分区小标题 ---------- */
.page-custom .custom-section-lede {
  margin: var(--space-2) 0 0;
  max-width: var(--measure);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink-soft);
}

.page-custom .custom-pain,
.page-custom .section--contrast .custom-section-lede {
  color: var(--color-contrast-ink);
}

.page-custom .custom-pain .chapter-title,
.page-custom .custom-pain .custom-section-lede {
  color: var(--color-contrast-ink);
}

.page-custom .custom-pain .chapter-index {
  color: var(--color-primary);
}

/* ---------- 难处 / 做法 两栏 ---------- */
.page-custom .custom-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.page-custom .custom-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.page-custom .custom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.page-custom .custom-item {
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--color-line);
}

.page-custom .custom-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-custom .custom-item-title {
  margin: 0 0 var(--space-1);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  color: var(--color-ink);
}

.page-custom .custom-item-text {
  margin: 0;
  max-width: 56ch;
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink-soft);
}

.page-custom .custom-pain .custom-item {
  border-bottom-color: var(--color-contrast-line);
}

.page-custom .custom-pain .custom-item-title {
  color: var(--color-contrast-ink);
}

.page-custom .custom-pain .custom-item-text {
  color: color-mix(in srgb, var(--color-contrast-ink) 76%, var(--color-contrast-surface));
}

/* ---------- 得到 ---------- */
.page-custom .custom-gain-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.page-custom .custom-gain-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-contrast-surface);
  color: var(--color-contrast-ink);
  box-shadow: var(--shadow-2);
}

.page-custom .custom-gain-figure {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: 0 0 var(--space-2);
}

.page-custom .custom-gain-num {
  font-family: var(--font-heading);
  font-size: var(--text-figure);
  font-weight: var(--weight-heading);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-contrast-ink);
  font-variant-numeric: tabular-nums;
}

.page-custom .custom-gain-unit {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  color: color-mix(in srgb, var(--color-contrast-ink) 68%, var(--color-contrast-surface));
}

.page-custom .custom-gain-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  color: var(--color-contrast-ink);
}

.page-custom .custom-gain-text {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: color-mix(in srgb, var(--color-contrast-ink) 76%, var(--color-contrast-surface));
}

.page-custom .custom-gain-note {
  margin-top: var(--space-3);
  padding-top: var(--space-1);
  border-top: 1px dashed var(--color-contrast-line);
}

.page-custom .custom-gain-note .disclosure-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) 0;
  border: 0;
  background: transparent;
  color: var(--color-contrast-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
}

.page-custom .custom-gain-note .disclosure-panel {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-highlight);
  color: var(--color-ink);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.page-custom .custom-figure--gain {
  margin-top: var(--space-6);
}

/* ---------- 提交 ---------- */
.page-custom .custom-submit-banner {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-lg);
}

.page-custom .custom-submit-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.page-custom .custom-submit-block {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border-bottom: 1px dashed var(--color-line);
}

.page-custom .custom-submit-heading {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  color: var(--color-ink);
}

.page-custom .custom-prep {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.page-custom .custom-prep-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}

.page-custom .custom-prep-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-4);
  height: var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-primary-ink);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-heading);
}

.page-custom .custom-prep-item p {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink-soft);
}

.page-custom .custom-contact-list {
  margin: 0 0 var(--space-3);
  display: grid;
  gap: var(--space-1);
}

.page-custom .custom-contact-list dt {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-heading);
  color: var(--color-ink-muted);
  text-transform: none;
}

.page-custom .custom-contact-list dd {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-heading);
  color: var(--color-ink);
  word-break: break-word;
}

.page-custom .custom-contact-list dd:last-child {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  color: var(--color-ink-soft);
}

.page-custom .custom-submit-note {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-ink-muted);
}

.page-custom .custom-submit-note a,
.page-custom .custom-outro a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-custom .custom-submit-note a:hover,
.page-custom .custom-outro a:hover {
  background: var(--color-highlight);
}

.page-custom .custom-outro {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-line);
}

.page-custom .custom-outro p {
  margin: 0;
  max-width: var(--measure);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink-soft);
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-custom .custom-band {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
    padding-top: var(--space-4);
  }

  .page-custom .custom-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4%;
    right: 4%;
    border-top: 1px dashed var(--color-line);
  }

  .page-custom .custom-submit-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-custom .custom-hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: var(--gutter);
  }

  .page-custom .custom-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: var(--space-6);
  }

  .page-custom .custom-grid--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-custom .custom-grid--reverse .custom-list {
    order: 1;
  }

  .page-custom .custom-grid--reverse .custom-figure {
    order: 2;
  }

  .page-custom .custom-gain-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .page-custom .custom-number:nth-child(2),
  .page-custom .custom-number:nth-child(3) {
    margin-inline-start: 0;
  }

  .page-custom .custom-hero-art {
    padding: var(--space-2);
    min-height: 0;
  }
}
</main>
