.ax-page {
  --ax-blue: #315f73;
  --ax-blue-soft: #eaeef8;
  --ax-ink: #181d2e;
}

/* 섹션 소제목을 유지하고, 설명문은 본문과 같은 대비로 읽히게 한다. */
.ax-page .ax-problem-grid p,
.ax-page .ax-control-rail article p,
.ax-page .ax-assembly-intro > p,
.ax-page .ax-release-summary,
.ax-page .ax-contract-points p,
.ax-page .ax-result-row > span {
  color: #3f4459;
}

.ax-page .ax-problem-grid p,
.ax-page .ax-control-rail article p,
.ax-page .ax-assembly-intro > p,
.ax-page .ax-release-summary,
.ax-page .ax-contract-points p {
  font-size: 15px;
  line-height: 1.7;
}

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

.ax-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.ax-title {
  max-width: 720px;
  font-size: clamp(44px, 4.2vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

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

.ax-hero .hero-lead strong {
  color: var(--accent-strong);
  font-weight: 820;
}

.ax-problem-section {
  background: white;
}

.ax-problem-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ax-problem-grid article {
  position: relative;
  min-height: 190px;
  border: 1px solid rgba(166, 91, 59, 0.22);
  border-radius: 14px;
  background: #f9f1ed;
  padding: 25px;
}

.ax-problem-grid strong {
  display: block;
  margin: 0 0 12px;
  font-size: 19px;
}

.ax-problem-grid p,
.ax-contract-points p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.ax-contract-section {
  background: white;
}

.ax-contract-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
}

.ax-example-card {
  overflow: hidden;
  border-radius: 16px;
  background: var(--ax-ink);
}

.ax-example-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 720;
}

.ax-example-label strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  padding: 6px 10px;
  color: white;
  font-size: 10px;
}

.ax-commit-sample {
  overflow: auto;
  margin: 0;
  border-radius: 0;
  background: var(--ax-ink);
  padding: 26px 30px 30px;
  color: #f6f7fe;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.72;
  white-space: pre-wrap;
}

.ax-commit-sample code {
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.ax-contract-points {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ax-contract-points article {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  padding: 22px;
}

.ax-contract-points span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
}

.ax-contract-points strong {
  font-size: 19px;
  line-height: 1.45;
}

.ax-contract-points p {
  font-size: 15px;
  line-height: 1.7;
}

.ax-result-statement {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  border-radius: 14px;
  background: var(--ax-ink);
  padding: 24px 28px;
  color: white;
  word-break: keep-all;
}

.ax-result-statement span {
  color: #5fdcc4;
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.ax-result-statement strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

.ax-result-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

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

  .ax-hero-grid,
  .ax-contract-grid {
    grid-template-columns: 1fr;
  }

  .ax-problem-grid{
    grid-template-columns: 1fr 1fr;
  }}

@media (max-width: 680px) {
  .ax-title {
    font-size: 36px;
  }

  .ax-problem-grid{
    grid-template-columns: 1fr;
  }

  .ax-commit-sample {
    padding: 20px;
    font-size: 13px;
  }}

/* Release-note automation: controlled commits converging into one release */

.ax-page #problem,
.ax-page #system,
.ax-page #result {
  scroll-margin-top: 72px;
}

.ax-control-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
}

.ax-control-rail article {
  display: grid;
  min-height: 196px;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 24px;
}

.ax-control-rail article > span {
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.ax-control-rail article strong {
  min-height: 52px;
  font-size: 19px;
  line-height: 1.42;
  word-break: keep-all;
}

.ax-control-rail article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  word-break: keep-all;
}

.ax-control-rail > i {
  position: relative;
  align-self: center;
  height: 2px;
  background: var(--accent);
}

.ax-control-rail > i::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

/* De-slop pass: 단계 번호를 작은 라벨 대신 본문과 같은 축에 둔다. */
.ax-control-rail article {
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
}

.ax-control-rail article > span {
  grid-row: 1 / 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(91, 75, 200, 0.3);
  border-radius: 50%;
  font-size: 12px;
}

.ax-control-rail article strong,
.ax-control-rail article p {
  grid-column: 2;
}

.ax-control-rail article strong {
  min-height: 0;
}

.ax-control-rail article p,
.ax-contract-points p {
  color: #3f4459;
  font-size: 15px;
}

.ax-contract-points article {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 14px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
}

.ax-contract-points span {
  grid-row: 1 / 3;
  grid-column: 1;
  font-size: 13px;
}

.ax-contract-points strong,
.ax-contract-points p {
  grid-column: 2;
}

.ax-result-comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.ax-result-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr);
}

.ax-result-row > * {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  color: #3f4459;
  font-size: 15px;
  line-height: 1.65;
}

.ax-result-row > * + * {
  border-left: 1px solid var(--line);
}

.ax-result-row:last-child > * {
  border-bottom: 0;
}

.ax-result-row strong {
  color: var(--ink);
  font-size: 16px;
}

.ax-result-row > :last-child {
  background: rgba(91, 75, 200, 0.06);
  color: var(--ink);
  font-weight: 680;
}

.ax-result-row.heading > * {
  background: var(--ax-ink);
  color: white;
  font-size: 12px;
  font-weight: 820;
}

.ax-page .ax-result-row.heading > * {
  color: white;
}

@media (max-width: 680px) {
  .ax-result-comparison {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ax-result-row.heading {
    display: none;
  }

  .ax-result-row {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: white;
  }

  .ax-result-row > *,
  .ax-result-row:last-child > * {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }

  .ax-result-row > :nth-child(2)::before,
  .ax-result-row > :nth-child(3)::before {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 820;
  }

  .ax-result-row > :nth-child(2)::before {
    content: "기존";
  }

  .ax-result-row > :nth-child(3)::before {
    content: "개선";
  }

  .ax-result-row > :last-child {
    border-bottom: 0;
  }}

.ax-pipeline-bridge {
  position: relative;
  z-index: 2;
  height: 68px;
}

.ax-pipeline-bridge::before {
  position: absolute;
  top: 0;
  right: calc((100% - 88px) / 6);
  left: 50%;
  height: 42px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  content: "";
}

.ax-pipeline-bridge > span {
  position: absolute;
  top: 42px;
  left: 50%;
  height: 22px;
  border-left: 2px solid var(--accent);
}

.ax-pipeline-bridge > span::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.ax-pipeline-bridge + .ax-release-assembly {
  margin-top: 0;
}

.ax-release-assembly {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 34px);
}

.ax-assembly-intro {
  display: grid;
  max-width: 760px;
  gap: 8px;
}

.ax-assembly-intro > span,
.ax-flow-label {
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.ax-assembly-intro > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(91, 75, 200, 0.28);
  border-radius: 50%;
  background: white;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ax-assembly-intro > strong {
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.38;
  word-break: keep-all;
}

.ax-assembly-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.tag-point {
  display: inline-grid;
  min-width: 60px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(91, 75, 200, 0.28);
  border-radius: 999px;
  background: white;
  color: var(--accent-strong);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 850;
}

.tag-point.current {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.timeline-commit-cards {
  display: grid;
  gap: 9px;
}

.timeline-commit-cards article {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  padding: 14px 20px 12px;
}

.timeline-commit-cards article strong {
  font-size: 17px;
  line-height: 1.4;
  word-break: keep-all;
}

.commit-prefix {
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 900;
}

.commit-prefix.feature {
  color: #5445bd;
}

.commit-prefix.fix {
  color: #5445bd;
}

.commit-prefix.performance {
  color: var(--ax-blue);
}

.commit-continuation {
  color: #8b91ab;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.tag-commit-flow {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.commit-visual {
  position: relative;
  display: grid;
  gap: 14px;
}

.tag-timeline,
.timeline-commit-cards,
.commit-merge-lines {
  display: grid;
  grid-template-columns: 72px repeat(3, minmax(0, 1fr)) 72px;
  column-gap: 14px;
}

.tag-timeline {
  position: relative;
  z-index: 1;
  min-height: 62px;
  align-items: end;
}

.tag-timeline::before {
  position: absolute;
  right: 36px;
  bottom: 17px;
  left: 36px;
  border-top: 2px solid rgba(91, 75, 200, 0.55);
  content: "";
}

.tag-timeline::after {
  position: absolute;
  right: 35px;
  bottom: 13px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.tag-timeline .tag-point {
  position: relative;
  z-index: 1;
}

.commit-axis-node {
  position: relative;
  z-index: 1;
  height: 34px;
}

.commit-axis-node b {
  position: absolute;
  right: 0;
  bottom: 29px;
  left: 0;
  font-size: 10px;
  font-weight: 820;
  text-align: center;
  white-space: nowrap;
}

.commit-axis-node i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid white;
  border-radius: 999px;
  box-shadow: 0 1px 6px rgba(14, 16, 44, 0.2);
  transform: translate(-50%, -50%);
}

.commit-axis-node i::after {
  position: absolute;
  top: 13px;
  left: 50%;
  height: 22px;
  border-left: 2px solid currentColor;
  content: "";
  transform: translateX(-50%);
}

.commit-axis-node.feature,
.commit-axis-node.feature i {
  color: #5445bd;
}

.commit-axis-node.feature i {
  background: #5445bd;
}

.commit-axis-node.fix,
.commit-axis-node.fix i {
  color: #5445bd;
}

.commit-axis-node.fix i {
  background: #5445bd;
}

.commit-axis-node.performance,
.commit-axis-node.performance i {
  color: var(--ax-blue);
}

.commit-axis-node.performance i {
  background: var(--ax-blue);
}

.timeline-commit-cards {
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.timeline-commit-cards article:nth-child(1) {
  grid-column: 2;
}

.timeline-commit-cards article:nth-child(2) {
  grid-column: 3;
}

.timeline-commit-cards article:nth-child(3) {
  grid-column: 4;
}

.timeline-commit-cards article {
  min-width: 0;
  min-height: 84px;
  padding: 14px 16px 12px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.timeline-commit-cards article:hover {
  border-color: rgba(91, 75, 200, 0.42);
  background: #eaecf9;
}

.timeline-commit-cards article:focus-visible {
  outline: 3px solid rgba(91, 75, 200, 0.28);
  outline-offset: 3px;
}

.timeline-commit-cards article.is-active {
  border-color: var(--accent);
  background: #e8e9fa;
}

.timeline-commit-cards article.is-muted {
  color: #9ea6c6;
  background: #f5f6fc;
  border-color: #dfe2f4;
}

.release-note-sheet li.is-muted {
  opacity: 0.34;
}

.tag-timeline .is-muted,
.commit-merge-lines .is-muted,
.commit-merge-lines .is-muted {
  opacity: 0.12;
}

.tag-timeline .is-active,
.commit-merge-lines .is-active,
.commit-merge-lines .is-active {
  opacity: 1;
}

.timeline-commit-cards article strong {
  font-size: 15px;
}

.commit-merge-lines {
  position: relative;
  display: block;
  z-index: 1;
  min-height: 96px;
  margin-top: -14px;
}

.branch-slot {
  position: absolute;
  top: 0;
  width: 2px;
  height: 36px;
  background: currentColor;
  transform: translateX(-50%);
}

.branch-slot.feature {
  color: #5445bd;
}

.branch-slot.fix {
  color: #5445bd;
}

.branch-slot.performance {
  color: var(--ax-blue);
}

.merge-target::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.merge-segment {
  position: absolute;
  top: 35px;
  height: 2px;
  background: currentColor;
}

.merge-segment.feature,
.merge-segment.fix {
  color: #5445bd;
}

.merge-segment.performance {
  color: var(--ax-blue);
}

.merge-target {
  position: absolute;
  top: 35px;
  width: 2px;
  height: 50px;
  background: var(--accent);
  transform: translateX(-50%);
}

.merge-target::after {
  bottom: -1px;
  left: -3px;
  color: var(--accent);
}

.tag-commit-flow .ax-generated-release {
  width: min(520px, 100%);
  justify-self: center;
}

.ax-generated-release {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(91, 75, 200, 0.34);
  border-radius: 14px;
  background: rgba(91, 75, 200, 0.06);
}

.release-note-sheet {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px 18px;
}

.release-note-sheet > span {
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.release-note-sheet > strong {
  font-size: 20px;
}

.release-note-sheet ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.release-note-sheet li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(91, 75, 200, 0.14);
  padding-top: 9px;
  transition: background-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.release-note-sheet li.is-active {
  border-radius: 8px;
  background: rgba(91, 75, 200, 0.08);
  box-shadow: 0 0 0 7px rgba(91, 75, 200, 0.08);
}

.release-note-sheet li b {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  border-radius: 7px;
  font-size: 11px;
}

.release-note-sheet li.feature b {
  background: #eaecf9;
  color: #5445bd;
}

.release-note-sheet li.fix b {
  background: #eaecf9;
  color: #5445bd;
}

.release-note-sheet li.performance b {
  background: var(--ax-blue-soft);
  color: var(--ax-blue);
}

.release-note-sheet li small {
  color: var(--muted);
  font-size: 11px;
}

.ax-release-summary {
  max-width: 900px;
  margin: 22px 0 0;
  border-left: 3px solid var(--accent);
  padding: 5px 0 5px 18px;
  color: #373c52;
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .ax-control-rail {
    grid-template-columns: 1fr;
  }

  .ax-control-rail > i {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .ax-control-rail > i::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .ax-control-rail article {
    min-height: 0;
  }

  .ax-control-rail article strong {
    min-height: 0;
  }

  .ax-pipeline-bridge {
    height: 52px;
  }

  .ax-pipeline-bridge::before {
    display: none;
  }

  .ax-pipeline-bridge > span {
    top: 0;
    left: 50%;
    height: 48px;
  }

  .ax-release-assembly {
    grid-template-columns: 1fr;
  }

  .ax-assembly-intro {
    grid-column: auto;
  }}

@media (max-width: 680px) {
  .ax-page #problem,
  .ax-page #system,
  .ax-page #result {
    scroll-margin-top: 120px;
  }

  .ax-page .section-heading h2 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: wrap;
    word-break: keep-all;
  }

  .ax-control-rail article {
    padding: 22px;
  }

  .ax-release-assembly {
    gap: 22px;
    padding: 20px;
  }

  .tag-timeline {
    grid-template-columns: 48px repeat(3, minmax(0, 1fr)) 48px;
    column-gap: 4px;
  }

  .tag-timeline::before {
    right: 24px;
    left: 24px;
  }

  .tag-timeline::after {
    right: 23px;
  }

  .tag-timeline .tag-point {
    min-width: 46px;
    font-size: 9px;
  }

  .commit-axis-node b {
    font-size: 8px;
  }

  .timeline-commit-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .timeline-commit-cards article:nth-child(1),
  .timeline-commit-cards article:nth-child(2),
  .timeline-commit-cards article:nth-child(3) {
    grid-column: 1;
  }

  .timeline-commit-cards article {
    min-height: 0;
    padding: 14px 16px 12px;
  }

  .timeline-commit-cards article strong {
    font-size: 16px;
  }

  .commit-merge-lines {
    position: relative;
    display: block;
    min-height: 96px;
  }

  .commit-merge-lines .branch-slot {
    display: none;
  }

  .ax-release-summary {
    font-size: 14px;
  }}

/* 전체 포트폴리오 다크 테마: 패치노트 자동화 사례 */
.ax-page {
  --ax-blue: #8bc7e8;
  --ax-blue-soft: rgba(139, 199, 232, 0.11);
  --ax-ink: #0c0f1c;
  --accent-soft: rgba(154, 139, 240, 0.1);
}

.ax-page :is(.ax-problem-section, .ax-contract-section, .ax-result-section) {
  background: transparent;
}

.ax-page :is(
  .ax-problem-grid article,
  .ax-control-rail article,
  .ax-contract-points article,
  .ax-result-comparison,
  .ax-result-row,
  .ax-release-assembly,
  .tag-point,
  .timeline-commit-cards article,
  .ax-generated-release
) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.ax-page :is(
  .ax-problem-grid p,
  .ax-control-rail article p,
  .ax-assembly-intro > p,
  .ax-release-summary,
  .ax-contract-points p,
  .commit-interaction-hint,
  .ax-result-row > span,
  .release-note-sheet li small
) {
  color: var(--muted);
}

.ax-page :is(.ax-change-block.is-before, .ax-problem-grid article:first-child) {
  border-color: rgba(239, 161, 127, 0.34);
  background: rgba(239, 161, 127, 0.09);
}

.ax-page :is(.ax-change-block.is-after, .ax-generated-release) {
  border-color: rgba(154, 139, 240, 0.4);
  background: rgba(154, 139, 240, 0.09);
}

.ax-page .timeline-commit-cards article:hover {
  border-color: rgba(154, 139, 240, 0.5);
  background: rgba(154, 139, 240, 0.08);
}

.ax-page .timeline-commit-cards article.is-active {
  border-color: var(--accent);
  background: rgba(154, 139, 240, 0.14);
}

.ax-page .timeline-commit-cards article.is-muted {
  border-color: var(--line);
  background: var(--surface-soft);
  opacity: 0.48;
}

.ax-page :is(.commit-axis-node i, .tag-range-track i) {
  border-color: var(--surface);
}

.ax-page :is(
  .commit-axis-node.feature,
  .commit-axis-node.feature i,
  .commit-axis-node.fix,
  .commit-axis-node.fix i,
  .commit-prefix.feature,
  .commit-prefix.fix
) {
  color: var(--accent-strong);
}

.ax-page :is(.commit-axis-node.feature i, .commit-axis-node.fix i) {
  background: var(--accent);
}

.ax-page .ax-result-row.heading {
  background: #413594;
  color: #fff;
}

.ax-page .release-note-sheet li.feature b,
.ax-page .release-note-sheet li.fix b {
  background: rgba(154, 139, 240, 0.16);
  color: var(--accent-strong);
}

.ax-page .release-note-sheet li.performance b {
  background: var(--ax-blue-soft);
  color: var(--ax-blue);
}

/* 채움색 배지는 흰 글자를 받는 짙은 초록, 선/라벨은 밝은 초록으로 분리 */
.ax-page .ax-assembly-intro > span {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.ax-page .ax-example-label strong {
  background: #5b4bc8;
  color: #fff;
}

.ax-page .tag-commit-flow > :not(.detail-canvas) {
  position: relative;
  z-index: 1;
}

@media (max-width: 560px) {
  .ax-page .commit-axis-node b,
  .ax-page .tag-point {
    font-size: 10px;
  }}

/* Skill 설명 단계는 번호와 본문이 카드 경계에 붙지 않도록 충분한 내부 여백을 둔다. */
.ax-page .ax-contract-points {
  gap: 14px;
}

.ax-page .ax-contract-points article {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(154, 139, 240, 0.055), transparent 58%),
    var(--surface);
  padding: 22px;
}

.ax-page .ax-contract-points span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-self: start;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 173, 255, 0.34);
  border-radius: 10px;
  background: rgba(154, 139, 240, 0.1);
  font-size: 11px;
}

@media (max-width: 560px) {
  .ax-page .ax-contract-points article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 18px;
  }

  .ax-page .ax-contract-points span {
    width: 32px;
    height: 32px;
  }

  .ax-page .ax-contract-points strong {
    font-size: 17px;
  }}