.solution-page {
  --rust: #a65b3b;
  --rust-soft: #f8eee9;
  --accent-soft: #ebedfa;
}

/* 섹션 계층을 소제목으로 분명히 하고, 핵심 설명은 흐린 회색으로 낮추지 않는다. */
.solution-page .section-heading > p:not(.eyebrow),
.solution-page .solution-subheading > span,
.solution-page .manifest-profile-summary > p,
.solution-page .achievement-list p{
  color: #3f4459;
}

.solution-page .section-heading > p:not(.eyebrow),
.solution-page .manifest-profile-summary > p,
.solution-page .solution-subheading > span {
  font-size: 16px;
  line-height: 1.7;
}

.solution-hero {
  min-height: calc(100vh - 67px);
  display: grid;
  align-items: center;
}

.solution-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(460px, 0.85fr);
  gap: clamp(40px, 4vw, 64px);
  align-items: center;
}

.solution-title {
  max-width: 720px;
  font-size: clamp(40px, 3.15vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.solution-title > span,
.solution-title > em {
  display: block;
}

.solution-title em {
  color: var(--accent);
  font-style: normal;
}

.solution-hero .hero-lead {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.35vw, 20px);
}

.project-overview-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  padding: 30px;
}

.project-overview-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.project-overview-heading span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.09em;
}

.project-overview-heading strong {
  font-size: 27px;
}

.project-facts {
  margin: 0;
}

.project-facts > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.project-facts > div:last-child {
  padding-bottom: 0;
}

.project-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.project-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.6;
}

.project-facts dd strong {
  color: var(--accent-strong);
}

.change-section {
  background: white;
}

.change-section .section-heading .eyebrow,
.solution-approach-heading .eyebrow {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.change-section .section-heading .eyebrow {
  color: var(--rust);
}

.solution-approach-heading .eyebrow {
  color: var(--accent);
}

.bottleneck-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px minmax(0, 0.9fr);
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  border: 1px solid rgba(166, 91, 59, 0.26);
  border-radius: 20px;
  background: var(--rust-soft);
  padding: 34px;
}

.bottleneck-process,
.bottleneck-cause-arrow,
.bottleneck-problems {
  min-width: 0;
}

.bottleneck-process {
  display: flex;
  align-self: stretch;
  flex-direction: column;
}

.bottleneck-process > span {
  display: block;
  margin-bottom: 24px;
  color: var(--rust);
  font-size: 17px;
  font-weight: 860;
}

.bottleneck-process ol {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, minmax(76px, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottleneck-process li {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 22px;
  color: #473c37;
  font-size: 17px;
  font-weight: 760;
  text-align: center;
}

.bottleneck-process li:not(:last-child)::after {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  color: var(--rust);
  content: "↓";
  transform: translateX(-50%);
}

.bottleneck-cause-arrow {
  display: grid;
  align-content: center;
  justify-items: center;
  color: var(--rust);
}

.bottleneck-cause-arrow i {
  position: relative;
  display: block;
  width: calc(100% - 12px);
  height: 7px;
  border-radius: 999px;
  background: var(--rust);
}

.bottleneck-cause-arrow i::after {
  position: absolute;
  top: 50%;
  right: -11px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid var(--rust);
  content: "";
  transform: translateY(-50%);
}

.bottleneck-problems dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.bottleneck-problems dl > div {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(166, 91, 59, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
}

.bottleneck-problems dt {
  font-size: 24px;
  font-weight: 820;
}

.bottleneck-problems dd {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
}

.customer-environment-map {
  gap: 18px;
  justify-content: space-between;
}

.customer-environment-heading {
  display: grid;
  gap: 7px;
}

.customer-environment-heading > span {
  color: var(--rust);
  font-size: 17px;
  font-weight: 860;
}

.customer-environment-heading strong {
  color: #473c37;
  font-size: 20px;
  line-height: 1.35;
}

.customer-environment-list {
  display: grid;
  gap: 12px;
}

.customer-environment-card {
  display: grid;
  gap: 13px;
  border: 1px solid rgba(166, 91, 59, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 15px;
}

.customer-environment-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.customer-mark {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 8px;
  background: var(--rust);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.customer-mark img {
  width: 14px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.customer-mark-b {
  background: #7e5a43;
}

.customer-environment-title strong {
  color: #473c37;
  font-size: 15px;
}

.environment-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.environment-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(166, 91, 59, 0.16);
  border-radius: 8px;
  background: #fffaf8;
  padding: 7px 9px;
  color: #473c37;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.environment-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.customer-environment-more-list {
  display: grid;
  gap: 12px;
}

.customer-environment-card-more {
  width: 100%;
  min-height: 0;
}

.customer-environment-ellipsis {
  justify-self: center;
  color: var(--rust);
  font-size: 28px;
  line-height: 0.5;
}

.change-section .section-heading > p:last-child {
  max-width: none;
  font-size: 18px;
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .solution-hero-grid{
    grid-template-columns: 1fr;
  }}

@media (max-width: 680px) {
  .solution-hero {
    min-height: auto;
  }

  .solution-title {
    font-size: 36px;
  }

  .solution-hero .hero-lead {
    font-size: 17px;
  }}

/* De-slop pass: 설명은 보조 캡션이 아니라 핵심 본문으로 읽히게 한다. */
.manifest-profile-summary p,
.solution-subheading > span{
  color: #3f4459;
}

.manifest-profile-summary p {
  font-size: 16px;
  line-height: 1.72;
}

.manifest-profile-summary h4 {
  margin-top: 0;
}

/* Solution deployment story: comparison → pipeline → measurable workflow change */
.solution-page #change,
.solution-page #system,
.solution-page #result {
  scroll-margin-top: 72px;
}

@media (max-width: 860px) {

  .bottleneck-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .bottleneck-cause-arrow {
    padding: 2px 0;
  }

  .bottleneck-cause-arrow i {
    width: 7px;
    height: 54px;
  }

  .bottleneck-cause-arrow i::after {
    top: auto;
    right: auto;
    bottom: -11px;
    left: 50%;
    border-top: 20px solid var(--rust);
    border-right: 14px solid transparent;
    border-bottom: 0;
    border-left: 14px solid transparent;
    transform: translateX(-50%);
  }}

@media (max-width: 680px) {
  .change-section .section-heading .eyebrow,
  .solution-approach-heading .eyebrow {
    font-size: 17px;
  }

  .solution-page #change,
  .solution-page #system,
  .solution-page #result {
    scroll-margin-top: 120px;
  }

  .bottleneck-panel {
    gap: 28px;
    padding: 22px;
  }

  .bottleneck-process ol {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(70px, auto));
  }

  .bottleneck-process li {
    text-align: center;
    white-space: normal;
  }

  .bottleneck-process li:not(:last-child)::after {
    top: calc(100% + 4px);
    left: 50%;
    content: "↓";
    transform: translateX(-50%);
  }

  .customer-environment-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }}

/* Technical evidence and measured-result revision */

.solution-page .home-link {
  width: auto;
  padding: 0 12px;
}

.home-link-label {
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.solution-hero {
  min-height: min(720px, calc(82vh - 24px));
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
}

.solution-title {
  max-width: 700px;
  word-break: keep-all;
  text-wrap: balance;
}

.solution-hero .hero-lead {
  max-width: 690px;
}

.project-facts dd {
  font-size: 14px;
}

.project-scope-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-scope-list li {
  position: relative;
  padding-left: 13px;
  font-weight: 680;
  line-height: 1.45;
}

.project-scope-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "·";
}

.solution-info-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 540px;
}

.solution-info-stack span {
  display: inline-flex;
  border: 1px solid rgba(91, 75, 200, 0.2);
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 6px 9px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 760;
}

.solution-info-stack span:not(:last-child)::after {
  content: none;
}

.solution-page #solution,
.solution-page #implementation {
  scroll-margin-top: 72px;
}

.solution-approach-heading {
  max-width: 1200px;
  margin-bottom: 40px;
}

.solution-approach-heading > p {
  white-space: nowrap;
}

.solution-approach-heading h2 {
  display: block;
  font-size: clamp(40px, 3.8vw, 52px);
  line-height: 1.18;
  white-space: nowrap;
}

.solution-subsection + .solution-subsection {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 88px;
}

.solution-subheading {
  margin-bottom: 30px;
}

.solution-subheading > p {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.solution-subheading h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.solution-subheading > span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}

.manifest-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(400px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(91, 75, 200, 0.24);
  border-radius: 20px;
  background: white;
  padding: 34px;
}

.manifest-profile-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.manifest-profile-summary h4 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.35;
  word-break: keep-all;
}

.manifest-profile-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.manifest-profile-visual {
  margin-top: 30px;
  margin-bottom: 0;
}

.manifest-profile-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.manifest-code-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #171d35;
  color: #eef1fb;
}

.manifest-code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 22px;
}

.manifest-code-heading strong {
  flex: 0 0 auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  white-space: nowrap;
}

.manifest-code-heading span {
  color: rgba(238, 241, 251, 0.62);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.profile-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 22px 0;
}

.profile-tabs button {
  border: 1px solid rgba(95, 220, 196, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 13px;
  color: rgba(238, 241, 251, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.profile-tabs button:hover {
  border-color: rgba(95, 220, 196, 0.72);
  color: #fff;
}

.profile-tabs button[aria-selected="true"] {
  border-color: #5fdcc4;
  background: #eef1fb;
  color: #5445bd;
}

.profile-tabs button:focus-visible {
  outline: 3px solid rgba(95, 220, 196, 0.42);
  outline-offset: 2px;
}

.manifest-code-panel [role="tabpanel"][hidden] {
  display: none;
}

.manifest-code-panel pre {
  margin: 0;
  overflow-x: auto;
  padding: 24px 26px 28px;
  font-size: 14px;
  line-height: 1.75;
  tab-size: 2;
}

.manifest-code-panel code {
  color: #dfe2f7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.manifest-code-panel code span {
  color: #5fdcc4;
}

.manifest-code-panel code b {
  color: #f7cf8b;
  font-weight: 650;
}

.achievement-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  margin-bottom: 30px;
}

.achievement-metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 18px;
  background: var(--accent);
  padding: 24px 28px;
  color: white;
}

.achievement-metric > span {
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 850;
}

.achievement-metric > strong {
  font-size: clamp(52px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.achievement-metric h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.achievement-metric h3:last-child {
  margin-bottom: 0;
}

.achievement-metric p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.achievement-list {
  display: grid;
  gap: 10px;
}

.achievement-list article {
  display: grid;
  min-height: 136px;
  grid-template-columns: 130px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 20px;
  align-items: center;
  align-content: center;
  border: 1px solid rgba(91, 75, 200, 0.24);
  border-radius: 14px;
  background: white;
  padding: 24px;
}

.achievement-list article > strong {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent-strong);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: left;
}

.achievement-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.achievement-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .solution-hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .manifest-profile-card {
    grid-template-columns: 1fr;
  }

  .solution-approach-heading > p {
    white-space: normal;
  }

  .change-section .section-heading > p:last-child {
    white-space: normal;
  }

  .solution-approach-heading h2 {
    white-space: normal;
  }

  .achievement-summary {
    grid-template-columns: 1fr;
  }}

@media (max-width: 680px) {
  .solution-page .home-link {
    width: 40px;
    padding: 0;
  }

  .home-link-label {
    display: none;
  }

  .solution-hero {
    padding: 48px 18px;
  }

  .solution-title {
    max-width: 100%;
    font-size: 33px;
    line-height: 1.22;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .solution-title > span,
  .solution-title > em {
    display: inline;
  }

  .solution-title > span::after {
    content: " ";
  }

  .solution-hero .hero-lead {
    font-size: 16px;
  }

  .project-overview-card {
    padding: 22px;
  }

  .project-facts > div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .solution-approach-heading {
    margin-bottom: 32px;
  }

  .solution-approach-heading h2 {
    font-size: 32px;
    line-height: 1.24;
  }

  .solution-subsection + .solution-subsection {
    margin-top: 64px;
    padding-top: 60px;
  }

  .solution-subheading {
    margin-bottom: 24px;
  }

  .solution-subheading h3 {
    font-size: 28px;
  }

  .solution-subheading > span {
    font-size: 15px;
  }

  .achievement-metric {
    padding: 26px;
  }

  .achievement-list article {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 18px;
  }

  .achievement-list article > strong {
    font-size: 18px;
  }

  .achievement-list h3 {
    font-size: 17px;
  }

  .manifest-profile-card {
    gap: 22px;
    padding: 20px;
  }

  .manifest-profile-summary h4 {
    font-size: 23px;
  }

  .manifest-profile-visual {
    margin-top: 24px;
  }

  .manifest-code-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .manifest-code-panel pre {
    padding: 20px;
    font-size: 12px;
  }

  .profile-tabs {
    overflow-x: auto;
    padding: 14px 20px 0;
  }

  .profile-tabs button {
    flex: 0 0 auto;
  }}

/* 전체 포트폴리오 다크 테마: 솔루션 배포 사례 */
.solution-page {
  --rust: #e4ad78;
  --rust-soft: rgba(228, 173, 120, 0.09);
  --accent-soft: rgba(154, 139, 240, 0.1);
}

.solution-page :is(.change-section, .solution-result) {
  background: transparent;
}

.solution-page :is(
  .project-overview-card,
  .bottleneck-panel,
  .customer-environment-card,
  .customer-environment-card-more,
  .bottleneck-problems dl > div,
  .environment-chip,
  .manifest-profile-card,
  .story-stage[role="button"],
  .story-input-list > div,
  .story-output-list > div,
  .pipeline-stage-detail,
  .pipeline-stage-list li,
  .achievement-list article
) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.solution-page :is(
  .customer-environment-heading strong,
  .customer-environment-title strong,
  .bottleneck-problems dd,
  .manifest-profile-summary > p,
  .story-input-list small,
  .story-output-list small,
  .pipeline-stage-list span,
  .achievement-list p
) {
  color: var(--muted);
}

.solution-page :is(.manifest-profile-label, .solution-subheading > span, .story-stage > span) {
  color: var(--accent-strong);
}

.solution-page .achievement-metric {
  border: 1px solid rgba(154, 139, 240, 0.52);
  background: #413594;
  color: #fff;
}

.solution-page .manifest-profile-visual {
  color-scheme: light;
  overflow: hidden;
  border: 1px solid rgba(178, 186, 226, 0.28);
  border-radius: 14px;
  background: #f7f9fc;
  padding: 10px;
}

.solution-page .environment-chip img {
  border-radius: 5px;
  background: #f2f4fb;
  padding: 2px;
}

.solution-page :is(.project-pagination, .solution-case-cta) {
  border-color: var(--line);
  background: var(--surface);
}

/* 다크 테마 안에 남아 있던 라이트 하위 요소를 부모 카드와 같은 대비로 정리 */
body.solution-page .project-overview-card {
  border-color: var(--line);
  background: #0e1222;
  color: var(--ink);
}

/* 실제 dev 브랜치의 Job 분기 구조를 읽기 중심의 정적 아키텍처로 제공한다. */
.solution-page .ci-architecture {
  margin: 38px 0 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(154, 139, 240, 0.055), transparent 34%),
    var(--surface-soft);
  padding: 24px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.solution-page .ci-architecture-heading {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.solution-page .ci-architecture-heading > strong {
  color: var(--ink);
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.35;
}

.solution-page .ci-architecture-heading p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.solution-page .ci-architecture-heading code {
  border: 1px solid rgba(184, 173, 255, 0.22);
  border-radius: 5px;
  background: rgba(154, 139, 240, 0.08);
  padding: 2px 5px;
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.88em;
}

.solution-page .ci-architecture-visual {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(178, 186, 226, 0.2);
  border-radius: 20px;
  background: #080b16;
}

.solution-page .ci-architecture-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.solution-page .ci-architecture figcaption {
  margin: 18px 2px 0;
  border-left: 3px solid #6d63c9;
  padding: 3px 0 3px 14px;
  color: #c8cee4;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .solution-page .ci-architecture {
    margin-top: 30px;
    border-radius: 18px;
    padding: 18px 12px 14px;
  }

  .solution-page .ci-architecture-heading {
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .solution-page .ci-architecture-heading > strong {
    font-size: 22px;
  }

  .solution-page .ci-architecture-heading p {
    font-size: 14px;
  }

  .solution-page .ci-architecture-visual {
    border-radius: 14px;
  }

  .solution-page .ci-architecture figcaption {
    margin-top: 14px;
    font-size: 13px;
  }}
/* 해결 방안 단계 표식: 프로필화 → CI/CD 연동 → 무결성 검증을 번호로 잇는다.
   번호와 소제목은 한 줄에 붙이고, 설명만 그 아래로 내린다. */
.solution-page .solution-subheading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.solution-page .solution-step {
  grid-column: 1;
  margin: 0;
}

.solution-page .solution-subheading h3 {
  grid-column: 2;
}

.solution-page .solution-subheading > span {
  grid-column: 1 / -1;
}

.solution-page .solution-step > b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

/* 프로필 YAML·검증 코드 안의 주석은 값보다 한 단계 낮춰 읽는다. */
.manifest-code-panel code i {
  color: rgba(238, 241, 251, 0.44);
  font-style: normal;
  font-weight: 500;
}

/* 설명 문단을 없앤 뒤로는 다이어그램이 카드의 단독 내용이다. 위쪽 여백과
   figure 기본 좌우 여백(UA 40px)을 없애 칼럼 폭을 그대로 쓰게 한다. */
.solution-page .manifest-profile-visual:first-child {
  margin: 0;
}

.solution-page .integrity-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1080px) {
  .solution-page .integrity-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  /* 좁은 화면에서 소제목이 두 줄로 넘어가도 번호는 첫 줄에 붙어 있게 한다. */
  .solution-page .solution-subheading {
    align-items: start;
    column-gap: 11px;
  }

  .solution-page .solution-step {
    margin-top: 3px;
  }

  .solution-page .solution-step > b {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .solution-page .integrity-grid {
    gap: 16px;
  }
}
