.cost-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 10px;
}

.cost-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 18px;
  color: #7890ad;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.cost-breadcrumb a {
  color: #4e6684;
  text-decoration: none;
  transition: color .18s ease;
}

.cost-breadcrumb > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cost-hero {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 520px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.cost-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 34px 42px 40px max(20px, calc((100vw - 1280px) / 2));
}

.cost-hero .article-badge {
  padding: 0;
  background: transparent;
  color: #0b64df;
  letter-spacing: .02em;
}

.cost-hero h1 {
  max-width: 600px;
  margin: 22px 0 18px;
  color: #061b3a;
  font-size: clamp(42px, 3.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.cost-hero .article-deck {
  max-width: 600px;
  color: #5d6f87;
  font-size: 18px;
  line-height: 1.62;
}

.cost-hero .article-meta {
  gap: 10px 18px;
  margin-top: 24px;
}

.cost-hero .article-meta span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #526b88;
  font-size: 13px;
}

.cost-formula-band {
  width: min(1280px, calc(100% - 40px));
  gap: 0;
  margin: 0 auto 30px;
  border-top: 1px solid #d8e3ef;
  border-bottom: 1px solid #d8e3ef;
}

.cost-formula-band .formula-item {
  min-width: 0;
  padding: 17px 22px 18px;
  border: 0;
  border-right: 1px solid #d8e3ef;
  border-radius: 0;
  background: transparent;
}

.cost-formula-band .formula-item:first-child {
  padding-left: 0;
}

.cost-formula-band .formula-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.cost-formula-band .formula-item b {
  color: #11233d;
  font-size: 16px;
}

.cost-formula-band .formula-item span {
  color: #657a94;
  font-size: 13px;
  line-height: 1.5;
}

.cost-hero .hero-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eef5fb;
}

.cost-hero .hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 24%, rgba(255,255,255,.48) 62%, rgba(255,255,255,0) 100%);
}

.cost-hero .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 52% 50%;
}

.cost-page .article-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 30px auto 0;
}

@media (hover: hover) and (pointer: fine) {
  .cost-breadcrumb a:hover {
    color: #0b64df;
  }
}

@media (max-width: 1080px) {
  .cost-hero {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .cost-hero-copy {
    padding-top: 28px;
    padding-right: 28px;
    padding-bottom: 28px;
  }

  .cost-hero h1 {
    font-size: clamp(42px, 4.4vw, 46px);
  }
}

@media (max-width: 900px) {
  .cost-breadcrumb {
    width: min(100% - 32px, 760px);
    padding: 18px 0 10px;
  }

  .cost-hero {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cost-hero-copy {
    padding: 34px max(16px, calc((100vw - 760px) / 2)) 30px;
  }

  .cost-hero .hero-visual {
    min-height: 410px;
    margin: 0;
  }

  .cost-hero .hero-visual::before {
    display: none;
  }

  .cost-hero .hero-visual img {
    min-height: 410px;
    object-position: 50% 47%;
  }

  .cost-formula-band {
    width: min(100% - 32px, 760px);
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .cost-breadcrumb {
    gap: 7px;
    width: min(100% - 28px, 760px);
    padding: 16px 0 8px;
    font-size: 12px;
  }

  .cost-hero {
    width: 100%;
  }

  .cost-hero-copy {
    padding: 28px 14px 24px;
  }

  .cost-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 10.3vw, 44px);
    line-height: 1.06;
  }

  .cost-hero .article-deck {
    font-size: 17px;
    line-height: 1.58;
  }

  .cost-hero .article-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 14px;
    margin-top: 20px;
  }

  .cost-formula-band {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 760px);
    margin-bottom: 22px;
  }

  .cost-formula-band .formula-item,
  .cost-formula-band .formula-item:first-child,
  .cost-formula-band .formula-item:last-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid #d8e3ef;
  }

  .cost-formula-band .formula-item:last-child {
    border-bottom: 0;
  }

  .cost-hero .hero-visual {
    min-height: 330px;
    margin-inline: 0;
  }

  .cost-hero .hero-visual img {
    min-height: 330px;
    object-position: 54% 50%;
  }

  .cost-page .article-layout {
    width: min(100% - 28px, 760px);
    margin-top: 22px;
  }
}

/* Article body — diagram-led B2B layout */
.budget-map-section,
.cost-summary-section,
.estimate-route {
  width: min(1280px, calc(100% - 40px));
  margin: 24px auto 0;
  border: 1px solid #d6e4f5;
  border-radius: 8px;
  background: #fff;
}

.budget-map-section {
  padding: 28px 24px 20px;
}

.body-section-heading {
  margin-bottom: 22px;
  text-align: center;
}

.body-section-heading h2,
.cost-summary-section h2,
.estimate-route h2 {
  margin: 0;
  color: #0a1f3e;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

.body-section-heading h2 {
  font-size: 30px;
  line-height: 1.18;
}

.body-section-heading p {
  margin: 8px 0 0;
  color: #0b64df;
  font-size: 15px;
  font-weight: 800;
}

.budget-map-flow {
  display: grid;
  grid-template-columns: 150px 24px minmax(0, 1fr) 24px 150px 24px 130px;
  gap: 9px;
  align-items: center;
}

.budget-node,
.budget-factor {
  min-width: 0;
  min-height: 230px;
  padding: 18px 14px;
  border: 1px solid #0b64df;
  border-radius: 8px;
  background: #fff;
}

.budget-node {
  display: flex;
  flex-direction: column;
}

.budget-node img,
.budget-factor img {
  display: block;
  margin: 0 auto 14px;
}

.budget-node h3,
.budget-factor h3 {
  min-height: 38px;
  margin: 0;
  color: #102541;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.budget-node ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  color: #546a85;
  font-size: 12px;
  line-height: 1.4;
  list-style: none;
}

.budget-factor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.budget-factor-group {
  position: relative;
  min-width: 0;
}

.budget-factor-rail {
  position: absolute;
  top: -17px;
  right: 7%;
  left: 7%;
  height: 16px;
  border-top: 1px solid #0b64df;
}

.budget-factor-rail img {
  position: absolute;
  top: -2px;
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.budget-factor-rail img:first-child {
  left: -7px;
}

.budget-factor-rail img:last-child {
  right: -7px;
}

.budget-factor-rail::before,
.budget-factor-rail::after {
  position: absolute;
  top: 0;
  height: 15px;
  border-left: 1px solid #0b64df;
  content: "";
}

.budget-factor-rail::before {
  left: 50%;
}

.budget-factor-rail::after {
  left: 75%;
}

.budget-factor {
  min-height: 230px;
}

.budget-factor:nth-child(n+2) {
  border-color: #0ea8d5;
}

.budget-factor p {
  margin: 14px 0 0;
  color: #546a85;
  font-size: 12px;
  line-height: 1.65;
}

.budget-node--result {
  border-color: #15955f;
  background: linear-gradient(180deg, #fff 0%, #f3fbf7 100%);
}

.budget-node--result h3 {
  color: #087a4b;
}

.budget-node img,
.budget-factor img {
  filter: invert(34%) sepia(97%) saturate(2936%) hue-rotate(207deg) brightness(91%) contrast(98%);
}

.budget-factor:nth-child(n+2) img {
  filter: invert(54%) sepia(88%) saturate(1609%) hue-rotate(151deg) brightness(91%) contrast(91%);
}

.budget-node--result img {
  filter: invert(44%) sepia(52%) saturate(928%) hue-rotate(105deg) brightness(87%) contrast(94%);
}

.budget-node-icon {
  display: flex;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid #0b64df;
  border-radius: 50%;
}

.budget-node-icon img {
  width: 20px;
  height: 20px;
  margin: 0;
}

.budget-node--result .budget-node-icon {
  border-color: #15955f;
}

.map-arrow,
.route-arrow {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.budget-map-flow > .map-arrow,
.budget-factor-rail img {
  filter: invert(34%) sepia(97%) saturate(2936%) hue-rotate(207deg) brightness(91%) contrast(98%);
}

.budget-map-feedback {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid #d6e4f5;
  border-radius: 8px;
  background: #f4f8fd;
}

.budget-return-loop {
  position: relative;
  display: flex;
  min-height: 48px;
  margin: 8px 74px 0 46px;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 7px;
  border-right: 1px dashed #6f8199;
  border-bottom: 1px dashed #6f8199;
  border-left: 1px dashed #6f8199;
  border-radius: 0 0 14px 14px;
}

.budget-return-loop__inner span {
  max-width: 420px;
  padding: 0 12px;
  background: #fff;
  color: #405873;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.budget-return-loop > img,
.budget-return-loop__inner img {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
  filter: invert(28%) sepia(17%) saturate(1150%) hue-rotate(171deg) brightness(92%) contrast(88%);
}

.budget-return-loop > img:first-child,
.budget-return-loop__inner img:first-child {
  left: -8px;
}

.budget-return-loop > img:last-child,
.budget-return-loop__inner img:last-child {
  right: -8px;
}

.budget-return-loop__inner {
  position: absolute;
  top: 0;
  right: 15%;
  left: 15%;
  display: flex;
  height: 30px;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 5px;
  border-right: 1px dashed #6f8199;
  border-bottom: 1px dashed #6f8199;
  border-left: 1px dashed #6f8199;
  border-radius: 0 0 10px 10px;
}

.budget-map-feedback img {
  width: 30px;
  height: 30px;
  filter: invert(34%) sepia(97%) saturate(2936%) hue-rotate(207deg) brightness(91%) contrast(98%);
}

.budget-map-feedback p {
  margin: 0;
  color: #4d6582;
  font-size: 14px;
  line-height: 1.55;
}

.budget-map-feedback strong {
  color: #102541;
}

.cost-summary-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.summary-intro {
  padding: 24px 22px;
  border-right: 1px solid #d6e4f5;
  background: #f7faff;
}

.summary-intro > span {
  display: block;
  margin-bottom: 8px;
  color: #0b64df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.summary-intro h2 {
  font-size: 22px;
  line-height: 1.25;
}

.summary-intro p {
  margin: 12px 0 0;
  color: #60758f;
  font-size: 14px;
  line-height: 1.55;
}

.cost-summary-section .scenario-grid--summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.cost-summary-section .scenario {
  position: relative;
  min-height: 210px;
  padding: 24px 20px 20px;
  border: 0;
  border-right: 1px solid #d6e4f5;
  border-radius: 0;
  background: #fff;
}

.cost-summary-section .scenario:last-child {
  border-right: 0;
}

.cost-summary-section .scenario small {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin: 0 0 14px;
  place-items: center;
  border-radius: 50%;
  background: #0b64df;
  color: #fff;
  font-size: 13px;
}

.cost-summary-section .scenario--sales small {
  background: #10a8cf;
}

.cost-summary-section .scenario--project small {
  background: #15955f;
}

.cost-summary-section .scenario b {
  font-size: 17px;
}

.cost-summary-section .scenario span {
  font-size: 14px;
  line-height: 1.55;
}

.cost-summary-section .scenario .summary-definition {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed #d6e4f5;
  color: #61758d;
  font-size: 12px;
  line-height: 1.5;
}

.cost-summary-section .scenario .summary-definition strong {
  color: #102541;
}

.estimate-route {
  padding: 22px 24px;
}

.estimate-route > h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.estimate-route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.estimate-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.estimate-step > img {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid #cfe0f3;
  border-radius: 50%;
  background: #f7faff;
}

.estimate-step > span {
  color: #0b64df;
  font-size: 12px;
  font-weight: 800;
}

.estimate-step h3 {
  margin: 0;
  color: #102541;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.estimate-step p {
  margin: 5px 0 0;
  color: #61758d;
  font-size: 13px;
  line-height: 1.5;
}

.cost-page .article-layout {
  grid-template-columns: minmax(0, 830px) 320px;
  gap: 32px;
  width: min(1280px, calc(100% - 40px));
  margin-top: 30px;
}

.cost-page .article-main {
  gap: 0;
}

.cost-page .article-main > .article-card,
.cost-page .article-main > .source-box {
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid #dce6f1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cost-page .article-main > .article-card + .article-card,
.cost-page .article-main > .article-card + .source-box,
.cost-page .article-main > .source-box + .article-card {
  padding-top: 30px;
}

.cost-page .article-main > .cta-soft {
  margin: 30px 0;
}

.cost-page .article-card h2,
.cost-page .source-box h2 {
  color: #0a1f3e;
  font-size: 28px;
}

.cost-page .article-card p,
.cost-page .source-box p,
.cost-page .article-card ul {
  color: #4f6681;
  font-size: 17px;
  line-height: 1.68;
}

.cost-page #main-idea .lead-note {
  padding: 18px 20px;
  border: 1px solid #d6e4f5;
  border-radius: 8px;
  background: #f4f8fd;
}

.cost-page .budget-grid {
  display: block;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #d6e4f5;
  border-radius: 8px;
}

.budget-table-head,
.cost-page .budget-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.budget-table-head {
  padding: 12px 16px;
  border-bottom: 1px solid #d6e4f5;
  background: #f4f8fd;
  color: #102541;
  font-size: 12px;
  font-weight: 800;
}

.cost-page .budget-item {
  align-items: start;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #d6e4f5;
  border-radius: 0;
  background: #fff;
}

.cost-page .budget-item:last-child {
  border-bottom: 0;
}

.cost-page .budget-item small {
  display: inline-grid;
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  margin: 0;
  place-items: center;
  border-radius: 8px;
  background: #eef6ff;
  color: #0b64df;
}

.cost-page .budget-item b {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin-left: 42px;
  font-size: 15px;
}

.cost-page .budget-item > span:not(.budget-impact) {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #526983;
  font-size: 14px;
  line-height: 1.55;
}

.cost-page .budget-item .budget-impact {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: #526983;
  font-size: 14px;
  line-height: 1.55;
}

.cost-page .price-table,
.cost-page .scenario-grid,
.cost-page .hidden-grid,
.cost-page .faq-list {
  margin-top: 20px;
}

.cost-page .scenario,
.cost-page .hidden-item,
.cost-page .faq-item {
  box-shadow: none;
}

.cost-aside {
  top: 92px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cost-aside > h3,
.cost-aside .toc,
.cost-aside .aside-note,
.cost-aside .aside-expertise,
.cost-aside .aside-cta {
  border-right: 1px solid #d6e4f5;
  border-left: 1px solid #d6e4f5;
  background: #fff;
}

.cost-aside > h3 {
  margin: 0;
  padding: 20px 20px 12px;
  border-top: 1px solid #d6e4f5;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
}

.cost-aside .toc {
  padding: 0 20px 18px;
}

.cost-aside .aside-note {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid #d6e4f5;
  border-bottom: 1px solid #d6e4f5;
  border-radius: 0 0 8px 8px;
  background: #f4f8fd;
}

.aside-expertise,
.aside-cta {
  margin-top: 14px;
  padding: 20px;
  border-top: 1px solid #d6e4f5;
  border-bottom: 1px solid #d6e4f5;
  border-radius: 8px;
}

.aside-expertise h3,
.aside-cta h3 {
  margin: 0;
  color: #102541;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
}

.aside-expertise p,
.aside-cta p {
  margin: 10px 0 0;
  color: #5b718c;
  font-size: 14px;
  line-height: 1.55;
}

.aside-expertise a,
.aside-cta > a:last-child {
  display: inline-block;
  margin-top: 12px;
  color: #0b64df;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.aside-cta > img {
  display: block;
  margin-bottom: 14px;
}

.aside-cta .btn {
  display: flex;
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .budget-map-section {
    overflow-x: auto;
  }

  .budget-map-flow {
    min-width: 1080px;
  }

  .cost-page .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .budget-map-section,
  .cost-summary-section,
  .estimate-route,
  .cost-page .article-layout {
    width: min(100% - 32px, 760px);
  }

  .budget-map-section {
    overflow: visible;
    padding: 24px 18px 18px;
  }

  .budget-map-flow {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .budget-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .budget-node,
  .budget-factor {
    min-height: 0;
  }

  .map-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .budget-factor-rail {
    display: none;
  }

  .budget-return-loop {
    display: none;
  }

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

  .summary-intro {
    border-right: 0;
    border-bottom: 1px solid #d6e4f5;
  }

  .cost-page .article-layout {
    grid-template-columns: 1fr;
  }

  .cost-aside {
    position: static;
    order: 0;
  }
}

@media (max-width: 700px) {
  .cost-summary-section .scenario-grid--summary {
    grid-template-columns: 1fr;
  }

  .cost-summary-section .scenario {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d6e4f5;
  }

  .cost-summary-section .scenario:last-child {
    border-bottom: 0;
  }

  .estimate-route-grid {
    grid-template-columns: 1fr;
  }

  .estimate-route .route-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}

@media (max-width: 620px) {
  .budget-map-section,
  .cost-summary-section,
  .estimate-route,
  .cost-page .article-layout {
    width: min(100% - 28px, 760px);
  }

  .budget-map-section {
    padding: 22px 14px 16px;
  }

  .body-section-heading h2 {
    font-size: 24px;
  }

  .budget-factor-grid {
    grid-template-columns: 1fr;
  }

  .budget-factor {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 3px 12px;
    padding: 15px;
  }

  .budget-factor img {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .budget-factor h3 {
    min-height: 0;
    text-align: left;
  }

  .budget-factor p {
    margin-top: 5px;
  }

  .budget-map-feedback {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 15px;
  }

  .summary-intro,
  .cost-summary-section .scenario,
  .estimate-route {
    padding: 20px 16px;
  }

  .estimate-route-grid {
    gap: 8px;
  }

  .cost-page .article-main > .article-card,
  .cost-page .article-main > .source-box {
    padding-right: 0;
    padding-left: 0;
  }

  .cost-page .article-card h2,
  .cost-page .source-box h2 {
    font-size: 25px;
  }

  .budget-table-head {
    display: none;
  }

  .cost-page .budget-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 16px;
  }

  .cost-page .budget-item small {
    grid-column: 1;
    grid-row: 1;
  }

  .cost-page .budget-item b {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-left: 0;
  }

  .cost-page .budget-item > span:not(.budget-impact),
  .cost-page .budget-item .budget-impact {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .cost-page .budget-item .budget-impact {
    padding-top: 9px;
    border-top: 1px dashed #d6e4f5;
  }
}

@media (hover: hover) and (pointer: fine) {
  .aside-expertise a:hover,
  .aside-cta > a:last-child:hover {
    text-decoration: underline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-arrow,
  .route-arrow {
    transition: none;
  }
}

/* Reference-fidelity pass: compact diagram, summary and estimation strip */
.cost-summary-section {
  display: block;
  padding: 0 18px 18px;
}

.summary-intro {
  padding: 17px 0 12px;
  border: 0;
  background: transparent;
}

.summary-intro h2 {
  font-size: 17px;
  line-height: 1.25;
}

.summary-intro p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.cost-summary-section .scenario-grid--summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cost-summary-section .scenario {
  min-height: 224px;
  padding: 14px 14px 12px;
  border: 1px solid #d6e4f5;
  border-radius: 8px;
}

.cost-summary-section .scenario:last-child {
  border: 1px solid #d6e4f5;
}

.cost-summary-section .scenario small {
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  font-size: 12px;
}

.cost-summary-section .scenario b {
  display: inline;
  margin-left: 8px;
  font-size: 15px;
}

.cost-summary-section .scenario em {
  display: block;
  margin: 3px 0 0 35px;
  color: #61758d;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.cost-summary-section .scenario ul {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
  color: #294564;
  font-size: 11px;
  line-height: 1.35;
  list-style: none;
}

.cost-summary-section .scenario li {
  position: relative;
  min-height: 14px;
  padding-left: 17px;
}

.cost-summary-section .scenario li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 12px;
  height: 12px;
  background: url("/assets/icons/support/check-circle.svg") center / contain no-repeat;
  filter: invert(34%) sepia(97%) saturate(2936%) hue-rotate(207deg) brightness(91%) contrast(98%);
}

.cost-summary-section .scenario .summary-definition {
  min-height: 54px;
  margin: 11px 0 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: #f3f7fc;
  color: #526983;
  font-size: 10.5px;
  line-height: 1.4;
}

.cost-summary-section .scenario--project .summary-definition {
  background: #f1f8f4;
  color: #287052;
}

.estimate-route {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 17px 18px;
}

.estimate-route > h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.estimate-route-grid {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 8px;
}

.estimate-step {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.estimate-step > img {
  width: 40px;
  height: 40px;
  padding: 8px;
}

.estimate-step > span {
  font-size: 11px;
}

.estimate-step h3 {
  font-size: 13px;
}

.estimate-step p {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.4;
}

.estimate-route .route-arrow {
  width: 20px;
  height: 20px;
}

@media (max-width: 1180px) {
  .budget-map-section {
    overflow: visible;
    padding: 22px 18px 16px;
  }

  .body-section-heading {
    margin-bottom: 18px;
  }

  .body-section-heading h2 {
    font-size: 26px;
  }

  .body-section-heading p {
    margin-top: 5px;
    font-size: 13px;
  }

  .budget-map-flow {
    grid-template-columns: 130px 18px minmax(0, 1fr) 18px 132px 18px 104px;
    gap: 6px;
    min-width: 0;
  }

  .budget-factor-grid {
    gap: 6px;
  }

  .budget-node,
  .budget-factor {
    min-height: 218px;
    padding: 13px 9px;
  }

  .budget-node img,
  .budget-factor img {
    width: 27px;
    height: 27px;
    margin-bottom: 10px;
  }

  .budget-node h3,
  .budget-factor h3 {
    min-height: 34px;
    font-size: 12.5px;
    line-height: 1.28;
  }

  .budget-node ul {
    gap: 5px;
    margin-top: 10px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .budget-factor p {
    margin-top: 10px;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .map-arrow {
    width: 18px;
    height: 18px;
  }

  .budget-map-feedback {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin-top: 17px;
    padding: 13px 16px;
  }

  .budget-map-feedback img {
    width: 25px;
    height: 25px;
  }

  .budget-map-feedback p {
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .budget-map-section {
    padding: 24px 18px 18px;
  }

  .budget-map-flow {
    grid-template-columns: 1fr;
  }

  .budget-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .budget-node,
  .budget-factor {
    min-height: 0;
  }

  .map-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .cost-summary-section {
    padding: 0 16px 16px;
  }

  .cost-summary-section .scenario-grid--summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cost-summary-section .scenario,
  .cost-summary-section .scenario:last-child {
    min-height: 0;
    border: 1px solid #d6e4f5;
  }

  .estimate-route {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 16px;
  }

  .estimate-route-grid {
    grid-template-columns: 1fr;
  }

  .estimate-route .route-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}

@media (max-width: 620px) {
  .budget-factor-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .budget-node,
  .budget-factor {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 9px;
    padding: 11px 12px;
  }

  .budget-node img,
  .budget-factor img {
    grid-row: 1 / span 2;
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .budget-node h3,
  .budget-factor h3 {
    grid-column: 2;
    min-height: 0;
    font-size: 13px;
    text-align: left;
  }

  .budget-node ul {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .budget-factor p {
    grid-column: 2;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .summary-intro h2 {
    font-size: 18px;
  }

  .cost-summary-section .scenario b {
    font-size: 16px;
  }

  .cost-summary-section .scenario ul {
    font-size: 12px;
  }
}

/* Measured match to the approved 979 px article reference. */
@media (min-width: 901px) {
  .budget-map-section,
  .cost-summary-section,
  .estimate-route {
    margin-top: 8px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .budget-map-section,
  .cost-summary-section,
  .estimate-route,
  .cost-page .article-layout {
    width: calc(100% - 86px);
    margin-right: 0;
    margin-left: 28px;
  }

  .cost-page .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
  }

  .cost-page .article-main,
  .cost-page .cost-aside {
    min-width: 0;
    order: 0;
  }

  .cost-page .article-card,
  .cost-page .budget-grid,
  .cost-page .budget-item {
    min-width: 0;
  }

  .cost-page .budget-item > span {
    overflow-wrap: anywhere;
  }

  .budget-map-section {
    padding: 20px 18px 10px;
  }

  .body-section-heading {
    margin-bottom: 26px;
  }

  .body-section-heading h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .body-section-heading p {
    margin-top: 10px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .budget-map-flow {
    grid-template-columns: 96px 18px minmax(0, 1fr) 18px 102px 18px 96px;
    gap: 6px;
  }

  .budget-factor-grid {
    gap: 6px;
  }

  .budget-node,
  .budget-factor {
    min-height: 182px;
    padding: 11px 9px;
  }

  .budget-node img,
  .budget-factor img {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
  }

  .budget-node h3,
  .budget-factor h3 {
    min-height: 28px;
    font-size: 11.2px;
    line-height: 1.25;
  }

  .budget-node ul {
    gap: 4px;
    margin-top: 9px;
    font-size: 8.5px;
    line-height: 1.45;
  }

  .budget-factor p {
    margin-top: 9px;
    font-size: 8.5px;
    line-height: 1.45;
  }

  .budget-factor-rail {
    top: -22px;
    right: 10%;
    left: 10%;
  }

  .budget-factor-rail img {
    top: -2px;
    width: 12px;
    height: 12px;
  }

  .budget-factor-rail img:nth-child(1) {
    right: auto;
    left: -6px;
  }

  .budget-factor-rail img:nth-child(2) {
    right: -6px;
    left: auto;
  }

  .map-arrow {
    width: 16px;
    height: 16px;
  }

  .budget-return-loop {
    min-height: 70px;
  }

  .budget-return-loop__inner span {
    max-width: 320px;
    font-size: 9.5px;
    line-height: 1.35;
  }

  .budget-map-feedback {
    grid-template-columns: 26px 1fr;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 14px;
  }

  .budget-map-feedback img {
    width: 26px;
    height: 26px;
  }

  .budget-map-feedback p {
    font-size: 10.5px;
    line-height: 1.4;
  }

  .cost-summary-section {
    padding: 0 18px 16px;
  }

  .cost-summary-section .scenario {
    min-height: 198px;
  }
}

/* Icon fidelity for the approved budget-map reference. */
.budget-node-icon img {
  width: 20px;
  height: 20px;
  margin: 0;
}

.budget-factor-icon--gears {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
}

.budget-factor-icon--gears img {
  position: absolute;
  margin: 0;
}

.budget-factor-icon--gears img:first-child {
  bottom: 1px;
  left: 1px;
  width: 19px;
  height: 19px;
}

.budget-factor-icon--gears img:last-child {
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .budget-node-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    padding: 4px;
  }

  .budget-node-icon img {
    width: 18px;
    height: 18px;
  }

  .budget-factor-icon--gears {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
  }

  .budget-factor-icon--gears img:first-child {
    width: 17px;
    height: 17px;
  }

  .budget-factor-icon--gears img:last-child {
    width: 13px;
    height: 13px;
  }

  .cost-summary-section {
    padding: 0 18px;
  }

  .summary-intro {
    padding: 7px 0 6px;
  }

  .summary-intro h2 {
    font-size: 14.5px;
    line-height: 1.2;
  }

  .summary-intro p {
    margin-top: 2px;
    font-size: 9.5px;
    line-height: 1.3;
  }

  .cost-summary-section .scenario-grid--summary {
    gap: 16px;
    margin-top: 0;
  }

  .cost-summary-section .scenario,
  .cost-summary-section .scenario:last-child {
    box-sizing: border-box;
    min-height: 0;
    height: 202px;
    padding: 9px 10px 8px;
  }

  .cost-summary-section .scenario small {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    font-size: 10px;
  }

  .cost-summary-section .scenario b {
    margin-left: 6px;
    font-size: 12.5px;
  }

  .cost-summary-section .scenario em {
    margin: 2px 0 0 29px;
    font-size: 9px;
    line-height: 1.25;
  }

  .cost-summary-section .scenario ul {
    gap: 2px;
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.25;
  }

  .cost-summary-section .scenario li {
    min-height: 12px;
    padding-left: 14px;
  }

  .cost-summary-section .scenario li::before {
    width: 10px;
    height: 10px;
  }

  .cost-summary-section .scenario .summary-definition {
    min-height: 42px;
    margin-top: 7px;
    padding: 6px 8px;
    font-size: 8.5px;
    line-height: 1.3;
  }

  .estimate-route {
    display: block;
    padding: 8px 14px 9px;
  }

  .estimate-route > h2 {
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.25;
  }

  .estimate-route-grid {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
  }

  .estimate-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .estimate-step > img {
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  .estimate-step > span {
    font-size: 10px;
  }

  .estimate-step h3 {
    font-size: 11px;
    line-height: 1.2;
  }

  .estimate-step p {
    margin-top: 2px;
    font-size: 8.5px;
    line-height: 1.25;
  }

  .estimate-route .route-arrow {
    width: 24px;
    height: 24px;
  }

  .cost-page .article-layout {
    grid-template-columns: minmax(0, 568px) minmax(0, 260px);
    gap: 20px;
    justify-content: start;
    margin-top: 10px;
  }

  .cost-page .cost-aside {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
  }

  .cost-page #components {
    padding-bottom: 10px;
  }

  .cost-page .article-card h2,
  .cost-page .source-box h2,
  .cost-page #components h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .cost-page .article-card h3 {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.3;
  }

  .cost-page .article-card p,
  .cost-page .source-box p,
  .cost-page .article-card ul {
    margin-top: 6px;
    font-size: 9.5px;
    line-height: 1.5;
  }

  .cost-page #components > p {
    margin-top: 4px;
    font-size: 8.5px;
    line-height: 1.35;
  }

  .cost-page .article-main > .article-card,
  .cost-page .article-main > .source-box {
    padding-bottom: 12px;
  }

  .cost-page .article-main > .article-card + .article-card,
  .cost-page .article-main > .article-card + .source-box,
  .cost-page .article-main > .source-box + .article-card {
    padding-top: 12px;
  }

  .cost-page #main-idea .lead-note {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.45;
  }

  .cost-page #components .budget-grid {
    display: block;
    margin-top: 8px;
    border-radius: 4px;
  }

  .cost-page #components .budget-table-head,
  .cost-page #components .budget-item {
    grid-template-columns: 112px 198px minmax(0, 1fr);
    gap: 8px;
  }

  .cost-page #components .budget-table-head {
    padding: 5px 8px;
    font-size: 8px;
  }

  .cost-page #components .budget-item {
    padding: 5px 8px;
  }

  .cost-page #components .budget-item small {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 8px;
  }

  .cost-page #components .budget-item b {
    margin-left: 30px;
    font-size: 8.5px;
    line-height: 1.25;
  }

  .cost-page #components .budget-item > span:not(.budget-impact),
  .cost-page #components .budget-item .budget-impact {
    font-size: 8px;
    line-height: 1.35;
  }

  .cost-aside > h3 {
    order: 1;
    padding: 12px 14px 5px;
    font-size: 11px;
  }

  .cost-aside .toc {
    order: 2;
    gap: 3px;
    padding: 0 14px 10px;
  }

  .cost-aside .toc a {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #0b64df;
    font-size: 8.5px;
    line-height: 1.35;
  }

  .cost-aside .aside-expertise {
    order: 3;
  }

  .cost-aside .aside-cta {
    order: 4;
  }

  .cost-aside .aside-note {
    order: 5;
  }

  .cost-aside .aside-expertise,
  .cost-aside .aside-cta {
    margin-top: 8px;
    padding: 12px 14px;
  }

  .cost-aside .aside-expertise h3,
  .cost-aside .aside-cta h3 {
    font-size: 10.5px;
  }

  .cost-aside .aside-expertise p,
  .cost-aside .aside-cta p {
    margin-top: 5px;
    font-size: 8.5px;
    line-height: 1.4;
  }

  .cost-aside .aside-expertise a,
  .cost-aside .aside-cta > a:last-child {
    margin-top: 6px;
    font-size: 8.5px;
  }

  .cost-aside .aside-cta > img {
    width: 28px;
    height: 28px;
    margin-bottom: 7px;
  }

  .cost-aside .aside-cta .btn {
    min-height: 30px;
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .cost-aside .aside-note {
    margin-top: 8px;
    padding: 10px 14px;
    font-size: 8.5px;
    line-height: 1.4;
  }
}

/* Compact article components for the approved 979-1062 px reference. */
@media (min-width: 901px) and (max-width: 1180px) {
  .cost-page #what-affects .price-table {
    display: block;
    margin-top: 8px;
    gap: 0;
    overflow: hidden;
    border: 1px solid #d6e4f5;
    border-radius: 4px;
    background: #fff;
  }

  .cost-page #what-affects .price-row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) minmax(0, 1fr);
    border: 0;
    border-top: 1px solid #d6e4f5;
    border-radius: 0;
    background: #fff;
  }

  .cost-page #what-affects .price-row:first-child {
    display: grid;
    border-top: 0;
    background: #eef6ff;
  }

  .cost-page #what-affects .price-row > * {
    padding: 7px 9px;
    border: 0;
    border-left: 1px solid #d6e4f5;
    font-size: 9px;
    line-height: 1.35;
  }

  .cost-page #what-affects .price-row > *:first-child {
    border-left: 0;
    background: transparent;
    font-size: 9px;
    line-height: 1.35;
  }

  .cost-page #what-affects .price-row > :nth-child(2)::before,
  .cost-page #what-affects .price-row > :nth-child(3)::before {
    display: none;
    content: none;
  }

  .cost-page #what-affects .price-row:first-child > * {
    font-size: 8.5px;
  }

  .cost-page #budget-example .scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }

  .cost-page #budget-example .scenario {
    min-height: 0;
    padding: 12px;
  }

  .cost-page #budget-example .scenario small,
  .cost-page #hidden-costs .hidden-item small,
  .cost-page #ready-or-custom .hidden-item small {
    margin-bottom: 5px;
    font-size: 8.5px;
    line-height: 1.3;
  }

  .cost-page #budget-example .scenario b,
  .cost-page #hidden-costs .hidden-item b,
  .cost-page #ready-or-custom .hidden-item b {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .cost-page #budget-example .scenario span,
  .cost-page #hidden-costs .hidden-item span,
  .cost-page #ready-or-custom .hidden-item span {
    margin-top: 5px;
    font-size: 9.5px;
    line-height: 1.4;
  }

  .cost-page #hidden-costs .hidden-grid,
  .cost-page #ready-or-custom .hidden-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }

  .cost-page #hidden-costs .hidden-item,
  .cost-page #ready-or-custom .hidden-item {
    min-height: 0;
    padding: 12px;
  }

  .cost-page #how-to-reduce ul,
  .cost-page #estimate-checklist ul,
  .cost-page .source-box ul {
    margin-top: 6px;
    font-size: 9.5px;
    line-height: 1.5;
  }

  .cost-page #how-to-reduce li,
  .cost-page #estimate-checklist li,
  .cost-page .source-box li {
    margin: 2px 0;
  }

  .cost-page #faq .faq-list {
    gap: 8px;
    margin-top: 8px;
  }

  .cost-page #faq .faq-item {
    padding: 12px;
  }

  .cost-page #faq .faq-item b {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .cost-page #faq .faq-item span {
    margin-top: 4px;
    font-size: 9.5px;
    line-height: 1.45;
  }

  .cost-page .article-main > .cta-soft {
    margin: 18px 0;
    padding: 18px 20px;
  }

  .cost-page .cta-soft .article-badge {
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .cost-page .cta-soft .article-badge::before {
    width: 7px;
    height: 16px;
  }

  .cost-page .cta-soft h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .cost-page .cta-soft p {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.5;
  }

  .cost-page .cta-soft .cta-actions {
    gap: 8px;
    margin-top: 10px;
  }

  .cost-page .cta-soft .btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 10px;
  }
}
