.cluster-page {
  max-width: 1040px;
}

.cluster-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 126, 179, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e6edf7;
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
  margin-bottom: 1.25rem;
}

.cluster-eyebrow,
.tool-label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 126, 179, 0.12);
  color: #a82d67;
  padding: 0.34rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.cluster-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}

.cluster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1.1rem;
  color: #64748b;
  font-size: 0.92rem;
}

.cluster-meta a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.cluster-meta a:hover {
  text-decoration: underline;
}

.cluster-lead {
  color: #4f5d73;
  line-height: 1.9;
  margin: 0.75rem 0 0;
}

.cluster-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.cluster-jumps a {
  border: 1px solid #dbe4ef;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.82rem;
  text-decoration: none;
  color: #44556d;
  font-weight: 700;
  font-size: 0.92rem;
}

.cluster-jumps a:hover {
  color: var(--primary);
  border-color: rgba(255, 126, 179, 0.35);
  background: #fff5fb;
}

.cluster-section {
  margin-top: 1.25rem;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid #e6edf7;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.cluster-section h2 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(255, 126, 179, 0.18);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.35;
}

.cluster-section h3 {
  margin: 1.4rem 0 0.55rem;
  padding-left: 0.82rem;
  border-left: 4px solid var(--primary);
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.cluster-section p,
.cluster-section li,
.cluster-section td,
.cluster-section th {
  color: #4f5d73;
  line-height: 1.85;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cluster-card,
.faq-item,
.hub-link,
.reference-card {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(20, 33, 61, 0.05);
}

.cluster-card strong,
.hub-link strong,
.reference-card strong,
.faq-item h3 {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.cluster-card p,
.hub-link p,
.reference-card p,
.faq-item p {
  margin: 0;
}

.cluster-note,
.cluster-summary,
.chart-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #dce8f8;
  background: #f8fbff;
}

.cluster-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
}

.cluster-table th,
.cluster-table td {
  border: 1px solid #dbe4ef;
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.cluster-table th {
  background: rgba(255, 126, 179, 0.08);
}

.faq-grid,
.hub-links,
.reference-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hub-link {
  text-decoration: none;
}

.hub-link:hover {
  border-color: rgba(255, 126, 179, 0.35);
  transform: translateY(-2px);
}

.reference-card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.reference-card a:hover {
  text-decoration: underline;
}

.tool-shell {
  margin-top: 1.25rem;
}

.chart-row {
  display: grid;
  grid-template-columns: 96px 1fr 110px;
  gap: 0.75rem;
  align-items: center;
  margin: 0.85rem 0;
}

.chart-track {
  height: 18px;
  border-radius: 999px;
  background: #e8eef8;
  overflow: hidden;
}

.chart-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9cc4 0%, #ff6ca7 100%);
}

.chart-fill.a {
  width: 22%;
}

.chart-fill.b {
  width: 54%;
}

.chart-fill.c {
  width: 88%;
}

.chart-fill.d {
  width: 58%;
}

.chart-fill.e {
  width: 20%;
}

.science-figure,
.science-callout,
.author-bio,
.share-strip,
.metric-map {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #dce8f8;
  background: #f8fbff;
}

.science-figure img,
.science-figure svg {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0.9rem auto 0;
}

.science-figure figcaption {
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.7;
}

.science-callout strong,
.author-bio strong,
.share-strip strong,
.metric-map strong {
  color: var(--text);
}

.science-timeline {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.science-timeline__item {
  position: relative;
  padding: 0.95rem 0.95rem 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #e1e8f4;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.science-timeline__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #ff9cc4 0%, #ff6ca7 100%);
}

.science-timeline__item span {
  display: block;
  margin-bottom: 0.25rem;
  color: #8c2f5a;
  font-size: 0.85rem;
  font-weight: 800;
}

.visual-toc,
.diagram-wall,
.impact-bars,
.shape-gallery,
.mini-list {
  margin-top: 1rem;
}

.visual-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.visual-toc a {
  display: block;
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: #44556d;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.visual-toc a strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.visual-toc a:hover {
  border-color: rgba(255, 126, 179, 0.35);
  transform: translateY(-2px);
}

.diagram-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.diagram-wall figure,
.shape-gallery figure {
  margin: 0;
}

.shape-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.impact-bars {
  display: grid;
  gap: 0.9rem;
}

.impact-bar {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.impact-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-weight: 700;
}

.impact-bar__track {
  height: 16px;
  border-radius: 999px;
  background: #e8eef8;
  overflow: hidden;
}

.impact-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9cc4 0%, #ff6ca7 100%);
}

.impact-bar__note {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: #64748b;
}

.mini-list {
  padding-left: 1.15rem;
}

.mini-list li + li {
  margin-top: 0.35rem;
}

.caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 126, 179, 0.12);
  color: #8c2f5a;
  padding: 0.34rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.note-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.note-split > div {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.factor-grid,
.photo-good-bad,
.checklist-wall,
.step-stack,
.impact-note-grid {
  margin-top: 1rem;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
}

.factor-grid .cluster-card strong {
  font-size: 1.05rem;
  color: #8c2f5a;
}

.factor-grid .cluster-card span,
.step-stack__step span {
  display: block;
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.photo-good-bad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.photo-good-bad__panel {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.photo-good-bad__panel--good {
  background: linear-gradient(180deg, #f8fff9 0%, #ffffff 100%);
}

.photo-good-bad__panel--bad {
  background: linear-gradient(180deg, #fff9fb 0%, #ffffff 100%);
}

.photo-good-bad__panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text);
}

.checklist-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.checklist-item {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.checklist-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.checklist-item span {
  color: #64748b;
  font-size: 0.93rem;
}

.step-stack {
  display: grid;
  gap: 0.9rem;
}

.step-stack__step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.9rem;
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.step-stack__index {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9cc4 0%, #ff6ca7 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.step-stack__step strong {
  display: block;
  color: var(--text);
}

.impact-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.impact-note-grid > div {
  border: 1px solid #e1e8f4;
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.share-strip {
  display: grid;
  gap: 0.75rem;
}

.share-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.share-strip__links a {
  border: 1px solid #dbe4ef;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: #44556d;
  font-weight: 700;
  text-decoration: none;
}

.share-strip__links a:hover {
  color: var(--primary);
  border-color: rgba(255, 126, 179, 0.35);
  background: #fff5fb;
}

.author-bio {
  display: grid;
  gap: 0.75rem;
}

.author-bio__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: #64748b;
  font-size: 0.92rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.badge-list span {
  border-radius: 999px;
  background: rgba(255, 126, 179, 0.12);
  color: #8c2f5a;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-map .cluster-table td:first-child,
.metric-map .cluster-table th:first-child {
  min-width: 140px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.stat-grid .cluster-card {
  text-align: center;
}

.stat-grid .cluster-card strong {
  font-size: 1.3rem;
  color: #8c2f5a;
}

@media (max-width: 760px) {
  .cluster-hero,
  .cluster-section {
    padding: 1.15rem;
  }

  .cluster-grid,
  .faq-grid,
  .hub-links,
  .reference-list,
  .visual-toc,
  .diagram-wall,
  .shape-gallery,
  .note-split,
  .factor-grid,
  .photo-good-bad,
  .checklist-wall,
  .impact-note-grid {
    grid-template-columns: 1fr;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .share-strip__links {
    flex-direction: column;
  }

  .step-stack__step {
    grid-template-columns: 1fr;
  }
}
