:root {
  --trm-inner-ink: var(--trm-text);
  --trm-inner-text: var(--trm-text-muted);
  --trm-inner-primary: var(--trm-blue);
  --trm-inner-primary-dark: var(--trm-navy);
  --trm-inner-surface: var(--trm-bg-light);
  --trm-inner-line: var(--trm-border);
  --trm-inner-paper: var(--trm-white);
  --trm-inner-gold: #d21611;
  --trm-inner-radius: var(--radius-card);
  --trm-inner-shadow: var(--shadow-card);
}

html {
  scroll-padding-top: 90px;
}

body.inner-page {
  margin: 0;
  color: var(--trm-inner-text);
  background: var(--trm-inner-paper);
  font-family: var(--font-primary);
  font-size: var(--text-body-desktop);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.inner-page :is(h1, h2, h3, h4, h5, h6),
.inner-page #mo_header .mo-menu-list > ul > li > a {
  font-family: var(--font-primary);
}

.inner-page .wrapper {
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  background: var(--trm-inner-paper);
}

.trm-inner-main {
  display: block;
  overflow: clip;
  color: var(--trm-inner-text);
  background: var(--trm-inner-paper);
}

.trm-inner-main .container {
  width: min(calc(100% - 48px), var(--container-max));
  max-width: none;
  margin-inline: auto;
}

.trm-inner-main :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  color: var(--trm-inner-ink);
  line-height: 1.12;
  text-wrap: balance;
}

.trm-inner-main h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: var(--text-h1-desktop);
  letter-spacing: -0.04em;
}

.trm-inner-main h2 {
  margin-bottom: 20px;
  font-size: var(--text-h2-desktop);
  letter-spacing: -0.03em;
}

.trm-inner-main h3 {
  margin-bottom: 10px;
  font-size: var(--text-h3-desktop);
  letter-spacing: -0.015em;
}

.trm-inner-main p {
  color: var(--trm-inner-text);
}

.trm-inner-main a {
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(26, 86, 219, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(7, 26, 58, 0.78) 0%, rgba(7, 26, 58, 0.92) 100%),
    url('../images/breadcrumb-banner.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--trm-navy);
}

.page-hero {
  padding-block: clamp(68px, 8vw, 100px);
}

.page-hero .container {
  max-width: var(--container-max);
}

.detail-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.detail-hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.detail-hero .breadcrumbs,
.page-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
}

.detail-hero .breadcrumbs a,
.page-hero .breadcrumbs a {
  color: #fff;
}

.detail-hero .eyebrow,
.page-hero .eyebrow {
  color: #a8adff !important;
}

.detail-hero h1,
.page-hero h1 {
  color: #fff;
}

.detail-hero .hero-lead,
.page-hero .hero-lead {
  color: #b9c4df;
}

.page-hero .article-meta {
  color: #b9c4df;
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(44px, 8vw, 96px);
}

.breadcrumbs {
  margin: 0 0 24px;
  color: #667792;
  font-size: 0.84rem;
}

.breadcrumbs a,
.text-link {
  color: var(--trm-inner-primary-dark);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--trm-inner-primary-dark) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--trm-inner-text);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hero-actions .button,
.cta-band .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: #fff !important;
  background: var(--trm-inner-primary);
  border-radius: 25px;
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.22);
  font-weight: 700;
  text-decoration: none;
}

.hero-actions .button:hover,
.cta-band .button:hover {
  background: var(--trm-inner-primary-dark);
  box-shadow: 0 14px 30px rgba(26, 86, 219, 0.28);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.text-link:hover {
  color: var(--trm-inner-primary);
}

.text-link:hover span {
  transform: translateX(4px);
}

.detail-panel {
  padding: clamp(28px, 4vw, 40px);
  color: #dce3f8;
  background:
    radial-gradient(circle at 95% 5%, rgba(26, 86, 219, 0.42), transparent 34%),
    var(--trm-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: var(--trm-inner-shadow);
}

.detail-panel h2 {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.detail-panel .check-list {
  padding: 0;
  margin: 24px 0 0;
  color: #dce3f8;
  list-style: none;
}

.detail-panel .check-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 26px;
}

.detail-panel .check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--trm-inner-gold);
  font-weight: 800;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--trm-navy);
}

.stat-strip div {
  padding: 25px clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip :is(strong, span) {
  display: block;
}

.stat-strip strong {
  color: var(--trm-inner-gold);
  font-family: var(--font-primary);
  font-size: 1.4rem;
}

.stat-strip span {
  margin-top: 3px;
  color: #b9c4df;
  font-size: 0.84rem;
}

.trm-inner-main .section {
  padding: clamp(var(--section-space-mobile), 7vw, var(--section-space-desktop)) 0;
}

.section-tint {
  background: var(--trm-inner-surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 9vw, 116px);
}

.detail-copy {
  max-width: 800px;
}

.detail-copy > p,
.prose {
  color: var(--trm-inner-text);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.detail-grid,
.related-grid,
.index-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.platform-card {
  position: relative;
  overflow: hidden;
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.platform-card:hover {
  border-color: rgba(26, 86, 219, 0.45);
  box-shadow: 0 18px 42px rgba(7, 26, 58, 0.1);
  transform: translateY(-5px);
}

.platform-card img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.platform-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.detail-card,
.related-card,
.index-card,
.outcome-list article,
.article-aside {
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
  box-shadow: var(--shadow-card);
}

.detail-card,
.related-card,
.index-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.detail-card::after,
.index-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.07);
  pointer-events: none;
}

.detail-card,
.related-card,
.index-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.detail-card:hover,
.related-card:hover,
.index-card:hover {
  border-color: rgba(26, 86, 219, 0.45);
  box-shadow: 0 18px 42px rgba(7, 26, 58, 0.1);
  transform: translateY(-5px);
}

.detail-card > span,
.index-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--trm-inner-primary-dark);
  background: var(--trm-blue-soft);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-card p,
.related-card p,
.index-card p,
.workflow p,
.outcome-list p {
  margin-bottom: 0;
  color: var(--trm-inner-text);
}

.index-card {
  display: flex;
  flex-direction: column;
}

.index-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.related-card {
  color: inherit;
  text-decoration: none;
}

.workflow {
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  counter-reset: workflow-step;
}

.workflow li {
  position: relative;
  min-height: 94px;
  padding: 0 0 32px 76px;
  counter-increment: workflow-step;
}

.workflow li::before {
  content: counter(workflow-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--trm-inner-primary);
  border-radius: 15px;
  box-shadow: 0 9px 22px rgba(26, 86, 219, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow li::after {
  content: "";
  position: absolute;
  top: 57px;
  bottom: 5px;
  left: 26px;
  width: 1px;
  background: var(--trm-inner-line);
}

.workflow li:last-child::after {
  display: none;
}

.outcome-list {
  display: grid;
  gap: 16px;
}

.outcome-list article {
  padding: 24px 26px;
  border-left: 4px solid var(--trm-inner-primary);
  border-radius: 0 16px 16px 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.tech-list li {
  padding: 8px 14px;
  color: var(--trm-inner-primary-dark);
  background: #eeecff;
  border: 1px solid #dcd8ff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  color: #dce3f8;
  background:
    radial-gradient(circle at 86% 20%, rgba(26, 86, 219, 0.38), transparent 30%),
    var(--trm-navy);
  border-radius: var(--radius-cta);
}

.cta-band h2 {
  margin-bottom: 12px;
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1 !important;
}

.cta-band .eyebrow {
  color: #60a5fa !important;
}

/* Editorial and policy content uses the same typography and surface system. */
.article-meta {
  color: #667792;
  font-size: 0.9rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 270px;
  align-items: start;
  gap: 70px;
}

.article-content {
  min-width: 0;
}

.article-content .article-image {
  width: 100%;
  margin: 0 0 44px;
  border-radius: var(--trm-inner-radius);
}

.article-content h2 {
  margin-top: 52px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.article-content h3 {
  margin-top: 32px;
}

.article-content :is(p, li),
.policy-content :is(p, li) {
  color: #394a62;
  font-size: 1.03rem;
}

.article-content li,
.policy-content li {
  margin: 8px 0;
}

.article-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-content :is(th, td) {
  padding: 14px;
  border: 1px solid var(--trm-inner-line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  color: var(--trm-inner-ink);
  background: var(--trm-inner-surface);
}

.callout {
  margin: 34px 0;
  padding: 25px 28px;
  color: #33405b;
  background: #eeecff;
  border-left: 4px solid var(--trm-inner-primary);
  border-radius: 0 16px 16px 0;
}

.article-aside {
  position: sticky;
  top: 112px;
  padding: 26px;
}

.article-aside h2 {
  font-size: 1.08rem;
}

.article-aside a {
  display: block;
  margin: 12px 0;
  color: var(--trm-inner-primary-dark);
}

.policy-content {
  max-width: 820px;
}

/* Extended inner-page components reuse the homepage palette, type, spacing, and motion. */
.content-check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.content-check-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
  color: var(--trm-inner-text);
}

.content-check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--trm-inner-primary);
  font-weight: 800;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(30px, 5vw, 60px);
  background: var(--trm-inner-surface);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
}

.profile-panel img {
  width: 100%;
  max-height: 590px;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--trm-inner-radius) - 5px);
}

.section-dark {
  color: #cdd5e8;
  background:
    radial-gradient(circle at 82% 18%, rgba(26, 86, 219, 0.34), transparent 32%),
    var(--trm-navy);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--trm-inner-radius);
}

.impact-grid article {
  min-height: 165px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  background: #101129;
}

.impact-grid strong,
.impact-grid span {
  display: block;
}

.impact-grid strong {
  color: var(--trm-inner-gold);
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.impact-grid span {
  margin-top: 13px;
  color: #d5dced;
}

.resource-guide {
  max-width: 960px;
  margin-inline: auto;
}

.resource-guide > section {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--trm-inner-line);
}

.resource-guide > section:first-child {
  padding-top: 0;
}

.resource-guide > section > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--trm-inner-primary);
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 800;
}

.resource-guide h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.faq-page-list {
  max-width: 940px;
  margin-inline: auto;
}

.faq-page-list details {
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(7, 26, 58, 0.04);
}

.faq-page-list details + details {
  margin-top: 14px;
}

.faq-page-list summary {
  position: relative;
  padding: 24px 68px 24px 26px;
  color: var(--trm-inner-ink);
  font-family: var(--font-primary);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-page-list summary::-webkit-details-marker {
  display: none;
}

.faq-page-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 25px;
  color: var(--trm-inner-primary);
  font-size: 1.7rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-page-list details[open] summary::after {
  content: "−";
}

.faq-page-list details p {
  padding: 0 68px 25px 26px;
  margin: 0;
  color: var(--trm-inner-text);
}

.insights-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.insight-page-card {
  overflow: hidden;
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
  box-shadow: 0 10px 28px rgba(7, 26, 58, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.insight-page-card:hover {
  border-color: rgba(26, 86, 219, 0.45);
  box-shadow: 0 18px 42px rgba(7, 26, 58, 0.1);
  transform: translateY(-5px);
}

.insight-page-card > a {
  display: block;
  overflow: hidden;
}

.insight-page-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.insight-page-card:hover img {
  transform: scale(1.035);
}

.insight-page-card > div {
  padding: 27px;
}

.insight-page-card h2 {
  margin-bottom: 14px;
  font-size: 1.42rem;
}

.insight-page-card h2 a {
  color: inherit;
}

.insight-page-card p:not(.eyebrow) {
  color: var(--trm-inner-text);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.contact-page-details article {
  padding: 22px 0;
  border-bottom: 1px solid var(--trm-inner-line);
}

.contact-page-details article:last-child {
  border-bottom: 0;
}

.contact-page-details h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-page-details :is(p, address) {
  margin: 0;
  color: var(--trm-inner-text);
  font-style: normal;
}

.contact-page-details a {
  color: var(--trm-inner-primary-dark);
}

.consultation-page-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(26px, 4vw, 46px);
  background: var(--trm-inner-surface);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
}

.consultation-page-form .form-wide {
  grid-column: 1 / -1;
}

.consultation-page-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--trm-inner-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.consultation-page-form :is(input, select, textarea) {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--trm-inner-ink);
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: 10px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consultation-page-form textarea {
  min-height: 142px;
  resize: vertical;
}

.consultation-page-form :is(input, select, textarea):focus {
  border-color: var(--trm-inner-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--trm-inner-text);
  font-size: 0.88rem;
}

/* Shared consultation popup used by every consultation CTA. */
body.trm-consultation-open {
  overflow: hidden;
}

.trm-consultation-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s linear 0.25s, opacity 0.25s ease;
}

.trm-consultation-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.trm-consultation-backdrop {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(4, 5, 18, 0.78);
  backdrop-filter: blur(8px);
}

.trm-consultation-dialog {
  position: relative;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(245px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  color: var(--trm-inner-text);
  background: var(--trm-inner-paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.25s ease;
}

.trm-consultation-modal[aria-hidden="false"] .trm-consultation-dialog {
  transform: translateY(0) scale(1);
}

.trm-consultation-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--trm-inner-ink);
  background: var(--trm-inner-surface);
  border: 1px solid var(--trm-inner-line);
  border-radius: 50%;
  cursor: pointer;
}

.trm-consultation-close span {
  font-size: 1.75rem;
  line-height: 1;
}

.trm-consultation-close:focus-visible {
  outline: 3px solid rgba(255, 182, 6, 0.5);
  outline-offset: 2px;
}

.trm-consultation-aside {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(34px, 5vw, 56px);
  color: #cdd5e8;
  background:
    radial-gradient(circle at 20% 20%, rgba(26, 86, 219, 0.48), transparent 38%),
    var(--trm-navy);
}

.trm-consultation-aside img {
  width: auto;
  max-width: 155px;
  height: 76px;
  margin-bottom: 30px;
  object-fit: contain;
}

.trm-consultation-aside h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.trm-consultation-aside p {
  margin: 0 0 24px;
  color: #b9c4df;
}

.trm-consultation-aside a {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 700;
}

.trm-consultation-form-wrap {
  max-height: min(88vh, 760px);
  padding: clamp(32px, 5vw, 54px);
  overflow-y: auto;
}

.trm-consultation-form-wrap > h2 {
  padding-right: 45px;
  margin: 0 0 8px;
  color: var(--trm-inner-ink);
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.trm-consultation-form-wrap > p {
  margin: 0 0 24px;
  color: var(--trm-inner-text);
}

.trm-modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trm-modal-form-grid .trm-modal-form-wide {
  grid-column: 1 / -1;
}

.trm-modal-form-grid label {
  display: block;
  color: var(--trm-inner-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.trm-modal-form-grid :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  display: block;
  padding: 11px 13px;
  margin-top: 7px;
  color: var(--trm-inner-ink);
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: 9px;
  outline: 0;
}

.trm-modal-form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.trm-modal-form-grid :is(input, select, textarea):focus {
  border-color: var(--trm-inner-gold);
  box-shadow: 0 0 0 3px rgba(255, 182, 6, 0.15);
}

.trm-consultation-form-wrap form > .button {
  width: 100%;
  margin-top: 20px;
}

.trm-consultation-status {
  min-height: 22px;
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.85rem;
}

.trm-consultation-success {
  padding: 50px 20px;
  text-align: center;
}

.trm-consultation-success > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #fff;
  background: #18a98f;
  border-radius: 50%;
  font-size: 2rem;
}

.trm-consultation-success h3 {
  color: var(--trm-inner-ink);
}

body.dark-mode-on {
  --trm-inner-ink: #f5f7ff;
  --trm-inner-text: #c1c8d4;
  --trm-inner-surface: #151a28;
  --trm-inner-line: #30384b;
  --trm-inner-paper: #0d101a;
  --trm-inner-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

body.dark-mode-on .trm-inner-main,
body.dark-mode-on .inner-page .wrapper {
  color: var(--trm-inner-text);
  background: var(--trm-inner-paper);
}

body.dark-mode-on :is(.detail-hero, .page-hero) {
  background:
    radial-gradient(circle at 88% 16%, rgba(26, 86, 219, 0.24), transparent 28%),
    linear-gradient(180deg, #151a28 0%, #0d101a 100%);
  border-bottom-color: var(--trm-inner-line);
}

body.dark-mode-on .trm-inner-main :is(h1, h2, h3, h4, h5, h6) {
  color: #f5f7ff;
}

body.dark-mode-on .trm-inner-main :is(p, li),
body.dark-mode-on .article-content :is(p, li),
body.dark-mode-on .policy-content :is(p, li) {
  color: var(--trm-inner-text) !important;
}

body.dark-mode-on .trm-inner-main :is(.eyebrow, .breadcrumbs a, .text-link, .article-aside a) {
  color: #a8adff !important;
}

body.dark-mode-on .detail-panel :is(h2, li),
body.dark-mode-on .cta-band :is(h2, p),
body.dark-mode-on .stat-strip :is(strong, span),
body.dark-mode-on .footer :is(h4, p, address, a, .elementor-widget-text-editor) {
  color: inherit;
}

body.dark-mode-on .detail-panel h2,
body.dark-mode-on .cta-band h2,
body.dark-mode-on .footer h4 {
  color: #fff !important;
}

body.dark-mode-on :is(.detail-card, .related-card, .index-card, .outcome-list article, .article-aside) {
  background: #151a28;
  border-color: #30384b;
}

body.dark-mode-on :is(.profile-panel, .faq-page-list details, .insight-page-card, .consultation-page-form) {
  background: #151a28;
  border-color: #30384b;
}

body.dark-mode-on .consultation-page-form :is(input, select, textarea) {
  color: #f5f7ff;
  background: #0d101a;
  border-color: #3b455d;
}

body.dark-mode-on .trm-consultation-dialog {
  background: #0d101a;
  border-color: #30384b;
}

body.dark-mode-on .trm-consultation-close {
  color: #f5f7ff;
  background: #1c2232;
  border-color: #3b455d;
}

body.dark-mode-on .trm-modal-form-grid :is(input, select, textarea) {
  color: #f5f7ff;
  background: #151a28;
  border-color: #3b455d;
}

body.dark-mode-on .trm-modal-form-grid option {
  color: #f5f7ff;
  background: #151a28;
}

body.dark-mode-on .consultation-page-form option {
  color: #f5f7ff;
  background: #0d101a;
}

body.dark-mode-on .tech-list li,
body.dark-mode-on .callout {
  color: #dfe3ff;
  background: #202742;
  border-color: #475078;
}

body.dark-mode-on .article-content th {
  color: #f5f7ff;
  background: #1c2232;
}

@media (max-width: 1199px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    max-width: 720px;
  }

  .detail-grid,
  .related-grid,
  .index-grid,
  .platform-grid,
  .insights-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 767px) {
.trm-inner-main .container {
    width: min(calc(100% - 40px), var(--container-max));
  }

  .detail-hero,
  .page-hero {
    padding-block: 64px;
  }

.trm-inner-main h1 {
    font-size: var(--text-h1-mobile);
  }

  .split,
  .detail-grid,
  .related-grid,
  .index-grid,
  .platform-grid,
  .insights-page-grid,
  .profile-panel,
  .contact-page-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-page-form {
    grid-template-columns: 1fr;
  }

  .consultation-page-form .form-wide {
    grid-column: auto;
  }

  .trm-consultation-backdrop {
    align-items: start;
    padding: 12px;
  }

  .trm-consultation-dialog {
    grid-template-columns: 1fr;
  }

  .trm-consultation-aside {
    display: none;
  }

  .trm-consultation-form-wrap {
    max-height: calc(100vh - 24px);
    padding: 30px 20px;
  }

  .trm-modal-form-grid {
    grid-template-columns: 1fr;
  }

  .trm-modal-form-grid .trm-modal-form-wide {
    grid-column: auto;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip div:nth-child(2) {
    border-right: 0;
  }

  .stat-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cta-band .button,
  .hero-actions .button {
    width: 100%;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
  }

}

@media (max-width: 480px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .resource-guide > section {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trm-inner-main *,
  .trm-inner-main *::before,
  .trm-inner-main *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.authentic-reviews-section .section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.authentic-reviews-grid {
  display: grid;
  width: min(100%, 960px);
  margin-inline: auto;
  gap: 22px;
}

.authentic-review-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--trm-inner-line);
  border-radius: var(--trm-inner-radius);
  background: var(--trm-inner-paper);
  box-shadow: 0 15px 45px rgba(7, 26, 58, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.authentic-review-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: clamp(18px, 4vw, 40px);
  color: rgba(26, 86, 219, 0.1);
  font: 700 clamp(5rem, 9vw, 8rem)/1 Georgia, serif;
  pointer-events: none;
}

.authentic-review-card:hover,
.authentic-review-card:focus-within {
  border-color: rgba(26, 86, 219, 0.32);
  box-shadow: 0 23px 58px rgba(7, 26, 58, 0.12);
  transform: translateY(-4px);
}

.authentic-review-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--trm-inner-primary);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.authentic-review-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.authentic-review-card blockquote::before,
.authentic-review-card blockquote::after {
  display: none !important;
  content: none !important;
}

.authentic-review-card blockquote p {
  margin: 0 0 1.1em;
  color: var(--trm-inner-ink);
  font-size: clamp(1.03rem, 1.4vw, 1.24rem);
  line-height: 1.74;
}

.authentic-review-card blockquote p:last-child {
  margin-bottom: 0;
}

body.dark-mode-on .authentic-review-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111c2e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

body.dark-mode-on .authentic-review-card blockquote p {
  color: #edf1ff;
}

body.dark-mode-on .authentic-review-card::before {
  color: rgba(143, 160, 255, 0.16);
}

/* PhD Research page — premium minimal redesign per the supplied brief. */
.phd-research-page #menu-main-menu a[href="../services/phd-guidance.html"] {
  color: var(--trm-inner-primary) !important;
}

/* Shared page button */
.phd-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.phd-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.phd-btn--primary {
  color: #ffffff;
  background: var(--trm-blue);
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.24);
}

.phd-btn--primary:hover,
.phd-btn--primary:focus-visible {
  color: #ffffff;
  background: var(--trm-navy);
  box-shadow: 0 16px 34px rgba(26, 86, 219, 0.32);
  transform: translateY(-2px);
}

.phd-btn--light {
  color: var(--trm-navy);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(2, 12, 32, 0.3);
}

.phd-btn--light:hover,
.phd-btn--light:focus-visible {
  color: var(--trm-blue);
  background: #f2f6ff;
  transform: translateY(-2px);
}

/* 1. Hero — minimal premium split layout on white */
.phd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 104px) 0 clamp(120px, 13vw, 168px);
  background: var(--trm-inner-paper);
}

.phd-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background:
    radial-gradient(circle at 68% 28%, rgba(26, 86, 219, 0.08), transparent 52%),
    linear-gradient(180deg, #f6f9ff 0%, var(--trm-inner-paper) 100%);
  pointer-events: none;
}

.phd-hero .container {
  position: relative;
  z-index: 1;
}

.phd-hero .breadcrumbs {
  margin-bottom: clamp(26px, 4vw, 44px);
  color: #667792;
}

.phd-hero .breadcrumbs a {
  color: var(--trm-inner-primary);
}

.phd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.phd-hero__copy {
  max-width: 640px;
}

.phd-hero .eyebrow {
  color: var(--trm-blue) !important;
}

.phd-hero h1 {
  max-width: 640px;
  margin-bottom: 20px;
  color: var(--trm-navy);
  font-size: clamp(46px, 5.2vw, 64px);
}

.phd-hero__statement {
  max-width: 560px;
  margin: 0 0 14px;
  color: #16294d;
  font-size: clamp(1.24rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.phd-hero__lead {
  max-width: 560px;
  margin: 0;
  color: var(--trm-inner-text);
  font-size: 1.05rem;
}

.phd-hero .hero-actions {
  margin-top: 34px;
}

.phd-hero__media {
  position: relative;
}

.phd-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(7, 26, 58, 0.16);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
}

/* 2. Statistics / trust strip — overlapping rounded container */
.phd-proof {
  position: relative;
  z-index: 3;
  margin-top: -76px;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.phd-proof .container {
  padding: 0;
}

.phd-proof__card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--trm-inner-line);
  border-radius: 18px;
  background: var(--trm-inner-paper);
  box-shadow: 0 22px 55px rgba(7, 26, 58, 0.1);
}

.phd-proof__card article {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 30px;
}

.phd-proof__card article + article::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 1px;
  background: var(--trm-inner-line);
}

.phd-stat-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  border-radius: 13px;
}

.phd-stat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phd-proof__card strong {
  display: block;
  color: var(--trm-navy);
  font-family: var(--font-primary);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.phd-proof__card strong span {
  color: var(--trm-blue);
}

.phd-proof__card .phd-proof__label {
  display: block;
  margin-top: 6px;
  color: var(--trm-inner-text);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Shared centered section heading */
.phd-section-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.phd-section-heading .eyebrow {
  color: var(--trm-blue) !important;
}

.phd-section-heading h2 {
  margin-bottom: 0;
  color: var(--trm-navy);
}

/* 3. Journey — compact horizontal seven-step process */
.phd-journey-section {
  padding-top: clamp(8px, 1vw, 16px) !important;
  padding-bottom: clamp(64px, 8vw, 104px) !important;
}

.phd-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  max-width: 1200px;
  padding: 0;
  margin: 58px auto 0;
  list-style: none;
}

.phd-journey::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 6.5%;
  left: 6.5%;
  height: 1px;
  background: #dfe6f0;
}

.phd-journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.phd-journey__icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--trm-blue);
  background: var(--trm-inner-paper);
  border: 1px solid #d9e2f0;
  border-radius: 50%;
}

.phd-journey__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phd-journey h3 {
  margin: 0;
  color: #142846;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.phd-journey__num {
  color: #8a9ab2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* 4. One-to-one mentorship — split layout inside a rounded tinted container */
.phd-mentorship-section {
  padding: clamp(56px, 7vw, 88px) 0 !important;
}

.phd-mentorship {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
  padding: clamp(36px, 5vw, 64px);
  background: #f6f8ff;
  border: 1px solid var(--trm-inner-line);
  border-radius: 20px;
}

.phd-mentorship__copy h2 {
  margin-bottom: 18px;
  color: var(--trm-navy);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
}

.phd-mentorship__copy > p {
  max-width: 540px;
  margin: 0;
}

.phd-mentorship__list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.phd-mentorship__list li {
  position: relative;
  padding-left: 36px;
  color: #16294d;
  font-weight: 600;
}

.phd-check {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  color: #ffffff;
  background: var(--trm-blue);
  border-radius: 50%;
}

.phd-mentorship__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

/* 5. Supporting services — compact minimal feature row */
.phd-support-section {
  padding: 0 0 clamp(64px, 8vw, 104px) !important;
}

.phd-support-section .phd-section-heading {
  margin-bottom: 44px;
}

.phd-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.phd-support-card {
  padding: 26px 24px;
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: 14px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.phd-support-card:hover {
  border-color: rgba(26, 86, 219, 0.35);
  transform: translateY(-3px);
}

.phd-support-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  border-radius: 11px;
}

.phd-support-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phd-support-card h3 {
  margin: 0 0 6px;
  color: #142846;
  font-size: 17px;
  font-weight: 700;
}

.phd-support-card p {
  margin: 0;
  color: var(--trm-inner-text);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* 6. Belief / philosophy — quiet breathing-space statement */
.phd-belief-section {
  padding: clamp(64px, 8vw, 104px) 0 !important;
}

.phd-belief {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 160px;
  align-items: center;
  gap: clamp(26px, 4vw, 52px);
  min-height: 240px;
  max-width: 1080px;
  margin-inline: auto;
}

.phd-belief__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--trm-blue);
  border-radius: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

.phd-belief__statement {
  margin: 0;
  color: var(--trm-navy);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.phd-belief__statement em {
  font-style: normal;
  color: var(--trm-blue);
}

.phd-belief__sub {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--trm-inner-text);
  font-size: 1.05rem;
  font-weight: 500;
}

.phd-belief__art {
  display: flex;
  justify-content: flex-end;
  color: #c0cde3;
}

.phd-belief__art svg {
  width: 140px;
  height: 112px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 7. Final CTA — refined dark navy horizontal banner */
.phd-final-section {
  padding: clamp(56px, 7vw, 88px) 0 !important;
}

.phd-final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  padding: clamp(34px, 4vw, 52px) clamp(32px, 5vw, 64px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(90, 145, 255, 0.28), transparent 34%),
    linear-gradient(120deg, #071a3a 0%, #0b2a5c 100%);
  box-shadow: 0 24px 60px rgba(6, 22, 48, 0.18);
}

.phd-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 82% 24%, #000, transparent 62%);
  mask-image: radial-gradient(circle at 82% 24%, #000, transparent 62%);
}

.phd-final-cta > * {
  position: relative;
  z-index: 1;
}

.phd-final-cta h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.phd-final-cta p {
  max-width: 560px;
  margin: 0;
  color: #c3cfe4;
}

/* Dark mode */
body.dark-mode-on .phd-hero::before {
  background:
    radial-gradient(circle at 68% 28%, rgba(26, 86, 219, 0.16), transparent 52%),
    linear-gradient(180deg, #121a2c 0%, var(--trm-inner-paper) 100%);
}

body.dark-mode-on .phd-hero .eyebrow {
  color: #8fb2ff !important;
}

body.dark-mode-on .phd-proof__card {
  background: #111c2e;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .phd-proof__card article + article::before {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .phd-proof__card .phd-proof__label {
  color: #a8b4c8;
}

body.dark-mode-on .phd-journey::before {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .phd-journey__icon {
  color: #9eb8ff;
  background: #111c2e;
  border-color: rgba(143, 160, 255, 0.28);
}

body.dark-mode-on .phd-journey h3 {
  color: #f2f5ff;
}

body.dark-mode-on .phd-journey__num {
  color: #8494ad;
}

body.dark-mode-on .phd-mentorship {
  background: #151a28;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode-on .phd-mentorship__list li {
  color: #dfe5f2;
}

body.dark-mode-on .phd-support-card {
  background: #151a28;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .phd-support-card:hover {
  border-color: rgba(143, 160, 255, 0.4);
}

body.dark-mode-on .phd-support-card h3 {
  color: #f2f5ff;
}

body.dark-mode-on .phd-support-card p {
  color: #a8b4c8;
}

body.dark-mode-on .phd-belief__statement {
  color: #f2f5ff;
}

body.dark-mode-on .phd-belief__art {
  color: #4a5a7c;
}

/* Responsive */
@media (max-width: 1199px) {
  .phd-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 44px;
  }

  .phd-journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 42px;
    max-width: 900px;
  }

  .phd-journey::before {
    display: none;
  }

  .phd-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phd-belief {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 28px;
  }

  .phd-belief__art {
    display: none;
  }
}

@media (max-width: 900px) {
  .phd-hero__grid {
    grid-template-columns: 1fr;
  }

  .phd-hero::before {
    inset: 0 0 0 30%;
  }

  .phd-hero__media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
  }

  .phd-mentorship {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .phd-hero {
    padding: 56px 0 108px;
  }

  .phd-hero h1 {
    font-size: var(--text-h1-mobile);
  }

  .phd-hero__media img {
    border-radius: 16px;
  }

  .phd-proof {
    margin-top: -52px;
  }

  .phd-proof__card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .phd-proof__card article {
    justify-content: flex-start;
    gap: 16px;
    min-height: 96px;
    padding: 20px 24px;
  }

  .phd-proof__card article + article::before {
    top: 0;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
  }

  .phd-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
    margin-top: 46px;
  }

  .phd-journey li {
    gap: 9px;
  }

  .phd-journey__icon {
    width: 54px;
    height: 54px;
  }

  .phd-journey__icon svg {
    width: 21px;
    height: 21px;
  }

  .phd-mentorship {
    gap: 34px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .phd-support-section .phd-section-heading {
    margin-bottom: 34px;
  }

  .phd-belief {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
    text-align: center;
  }

  .phd-belief__mark {
    margin-inline: auto;
  }

  .phd-belief__sub {
    margin-inline: auto;
  }

  .phd-final-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 26px;
    border-radius: 18px;
    text-align: center;
  }

  .phd-final-cta p {
    margin-inline: auto;
  }

  .phd-final-cta .phd-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .phd-support-grid {
    grid-template-columns: 1fr;
  }

  .phd-hero .hero-actions .phd-btn {
    width: 100%;
  }
}

/* M.Tech Research page — premium minimal redesign per the supplied brief. */
.mtech-research-page #menu-main-menu a[href="../services/ai-projects.html"] {
  color: var(--trm-inner-primary) !important;
}

/* Shared page button */
.mtech-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.mtech-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mtech-btn--primary {
  color: #ffffff;
  background: var(--trm-blue);
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.24);
}

.mtech-btn--primary:hover,
.mtech-btn--primary:focus-visible {
  color: #ffffff;
  background: var(--trm-navy);
  box-shadow: 0 16px 34px rgba(26, 86, 219, 0.32);
  transform: translateY(-2px);
}

.mtech-btn--light {
  color: var(--trm-navy);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(2, 12, 32, 0.3);
}

.mtech-btn--light:hover,
.mtech-btn--light:focus-visible {
  color: var(--trm-blue);
  background: #f2f6ff;
  transform: translateY(-2px);
}

/* 1. Hero — minimal split layout, 46 / 54 */
.mtech-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 104px) 0 clamp(96px, 10vw, 132px);
  background: var(--trm-inner-paper);
}

.mtech-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 42%;
  background:
    radial-gradient(circle at 68% 28%, rgba(26, 86, 219, 0.08), transparent 52%),
    linear-gradient(180deg, #f6f9ff 0%, var(--trm-inner-paper) 100%);
  pointer-events: none;
}

.mtech-hero .container {
  position: relative;
  z-index: 1;
}

.mtech-hero .breadcrumbs {
  margin-bottom: clamp(26px, 4vw, 44px);
  color: #667792;
}

.mtech-hero .breadcrumbs a {
  color: var(--trm-inner-primary);
}

.mtech-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.mtech-hero__copy {
  max-width: 620px;
}

.mtech-hero .eyebrow {
  color: var(--trm-blue) !important;
}

.mtech-hero h1 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--trm-navy);
  font-size: clamp(46px, 5.2vw, 62px);
}

.mtech-hero__statement {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--trm-blue);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.mtech-hero__lead {
  max-width: 560px;
  margin: 0;
  color: var(--trm-inner-text);
  font-size: 1.05rem;
}

.mtech-hero .hero-actions {
  margin-top: 34px;
}

.mtech-hero__media {
  position: relative;
}

.mtech-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(7, 26, 58, 0.16);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
}

/* 2. What We Support — lightweight four-step journey */
.mtech-support-section {
  padding: clamp(8px, 1vw, 16px) 0 clamp(48px, 6vw, 80px) !important;
}

.mtech-support-section .phd-section-heading {
  margin-bottom: 52px;
}

.mtech-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1080px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.mtech-journey::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 9%;
  left: 9%;
  height: 0;
  border-top: 2px dashed #c9d8f0;
}

.mtech-journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.mtech-journey__icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--trm-blue);
  background: var(--trm-inner-paper);
  border: 1px solid #d9e2f0;
  border-radius: 50%;
}

.mtech-journey__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mtech-journey__num {
  color: #8a9ab2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mtech-journey h3 {
  margin: 0;
  color: #142846;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* 3. ₹25K complete package — premium horizontal card */
.mtech-package-section {
  padding: 0 0 clamp(64px, 8vw, 104px) !important;
}

.mtech-package__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--trm-inner-line);
  border-radius: 18px;
  background: var(--trm-inner-paper);
  box-shadow: 0 18px 48px rgba(7, 26, 58, 0.07);
}

.mtech-package__left {
  min-width: 0;
}

.mtech-package__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  border-radius: 14px;
}

.mtech-package__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mtech-package__left h3 {
  margin: 0 0 12px;
  color: #16294d;
  font-size: 20px;
  font-weight: 700;
}

.mtech-package__price {
  color: var(--trm-blue);
  font-size: clamp(2.8rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mtech-package__middle {
  min-width: 0;
  padding: 22px 0;
  border-right: 1px solid var(--trm-inner-line);
  border-left: 1px solid var(--trm-inner-line);
}

.mtech-package__inclusions {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mtech-package__inclusions li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #16294d;
  font-size: 1rem;
  font-weight: 600;
}

.mtech-package__inclusions svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  padding: 3px;
  color: #ffffff;
  background: var(--trm-blue);
  border-radius: 50%;
}

.mtech-package__right {
  min-width: 0;
}

.mtech-package__right p {
  max-width: 380px;
  margin: 0 0 24px;
  color: var(--trm-inner-text);
  font-size: 0.95rem;
}

/* 4. Structured 5-class guidance — three compact cards */
.mtech-classes-section {
  padding: 0 0 clamp(64px, 8vw, 104px) !important;
}

.mtech-classes-section .phd-section-heading {
  margin-bottom: 44px;
}

.mtech-classes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}

.mtech-class-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 26px;
  text-align: center;
  background: #f8fafe;
  border: 1px solid var(--trm-inner-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(7, 26, 58, 0.04);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.mtech-class-card:hover {
  border-color: rgba(26, 86, 219, 0.35);
  transform: translateY(-3px);
}

.mtech-class-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #ffffff;
  background: var(--trm-blue);
  border-radius: 50%;
}

.mtech-class-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mtech-class-card strong {
  color: var(--trm-blue);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.mtech-class-card h3 {
  margin: 0;
  color: #142846;
  font-size: 1.05rem;
  font-weight: 700;
}

/* 5. Publication support — two equal horizontal cards */
.mtech-pub-section {
  padding: 0 0 clamp(64px, 8vw, 104px) !important;
}

.mtech-pub-section .phd-section-heading {
  margin-bottom: 16px;
}

.mtech-pub-section .phd-section-heading + p {
  max-width: 560px;
  margin: 14px auto 44px;
  text-align: center;
  color: var(--trm-inner-text);
}

.mtech-pub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin-inline: auto;
}

.mtech-pub-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
  background: var(--trm-inner-paper);
  border: 1px solid var(--trm-inner-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(7, 26, 58, 0.04);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.mtech-pub-card:hover {
  border-color: rgba(26, 86, 219, 0.35);
  transform: translateY(-3px);
}

.mtech-pub-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  border-radius: 13px;
}

.mtech-pub-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mtech-pub-card h3 {
  margin: 0 0 6px;
  color: #16294d;
  font-size: 1.05rem;
  font-weight: 700;
}

.mtech-pub-card__price {
  color: var(--trm-blue);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mtech-pub-card__note {
  display: block;
  margin-top: 5px;
  color: #8a9ab2;
  font-size: 0.78rem;
  font-weight: 600;
}

/* 6. Trust statement — light breathing space */
.mtech-trust-section {
  padding: 0 0 clamp(64px, 8vw, 104px) !important;
}

.mtech-trust {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
  min-height: 200px;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(30px, 4vw, 48px) clamp(30px, 5vw, 64px);
  background: #f4f7fe;
  border: 1px solid var(--trm-inner-line);
  border-radius: 20px;
}

.mtech-trust__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--trm-blue);
  border-radius: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

.mtech-trust__statement {
  margin: 0;
  color: var(--trm-navy);
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.mtech-trust__statement em {
  font-style: normal;
  color: var(--trm-blue);
}

/* 7. Final CTA — premium dark navy horizontal banner */
.mtech-final-section {
  padding: clamp(56px, 7vw, 88px) 0 !important;
}

.mtech-final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  padding: clamp(32px, 4vw, 50px) clamp(32px, 5vw, 64px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(90, 145, 255, 0.28), transparent 34%),
    linear-gradient(120deg, #071a3a 0%, #0b2a5c 100%);
  box-shadow: 0 24px 60px rgba(6, 22, 48, 0.18);
}

.mtech-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 82% 24%, #000, transparent 62%);
  mask-image: radial-gradient(circle at 82% 24%, #000, transparent 62%);
}

.mtech-final-cta > * {
  position: relative;
  z-index: 1;
}

.mtech-final-cta h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.mtech-final-cta p {
  max-width: 560px;
  margin: 0;
  color: #c3cfe4;
}

/* Dark mode */
body.dark-mode-on .mtech-hero::before {
  background:
    radial-gradient(circle at 68% 28%, rgba(26, 86, 219, 0.16), transparent 52%),
    linear-gradient(180deg, #121a2c 0%, var(--trm-inner-paper) 100%);
}

body.dark-mode-on .mtech-hero .eyebrow {
  color: #8fb2ff !important;
}

body.dark-mode-on .mtech-journey::before {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode-on .mtech-journey__icon {
  color: #9eb8ff;
  background: #111c2e;
  border-color: rgba(143, 160, 255, 0.28);
}

body.dark-mode-on .mtech-journey h3 {
  color: #f2f5ff;
}

body.dark-mode-on .mtech-journey__num {
  color: #8494ad;
}

body.dark-mode-on .mtech-package__card {
  background: #111c2e;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .mtech-package__middle {
  border-right-color: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .mtech-package__left h3,
body.dark-mode-on .mtech-package__inclusions li {
  color: #dfe5f2;
}

body.dark-mode-on .mtech-package__right p {
  color: #a8b4c8;
}

body.dark-mode-on .mtech-class-card {
  background: #151a28;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .mtech-class-card:hover,
body.dark-mode-on .mtech-pub-card:hover {
  border-color: rgba(143, 160, 255, 0.4);
}

body.dark-mode-on .mtech-class-card h3,
body.dark-mode-on .mtech-pub-card h3 {
  color: #f2f5ff;
}

body.dark-mode-on .mtech-pub-card {
  background: #151a28;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-on .mtech-pub-card__note {
  color: #8494ad;
}

body.dark-mode-on .mtech-trust {
  background: #141b2c;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode-on .mtech-trust__statement {
  color: #f2f5ff;
}

/* Responsive */
@media (max-width: 1199px) {
  .mtech-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .mtech-hero__grid {
    grid-template-columns: 1fr;
  }

  .mtech-hero::before {
    inset: 0 0 0 30%;
  }

  .mtech-hero__media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
  }

  .mtech-package__card {
    grid-template-columns: 1fr;
  }

  .mtech-package__middle {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--trm-inner-line);
    border-bottom: 1px solid var(--trm-inner-line);
    padding: 24px 0;
  }
}

@media (max-width: 767px) {
  .mtech-hero {
    padding: 56px 0 96px;
  }

  .mtech-hero h1 {
    font-size: var(--text-h1-mobile);
  }

  .mtech-hero__media img {
    border-radius: 16px;
  }

  .mtech-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
    max-width: 420px;
  }

  .mtech-journey::before {
    display: none;
  }

  .mtech-journey li {
    gap: 9px;
  }

  .mtech-journey__icon {
    width: 54px;
    height: 54px;
  }

  .mtech-journey__icon svg {
    width: 21px;
    height: 21px;
  }

  .mtech-classes-grid,
  .mtech-pub-grid {
    grid-template-columns: 1fr;
  }

  .mtech-trust {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
    text-align: center;
  }

  .mtech-trust__mark {
    margin-inline: auto;
  }

  .mtech-final-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 26px;
    border-radius: 18px;
    text-align: center;
  }

  .mtech-final-cta p {
    margin-inline: auto;
  }

  .mtech-final-cta .mtech-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .mtech-hero .hero-actions .mtech-btn {
    width: 100%;
  }

  .mtech-package__card {
    padding: 26px 22px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   WORK WITH US PAGE REDESIGN (collaboration page)
   ========================================================================== */

body.work-with-us-page main {
  background-color: #ffffff;
  color: #334155;
}

.work-with-us-page #menu-main-menu a[href="work-with-us.html"] {
  color: var(--color-primary, #5964f2) !important;
}

/* ---------- 1. Hero ---------- */
.collab-hero {
  position: relative;
  padding: 76px 20px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  overflow: hidden;
}

.collab-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
}

.collab-hero__copy {
  max-width: 560px;
}

.collab-hero .breadcrumbs {
  margin-bottom: 20px;
}

.collab-hero .eyebrow {
  margin-bottom: 12px;
}

.collab-hero h1 {
  font-size: clamp(36px, 4.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--trm-navy);
  margin: 0 0 16px;
}

.collab-hero__support {
  color: var(--trm-text-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.collab-hero__body {
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 30px;
}

.collab-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.collab-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--trm-border);
  background: #ffffff;
  color: var(--trm-navy);
  font: 700 14px var(--font-primary);
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.collab-btn-outline:hover {
  border-color: var(--trm-blue);
  color: var(--trm-blue);
  box-shadow: 0 8px 20px rgba(7, 26, 58, 0.06);
}

.collab-hero__visual {
  position: relative;
}

.collab-hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--trm-border);
  box-shadow: 0 24px 48px rgba(7, 26, 58, 0.12);
}

.collab-hero__tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 999px;
  padding: 8px 14px;
  font: 700 12px var(--font-primary);
  color: var(--trm-navy);
  box-shadow: 0 10px 24px rgba(7, 26, 58, 0.1);
}

.collab-hero__tag svg {
  width: 14px;
  height: 14px;
  color: var(--trm-blue);
  flex: none;
}

.collab-hero__tag--a {
  top: 18px;
  left: -14px;
}

.collab-hero__tag--b {
  bottom: 18px;
  right: -10px;
}

/* ---------- Shared section heading ---------- */
.collab-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.collab-heading .eyebrow {
  margin-bottom: 8px;
}

.collab-heading h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--trm-navy);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.collab-heading p {
  color: var(--trm-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.collab-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 14px var(--font-primary);
  color: var(--trm-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.collab-arrow-link:hover {
  color: #1343b5;
}

/* ---------- 2. Choose your collaboration path ---------- */
.collab-path {
  padding: 88px 20px 80px;
}

.collab-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 44px auto 0;
}

.collab-path-card {
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 18px;
  padding: 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.collab-path-card:hover {
  border-color: #c3d3f5;
  box-shadow: 0 18px 40px rgba(7, 26, 58, 0.08);
  transform: translateY(-4px);
}

.collab-path-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--trm-blue-soft);
  color: var(--trm-blue);
  display: grid;
  place-items: center;
}

.collab-path-card__icon svg {
  width: 22px;
  height: 22px;
}

.collab-path-card__label {
  font: 700 11px var(--font-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.collab-path-card h3 {
  margin: 0;
  font-size: 21px;
  color: var(--trm-navy);
}

.collab-path-card > p {
  margin: 0;
  color: var(--trm-text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.collab-path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collab-path-tags span {
  font: 600 12px var(--font-primary);
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.collab-path-card .collab-arrow-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- 3. Institutional partnership ---------- */
.collab-inst {
  background: #f4f7fc;
  padding: 88px 20px;
}

.collab-inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
}

.collab-inst-copy .eyebrow {
  margin-bottom: 10px;
}

.collab-inst-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--trm-navy);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.collab-inst-copy > p {
  color: var(--trm-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.collab-inst-mou {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0 26px;
}

.collab-inst-mou__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--trm-blue-soft);
  color: var(--trm-blue);
  display: grid;
  place-items: center;
}

.collab-inst-mou__icon svg {
  width: 18px;
  height: 18px;
}

.collab-inst-mou strong {
  display: block;
  color: var(--trm-navy);
  font-size: 15px;
}

.collab-inst-mou p {
  margin: 4px 0 0;
  color: var(--trm-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Ecosystem visual */
.collab-eco {
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 18px;
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 16px 40px rgba(7, 26, 58, 0.06);
}

.collab-eco__node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--trm-border);
  border-radius: 12px;
  padding: 12px 18px;
  font: 700 14px var(--font-primary);
  color: var(--trm-navy);
}

.collab-eco__node svg {
  width: 18px;
  height: 18px;
  color: var(--trm-blue);
}

.collab-eco__node--mid {
  background: var(--trm-blue);
  border-color: var(--trm-blue);
  color: #ffffff;
}

.collab-eco__node--mid svg {
  color: #ffffff;
}

.collab-eco__line {
  width: 2px;
  height: 28px;
  background: #d3dcec;
  position: relative;
}

.collab-eco__line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #b6c5e2;
}

.collab-eco__outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
}

.collab-eco__output {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12.5px var(--font-primary);
  color: #475569;
  background: #f8fafc;
  border: 1px solid var(--trm-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.collab-eco__output svg {
  width: 15px;
  height: 15px;
  color: var(--trm-blue);
  flex: none;
}

/* ---------- 4. Institutional support ---------- */
.collab-support {
  padding: 88px 20px;
}

.collab-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
  max-width: 1200px;
}

.collab-support-card {
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 16px;
  padding: 24px;
  min-height: 212px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.collab-support-card:hover {
  border-color: #c3d3f5;
  box-shadow: 0 14px 32px rgba(7, 26, 58, 0.07);
  transform: translateY(-3px);
}

.collab-support-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collab-support-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--trm-blue-soft);
  color: var(--trm-blue);
  display: grid;
  place-items: center;
}

.collab-support-card__icon svg {
  width: 19px;
  height: 19px;
}

.collab-support-card__num {
  font: 700 13px var(--font-primary);
  color: #b6c5e2;
  letter-spacing: 0.04em;
}

.collab-support-card h3 {
  margin: 0;
  font-size: 15.5px;
  color: var(--trm-navy);
  line-height: 1.35;
}

.collab-support-card p {
  margin: 0;
  color: var(--trm-text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.collab-support-card__tags {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.collab-support-card__tags span {
  font: 600 11px var(--font-primary);
  color: var(--trm-blue);
  background: var(--trm-blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- 5. Grant proposal support ---------- */
.collab-grant {
  background: #f4f7fc;
  padding: 88px 20px;
}

.collab-grant-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
}

.collab-grant-copy .eyebrow {
  margin-bottom: 10px;
}

.collab-grant-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--trm-navy);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.collab-grant-copy > p {
  color: var(--trm-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 26px;
}

.collab-grant-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.collab-grant-line {
  position: absolute;
  top: 21px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed #c7d4ee;
}

.collab-grant-step {
  position: relative;
  width: 25%;
  text-align: center;
  padding: 0 10px;
  z-index: 1;
}

.collab-grant-step__num {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  color: var(--trm-blue);
  font: 800 13px var(--font-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(7, 26, 58, 0.06);
}

.collab-grant-step h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--trm-navy);
}

.collab-grant-step p {
  margin: 0;
  color: var(--trm-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.collab-grant-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  right: -14px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #b6c5e2;
  transform: rotate(-90deg);
}

/* ---------- 6. Researcher collaboration ---------- */
.collab-researcher {
  padding: 88px 20px;
}

.collab-researcher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
}

.collab-researcher__visual {
  position: relative;
}

.collab-researcher__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--trm-border);
  box-shadow: 0 24px 48px rgba(7, 26, 58, 0.1);
}

.collab-researcher-copy .eyebrow {
  margin-bottom: 10px;
}

.collab-researcher-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--trm-navy);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.collab-researcher-copy > p {
  color: var(--trm-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.collab-researcher-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.collab-researcher-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--trm-border);
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  font: 700 14px var(--font-primary);
  color: var(--trm-navy);
}

.collab-researcher-chip svg {
  width: 17px;
  height: 17px;
  color: var(--trm-blue);
  flex: none;
}

.collab-researcher__statement {
  font: 600 15px var(--font-primary);
  color: var(--trm-blue);
  margin: 0 0 24px;
}

/* ---------- 7. Researcher journey ---------- */
.collab-journey {
  padding: 0 20px 88px;
}

.collab-journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 1100px;
}

.collab-journey-track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  border-top: 2px dashed #c7d4ee;
}

.collab-journey-step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.collab-journey-step__num {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  color: var(--trm-blue);
  font: 800 15px var(--font-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(7, 26, 58, 0.06);
  z-index: 1;
}

.collab-journey-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--trm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.collab-journey-step h3 svg {
  width: 16px;
  height: 16px;
  color: var(--trm-blue);
  flex: none;
}

.collab-journey-step p {
  margin: 0;
  color: var(--trm-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- 8. Collaboration statement ---------- */
.collab-statement {
  background: #f4f7fc;
  padding: 58px 20px;
}

.collab-statement__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.collab-statement__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  color: var(--trm-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(7, 26, 58, 0.06);
}

.collab-statement__icon svg {
  width: 20px;
  height: 20px;
}

.collab-statement h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--trm-navy);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.25;
}

.collab-statement p {
  color: var(--trm-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 640px;
}

/* ---------- 9. Final CTA ---------- */
.collab-final {
  padding: 88px 20px;
}

.collab-final-panel {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0b1b3f 0%, var(--trm-navy) 100%);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.collab-final-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.collab-final-panel .eyebrow {
  color: #9db9f2;
}

.collab-final-panel h2 {
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.02em;
  margin: 10px 0 10px;
}

.collab-final-panel p {
  color: #b7c6e8;
  font-size: 15px;
  margin: 0;
  max-width: 480px;
}

.collab-final__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}

.collab-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--trm-navy);
  font: 700 14px var(--font-primary);
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.collab-btn-white:hover {
  background: #eef2f9;
  color: var(--trm-blue);
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] body.work-with-us-page main {
  background-color: #0f1524;
  color: #cbd5e1;
}

html[data-theme="dark"] .collab-hero {
  background: linear-gradient(180deg, #0f1524 0%, #141b2e 100%);
}

html[data-theme="dark"] .collab-hero h1,
html[data-theme="dark"] .collab-heading h2,
html[data-theme="dark"] .collab-path-card h3,
html[data-theme="dark"] .collab-inst-copy h2,
html[data-theme="dark"] .collab-support-card h3,
html[data-theme="dark"] .collab-grant-copy h2,
html[data-theme="dark"] .collab-researcher-copy h2,
html[data-theme="dark"] .collab-journey-step h3,
html[data-theme="dark"] .collab-statement h2,
html[data-theme="dark"] .collab-eco__node,
html[data-theme="dark"] .collab-inst-mou strong,
html[data-theme="dark"] .collab-researcher-chip,
html[data-theme="dark"] .collab-btn-outline {
  color: #eef2f9;
}

html[data-theme="dark"] .collab-path-card,
html[data-theme="dark"] .collab-support-card,
html[data-theme="dark"] .collab-inst-mou,
html[data-theme="dark"] .collab-eco,
html[data-theme="dark"] .collab-eco__node,
html[data-theme="dark"] .collab-eco__output,
html[data-theme="dark"] .collab-researcher-chip,
html[data-theme="dark"] .collab-journey-step__num,
html[data-theme="dark"] .collab-grant-step__num,
html[data-theme="dark"] .collab-statement__icon,
html[data-theme="dark"] .collab-hero__tag,
html[data-theme="dark"] .collab-btn-outline {
  background: #151d33;
  border-color: #233050;
}

html[data-theme="dark"] .collab-eco__node--mid {
  background: var(--trm-blue);
  border-color: var(--trm-blue);
  color: #ffffff;
}

html[data-theme="dark"] .collab-inst,
html[data-theme="dark"] .collab-grant,
html[data-theme="dark"] .collab-statement {
  background: #0f1524;
}

html[data-theme="dark"] .collab-eco__line {
  background: #2a3a5f;
}

html[data-theme="dark"] .collab-eco__line::after,
html[data-theme="dark"] .collab-grant-step:not(:last-child)::after {
  border-top-color: #48609b;
}

html[data-theme="dark"] .collab-journey-track::before,
html[data-theme="dark"] .collab-grant-line {
  border-top-color: #2a3a5f;
}

html[data-theme="dark"] .collab-support-card__num {
  color: #3d4f7d;
}

html[data-theme="dark"] .collab-btn-white {
  background: #ffffff;
  color: var(--trm-navy);
}

html[data-theme="dark"] .collab-btn-white:hover {
  background: #eef2f9;
}

html[data-theme="dark"] .collab-final-panel {
  background: linear-gradient(135deg, #0a1430 0%, #101c3f 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .collab-hero__grid,
  .collab-inst-grid,
  .collab-grant-grid,
  .collab-researcher-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .collab-hero__copy {
    max-width: 640px;
  }

  .collab-hero__tag--a {
    left: 10px;
  }

  .collab-hero__tag--b {
    right: 10px;
  }

  .collab-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .collab-hero {
    padding: 58px 18px 64px;
  }

  .collab-path,
  .collab-inst,
  .collab-support,
  .collab-grant,
  .collab-researcher,
  .collab-final {
    padding: 64px 18px;
  }

  .collab-journey {
    padding: 0 18px 64px;
  }

  .collab-path-grid {
    grid-template-columns: 1fr;
  }

  .collab-support-grid {
    grid-template-columns: 1fr;
  }

  .collab-grant-steps {
    flex-direction: column;
    gap: 26px;
    align-items: center;
  }

  .collab-grant-line,
  .collab-grant-step:not(:last-child)::after {
    display: none;
  }

  .collab-grant-step {
    width: auto;
    max-width: 340px;
  }

  .collab-journey-track {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 420px;
  }

  .collab-journey-track::before {
    top: 24px;
    left: 50%;
    right: auto;
    width: 2px;
    height: calc(100% - 48px);
    border-top: 0;
    border-left: 2px dashed #c7d4ee;
  }

  .collab-journey-step {
    padding: 0 0 28px;
  }

  .collab-journey-step:last-child {
    padding-bottom: 0;
  }

  .collab-final-panel {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    border-radius: 18px;
  }

  .collab-final-panel p {
    max-width: none;
  }

  .collab-final__actions {
    width: 100%;
    flex-direction: column;
  }

  .collab-final__actions .button,
  .collab-final__actions .collab-btn-white {
    width: 100%;
    justify-content: center;
  }

  .collab-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .collab-hero__actions .button,
  .collab-hero__actions .collab-btn-outline {
    justify-content: center;
  }
}
/* ==========================================================================
/* ==========================================================================
   PUBLISH WITH US PAGE REDESIGN (journal publication)
   ========================================================================== */

body.publish-with-us-page main {
  background-color: #ffffff;
  color: #334155;
}

/* Common Section Headers */
.publish-section-header {
  margin-bottom: 50px;
}
.publish-section-header.text-center {
  text-align: center;
}
.publish-section-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.publish-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #071B3B;
  margin-bottom: 16px;
  line-height: 1.2;
}
.publish-section-header p {
  font-size: 16px;
  color: #475569;
  max-width: 600px;
  line-height: 1.6;
}
.publish-section-header.text-center p {
  margin: 0 auto;
}

/* 1. Hero Section */
.publish-hero {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  position: relative;
  overflow: hidden;
}
.publish-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.publish-hero-copy {
  flex: 1;
}
.publish-hero-copy .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}
.publish-hero-copy h1 {
  font-size: var(--text-h1-desktop);
  font-weight: 800;
  color: #071B3B;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.publish-hero-copy .hero-sub {
  font-size: 18px;
  color: #475569;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 540px;
}
.publish-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.publish-text-link {
  font-weight: 600;
  color: #1A56DB;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}
.publish-text-link:hover {
  color: #071B3B;
}

.publish-hero-visual {
  flex: 1;
  position: relative;
}
.publish-hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(7, 27, 59, 0.08);
  display: block;
}
.publish-hero-badge {
  position: absolute;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  font-size: 13px;
  font-weight: 700;
  color: #071B3B;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #E5EAF0;
}
.publish-hero-badge.top-badge {
  top: 30px;
  left: -20px;
}
.publish-hero-badge.bottom-badge {
  bottom: 30px;
  right: -20px;
}
.publish-hero-badge svg {
  width: 18px;
  height: 18px;
  color: #1A56DB;
}

/* 2. Is This For You? */
.publish-qualify-section {
  padding: 100px 20px;
  background: #ffffff;
}
.publish-qualify-container {
  max-width: 1200px;
  margin: 0 auto;
}
.publish-qualify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.publish-qualify-card {
  background: #FAFBFE;
  border: 1px solid #E5EAF0;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.publish-qualify-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A56DB;
  margin-bottom: 20px;
  border: 1px solid #E5EAF0;
}
.publish-qualify-icon svg {
  width: 20px;
  height: 20px;
}
.publish-qualify-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 12px;
}
.publish-qualify-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 3. What To Submit */
.publish-submit-section {
  padding: 100px 20px;
  background: #F7F9FD;
}
.publish-submit-container {
  max-width: 1200px;
  margin: 0 auto;
}
.publish-submit-box {
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.publish-submit-header {
  text-align: center;
  margin-bottom: 40px;
}
.publish-submit-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.publish-submit-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #071B3B;
  margin-bottom: 12px;
}
.publish-submit-header p {
  color: #475569;
}
.publish-submit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.publish-req-card {
  border: 1px solid #E5EAF0;
  border-radius: 14px;
  padding: 24px;
}
.publish-req-icon {
  width: 36px;
  height: 36px;
  color: #1A56DB;
  margin-bottom: 16px;
}
.publish-req-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 8px;
}
.publish-req-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.publish-req-note {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
  font-style: italic;
}
.publish-submit-action {
  text-align: center;
  border-top: 1px solid #E5EAF0;
  padding-top: 40px;
}

/* 4. Publication Journey */
.publish-journey-section {
  padding: 100px 20px;
  background: #ffffff;
}
.publish-journey-container {
  max-width: 1000px;
  margin: 0 auto;
}
.publish-journey-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}
.publish-journey-line {
  position: absolute;
  top: 24px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #E5EAF0;
  z-index: 1;
}
.publish-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 15px;
}
.publish-step-circle {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 2px solid #1A56DB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1A56DB;
  font-size: 16px;
  margin: 0 auto 20px;
}
.publish-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 8px;
}
.publish-step p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* 5. Funding Support */
.publish-funding-section {
  padding: 100px 20px;
  background: #FAFBFE;
  border-top: 1px solid #E5EAF0;
  border-bottom: 1px solid #E5EAF0;
}
.publish-funding-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.publish-funding-copy {
  flex: 1;
}
.publish-funding-visual {
  flex: 1;
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.publish-funding-visual h3 {
  font-size: 20px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 24px;
}
.funding-factors {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.funding-factors li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 16px;
}
.funding-factors li svg {
  width: 24px;
  height: 24px;
  color: #1A56DB;
  flex-shrink: 0;
}
.funding-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid #E5EAF0;
}

/* 6. Research Quality Integrity */
.publish-integrity-section {
  padding: 100px 20px;
  background: #ffffff;
}
.publish-integrity-container {
  max-width: 1000px;
  margin: 0 auto;
}
.publish-integrity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.integrity-item {
  text-align: left;
}
.integrity-icon {
  width: 32px;
  height: 32px;
  color: #1A56DB;
  margin-bottom: 16px;
}
.integrity-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 10px;
}
.integrity-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* 7. Final CTA */
.publish-final-section {
  padding: 60px 20px 100px;
  background: #ffffff;
}
.publish-final-container {
  max-width: 1200px;
  margin: 0 auto;
}
.publish-final-box {
  background: linear-gradient(135deg, #0D2049 0%, #071A3A 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.publish-final-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 9px);
  pointer-events: none;
}
.publish-final-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.publish-final-copy .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9DB9F2;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.publish-final-copy h2 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.publish-final-copy p {
  font-size: 15px;
  color: #B7C6E8;
  line-height: 1.6;
  margin: 0;
}
.publish-final-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
}
.publish-final-note {
  font-size: 12px;
  color: #9DB9F2;
  margin-top: 12px;
  line-height: 1.5;
}

/* Journey step icons */
.publish-step h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.publish-step h4 svg {
  width: 16px;
  height: 16px;
  color: #1A56DB;
  flex-shrink: 0;
}

/* Integrity disclaimer note */
.publish-integrity-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
  margin: 32px auto 0;
}

/* Dark Mode */
body.dark-mode-on.publish-with-us-page main {
  background-color: #0d101a;
  color: #c1c8d4;
}
body.dark-mode-on .publish-hero {
  background: linear-gradient(180deg, #151a28 0%, #0d101a 100%);
}
body.dark-mode-on .publish-qualify-section,
body.dark-mode-on .publish-journey-section,
body.dark-mode-on .publish-integrity-section,
body.dark-mode-on .publish-final-section {
  background: #0d101a;
}
body.dark-mode-on .publish-submit-section {
  background: #111622;
}
body.dark-mode-on .publish-funding-section {
  background: #0f1420;
  border-color: #30384b;
}
body.dark-mode-on .publish-qualify-card,
body.dark-mode-on .publish-submit-box,
body.dark-mode-on .publish-funding-visual,
body.dark-mode-on .publish-hero-badge,
body.dark-mode-on .publish-qualify-icon,
body.dark-mode-on .publish-req-card {
  background: #151a28;
  border-color: #30384b;
  box-shadow: none;
}
body.dark-mode-on .publish-hero-badge {
  color: #f5f7ff;
}
body.dark-mode-on .publish-section-header h2,
body.dark-mode-on .publish-hero-copy h1,
body.dark-mode-on .publish-qualify-card h3,
body.dark-mode-on .publish-submit-header h2,
body.dark-mode-on .publish-req-card h3,
body.dark-mode-on .publish-step h4,
body.dark-mode-on .publish-funding-visual h3,
body.dark-mode-on .integrity-item h3 {
  color: #f5f7ff;
}
body.dark-mode-on .publish-section-header p,
body.dark-mode-on .publish-hero-copy .hero-sub,
body.dark-mode-on .publish-qualify-card p,
body.dark-mode-on .publish-submit-header p,
body.dark-mode-on .publish-req-card p,
body.dark-mode-on .publish-step p,
body.dark-mode-on .integrity-item p,
body.dark-mode-on .publish-integrity-note,
body.dark-mode-on .funding-note {
  color: #9aa3b4;
}
body.dark-mode-on .publish-journey-line {
  background: #30384b;
}
body.dark-mode-on .publish-step-circle {
  background: #0d101a;
  border-color: #4a5a86;
  color: #93b4f8;
}
body.dark-mode-on .publish-req-note {
  color: #7d8aa0;
}
body.dark-mode-on .publish-text-link:hover {
  color: #f5f7ff;
}
body.dark-mode-on .funding-factors li {
  color: #c1c8d4;
}

/* Final CTA responsive */
@media (max-width: 768px) {
  .publish-final-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .publish-final-action {
    width: 100%;
  }
  .publish-final-action .button {
    width: 100%;
    text-align: center;
  }
  .publish-step h4 {
    justify-content: flex-start;
  }
}
/* Responsive Overrides */
@media (max-width: 1024px) {
  .publish-hero-container,
  .publish-funding-container { flex-direction: column; text-align: center; }
  .publish-hero-actions { justify-content: center; }
  .publish-hero-badge.top-badge { left: 20px; top: 20px; }
  .publish-hero-badge.bottom-badge { right: 20px; bottom: 20px; }
  
  .publish-qualify-grid,
  .publish-submit-grid,
  .publish-integrity-grid { grid-template-columns: repeat(2, 1fr); }
  .publish-qualify-card, .publish-req-card { text-align: left; }
}

@media (max-width: 768px) {
  .publish-qualify-grid,
  .publish-submit-grid,
  .publish-integrity-grid { grid-template-columns: 1fr; }
  
  .publish-submit-box { padding: 30px 20px; }
  
  .publish-journey-line { display: none; }
  .publish-journey-steps { flex-direction: column; gap: 30px; }
  .publish-step { display: flex; text-align: left; align-items: flex-start; gap: 20px; padding: 0; }
  .publish-step-circle { margin: 0; flex-shrink: 0; }
  
  .funding-factors li { justify-content: center; }
  .publish-funding-visual { text-align: center; }
  
  .publish-hero-actions { flex-direction: column; align-items: stretch; }
  .publish-hero-actions .button { width: 100%; text-align: center; }
}

/* ==========================================================================
   PAPER REPOSITORY PAGE REDESIGN (research discovery - coming soon)
   ========================================================================== */

body.paper-repository-page main {
  background-color: #ffffff;
  color: var(--trm-inner-text);
}

/* ---------- 1. Repository hero ---------- */
.pr-hero {
  position: relative;
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  text-align: center;
  overflow: hidden;
}
.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(26, 86, 219, 0.10), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(26, 86, 219, 0.12), transparent 34%);
  pointer-events: none;
}
.pr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 86, 219, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 52% at 50% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}
.pr-hero .container {
  position: relative;
  z-index: 1;
}
.pr-hero .breadcrumbs {
  color: var(--trm-text-muted);
  margin-bottom: 20px;
}
.pr-hero .breadcrumbs a {
  color: var(--trm-blue);
}
.pr-hero .eyebrow {
  color: var(--trm-blue) !important;
}
.pr-hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--trm-navy);
}
.pr-hero__lead {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: var(--trm-text-muted);
}

/* ---------- 2. Hero search ---------- */
.pr-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 6px 6px 6px 18px;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(7, 26, 58, 0.08);
  text-align: left;
}
.pr-search > svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--trm-blue);
}
.pr-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--trm-navy);
  font-family: inherit;
  font-size: 1rem;
}
.pr-search input::placeholder {
  color: #7c8ba0;
}
.pr-search button {
  flex: none;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: var(--trm-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.pr-search button:hover {
  background: var(--trm-navy);
}
.pr-search button:active {
  transform: scale(0.98);
}

/* ---------- 3. Content type pills ---------- */
.pr-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.pr-pill {
  padding: 9px 20px;
  border: 1px solid var(--trm-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--trm-text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pr-pill:hover {
  border-color: var(--trm-blue);
  color: var(--trm-blue);
}
.pr-pill.is-active {
  background: var(--trm-navy);
  border-color: var(--trm-navy);
  color: #ffffff;
}

/* ---------- 4. Shared section chrome ---------- */
.pr-section {
  padding: clamp(var(--section-space-mobile), 7vw, var(--section-space-desktop)) 0;
}
.pr-section .trm-section-header {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.pr-what {
  background: #ffffff;
}
.pr-preview {
  background: var(--trm-bg-light);
}

/* ---------- 5. What you'll find ---------- */
.pr-grid--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pr-block {
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: left;
  cursor: default;
}
.pr-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(26, 86, 219, 0.09);
  color: var(--trm-blue);
}
.pr-block__icon svg {
  width: 24px;
  height: 24px;
}
.pr-block h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--trm-navy);
}
.pr-block p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--trm-text-muted);
}

/* ---------- 6. Interactive preview panel ---------- */
.pr-panel {
  max-width: 960px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--trm-border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.pr-panel__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--trm-border);
}
.pr-panel__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  min-width: 0;
  padding: 0 14px;
  height: 46px;
  border: 1px solid var(--trm-border);
  border-radius: 10px;
  background: var(--trm-bg-light);
}
.pr-panel__search svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--trm-blue);
}
.pr-panel__search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--trm-navy);
  font-family: inherit;
  font-size: 0.95rem;
}
.pr-panel__search input::placeholder {
  color: #8a97ab;
}
.pr-select {
  height: 46px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--trm-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--trm-navy);
  font-family: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.pr-coming {
  padding: clamp(44px, 6vw, 64px) 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  outline: none;
}
.pr-coming.is-revealed {
  opacity: 1;
  transform: none;
}
.pr-coming__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.10);
  color: var(--trm-blue);
}
.pr-coming__icon svg {
  width: 30px;
  height: 30px;
}
.pr-coming h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--trm-navy);
}
.pr-coming p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--trm-text-muted);
}
.pr-coming__promise {
  margin-top: 14px !important;
  font-weight: 700;
  color: var(--trm-navy) !important;
}
.pr-coming__hint {
  margin-top: 8px !important;
  font-size: 0.9rem !important;
}

/* ---------- 7. Experience flow ---------- */
.pr-flow {
  background: #ffffff;
}
.pr-flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.pr-flow__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--trm-border), var(--trm-blue) 50%, var(--trm-border));
  pointer-events: none;
}
.pr-flow__step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.pr-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border: 2px solid var(--trm-blue);
  border-radius: 50%;
  background: #ffffff;
  color: var(--trm-blue);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pr-flow__step h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--trm-navy);
}
.pr-flow__step p {
  max-width: 280px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--trm-text-muted);
}

/* ---------- 8. Contribution preview ---------- */
.pr-contribute {
  background: #ffffff;
}
.pr-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.pr-chip {
  padding: 10px 22px;
  border: 1px solid rgba(26, 86, 219, 0.22);
  border-radius: 999px;
  background: rgba(26, 86, 219, 0.07);
  color: var(--trm-blue);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: default;
}
.pr-contribute__note {
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--trm-text-muted);
}

/* ---------- 9. Final coming soon CTA ---------- */
.pr-cta {
  background: #ffffff;
}
.pr-cta__panel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 20%, rgba(96, 165, 250, 0.18), transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(96, 165, 250, 0.14), transparent 38%),
    linear-gradient(160deg, #0a1c40 0%, #071a3a 55%, #0d224e 100%);
  text-align: center;
}
.pr-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 78%);
  pointer-events: none;
}
.pr-cta__panel > * {
  position: relative;
  z-index: 1;
}
.pr-cta__panel .eyebrow {
  color: #93c5fd !important;
}
.pr-cta__panel h2 {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: #ffffff;
}
.pr-cta__panel p {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #b9c4df;
}
.pr-cta__panel .button {
  margin-top: 28px;
}

/* ---------- 10. Responsive ---------- */
@media (max-width: 1024px) {
  body.paper-repository-page .pr-section .trm-h2 {
    font-size: var(--text-h2-tablet);
  }
  .pr-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  body.paper-repository-page .pr-section .trm-h2 {
    font-size: var(--text-h2-mobile);
  }
  .pr-hero {
    padding-top: 40px;
  }
  .pr-search {
    padding: 6px;
    flex-wrap: wrap;
  }
  .pr-search input {
    width: 100%;
    flex: 1 1 100%;
    height: 46px;
    padding: 0 8px;
  }
  .pr-search button {
    width: 100%;
    height: 46px;
  }
  .pr-grid--three {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pr-flow__steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pr-flow__steps::before {
    left: 24px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--trm-border), var(--trm-blue), var(--trm-border));
  }
  .pr-flow__step {
    padding-left: 64px;
    text-align: left;
  }
  .pr-flow__num {
    position: absolute;
    left: 0;
    top: 0;
  }
  .pr-flow__step p {
    margin: 0;
  }
}

/* ---------- 11. Dark mode ---------- */
body.dark-mode-on.paper-repository-page main {
  background-color: var(--trm-inner-paper);
}
body.dark-mode-on.paper-repository-page .pr-hero {
  background: linear-gradient(180deg, #151a28 0%, #0d101a 100%);
}
body.dark-mode-on.paper-repository-page .pr-hero h1 {
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-hero__lead {
  color: #c1c8d4;
}
body.dark-mode-on.paper-repository-page .pr-hero .breadcrumbs {
  color: #c1c8d4;
}
body.dark-mode-on.paper-repository-page .pr-hero .breadcrumbs a {
  color: #93c5fd;
}
body.dark-mode-on.paper-repository-page .pr-hero .eyebrow {
  color: #60a5fa !important;
}
body.dark-mode-on.paper-repository-page .pr-search {
  background: #151a28;
  border-color: #30384b;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}
body.dark-mode-on.paper-repository-page .pr-search input {
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-search input::placeholder {
  color: #8b96ab;
}
body.dark-mode-on.paper-repository-page .pr-search button {
  background: var(--trm-blue);
}
body.dark-mode-on.paper-repository-page .pr-search button:hover {
  background: #2f6bff;
}
body.dark-mode-on.paper-repository-page .pr-pill {
  background: #151a28;
  border-color: #30384b;
  color: #c1c8d4;
}
body.dark-mode-on.paper-repository-page .pr-pill:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}
body.dark-mode-on.paper-repository-page .pr-pill.is-active {
  background: var(--trm-blue);
  border-color: var(--trm-blue);
  color: #ffffff;
}
body.dark-mode-on.paper-repository-page .pr-what,
body.dark-mode-on.paper-repository-page .pr-flow,
body.dark-mode-on.paper-repository-page .pr-contribute,
body.dark-mode-on.paper-repository-page .pr-cta {
  background: var(--trm-inner-paper);
}
body.dark-mode-on.paper-repository-page .pr-preview {
  background: #151a28;
}
body.dark-mode-on.paper-repository-page .pr-block,
body.dark-mode-on.paper-repository-page .pr-panel {
  background: #151a28;
  border-color: #30384b;
}
body.dark-mode-on.paper-repository-page .pr-block h3,
body.dark-mode-on.paper-repository-page .pr-panel h3,
body.dark-mode-on.paper-repository-page .pr-flow__step h3 {
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-block p,
body.dark-mode-on.paper-repository-page .pr-flow__step p {
  color: #c1c8d4;
}
body.dark-mode-on.paper-repository-page .pr-block__icon,
body.dark-mode-on.paper-repository-page .pr-coming__icon {
  background: rgba(96, 165, 250, 0.14);
  color: #60a5fa;
}
body.dark-mode-on.paper-repository-page .pr-panel__bar {
  border-bottom-color: #30384b;
}
body.dark-mode-on.paper-repository-page .pr-panel__search,
body.dark-mode-on.paper-repository-page .pr-select {
  background: #0d101a;
  border-color: #3b455d;
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-panel__search input {
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-panel__search input::placeholder {
  color: #8b96ab;
}
body.dark-mode-on.paper-repository-page .pr-coming h3 {
  color: #f5f7ff;
}
body.dark-mode-on.paper-repository-page .pr-coming__promise {
  color: #f5f7ff !important;
}
body.dark-mode-on.paper-repository-page .pr-flow__num {
  background: #0d101a;
  color: #60a5fa;
  border-color: #60a5fa;
}
body.dark-mode-on.paper-repository-page .pr-flow__steps::before {
  background: linear-gradient(180deg, #30384b, #60a5fa, #30384b);
}
body.dark-mode-on.paper-repository-page .pr-chip {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.30);
  color: #93c5fd;
}
body.dark-mode-on.paper-repository-page .pr-contribute__note {
  color: #c1c8d4;
}

/* ---------- 12. CTA button tooltip (pure CSS) ---------- */
.pr-cta__panel .button[data-tooltip] {
  position: relative;
}
.pr-cta__panel .button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 260px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #0d101a;
  color: #e6ecf7;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}
.pr-cta__panel .button[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0d101a;
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 5;
}
.pr-cta__panel .button[data-tooltip]:hover::after,
.pr-cta__panel .button[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pr-cta__panel .button[data-tooltip]:hover::before,
.pr-cta__panel .button[data-tooltip]:focus-visible::before {
  opacity: 1;
}
/* ==========================================================================
   RESEARCH PRODUCTS PAGE REDESIGN (product portfolio)
   ========================================================================== */

body.research-products-page main {
  background-color: #ffffff;
  color: #334155;
  font-family: 'Inter', 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

/* Common Section Headers */
.rp-section-header {
  margin-bottom: 46px;
}
.rp-section-header.text-center {
  text-align: center;
}
.rp-section-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.rp-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #071B3B;
  margin-bottom: 14px;
  line-height: 1.2;
}
.rp-section-header p {
  font-size: 16px;
  color: #475569;
  max-width: 620px;
  line-height: 1.6;
}
.rp-section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Status badge (single reusable component) */
.rp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.rp-status-badge svg {
  width: 10px;
  height: 10px;
}
.rp-status-badge.rp-status-dev {
  background: #FFF7E8;
  border: 1px solid #FDE68A;
  color: #B45309;
}

/* 1. Hero Section */
.rp-hero {
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  position: relative;
  overflow: hidden;
}
.rp-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(#dbe6fa 1px, transparent 1px),
    radial-gradient(#eef3fb 1px, transparent 1px);
  background-size: 26px 26px, 13px 13px;
  background-position: 0 0, 7px 7px;
  opacity: 0.55;
  z-index: 1;
}
.rp-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.rp-hero-copy {
  flex: 1;
}
.rp-hero-copy .breadcrumbs {
  margin-bottom: 24px;
}
.rp-hero-copy .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}
.rp-hero-copy h1 {
  font-size: var(--text-h1-desktop);
  font-weight: 800;
  color: #071B3B;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.rp-hero-copy .hero-sub {
  font-size: 17px;
  color: #475569;
  margin-bottom: 34px;
  line-height: 1.6;
  max-width: 520px;
}
.rp-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rp-text-link {
  font-weight: 600;
  color: #1A56DB;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}
.rp-text-link:hover {
  color: #071B3B;
}

/* Hero ecosystem visual */
.rp-hero-visual {
  flex: 1;
  position: relative;
}
.rp-eco {
  position: relative;
  width: 100%;
  height: 480px;
}
.rp-eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rp-eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #071A3A;
  color: #ffffff;
  border-radius: 18px;
  padding: 18px 28px;
  box-shadow: 0 16px 40px rgba(7, 27, 59, 0.18);
  z-index: 3;
  text-align: center;
}
.rp-eco-center svg {
  width: 26px;
  height: 26px;
  color: #93B4F8;
}
.rp-eco-center b {
  font-size: 14px;
  font-weight: 700;
}
.rp-eco-center span {
  font-size: 11px;
  color: #9DB9F2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
}
.rp-eco-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  z-index: 2;
}
.rp-eco-chip svg {
  width: 15px;
  height: 15px;
  color: #1A56DB;
}
.rp-eco-chip.c1 { top: 30%; left: 3%; }
.rp-eco-chip.c2 { top: 30%; right: 3%; }
.rp-eco-chip.c3 { top: 57%; left: -1%; }
.rp-eco-chip.c4 { top: 57%; right: -1%; }
.rp-eco-chip.c5 { bottom: 9%; left: 5%; }
.rp-eco-chip.c6 { bottom: 9%; right: 5%; }
.rp-eco-cloudy {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
  z-index: 2;
}
.rp-eco-cloudy .rp-product-logo {
  width: 38px;
  height: 38px;
}
.rp-eco-cloudy .rp-product-logo svg {
  width: 19px;
  height: 19px;
}
.rp-eco-cloudy b {
  font-size: 13px;
  color: #071B3B;
  display: block;
}
.rp-eco-cloudy .rp-status-badge {
  font-size: 10px;
  padding: 3px 10px;
}

/* 2. Why We Build */
.rp-why-section {
  padding: 88px 20px;
  background: #ffffff;
}
.rp-why-container {
  max-width: 1200px;
  margin: 0 auto;
}
.rp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 8px;
}
.rp-why-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.rp-why-icon {
  width: 44px;
  height: 44px;
  background: #F7F9FD;
  border: 1px solid #E5EAF0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A56DB;
}
.rp-why-icon svg {
  width: 20px;
  height: 20px;
}
.rp-why-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #071B3B;
  margin: 0;
}
.rp-why-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* 3. Our Research Products */
.rp-products-section {
  padding: 88px 20px;
  background: #F7F9FD;
}
.rp-products-container {
  max-width: 1200px;
  margin: 0 auto;
}
/* Scalable product grid:
   - Single product: .rp-products-layout (featured card + ecosystem note)
   - When 2+ real products exist, replace the layout with:
     .rp-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 50px; }
     (add a 3-column media query for wide screens) */
.rp-products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 50px;
}
.rp-product-card {
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rp-product-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rp-product-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF4FF 0%, #DCE8FF 100%);
  border: 1px solid #D1E0FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A56DB;
}
.rp-product-logo svg {
  width: 26px;
  height: 26px;
}
.rp-product-name {
  flex: 1;
  min-width: 0;
}
.rp-product-name h3 {
  font-size: 21px;
  font-weight: 800;
  color: #071B3B;
  margin: 0 0 6px 0;
}
.rp-product-name p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1A56DB;
  margin: 0;
}
.rp-product-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.rp-product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.rp-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: #F7F9FD;
  border: 1px solid #E5EAF0;
  border-radius: 30px;
  color: #475569;
}
.rp-product-cta {
  margin-top: auto;
  padding-top: 10px;
}
/* Ecosystem note panel - NOT a product card */
.rp-products-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px dashed #C7D6F0;
  background: #EFF4FF;
  border-radius: 20px;
  padding: 34px 28px;
  text-align: center;
}
.rp-note-node {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #D1E0FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A56DB;
}
.rp-note-node svg {
  width: 19px;
  height: 19px;
}
.rp-products-note h3 {
  font-size: 16px;
  font-weight: 700;
  color: #071B3B;
  margin: 0;
}
.rp-products-note p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

/* 4. Cloudy Spotlight */
.rp-spotlight-section {
  padding: 88px 20px;
  background: #ffffff;
}
.rp-spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.rp-spotlight-copy {
  flex: 1;
}
.rp-spotlight-copy .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.rp-spotlight-copy h2 {
  font-size: 34px;
  font-weight: 800;
  color: #071B3B;
  margin-bottom: 8px;
  line-height: 1.2;
}
.rp-spotlight-copy .spotlight-sub {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 12px;
}
.rp-spotlight-copy .spotlight-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}
.rp-spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 26px;
}
.rp-spotlight-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.rp-action-item {
  border: 1px solid #E5EAF0;
  border-radius: 14px;
  background: #FAFBFE;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rp-action-item svg {
  width: 20px;
  height: 20px;
  color: #1A56DB;
}
.rp-action-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #071B3B;
  margin: 0;
}
.rp-action-item p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.rp-spotlight-cta {
  margin-top: 28px;
}

/* Cloudy development preview (CSS mockup, no fake data) */
.rp-spotlight-visual {
  flex: 1;
}
.rp-cloudy-preview {
  background: #ffffff;
  border: 1px solid #E5EAF0;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(7, 27, 59, 0.08);
  overflow: hidden;
}
.rp-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #E5EAF0;
  background: #FAFBFE;
}
.rp-preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E2E8F0;
}
.rp-preview-dot:nth-child(1) { background: #FCA5A5; }
.rp-preview-dot:nth-child(2) { background: #FCD34D; }
.rp-preview-dot:nth-child(3) { background: #86EFAC; }
.rp-preview-title {
  margin-left: 8px;
  font-size: 12px;
  color: #94A3B8;
}
.rp-preview-search {
  margin: 16px 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5EAF0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #94A3B8;
  font-size: 13px;
  background: #ffffff;
}
.rp-preview-search svg {
  width: 15px;
  height: 15px;
}
.rp-preview-cats {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  flex-wrap: wrap;
}
.rp-preview-cat {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: #F7F9FD;
  border: 1px solid #E5EAF0;
  color: #475569;
}
.rp-preview-cat.active {
  background: #EFF4FF;
  border-color: #C7D6F0;
  color: #1A56DB;
}
.rp-preview-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rp-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #E5EAF0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
}
.rp-preview-row-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #EFF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A56DB;
}
.rp-preview-row-icon svg {
  width: 16px;
  height: 16px;
}
.rp-preview-row b {
  font-size: 13px;
  color: #071B3B;
  display: block;
}
.rp-preview-row span {
  font-size: 11px;
  color: #94A3B8;
}
.rp-preview-row .rp-tag {
  margin-left: auto;
}
.rp-preview-note {
  border-top: 1px solid #E5EAF0;
  background: #FAFBFE;
  padding: 10px 16px;
  font-size: 11.5px;
  color: #64748b;
}

/* 5. How Our Products Help */
.rp-value-section {
  padding: 88px 20px;
  background: #F7F9FD;
}
.rp-value-container {
  max-width: 1200px;
  margin: 0 auto;
}
.rp-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 10px;
}
.rp-value-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.rp-value-item .rp-why-icon {
  background: #ffffff;
}
.rp-value-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #071B3B;
  margin: 0;
}
.rp-value-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* 6. Who We Build For */
.rp-audience-section {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}
.rp-audience-container {
  max-width: 900px;
  margin: 0 auto;
}
.rp-audience-chips {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.rp-audience-chip {
  padding: 10px 20px;
  background: #F7F9FD;
  border: 1px solid #E5EAF0;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #071B3B;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rp-audience-chip svg {
  width: 15px;
  height: 15px;
  color: #1A56DB;
}

/* 7. Product Development Approach */
.rp-approach-section {
  padding: 88px 20px;
  background: #F7F9FD;
}
.rp-approach-container {
  max-width: 1100px;
  margin: 0 auto;
}
.rp-approach-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 48px;
}
.rp-approach-line {
  position: absolute;
  top: 24px;
  left: 55px;
  right: 55px;
  height: 2px;
  background: #DCE6F5;
  z-index: 1;
}
.rp-approach-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 15px;
}
.rp-approach-num {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 2px solid #1A56DB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1A56DB;
  font-size: 15px;
  margin: 0 auto 16px;
}
.rp-approach-step h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #071B3B;
  margin-bottom: 8px;
}
.rp-approach-step h4 svg {
  width: 15px;
  height: 15px;
  color: #1A56DB;
  flex-shrink: 0;
}
.rp-approach-step p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 8. Growing Product Ecosystem */
.rp-ecosystem-section {
  padding: 88px 20px;
  background: #ffffff;
}
.rp-ecosystem-container {
  max-width: 900px;
  margin: 0 auto;
}
.rp-ecosystem-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
}
.rp-flow-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid #E5EAF0;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  color: #071B3B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.rp-flow-node svg {
  width: 18px;
  height: 18px;
  color: #1A56DB;
}
.rp-flow-arrow {
  color: #94A3B8;
  line-height: 0;
}
.rp-flow-arrow svg {
  width: 20px;
  height: 20px;
}
.rp-flow-areas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.rp-flow-area {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #F7F9FD;
  border: 1px solid #E5EAF0;
  border-radius: 30px;
  padding: 7px 16px;
}

/* 9. Built By The Research Minds */
.rp-brand-section {
  padding: 80px 20px 88px;
  background: #ffffff;
}
.rp-brand-container {
  max-width: 1000px;
  margin: 0 auto;
}
.rp-brand-box {
  background: #EFF4FF;
  border: 1px solid #D1E0FF;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}
.rp-brand-box .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.rp-brand-box h2 {
  font-size: 30px;
  font-weight: 800;
  color: #071B3B;
  margin-bottom: 12px;
  line-height: 1.2;
}
.rp-brand-box p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
.rp-brand-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.rp-brand-flow .rp-flow-node {
  background: #ffffff;
  padding: 10px 18px;
  font-size: 13px;
}

/* 10. Final CTA */
.rp-final-section {
  padding: 40px 20px 96px;
  background: #ffffff;
}
.rp-final-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0D2049 0%, #071A3A 100%);
  border-radius: 22px;
  padding: 44px 56px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.rp-final-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.rp-final-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.rp-final-copy .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9DB9F2;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.rp-final-copy h2 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.rp-final-copy p {
  font-size: 15px;
  color: #B7C6E8;
  line-height: 1.6;
  margin: 0;
}
.rp-final-actions {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
}
.rp-final-link {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: #9DB9F2;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.rp-final-link:hover {
  color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .rp-hero-container,
  .rp-spotlight-container { flex-direction: column; text-align: center; }
  .rp-hero-copy .breadcrumbs { display: none; }
  .rp-hero-actions { justify-content: center; }
  .rp-eco { height: 420px; }
  .rp-products-layout { grid-template-columns: 1fr; }
  .rp-products-note { max-width: 480px; margin: 0 auto; }
  .rp-value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .rp-hero { padding: 56px 18px 48px; }
  .rp-hero-actions { flex-direction: column; align-items: stretch; }
  .rp-hero-actions .button { width: 100%; text-align: center; }
  .rp-eco {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 8px;
  }
  .rp-eco-lines { display: none; }
  .rp-eco-center {
    position: static;
    transform: none;
    flex: 1 1 100%;
    padding: 16px 24px;
  }
  .rp-eco-cloudy {
    position: static;
    transform: none;
    flex: 1 1 100%;
    justify-content: center;
  }
  .rp-eco-chip {
    position: static;
    transform: none;
    flex: 0 1 auto;
  }
  .rp-why-grid,
  .rp-value-grid { grid-template-columns: 1fr; }
  .rp-spotlight-actions { grid-template-columns: 1fr; }
  .rp-approach-line { display: none; }
  .rp-approach-steps { flex-direction: column; gap: 28px; }
  .rp-approach-step { display: flex; text-align: left; align-items: flex-start; gap: 18px; padding: 0; }
  .rp-approach-step h4 { justify-content: flex-start; }
  .rp-approach-num { margin: 0; flex-shrink: 0; }
  .rp-final-box { flex-direction: column; text-align: center; padding: 40px 24px; }
  .rp-final-actions { width: 100%; }
  .rp-final-actions .button { width: 100%; text-align: center; }
  .rp-brand-box { padding: 36px 24px; }
}

/* Dark Mode */
body.dark-mode-on.research-products-page main {
  background-color: #0d101a;
  color: #c1c8d4;
}
body.dark-mode-on .rp-hero {
  background: linear-gradient(180deg, #151a28 0%, #0d101a 100%);
}
body.dark-mode-on .rp-why-section,
body.dark-mode-on .rp-spotlight-section,
body.dark-mode-on .rp-audience-section,
body.dark-mode-on .rp-ecosystem-section,
body.dark-mode-on .rp-brand-section,
body.dark-mode-on .rp-final-section {
  background: #0d101a;
}
body.dark-mode-on .rp-products-section,
body.dark-mode-on .rp-value-section,
body.dark-mode-on .rp-approach-section {
  background: #111622;
}
body.dark-mode-on .rp-section-header h2,
body.dark-mode-on .rp-hero-copy h1,
body.dark-mode-on .rp-spotlight-copy h2,
body.dark-mode-on .rp-why-item h3,
body.dark-mode-on .rp-product-name h3,
body.dark-mode-on .rp-products-note h3,
body.dark-mode-on .rp-value-item h3,
body.dark-mode-on .rp-approach-step h4,
body.dark-mode-on .rp-flow-node,
body.dark-mode-on .rp-brand-box h2,
body.dark-mode-on .rp-action-item h4,
body.dark-mode-on .rp-preview-row b {
  color: #f5f7ff;
}
body.dark-mode-on .rp-section-header p,
body.dark-mode-on .rp-hero-copy .hero-sub,
body.dark-mode-on .rp-spotlight-copy .spotlight-desc,
body.dark-mode-on .rp-spotlight-copy .spotlight-sub,
body.dark-mode-on .rp-why-item p,
body.dark-mode-on .rp-product-desc,
body.dark-mode-on .rp-products-note p,
body.dark-mode-on .rp-value-item p,
body.dark-mode-on .rp-approach-step p,
body.dark-mode-on .rp-action-item p,
body.dark-mode-on .rp-brand-box p,
body.dark-mode-on .rp-flow-area {
  color: #9aa3b4;
}
body.dark-mode-on .rp-eco-chip,
body.dark-mode-on .rp-eco-cloudy,
body.dark-mode-on .rp-product-card,
body.dark-mode-on .rp-cloudy-preview,
body.dark-mode-on .rp-flow-node,
body.dark-mode-on .rp-preview-bar,
body.dark-mode-on .rp-preview-row,
body.dark-mode-on .rp-preview-note {
  background: #151a28;
  border-color: #30384b;
  box-shadow: none;
}
body.dark-mode-on .rp-eco-chip,
body.dark-mode-on .rp-eco-cloudy {
  color: #c1c8d4;
}
body.dark-mode-on .rp-why-icon,
body.dark-mode-on .rp-value-item .rp-why-icon,
body.dark-mode-on .rp-audience-chip,
body.dark-mode-on .rp-tag,
body.dark-mode-on .rp-preview-cat {
  background: #151a28;
  border-color: #30384b;
  color: #c1c8d4;
}
body.dark-mode-on .rp-preview-search {
  background: #151a28;
  border-color: #30384b;
}
body.dark-mode-on .rp-approach-line {
  background: #30384b;
}
body.dark-mode-on .rp-approach-num {
  background: #0d101a;
  border-color: #4a5a86;
  color: #93b4f8;
}
body.dark-mode-on .rp-products-note {
  background: #111622;
  border-color: #3b4a6b;
}
body.dark-mode-on .rp-note-node {
  background: #151a28;
  border-color: #3b4a6b;
}
body.dark-mode-on .rp-brand-box {
  background: #111622;
  border-color: #3b4a6b;
}
body.dark-mode-on .rp-action-item {
  background: #111622;
  border-color: #30384b;
}
body.dark-mode-on .rp-flow-arrow {
  color: #64748b;
}
body.dark-mode-on .rp-text-link:hover {
  color: #f5f7ff;
}
/* STICKY RIGHT CTA */
.trm-sticky-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: linear-gradient(to bottom, #b71a1f, #9b1419);
    color: #ffffff;
    padding: 24px 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px 0 0 8px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.25);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.trm-sticky-cta:hover {
    padding-right: 20px;
    background: linear-gradient(to bottom, #cf1d23, #b71a1f);
    color: #ffffff;
}
@media (max-width: 768px) {
    .trm-sticky-cta {
        display: none;
    }
}

/* split hero H1 responsive scale (design-system tokens) */
@media (max-width: 991px) {
  .work-hero-v2-copy h1,
  .publish-hero-copy h1,
  .rp-hero-copy h1 {
    font-size: var(--text-h1-tablet);
  }
}

@media (max-width: 767px) {
  .work-hero-v2-copy h1,
  .publish-hero-copy h1,
  .rp-hero-copy h1 {
    font-size: var(--text-h1-mobile);
  }
}
