/* 홈페이지의 틀·콘텐츠·연결을 공통 라인 언어로 사용합니다. */
.method-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0 2%;
  position: relative;
  padding-top: 55px;
  background: #13243e;
  color: #f4f8ff;
  overflow: hidden;
}
.method-copy {
  align-self: center;
  position: relative;
  z-index: 1;
  padding-block: 25px 35px;
}
.method-copy h1 {
  font-size: clamp(36px, 3.45vw, 57px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.4;
  margin-top: 20px;
}
.method-copy em {
  color: #a9ccff;
  font-style: normal;
}
.method-description {
  color: #b1c0d5;
  font-size: 14px;
  line-height: 1.95;
  margin-top: 24px;
}
.method-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.method-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 28px;
  font-size: 11px;
  color: #a6b9d1;
}
.method-benefits > span::before {
  content: '✓';
  margin-right: 5px;
  color: #a3c9ff;
}
.method-visual {
  min-width: 0;
  position: relative;
  padding-top: 10px;
}
.method-visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ab0cc;
  font-size: 9px;
  letter-spacing: 1px;
  min-height: 24px;
}
.line-art {
  pointer-events: none;
}
.line-art canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.line-art-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.line-art[data-renderer='ready'] .line-art-fallback {
  visibility: hidden;
}
.line-art--main {
  position: relative;
  height: clamp(300px, 29vw, 460px);
}
.method-scene-caption {
  display: flex;
  align-items: start;
  gap: 15px;
  margin: 0 0 32px 15%;
}
.method-scene-caption > span {
  color: #bcd6fc;
  background: #213b5c;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 10px;
}
.method-scene-caption strong {
  display: block;
  color: #deebff;
  font-size: 15px;
  font-weight: 600;
}
.method-scene-caption p {
  color: #a7bad3;
  font-size: 11px;
  margin-top: 7px;
  line-height: 1.8;
}
.method-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #344760;
  margin-top: 10px;
}
.method-steps button {
  display: flex;
  text-align: left;
  gap: 17px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 24px 20px;
  position: relative;
}
.method-steps button::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.method-steps button[aria-pressed='true']::before {
  background: #b0d0ff;
  transform: scaleX(var(--method-progress, 0));
  transform-origin: left;
}
.method-steps button > span {
  color: #9eb6d7;
  font-size: 12px;
}
.method-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #c0cee1;
}
.method-steps small {
  display: block;
  color: #9cb0ca;
  font-size: 11px;
  margin-top: 5px;
}
.method-steps b {
  margin-left: auto;
  color: #829bbd;
  font-weight: 400;
  font-size: 21px;
}
.method-steps button[aria-pressed='true'] strong {
  color: #ffffff;
}
.method-steps button:hover {
  background: #1a3050;
}
/* 상단만 어둡게 구분하고 하단의 화이트 서비스 영역은 유지합니다. */
.websave-site .method-hero .eyebrow {
  color: #a9c9f8;
}
.websave-site .method-hero .text-link {
  color: #dbe9ff;
}
.websave-site .method-hero .button-dark {
  background: #f1f6ff;
  color: #17365e;
  border-color: #f1f6ff;
}
.websave-site .method-hero .button-dark:hover {
  background: #d9e9ff;
}
.websave-site .method-hero :focus-visible {
  outline-color: #c2dbff;
}
/* 서브 모션은 제목·안내와 별개로 실제 레이아웃 공간을 차지합니다. */
.websave-site .page-heading,
.services-intro,
.shopping-detail {
  position: relative;
  isolation: isolate;
}
.websave-site .page-heading,
.services-intro {
  overflow: hidden;
}
.line-art--sub {
  position: relative;
  width: 100%;
  height: 220px;
  z-index: 0;
  opacity: 0.6;
  overflow: hidden;
}
.sub-hero-copy,
.sub-hero-visual {
  min-width: 0;
}
.sub-hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 20px;
}
.view-services .line-art--sub {
  height: 280px;
}
.view-guide .line-art--sub {
  height: 260px;
}
.view-detail .detail-heading-visual .line-art--sub {
  height: 80px;
  opacity: 0.55;
}
.view-catalog .line-art--sub {
  height: 190px;
}
/* 비용 도식과 설명 박스가 각각 레이아웃 높이를 차지하도록 분리합니다. */
.view-pricing .pricing-hero-visual .line-art--sub {
  position: relative;
  inset: auto;
  width: 100%;
  height: clamp(180px, 16vw, 240px);
  max-height: none;
  z-index: 0;
  opacity: 0.65;
}
@media (max-width: 1100px) {
  .method-copy h1 {
    font-size: 39px;
  }
  .method-description {
    font-size: 13px;
  }
  .method-actions {
    gap: 18px;
  }
  .method-actions .text-link {
    font-size: 12px;
  }
  .method-scene-caption {
    margin-left: 6%;
  }
}
@media (max-width: 900px) {
  .method-hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 35px;
  }
  .method-copy h1 {
    font-size: 32px;
  }
  .method-description br {
    display: none;
  }
  .method-actions {
    gap: 14px;
  }
  .method-actions .button {
    min-height: 48px;
    padding-inline: 16px;
    font-size: 12px;
  }
  .method-benefits {
    font-size: 10px;
    gap: 7px 12px;
  }
  .method-scene-caption strong {
    font-size: 13px;
  }
  .method-steps button {
    padding: 20px 10px;
    gap: 10px;
  }
  .method-steps strong {
    font-size: 13px;
  }
  .method-steps small {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .method-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .method-copy {
    padding-block: 0;
  }
  .method-copy h1 {
    font-size: clamp(30px, 7.6vw, 42px);
    margin-top: 17px;
  }
  .method-description {
    font-size: 12px;
    margin-top: 18px;
    max-width: 320px;
  }
  .method-actions {
    margin-top: 22px;
    gap: 20px;
  }
  .method-benefits {
    margin-top: 20px;
    font-size: 9px;
  }
  .method-visual {
    margin-top: 25px;
  }
  .line-art--main {
    height: 260px;
  }
  .method-visual-heading {
    font-size: 8px;
  }
  .method-scene-caption {
    margin: 0 0 23px 5px;
  }
  .method-scene-caption strong {
    font-size: 13px;
  }
  .method-scene-caption p {
    font-size: 10px;
  }
  .method-steps {
    margin-top: 0;
  }
  .method-steps button {
    display: block;
    padding: 16px 6px;
  }
  .method-steps strong {
    font-size: 11px;
    margin-top: 6px;
  }
  .method-steps small {
    display: none;
  }
  .method-steps b {
    display: none;
  }
  .method-steps button > span {
    font-size: 9px;
  }
  .line-art--sub {
    height: 180px;
  }
  .sub-hero-visual {
    gap: 16px;
  }
  .view-services .line-art--sub,
  .view-guide .line-art--sub {
    height: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .method-steps button::before {
    transition: none;
  }
  .method-steps button[aria-pressed='true']::before {
    transform: scaleX(1);
  }
}
