/* =========================================================
   SNS Makes Partners v2.4.0 — lower-page information expansion
   Applied only to About / First routes (not the front page).
   ========================================================= */

.smp-about-route .smp-subpage-needs,
.smp-first-route .smp-subpage-output,
.smp-about-route .smp-subpage-output,
.smp-first-route .smp-subpage-preparation,
.smp-first-route .smp-subpage-media-use,
.smp-first-route .smp-subpage-after-consult,
.smp-about-route .smp-subpage-message-for,
.smp-about-route .smp-subpage-ready {
  background: #fff;
}

.smp-about-route .smp-subpage-scope,
.smp-about-route .smp-subpage-promise,
.smp-about-route .smp-subpage-before-contract,
.smp-about-route .smp-subpage-message-promise,
.smp-first-route .smp-subpage-service-guide,
.smp-first-route .smp-subpage-diagnosis-points,
.smp-first-route .smp-subpage-proposal-flow,
.smp-first-route .smp-subpage-proposal-info {
  background: #f7f9fc;
}

/* Three useful next-step choices. Editorial, not card-heavy. */
.smp-subpage-need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d9e3ee;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-need {
  min-width: 0;
  padding: 36px 34px 32px;
  border-right: 1px solid #d9e3ee;
}
.smp-subpage-need:first-child { padding-left: 0; }
.smp-subpage-need:last-child { padding-right: 0; border-right: 0; }
.smp-subpage-need > span,
.smp-subpage-promise-list article > span {
  display: block;
  margin-bottom: 36px;
  color: #1261c9;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.smp-subpage-need h3,
.smp-subpage-promise-list h3 { margin-bottom: 12px; }
.smp-subpage-need p,
.smp-subpage-promise-list p {
  margin: 0;
  color: #64748b;
  font-size: .91rem;
  line-height: 1.8;
}
.smp-subpage-need a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #1261c9;
  font-size: .86rem;
  font-weight: 700;
}
.smp-subpage-need a .smp-icon { width: 17px; height: 17px; transition: transform .25s ease; }
.smp-subpage-need a:hover .smp-icon { transform: translateX(4px); }

/* Scope list */
.smp-subpage-scope-list {
  border-top: 1px solid #d9e3ee;
}
.smp-subpage-scope-list > div {
  display: grid;
  grid-template-columns: 44px minmax(180px, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-scope-list span,
.smp-subpage-output-list b,
.smp-subpage-simple-steps span,
.smp-subpage-three-flow > li > span {
  color: #1261c9;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.smp-subpage-scope-list strong { color: #0b2748; }
.smp-subpage-scope-list p { margin: 0; color: #64748b; font-size: .88rem; }

/* Promise / principles */
.smp-subpage-promise-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid #d9e3ee;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-promise-list article {
  padding: 36px 32px;
  border-right: 1px solid #d9e3ee;
}
.smp-subpage-promise-list article:first-child { padding-left: 0; }
.smp-subpage-promise-list article:last-child { padding-right: 0; border-right: 0; }

/* Check lines */
.smp-subpage-check-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9e3ee;
}
.smp-subpage-check-lines li {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 15px 0 15px 38px;
  border-bottom: 1px solid #d9e3ee;
  color: #0b2748;
  font-weight: 650;
}
.smp-subpage-check-lines li::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 16px;
  height: 2px;
  background: #1261c9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.22,.75,.2,1);
}
.smp-subpage-check-lines li.is-visible::before { transform: scaleX(1); }

/* Four facts / diagnostics / proposal facts */
.smp-subpage-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid #d9e3ee;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-fact-grid > div {
  min-height: 164px;
  padding: 30px 26px;
  border-right: 1px solid #d9e3ee;
}
.smp-subpage-fact-grid > div:first-child { padding-left: 0; }
.smp-subpage-fact-grid > div:last-child { padding-right: 0; border-right: 0; }
.smp-subpage-fact-grid span {
  display: block;
  margin-bottom: 30px;
  color: #1261c9;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.smp-subpage-fact-grid strong { display:block; margin-bottom: 8px; color:#0b2748; }
.smp-subpage-fact-grid p { margin:0; color:#64748b; font-size:.84rem; line-height:1.7; }

/* Outcomes */
.smp-subpage-output-list { border-top: 1px solid #d9e3ee; }
.smp-subpage-output-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-output-list strong { display:block; margin-bottom:5px; color:#0b2748; }
.smp-subpage-output-list p { margin:0; color:#64748b; font-size:.88rem; }

/* Service-choice guide on First hub */
.smp-subpage-service-guide-list { border-top: 1px solid #d9e3ee; }
.smp-subpage-service-guide-list > a {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 26px;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid #d9e3ee;
  color: #0b2748;
}
.smp-subpage-service-guide-list > a > span { color:#1261c9; font-size:.76rem; font-weight:800; }
.smp-subpage-service-guide-list b { display:block; margin-bottom:4px; color:#64748b; font-size:.82rem; font-weight:600; }
.smp-subpage-service-guide-list strong { color:#0b2748; font-size:1rem; }
.smp-subpage-service-guide-list .smp-icon { width:20px; height:20px; color:#1261c9; transition:transform .25s ease; }
.smp-subpage-service-guide-list > a:hover .smp-icon { transform:translateX(5px); }

/* Four-item preparation */
.smp-subpage-simple-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9e3ee;
}
.smp-subpage-simple-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-simple-steps li:nth-child(odd) { border-right: 1px solid #d9e3ee; }
.smp-subpage-simple-steps li:nth-child(even) { padding-left: 24px; }
.smp-subpage-simple-steps strong { color:#0b2748; }

/* Three-step proposal flow */
.smp-subpage-three-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9e3ee;
  border-bottom: 1px solid #d9e3ee;
}
.smp-subpage-three-flow li {
  min-height: 210px;
  padding: 32px;
  border-right: 1px solid #d9e3ee;
}
.smp-subpage-three-flow li:first-child { padding-left:0; }
.smp-subpage-three-flow li:last-child { padding-right:0; border-right:0; }
.smp-subpage-three-flow span { display:block; margin-bottom:46px; }
.smp-subpage-three-flow strong { display:block; margin-bottom:10px; color:#0b2748; }
.smp-subpage-three-flow p { margin:0; color:#64748b; font-size:.88rem; line-height:1.75; }

/* Media-use section: make the text itself feel deliberate, not like an extra card. */
.smp-subpage-media-use .smp-v170-prose {
  padding: 30px 0 30px 34px;
  border-left: 2px solid #1261c9;
}

/* Motion is progressive. The existing JS toggles is-visible. */
@media (prefers-reduced-motion: no-preference) {
  .smp-subpage-need,
  .smp-subpage-promise-list article,
  .smp-subpage-fact-grid > div,
  .smp-subpage-output-list > div,
  .smp-subpage-service-guide-list > a,
  .smp-subpage-simple-steps li,
  .smp-subpage-three-flow li {
    transition: transform .5s cubic-bezier(.22,.75,.2,1), opacity .5s ease;
  }
  .smp-subpage-service-guide-list > a:hover { transform: translateX(4px); }
}

@media (max-width: 920px) {
  .smp-subpage-need-grid,
  .smp-subpage-promise-list,
  .smp-subpage-fact-grid,
  .smp-subpage-three-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .smp-subpage-need,
  .smp-subpage-promise-list article,
  .smp-subpage-fact-grid > div,
  .smp-subpage-three-flow li { border-bottom:1px solid #d9e3ee; }
  .smp-subpage-need:nth-child(2),
  .smp-subpage-promise-list article:nth-child(2),
  .smp-subpage-fact-grid > div:nth-child(2),
  .smp-subpage-fact-grid > div:nth-child(4) { border-right:0; }
  .smp-subpage-scope-list > div { grid-template-columns: 38px 1fr; padding:18px 0; }
  .smp-subpage-scope-list p { grid-column:2; }
}

@media (max-width: 640px) {
  .smp-subpage-need-grid,
  .smp-subpage-promise-list,
  .smp-subpage-fact-grid,
  .smp-subpage-three-flow,
  .smp-subpage-simple-steps { grid-template-columns: 1fr; }

  .smp-subpage-need,
  .smp-subpage-promise-list article,
  .smp-subpage-fact-grid > div,
  .smp-subpage-three-flow li {
    min-height: 0;
    padding: 28px 0;
    border-right:0;
  }
  .smp-subpage-need > span,
  .smp-subpage-promise-list article > span,
  .smp-subpage-fact-grid span,
  .smp-subpage-three-flow span { margin-bottom:18px; }
  .smp-subpage-service-guide-list > a { grid-template-columns:38px 1fr 20px; min-height:82px; gap:14px; }
  .smp-subpage-simple-steps li,
  .smp-subpage-simple-steps li:nth-child(even) { padding:18px 0; border-right:0; }
  .smp-subpage-media-use .smp-v170-prose { padding:24px 0 24px 22px; }
}
