/* Editorial research pages */
.research-shell {
  width: min(1240px, calc(100% - 32px));
  color: #202629;
}

.research-header {
  padding: 18px 0 0;
}

.research-header .topbar {
  padding: 0 20px 18px;
  border-bottom: 1px solid rgba(32, 38, 41, 0.14);
}

.research-heading {
  max-width: 940px;
  padding: 72px 32px 36px;
}

.research-heading .breadcrumbs {
  margin-bottom: 24px;
  color: #667276;
}

.research-heading .eyebrow,
.research-related .eyebrow {
  color: #973b78;
  background: #f8e8f2;
}

.research-heading h1 {
  max-width: 900px;
  margin: 0;
  color: #202629;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.research-deck {
  max-width: 820px;
  margin: 28px 0 0;
  color: #546166;
  font-size: 22px;
  line-height: 1.58;
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: #657277;
  font-size: 14px;
  font-weight: 700;
}

.research-meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0 2px 22px;
  border-radius: 50%;
  background: #c34e91;
}

.research-hero-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #171b1f;
}

.research-hero-media img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.research-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 560px;
  padding: 10px 14px;
  border-radius: 4px;
  color: #f7f7f4;
  background: rgba(20, 25, 27, 0.82);
  font-size: 13px;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}

.research-main {
  padding-top: 72px;
}

.research-article {
  width: min(790px, calc(100% - 40px));
  margin: 0 auto;
}

.research-article p {
  margin: 0 0 22px;
  color: #3e494d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.74;
}

.research-article h2 {
  margin: 0 0 24px;
  color: #202629;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.research-label,
.section-marker {
  display: block;
  margin-bottom: 14px;
  color: #a23e7d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-summary {
  padding: 0 0 58px;
  border-bottom: 1px solid #d9dedc;
}

.research-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  border: 1px solid #d9dedc;
  border-radius: 6px;
  overflow: hidden;
  background: #d9dedc;
}

.research-stat-strip div {
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
}

.research-stat-strip strong {
  display: block;
  margin-bottom: 8px;
  color: #193c38;
  font-size: 34px;
  line-height: 1;
}

.research-stat-strip span {
  color: #637075;
  font-size: 13px;
  line-height: 1.4;
}

.research-toc {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px 18px;
  margin: 48px 0 82px;
  padding: 24px 0;
  border-top: 1px solid #d9dedc;
  border-bottom: 1px solid #d9dedc;
}

.research-toc strong {
  grid-row: span 3;
  font-size: 13px;
  text-transform: uppercase;
}

.research-toc a {
  color: #59676b;
  font-size: 14px;
  font-weight: 700;
}

.research-toc a:hover {
  color: #9c3c79;
}

.research-section {
  padding: 0 0 84px;
  scroll-margin-top: 24px;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 34px 0;
}

.method-flow div,
.operation-grid div {
  padding: 18px;
  border-top: 3px solid #2a6f67;
  background: #f2f5f3;
}

.method-flow strong,
.operation-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #1e3533;
  font-size: 15px;
}

.method-flow span {
  color: #657176;
  font-size: 12px;
  line-height: 1.4;
}

.research-note {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 4px solid #d05292;
  color: #435055;
  background: #fbf1f6;
  font-size: 15px;
  line-height: 1.6;
}

.research-chart {
  display: grid;
  gap: 16px;
  margin: 36px 0 20px;
  padding: 28px;
  border-radius: 6px;
  color: #eef7f5;
  background: #183c38;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(180px, 2fr) 38px;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.chart-track {
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.chart-track i {
  display: block;
  height: 100%;
  background: #f16aa7;
}

.chart-row strong {
  text-align: right;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 42px;
}

.reason-grid div {
  padding-top: 18px;
  border-top: 1px solid #bdc7c4;
}

.reason-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #203d39;
  font-size: 17px;
}

.reason-grid p,
.operation-grid p {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.prompt-anatomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 36px 0;
  border: 1px solid #d7dcda;
  border-radius: 6px;
  overflow: hidden;
  background: #d7dcda;
}

.prompt-anatomy div {
  padding: 22px;
  background: #fff;
}

.prompt-anatomy span,
.prompt-anatomy small {
  display: block;
  color: #738085;
  font-size: 12px;
}

.prompt-anatomy strong {
  display: block;
  margin: 8px 0;
  color: #173e3a;
  font-size: 17px;
}

.rewrite-list {
  margin-top: 34px;
  border-top: 1px solid #ccd3d0;
}

.rewrite-list > div {
  padding: 26px 0;
  border-bottom: 1px solid #ccd3d0;
}

.rewrite-list > div > span {
  display: block;
  margin-bottom: 10px;
  color: #8a3470;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rewrite-list .rewrite-bad,
.rewrite-list .rewrite-good {
  margin: 0;
  padding: 12px 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.rewrite-bad {
  color: #77404a !important;
  background: #fff0f1;
  text-decoration: line-through;
}

.rewrite-good {
  color: #244b45 !important;
  background: #eaf6f1;
}

.outcome-figure {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: center;
  margin: 36px 0;
}

.donut {
  display: grid;
  width: 180px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2c8879 0 89.1%, #ead7e2 89.1% 100%);
}

.donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 126px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.donut strong,
.donut span {
  z-index: 1;
  grid-area: 1 / 1;
}

.donut strong {
  margin-bottom: 20px;
  font-size: 31px;
}

.donut span {
  margin-top: 35px;
  color: #687579;
  font-size: 11px;
}

.outcome-copy p {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.research-checklist {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: research-check;
}

.research-checklist li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 18px;
  padding: 20px 0;
  border-top: 1px solid #ccd3d0;
  counter-increment: research-check;
}

.research-checklist li::before {
  content: counter(research-check, decimal-leading-zero);
  grid-row: span 2;
  color: #ad477f;
  font-size: 15px;
  font-weight: 900;
}

.research-checklist strong {
  color: #253b38;
  font-size: 17px;
}

.research-checklist span {
  margin-top: 7px;
  color: #657277;
  font-size: 14px;
  line-height: 1.5;
}

.research-conclusion {
  margin-top: 10px;
  padding: 48px 0;
  border-top: 5px solid #173e3a;
  border-bottom: 1px solid #ccd3d0;
}

.research-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  width: min(1000px, calc(100% - 40px));
  margin: 88px auto 0;
  padding: 42px;
  border-radius: 6px;
  color: #fff;
  background: #233b38;
}

.research-cta-band span {
  color: #8fe0d2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.research-cta-band h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
}

.research-cta-band p {
  max-width: 650px;
  margin: 0;
  color: #d9e5e2;
  line-height: 1.55;
}

.research-cta-band .button {
  white-space: nowrap;
}

.research-related {
  width: min(1000px, calc(100% - 40px));
  margin: 88px auto 0;
}

.research-related .section-head h2 {
  color: #202629;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.research-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.research-related-grid a {
  padding: 22px 0;
  border-top: 3px solid #2c756b;
}

.research-related-grid span {
  color: #9c3d78;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.research-related-grid h3 {
  margin: 10px 0;
  color: #243936;
  font-size: 19px;
}

.research-related-grid p {
  margin: 0;
  color: #687579;
  font-size: 14px;
  line-height: 1.5;
}

.research-shell .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 80px;
  padding: 30px 20px 0;
  border-top: 1px solid #bec7c4;
  color: #536165;
}

.research-shell .site-footer p {
  margin: 6px 0 0;
}

.research-shell .site-footer > div:last-child {
  display: flex;
  gap: 22px;
  font-weight: 700;
}

.text-research-page {
  background: #edf2ef;
}

.research-page,
.research-page .research-main,
.research-page .research-article,
.research-page .research-section,
.research-page .research-summary {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.research-page {
  overflow-x: hidden;
}

.text-study-hero .hero-type-overlay {
  position: absolute;
  top: 25%;
  left: 5.5%;
  width: 35%;
  color: #f5f4e9;
  font-size: clamp(22px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 0.96;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.8deg);
}

.hero-sign-samples {
  position: absolute;
  top: 20%;
  left: 3.5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.2%;
  width: 93%;
  pointer-events: none;
}

.hero-sign-samples span {
  display: grid;
  min-height: clamp(50px, 8vw, 105px);
  place-items: center;
  padding: 4px 12px;
  color: #173e3a;
  font-size: clamp(11px, 1.55vw, 25px);
  font-weight: 900;
  line-height: 1.02;
  text-align: center;
}

.hero-sign-samples span:nth-child(2) {
  color: #a24175;
  transform: rotate(-0.8deg) skewX(-2deg);
}

.hero-sign-samples span:nth-child(3) {
  color: #c54c65;
  letter-spacing: 0.08em;
  transform: rotate(1deg) scaleX(0.92);
}

.glyph-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 34px 0;
  border: 1px solid #d1d9d6;
  background: #d1d9d6;
}

.glyph-demo div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: #fff;
}

.glyph-demo span {
  color: #798589;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.glyph-demo strong {
  color: #173e3a;
  font-size: 23px;
}

.operation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0;
}

.difficulty-table-wrap {
  width: min(1040px, calc(100vw - 40px));
  max-width: none;
  margin: 34px 0 34px 50%;
  overflow-x: auto;
  transform: translateX(-50%);
}

.difficulty-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.difficulty-table th,
.difficulty-table td {
  padding: 16px;
  border-bottom: 1px solid #d7ddda;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.difficulty-table th {
  color: #eaf5f2;
  background: #173e3a;
  font-size: 12px;
  text-transform: uppercase;
}

.difficulty-table th:first-child {
  width: 25%;
}

.level {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
}

.level-low { color: #1c5f52; background: #d9f2e9; }
.level-mid { color: #76590c; background: #fff0bf; }
.level-high { color: #8b3e24; background: #ffe0d3; }
.level-max { color: #7c294f; background: #f8d4e4; }

.compact-chart .chart-track i {
  background: #6fe1ce;
}

.text-cta-band {
  background: #234c47;
}

.blog-research-feature {
  overflow: hidden;
}

.blog-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.blog-carousel-status {
  min-width: 86px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-carousel-controls > div {
  display: flex;
  gap: 8px;
}

.blog-carousel-controls button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.blog-carousel-controls button:hover:not(:disabled) {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.blog-carousel-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.blog-research-grid {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.blog-research-grid::-webkit-scrollbar {
  display: none;
}

.blog-research-item {
  display: grid;
  flex: 0 0 min(360px, calc((100% - 36px) / 3));
  min-width: 280px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  scroll-snap-align: start;
}

.blog-research-item img {
  display: block;
  width: 100%;
  height: 202px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-research-item > div {
  align-self: start;
  padding: 18px;
}

.blog-research-item span {
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-research-item h3 {
  display: -webkit-box;
  margin: 8px 0 10px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-research-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-research-item:hover h3 {
  color: var(--brand);
}

.blog-topic-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.blog-topic-section .section-head {
  position: sticky;
  top: 24px;
}

.blog-topic-section .section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.blog-topic-section .seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.blog-topic-section .seo-card {
  position: relative;
  min-height: 0;
  padding: 20px 34px 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-topic-section .seo-card::after {
  content: "\2192";
  position: absolute;
  top: 22px;
  right: 2px;
  color: var(--brand);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.blog-topic-section .seo-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.blog-topic-section .seo-card:hover::after {
  transform: translateX(4px);
}

.blog-topic-section .seo-card h3 {
  margin-top: 7px;
  font-size: 18px;
}

.blog-topic-section .seo-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .blog-topic-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .blog-topic-section .section-head {
    position: static;
  }

  .research-heading {
    padding: 50px 12px 28px;
  }

  .research-heading h1 {
    font-size: 50px;
  }

  .research-deck {
    font-size: 19px;
  }

  .research-meta span::after {
    display: none !important;
  }

  .research-stat-strip,
  .method-flow,
  .reason-grid,
  .operation-grid,
  .research-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-research-grid {
    gap: 14px;
  }

  .blog-research-item {
    flex-basis: min(78vw, 330px);
    min-width: min(78vw, 330px);
  }

  .research-toc {
    grid-template-columns: 1fr 1fr;
  }

  .research-toc strong {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .outcome-figure {
    grid-template-columns: 1fr;
  }

  .research-cta-band {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .blog-topic-section .seo-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.research-page {
    padding-bottom: 0;
  }

  .research-shell {
    width: min(100% - 20px, 1240px);
  }

  .research-header .topbar {
    padding-inline: 4px;
  }

  .research-heading h1 {
    font-size: 42px;
  }

  .research-deck {
    font-size: 17px;
  }

  .research-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .research-hero-media img {
    aspect-ratio: 16 / 9;
  }

  .research-hero-media figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
    background: #202a2b;
  }

  .text-study-hero .hero-type-overlay {
    top: 24%;
    left: 4%;
    width: 35%;
    font-size: 14px;
  }

  .research-main {
    padding-top: 52px;
  }

  .research-article,
  .research-cta-band,
  .research-related {
    width: calc(100% - 16px);
  }

  .research-article p {
    font-size: 17px;
  }

  .research-article h2 {
    font-size: 34px;
  }

  .research-toc,
  .prompt-anatomy,
  .glyph-demo {
    grid-template-columns: 1fr;
  }

  .chart-row {
    grid-template-columns: 1fr 34px;
  }

  .chart-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .research-chart,
  .research-cta-band {
    padding: 24px 20px;
  }

  .difficulty-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 34px 0;
    transform: none;
  }

  .research-shell .site-footer,
  .research-shell .site-footer > div:last-child {
    flex-direction: column;
  }
}

/* Unified editorial grid and focus bands */
.research-page {
  --research-width: 960px;
  --research-pink: #f7e7f1;
  --research-mint: #e4f1ed;
  --research-paper: #fffdfb;
  --research-dark: #173e3a;
  --research-accent: #b53f7f;
}

.research-page .research-shell {
  width: min(1180px, calc(100% - 32px));
}

.research-page .research-header .topbar,
.research-page .research-heading,
.research-page .research-hero-media,
.research-page .research-article,
.research-page .research-cta-band,
.research-page .research-related,
.research-page .site-footer {
  width: min(var(--research-width), 100%);
  max-width: var(--research-width);
  margin-left: auto;
  margin-right: auto;
}

.research-page .research-header .topbar {
  padding-left: 0;
  padding-right: 0;
}

.research-page .research-heading {
  padding-left: 0;
  padding-right: 0;
}

.research-page .research-heading h1,
.research-page .research-deck {
  max-width: none;
}

.research-page .research-hero-media {
  border-radius: 28px;
}

.research-page .research-main {
  padding-top: 56px;
}

.research-page .research-article {
  display: grid;
  gap: 24px;
}

.research-page .research-summary,
.research-page .research-section,
.research-page .research-conclusion {
  width: 100%;
  margin: 0;
  padding: 46px 48px;
  border: 0;
  border-top: 5px solid var(--research-accent);
  border-radius: 28px;
  background: var(--research-paper);
}

.research-page .research-summary {
  background: var(--research-pink);
}

.research-page .research-section:nth-of-type(odd) {
  border-top-color: #26796f;
  background: var(--research-mint);
}

.research-page .research-section:nth-of-type(even) {
  border-top-color: var(--research-accent);
  background: var(--research-paper);
}

.research-page .research-section h2,
.research-page .research-summary h2,
.research-page .research-conclusion h2,
.research-page .research-section > p,
.research-page .research-summary > p,
.research-page .research-conclusion > p {
  width: 100%;
  max-width: none;
}

.research-page .research-toc {
  width: 100%;
  margin: 0;
  padding: 28px 32px;
  border: 0;
  border-left: 5px solid #6fe1ce;
  border-radius: 28px;
  color: #f4fbf9;
  background: var(--research-dark);
}

.research-page .research-toc a {
  color: #d4e9e5;
}

.research-page .research-toc a:hover {
  color: #fff;
}

.research-page .research-stat-strip,
.research-page .research-chart,
.research-page .prompt-anatomy,
.research-page .rewrite-list,
.research-page .outcome-figure,
.research-page .operation-grid,
.research-page .glyph-demo,
.research-page .difficulty-table-wrap {
  width: 100%;
  max-width: 100%;
}

.research-page .difficulty-table-wrap {
  margin: 34px 0;
  transform: none;
}

.research-page .research-conclusion {
  color: #fff;
  border-top-color: #6fe1ce;
  background: var(--research-dark);
}

.research-page .research-conclusion .research-label {
  color: #89e3d4;
}

.research-page .research-conclusion h2,
.research-page .research-conclusion p {
  color: #fff;
}

.research-page .research-cta-band {
  margin-top: 24px;
  padding: 42px 48px;
  border-radius: 28px;
}

.research-page .research-related {
  margin-top: 64px;
}

.research-page .research-related-grid {
  padding: 0 24px;
  border: 1px solid #cad7d3;
  border-top: 5px solid #26796f;
  border-radius: 28px;
  background: #f7fbf9;
}

.research-page .research-shell .site-footer {
  margin-top: 72px;
}

/* Article-specific visual systems: shared editorial rhythm, distinct evidence modules. */
.identity-article,
.product-series-article,
.night-article,
.tools-article,
.privacy-article {
  display: grid;
  gap: 24px;
}

body:has(.identity-article) {
  --research-accent: #c56b52;
  --research-pink: #f4e6e1;
  --research-mint: #ebe7e2;
  --research-dark: #341e22;
}

body:has(.product-series-article) {
  --research-accent: #ef705d;
  --research-pink: #fff0eb;
  --research-mint: #edf0e9;
  --research-dark: #243c39;
}

body:has(.night-article) {
  --research-accent: #d39a42;
  --research-pink: #172627;
  --research-mint: #203333;
  --research-paper: #f3efe5;
  --research-dark: #0d1819;
}

body:has(.tools-article) {
  --research-accent: #e54f3f;
  --research-pink: #f5e7da;
  --research-mint: #dceee7;
  --research-dark: #172f37;
}

body:has(.privacy-article) {
  --research-accent: #d76d5e;
  --research-pink: #f5ebe2;
  --research-mint: #e4eee7;
  --research-dark: #193b32;
}

body:has(.night-article) .night-summary,
body:has(.night-article) .night-summary h2,
body:has(.night-article) .night-summary p,
body:has(.night-article) .night-summary .research-label,
body:has(.night-article) .night-article .research-section:nth-of-type(odd),
body:has(.night-article) .night-article .research-section:nth-of-type(odd) h2,
body:has(.night-article) .night-article .research-section:nth-of-type(odd) > p {
  color: #f6f1e7;
}

.identity-detail-map,
.series-spec-grid,
.signal-cards,
.tool-choice-grid,
.privacy-scan-grid,
.cost-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.identity-detail-map article,
.series-spec-grid article,
.signal-cards article,
.tool-choice-grid article,
.privacy-scan-grid article,
.cost-cards article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(20, 48, 45, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.identity-detail-map span,
.tool-choice-grid span {
  display: block;
  margin-bottom: 18px;
  color: #9d4e3b;
  font: 800 12px/1.2 Inter, sans-serif;
  text-transform: uppercase;
}

.identity-detail-map strong,
.series-spec-grid strong,
.signal-cards strong,
.tool-choice-grid strong,
.privacy-scan-grid b,
.cost-cards strong {
  display: block;
  font-size: 19px;
}

.identity-detail-map p,
.series-spec-grid p,
.signal-cards p,
.tool-choice-grid p,
.privacy-scan-grid p,
.cost-cards p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.risk-low,
.risk-mid,
.risk-high {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 6px;
  font: 800 11px/1 Inter, sans-serif;
  white-space: nowrap;
}

.risk-low { background: #d9efe6; color: #17654f; }
.risk-mid { background: #f7e8b8; color: #75540c; }
.risk-high { background: #f4d2ca; color: #8f3328; }

.research-formula {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px 22px;
  margin: 30px 0 0;
  padding: 28px;
  border-radius: 16px;
  color: #f7f3eb;
  background: var(--research-dark);
}

.research-formula span {
  color: #83dcca;
  font: 800 11px/1.4 Inter, sans-serif;
  text-transform: uppercase;
}

.research-formula strong { font-size: 16px; line-height: 1.55; }

.series-ruler,
.privacy-zones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 30px;
}

.series-ruler span,
.privacy-zones span {
  padding: 14px 8px;
  color: #fff;
  font: 800 11px/1.2 Inter, sans-serif;
  text-align: center;
  text-transform: uppercase;
  background: #244541;
}

.series-ruler span:first-child,
.privacy-zones span:first-child { border-radius: 12px 0 0 12px; }
.series-ruler span:last-child,
.privacy-zones span:last-child { border-radius: 0 12px 12px 0; }

.series-spec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.series-spec-grid article { padding: 18px; }
.series-spec-grid b { display: block; margin-bottom: 26px; color: #ef705d; }
.series-spec-grid strong { font-size: 16px; }
.series-spec-grid p { font-size: 13px; }

.master-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
  border-radius: 16px;
  overflow: hidden;
}

.master-card div { padding: 26px; background: #253e3b; color: #fff; }
.master-card div + div { background: #f07a64; }
.master-card span { display: block; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; }
.master-card strong { font-size: 20px; }

.series-matrix {
  display: grid;
  grid-template-columns: 140px repeat(3, 1fr);
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid #cfdad5;
  border-radius: 16px;
}

.series-matrix > * { padding: 18px; border-right: 1px solid #cfdad5; border-bottom: 1px solid #cfdad5; }
.series-matrix strong { color: #fff; background: #253e3b; }
.series-matrix b { background: #f7ded7; }
.series-matrix i { font-style: normal; background: #fff; }

.night-meter { display: grid; gap: 9px; margin-top: 32px; }
.night-meter span { position: relative; padding: 10px 14px; overflow: hidden; border: 1px solid #52615e; border-radius: 8px; color: #fff; font: 800 11px/1 Inter, sans-serif; text-transform: uppercase; }
.night-meter span::before { position: absolute; inset: 0 auto 0 0; width: var(--level); content: ""; background: rgba(211, 154, 66, 0.36); }

.signal-cards { grid-template-columns: repeat(3, 1fr); }
.signal-cards article:first-child { border-top: 5px solid #d46e62; }
.signal-cards article:nth-child(2) { border-top: 5px solid #64a995; }
.signal-cards article:last-child { border-top: 5px solid #d39a42; }

.night-failure-list,
.workflow-strips,
.privacy-action-row {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.night-failure-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: 14px;
  color: #f7f1e7;
  background: #182929;
}

.night-failure-list b { color: #d39a42; font-size: 27px; }
.night-failure-list p { margin: 6px 0 0; color: #c8d3cf; font-size: 15px; }
.night-formula { background: #101d1e; }
.night-formula span { color: #e3b86c; }

.research-steps {
  padding-left: 0;
  list-style: none;
}

.night-limit,
.night-limit h2,
.night-limit > p {
  color: #f6f1e7;
}

.night-limit {
  background: #203333 !important;
}

.tool-axis { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 30px; font: 800 11px/1 Inter, sans-serif; text-transform: uppercase; }
.tool-axis i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #17465a 0 48%, #e54f3f 52% 100%); }
.tool-choice-grid { grid-template-columns: repeat(3, 1fr); }
.tool-choice-grid article:nth-child(1) { border-top: 6px solid #1d5e76; }
.tool-choice-grid article:nth-child(2) { border-top: 6px solid #e54f3f; }
.tool-choice-grid article:nth-child(3) { border-top: 6px solid #44a385; }

.workflow-strips article {
  display: grid;
  grid-template-columns: 150px 1fr 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #cad7d2;
  border-radius: 12px;
  background: #fff;
}

.workflow-strips b { color: #173e3a; }
.workflow-strips span { font-size: 14px; }
.workflow-strips i { color: #e54f3f; font-style: normal; font-size: 22px; }

.privacy-zones { grid-template-columns: repeat(4, 1fr); }
.privacy-zones span { background: #234b3e; }
.privacy-scan-grid article { min-height: 145px; }
.privacy-scan-grid b { color: #21644f; }
.privacy-action-row { grid-template-columns: repeat(3, 1fr); }
.privacy-action-row article { padding: 22px; border-radius: 14px; background: #203f36; color: #fff; }
.privacy-action-row strong { display: block; margin-bottom: 14px; color: #8fe0c0; }
.privacy-action-row span { font-size: 14px; line-height: 1.5; }

/* Research batch 6: optics, group edits, detail fidelity, color and outpainting. */
.optics-article,
.group-edit-article,
.detail-truth-article,
.product-color-article,
.outpaint-article {
  display: grid;
  gap: 24px;
}

body:has(.optics-article) { --research-accent: #e46f55; --research-pink: #e8f2f0; --research-mint: #edf0ea; --research-dark: #18363a; }
body:has(.group-edit-article) { --research-accent: #e66f59; --research-pink: #f7e7df; --research-mint: #e5efea; --research-dark: #24383a; }
body:has(.detail-truth-article) { --research-accent: #e75d52; --research-pink: #f6e8e3; --research-mint: #e8efeb; --research-dark: #252c31; }
body:has(.product-color-article) { --research-accent: #ed6e5a; --research-pink: #f8e7df; --research-mint: #e6eee7; --research-dark: #183b36; }
body:has(.outpaint-article) { --research-accent: #e87755; --research-pink: #e8f0eb; --research-mint: #e7efed; --research-dark: #173d3a; }

.optics-layers,
.zone-board,
.evidence-levels,
.direction-cards,
.scale-inspection,
.color-goals,
.material-light-grid,
.seam-check {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.optics-layers,
.zone-board,
.evidence-levels,
.direction-cards,
.scale-inspection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.color-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.material-light-grid,
.seam-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.optics-layers article,
.zone-board article,
.evidence-levels article,
.direction-cards article,
.scale-inspection article,
.color-goals article,
.material-light-grid article,
.seam-check article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(26, 60, 57, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.optics-layers b,
.zone-board b,
.evidence-levels b,
.direction-cards b,
.scale-inspection b,
.color-goals b,
.material-light-grid span,
.seam-check span {
  display: block;
  margin-bottom: 12px;
  color: #a14536;
  font: 900 11px/1.2 Inter, sans-serif;
  text-transform: uppercase;
}

.optics-layers strong,
.zone-board strong,
.evidence-levels strong,
.direction-cards strong,
.scale-inspection strong,
.color-goals strong,
.material-light-grid strong {
  display: block;
  font-size: 18px;
}

.optics-layers span,
.zone-board p,
.evidence-levels p,
.direction-cards p,
.scale-inspection p,
.color-goals p,
.material-light-grid p,
.seam-check p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.optics-failure-grid,
.optics-passport,
.group-source-list,
.dual-scale,
.frame-contract {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.optics-failure-grid article,
.optics-passport div,
.group-source-list div,
.dual-scale article,
.frame-contract div {
  padding: 22px;
  border-left: 5px solid #5aa99b;
  background: rgba(255, 255, 255, 0.76);
}

.optics-failure-grid article:nth-child(2n),
.optics-passport div:nth-child(2n),
.group-source-list div:nth-child(2n),
.dual-scale article:nth-child(2n),
.frame-contract div:nth-child(2n) { border-left-color: var(--research-accent); }

.optics-failure-grid span,
.optics-passport b,
.group-source-list b,
.dual-scale span,
.frame-contract b { display: block; margin-bottom: 10px; color: #8f4637; font: 900 11px/1.2 Inter, sans-serif; text-transform: uppercase; }
.optics-failure-grid strong,
.dual-scale strong { display: block; font-size: 18px; }
.optics-failure-grid p,
.dual-scale p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.optics-passport span,
.group-source-list span { font-size: 14px; line-height: 1.55; }

.reflection-check,
.stop-questions,
.series-color-check,
.perspective-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.reflection-check span,
.stop-questions span,
.series-color-check span,
.perspective-rules span {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(26, 60, 57, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

.reflection-check span::before,
.stop-questions span::before,
.series-color-check span::before,
.perspective-rules span::before {
  position: absolute;
  left: 18px;
  color: #278071;
  content: "✓";
  font-weight: 900;
}

.people-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.people-map span { padding: 34px 8px 12px; border: 2px solid #5ba798; border-radius: 10px; text-align: center; font: 900 10px/1.2 Inter, sans-serif; text-transform: uppercase; }
.people-map .target { color: #fff; border-color: #e66f59; background: #e66f59; transform: translateY(-8px); }

.group-sequence,
.outpaint-flow,
.color-flow { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.group-sequence li,
.outpaint-flow li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgba(28, 59, 56, 0.18); }
.group-sequence li > span,
.outpaint-flow li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: var(--research-dark); font: 900 13px/1 Inter, sans-serif; }
.group-sequence strong,
.outpaint-flow strong { display: block; margin-bottom: 5px; }
.group-sequence p,
.outpaint-flow p { margin: 0; font-size: 15px; line-height: 1.55; }

.face-audit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 28px 0; }
.face-audit span { padding: 18px 10px; border-top: 5px solid #5aa99b; background: #fff; font-size: 12px; text-align: center; }
.face-audit b { display: block; margin-bottom: 8px; color: #e66f59; font-size: 24px; }

.truth-axis { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 30px; font: 900 10px/1.2 Inter, sans-serif; text-transform: uppercase; }
.truth-axis i { height: 9px; border-radius: 9px; background: linear-gradient(90deg, #54aa93, #e4a047 55%, #e75d52); }

.truth-risk-table { display: grid; margin: 28px 0; overflow: hidden; border: 1px solid #cbd4d0; border-radius: 12px; }
.truth-risk-table > div { display: grid; grid-template-columns: 1.1fr 110px 1.5fr; gap: 14px; align-items: center; padding: 16px; background: #fff; border-bottom: 1px solid #d7ddda; }
.truth-risk-table > div:first-child { color: #fff; background: var(--research-dark); font: 900 11px/1.2 Inter, sans-serif; text-transform: uppercase; }
.truth-risk-table > div:last-child { border-bottom: 0; }
.risk-critical { display: inline-block; padding: 5px 8px; border-radius: 6px; color: #7c294f; background: #f8d4e4; font: 800 11px/1 Inter, sans-serif; white-space: nowrap; }

.color-swatch-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 30px; }
.color-swatch-row i { height: 48px; border-radius: 8px; background: #d95849; }
.color-swatch-row i:nth-child(2) { background: #e46653; }
.color-swatch-row i:nth-child(3) { background: #ec7861; }
.color-swatch-row i:nth-child(4) { background: #d9725d; }
.color-swatch-row i:nth-child(5) { background: #c95b4b; }

.reference-recipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.reference-recipe span { padding: 20px 14px; border-top: 5px solid #ed6e5a; background: #fff; font-size: 13px; line-height: 1.45; }
.reference-recipe b { display: block; margin-bottom: 12px; color: #1e695c; font-size: 24px; }
.color-flow li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.74); }
.color-flow span { color: #a34335; font: 900 11px/1.2 Inter, sans-serif; text-transform: uppercase; }
.color-flow p { margin: 0; font-size: 15px; line-height: 1.55; }

.vanishing-demo { position: relative; height: 130px; margin-top: 26px; overflow: hidden; border-radius: 12px; background: #173d3a; }
.vanishing-demo::before,
.vanishing-demo::after { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; content: ""; background: #75dfcc; transform: translateY(-50%); }
.vanishing-demo::before { left: 18px; }
.vanishing-demo::after { right: 18px; }
.vanishing-demo i { position: absolute; left: 24px; right: 24px; top: 35%; height: 1px; background: #75dfcc; transform: rotate(4deg); }
.vanishing-demo i:nth-child(2) { top: 66%; transform: rotate(-4deg); }
.vanishing-demo span { position: absolute; inset: 18px 35%; border: 2px solid #fff; }

.optics-limit,
.group-limit,
.truth-limit,
.color-limit,
.outpaint-limit { border-top-color: #5aa99b !important; background: var(--research-mint) !important; }

@media (max-width: 820px) {
  .optics-layers,
  .zone-board,
  .evidence-levels,
  .direction-cards,
  .scale-inspection,
  .reference-recipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .face-audit { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .research-page .research-heading {
    padding-left: 0;
    padding-right: 0;
  }

  .research-page .research-summary,
  .research-page .research-section,
  .research-page .research-conclusion {
    padding: 36px 30px;
  }

  .series-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-choice-grid,
  .signal-cards,
  .privacy-action-row { grid-template-columns: 1fr; }
  .workflow-strips article { grid-template-columns: 130px 1fr; }
  .workflow-strips i { display: none; }
}

@media (max-width: 560px) {
  .research-page .research-shell {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    overflow: hidden;
  }

  .research-page .research-header,
  .research-page .research-heading,
  .research-page .research-hero-media,
  .research-page .research-main,
  .research-page .site-footer {
    width: calc(100vw - 20px);
    min-width: 0;
    max-width: calc(100vw - 20px);
  }

  .research-page .research-article,
  .research-page .research-cta-band {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .research-page .research-heading h1,
  .research-page .research-deck,
  .research-page .research-meta,
  .research-page .research-meta span {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .research-page .research-heading h1 {
    font-size: clamp(38px, 11vw, 42px);
  }

  .research-page .research-meta {
    grid-template-columns: 1fr;
  }

  .research-page .research-header .topbar {
    padding-left: 4px;
    padding-right: 4px;
  }

  .research-page .research-summary,
  .research-page .research-section,
  .research-page .research-conclusion,
  .research-page .research-toc,
  .research-page .research-cta-band {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .research-page .research-hero-media,
  .research-page .research-related-grid {
    border-radius: 20px;
  }

  .hero-sign-samples {
    top: 19%;
  }

  .hero-sign-samples span {
    min-height: 34px;
    padding: 2px;
    font-size: 8px;
  }

  .research-page .research-article {
    gap: 14px;
  }

  .research-page .research-related-grid {
    padding: 0 18px;
  }

  .identity-article,
  .product-series-article,
  .night-article,
  .tools-article,
  .privacy-article { gap: 14px; }

  .identity-detail-map,
  .series-spec-grid,
  .signal-cards,
  .tool-choice-grid,
  .privacy-scan-grid,
  .cost-cards,
  .master-card,
  .privacy-action-row { grid-template-columns: 1fr; }

  .series-ruler,
  .privacy-zones { grid-template-columns: 1fr 1fr; }
  .series-ruler span,
  .privacy-zones span { border-radius: 8px !important; }
  .series-matrix { grid-template-columns: 105px repeat(3, minmax(105px, 1fr)); overflow-x: auto; }
  .research-formula { grid-template-columns: 1fr; }
  .workflow-strips article { grid-template-columns: 1fr; }
  .night-failure-list article { grid-template-columns: 46px 1fr; }

  .optics-layers,
  .optics-failure-grid,
  .optics-passport,
  .reflection-check,
  .scale-inspection,
  .people-map,
  .zone-board,
  .group-source-list,
  .group-sequence,
  .face-audit,
  .evidence-levels,
  .dual-scale,
  .stop-questions,
  .color-goals,
  .reference-recipe,
  .material-light-grid,
  .series-color-check,
  .direction-cards,
  .perspective-rules,
  .outpaint-flow,
  .seam-check { grid-template-columns: 1fr; }

  .truth-risk-table {
    overflow-x: auto;
  }

  .truth-risk-table > div {
    min-width: 590px;
  }

  .color-flow li {
    grid-template-columns: 1fr;
  }

  .vanishing-demo {
    height: 105px;
  }
}
