/* 히어로 다음의 홈 구간들: 흰 바탕과 넉넉한 여백, 가장 큰 글자는 한글 제목(영문 이름은 작은 꼬리표),
   둥근 패널, 수치와 핵심어에만 쓰는 선명한 파랑 하나 */
.home-page {
  --hs-blue: var(--brand);
  --hs-ink: #1a2028;
  --hs-text: #4e5863;
  --hs-quiet: #5a6370;
  /* 팔레트의 Neutral Soft: 파랑은 바탕이 아니라 버튼·수치·핵심어에만 쓴다. */
  --hs-soft: var(--paper-soft);
  --hs-panel: var(--paper-soft);
  --hs-radius: 24px;
  /* 둥근 패널에 맞춰 홈 전체에서 알약 버튼과 둥근 화살표 표시를 쓴다. */
  --button-radius: 999px;
}
.home-page .home-more-icon {
  border-radius: 999px;
}

/* 선언문: 시간에 맞춰 흐르는 한 화면짜리 영상. 기본값은 정적인 문서 흐름이다. */
.home-page .manifesto-scene {
  background: linear-gradient(180deg, #12161c 0%, #1c222a 100%);
}
.home-page .manifesto {
  --manifesto-stage: calc(100svh - var(--header-height));
  --manifesto-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}
.home-page .manifesto-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: var(--manifesto-stage);
  padding-block: clamp(96px, 12vw, 160px);
  overflow: hidden;
}
.home-page .manifesto-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.home-page .manifesto-route path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.home-page .manifesto-route-track {
  stroke: rgb(154 196 236 / 12%);
  stroke-width: 1.5;
}
/* 왼쪽에서 오른쪽으로 가림을 걷어 그린다: 늘어난 viewBox의 non-scaling stroke에서는
   pathLength 대시가 끝 표시 앞에서 멈춘다(Chrome). */
.home-page .manifesto-route-line {
  stroke: rgb(84 146 206 / 70%);
  stroke-width: 2;
  clip-path: inset(-8px calc((1 - var(--manifesto-progress, 0)) * 100%) -8px -8px);
}
.home-page .manifesto-route-end {
  position: absolute;
  top: calc(120 / 520 * 100%);
  left: calc(1130 / 1200 * 100%);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #9ac4ec;
  outline: 6px solid rgb(154 196 236 / 18%);
  opacity: clamp(0, (var(--manifesto-progress, 0) - 0.9) * 12, 1);
}
.home-page .manifesto-lines {
  position: relative;
  display: grid;
  gap: 0.8em;
  width: min(calc(100% - 2 * var(--gutter)), 1120px);
  text-align: center;
}
.home-page .manifesto-line {
  align-self: center;
  margin: 0;
  color: white;
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: var(--fw-heading);
  line-height: 1.35;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.home-page .manifesto-word {
  display: inline-block;
  white-space: nowrap;
}
.home-page .manifesto-line [data-letter] {
  display: inline-block;
}
.home-page .manifesto-line .is-key {
  color: #98c3eb;
}
.home-page :is(.manifesto-bloom, .manifesto-clear, .manifesto-veil) {
  display: none;
  pointer-events: none;
}
.home-page .manifesto-controls {
  display: none;
}
/* 고정된 흰 막 아래에서 접은 뒤 끝난 장면을 통째로 없앤다.
   이 규칙은 움직임 미디어 쿼리 밖에 둔다: 크기를 바꿔도 이미 본 장면이 되살아나지 않게 한다. */
.home-page .manifesto-scene[data-dismissed='true'] .manifesto-stage {
  display: none;
}
.home-page .manifesto-scene[data-dismissed='true'][data-playback='complete'] {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .home-page .manifesto[data-autoplay='true'] .manifesto-stage {
    height: var(--manifesto-stage);
    padding-block: 80px;
  }
  .home-page .manifesto[data-autoplay='true'] .manifesto-line {
    grid-area: 1 / 1;
  }
  .home-page .manifesto-scene[data-playback='revealing'] {
    z-index: 4;
  }
  .home-page .manifesto[data-playback='revealing'] .manifesto-veil {
    display: block;
    position: fixed;
    z-index: 10;
    inset: var(--header-height) 0 0;
    background: white;
    opacity: var(--manifesto-veil-opacity, 1);
  }
  .home-page [data-autoplay='true'] .manifesto-bloom {
    display: block;
    position: absolute;
    top: calc(120 / 520 * 100%);
    left: calc(1130 / 1200 * 100%);
    width: var(--manifesto-bloom-size, 3000px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
      circle closest-side,
      #fff 0%,
      #fff 72%,
      #e6f1fc 84%,
      rgb(189 218 246 / 35%) 93%,
      transparent 100%
    );
    transform: translate(-50%, -50%) scale(var(--manifesto-bloom-scale, 0.004));
    opacity: var(--manifesto-bloom-opacity, 0);
  }
  .home-page [data-autoplay='true'] .manifesto-clear {
    display: block;
    position: absolute;
    inset: 0;
    background: white;
    opacity: var(--manifesto-clear-opacity, 0);
  }
  .home-page [data-autoplay='true'] .manifesto-route {
    opacity: var(--manifesto-route-opacity, 1);
  }
  .home-page [data-autoplay='true'] .manifesto-route-end {
    opacity: calc(clamp(0, (var(--manifesto-progress, 0) - 0.9) * 12, 1) * var(--manifesto-route-opacity, 1));
  }
  .home-page [data-autoplay='true'] .manifesto-lines {
    opacity: var(--manifesto-copy-opacity, 1);
    translate: 0 var(--manifesto-copy-y, 0px);
  }
  .home-page [data-autoplay='true'] .manifesto-controls {
    position: absolute;
    inset: auto var(--gutter) 30px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    opacity: var(--manifesto-copy-opacity, 1);
  }
  .home-page .manifesto-controls button {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #bccede;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
  }
  .home-page .manifesto-controls button:hover {
    color: white;
  }
  .home-page .manifesto-controls button:focus-visible {
    outline: 2px solid #bccede;
    outline-offset: 4px;
  }
  .home-page .manifesto-controls button span {
    margin-left: 16px;
  }
  /* 들어올 때 줄은 보임만 열고 도착은 글자들이 한다.
     떠날 때는 더 빠르다: 앞 문장이 0.5초 안에 떠오르며 흐려진다. */
  .home-page [data-autoplay='true'] .manifesto-line[data-state='current'] {
    transition:
      opacity 200ms ease,
      translate 500ms var(--manifesto-ease),
      filter 300ms ease;
  }
  .home-page [data-autoplay='true'] .manifesto-line[data-state='next'] {
    opacity: 0;
    transition: opacity 250ms ease;
  }
  .home-page [data-autoplay='true'] .manifesto-line[data-state='past'] {
    opacity: 0;
    translate: 0 -32px;
    filter: blur(6px);
    transition:
      opacity 350ms ease,
      translate 450ms var(--manifesto-ease),
      filter 350ms ease;
  }
  .home-page [data-autoplay='true'] .manifesto-line [data-letter] {
    opacity: 0;
    filter: blur(10px);
    translate: 0 0.35em;
    transition:
      opacity 250ms ease,
      filter 250ms ease,
      translate 250ms ease;
  }
  .home-page [data-autoplay='true'] .manifesto-line[data-state='current'] [data-letter] {
    opacity: 1;
    filter: none;
    translate: none;
    transition:
      opacity 350ms ease,
      filter 520ms var(--manifesto-ease),
      translate 520ms var(--manifesto-ease);
    transition-delay: calc(min(var(--i, 0), 20) * 16ms);
  }
  .home-page .manifesto-route-end {
    transition: opacity 400ms ease;
  }
}
/* 좁은 화면에서는 경로가 세로로 늘어나 글을 더 많이 가로지르므로 더 옅게 둔다. */
@media (max-width: 600px) {
  .home-page .manifesto-route-line {
    stroke: rgb(84 146 206 / 45%);
    stroke-width: 1.5;
  }
  .home-page .manifesto-route-track {
    stroke: rgb(154 196 236 / 8%);
  }
}
/* 움직임 줄이기: 네 문장을 한꺼번에, 고정 없이, 움직임 없이 보여 준다. */
@media (prefers-reduced-motion: reduce) {
  .home-page .manifesto {
    height: auto;
  }
  .home-page .manifesto-stage {
    position: relative;
    height: auto;
    padding-block: clamp(120px, 14vw, 200px);
  }
  .home-page .manifesto-lines {
    gap: 0.2em;
  }
  .home-page .manifesto-line {
    grid-area: auto;
    font-size: clamp(28px, 3.4vw, 52px);
  }
}

/* 구간 틀 */
.home-page .home-section {
  padding-block: clamp(80px, 8vw, 128px);
  background: white;
}
/* 트랙 구간은 비교로 끝나고, 뒤따르는 프리미엄 띠가 제 바탕을 가져온다. */
.home-page .home-section--tracks {
  padding-bottom: clamp(64px, 6vw, 96px);
}
.home-page .hs-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.home-page .hs-heading {
  min-width: 0;
}
.home-page .hs-heading h2 {
  max-width: 15em;
  color: var(--hs-ink);
  font-size: var(--fs-h2);
  font-weight: var(--fw-heading);
  line-height: 1.28;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.home-page .hs-heading h2 em {
  color: var(--hs-blue);
  font-style: normal;
}
/* 트랙 구간은 라벨이 아니라 문장으로 시작하므로 넓은 화면에서 제목을 한 단계 키운다. */
.home-page .home-section--tracks .hs-heading h2 {
  font-size: clamp(1.875rem, 3.8vw, 3.5rem);
}
.home-page .hs-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--hs-quiet);
  font-size: 13px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.home-page .hs-label img {
  display: block;
  width: 76px;
  height: auto;
}
.home-page .hs-label span {
  font-size: 11px;
}
.home-page main .hs-intro {
  flex: 0 1 30rem;
  color: var(--hs-text);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}
.home-page main .hs-note {
  margin-top: 28px;
  color: var(--hs-quiet);
  font-size: var(--fs-caption);
  line-height: 1.7;
}
.home-page .hs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 32px;
}
.home-page main .hs-foot .hs-note {
  max-width: 46rem;
  margin: 0;
}
.home-page .hs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .hs-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--hs-soft);
  color: #1a2028;
  font-size: 0.875rem;
  font-weight: var(--fw-strong);
}

/* 근거: 수치, 읽히는 인증서, 현장 */
.home-page .home-section--evidence {
  padding-bottom: clamp(72px, 7vw, 112px);
}
.home-page .hs-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  margin: 0;
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.home-page .hs-figures > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-page .hs-figures dt {
  color: var(--hs-ink);
  font-size: 15px;
  font-weight: var(--fw-heading);
  line-height: 1.5;
}
.home-page .hs-figures dd {
  margin: 0;
}
.home-page .hs-figures dd a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--hs-blue);
  text-decoration: none;
}
.home-page .hs-figures strong {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: var(--fw-heading);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.home-page .hs-figures dd span {
  font-size: 18px;
  font-weight: var(--fw-heading);
}
.home-page .hs-figures .hs-count {
  display: inline-grid;
}
.home-page .hs-figures dd .hs-count > span {
  grid-area: 1 / 1;
  font: inherit;
  letter-spacing: inherit;
  font-variant-numeric: tabular-nums;
}
/* 보이지 않는 최종 글자가 전체 폭을 잡아 두고, 보조기기가 읽는 유일한 숫자로 남는다. */
.home-page .hs-count-target {
  opacity: 0;
}
.home-page .hs-count-live {
  justify-self: start;
}
.home-page .hs-figures dd a:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
/* 주요 인증서 넷: 조용한 패널 위에 여유 있게 둔다 */
.home-page .hs-proofs {
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--hs-radius);
  background: var(--hs-soft);
}
.home-page .hs-proofs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.home-page .hs-proofs-head h3 {
  color: var(--hs-ink);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: var(--fw-heading);
  letter-spacing: -0.035em;
}
.home-page .hs-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .hs-field {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(48px, 5vw, 72px);
}
.home-page .hs-field-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-page .hs-field-photos figure {
  margin: 0;
}
.home-page .hs-field-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--hs-radius);
  object-fit: cover;
}
.home-page main .hs-field-photos figcaption {
  margin-top: 10px;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: var(--fw-strong);
}
.home-page .hs-field-copy h3 {
  color: var(--hs-ink);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: var(--fw-heading);
  letter-spacing: -0.035em;
}
.home-page .hs-field-copy h3 + .hs-chips {
  margin-top: 20px;
}
.home-page main .hs-field-copy p {
  margin: 10px 0 20px;
  color: var(--hs-text);
  font-size: 1rem;
  line-height: 1.8;
}
.home-page .hs-field-copy .home-more-link {
  margin-top: 20px;
}
/* 회색 근거 패널의 작은 파란 글자는 Brand Blue Deep을 쓴다(4.3:1로는 모자람). */
.home-page .hs-proofs .home-more-link {
  color: var(--brand-hover);
}

/* 진입 트랙: 네 트랙을 하나씩, 그다음 넷을 함께 보여 준다.
   행마다 트랙 표지(styles/shared/track-cover.css)와 설명을 짝짓고 좌우를 번갈아 둔다. */
.home-page .hs-tracks-area {
  position: relative;
}
.home-page .hs-tracks {
  display: grid;
  gap: clamp(56px, 8vw, 120px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .hs-track {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-width: 0;
}
.home-page .hs-track:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.home-page .hs-track:nth-child(even) .hs-track-panel {
  order: 2;
}
/* 큰 표지와 모아 보기 칸은 모이는 움직임을 위해 같은 비율을 유지한다. */
.home-page :is(.hs-track-panel, .hs-tracks-mini) {
  display: flex;
  flex-direction: column;
  aspect-ratio: 10 / 7;
}
.home-page .hs-track-panel {
  min-width: 0;
  width: 100%;
  padding: clamp(28px, 2.8vw, 40px);
  border-radius: 24px;
}
.home-page .hs-track-panel .track-marks {
  margin-bottom: auto;
}
.home-page .hs-track h3 {
  position: relative;
  margin-top: 72px;
  font-size: clamp(2.25rem, 3.8vw, 3.375rem);
  font-weight: var(--fw-heading);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.home-page .hs-track h3 span {
  display: block;
  margin-top: 12px;
  color: var(--track-sub);
  font-size: 0.875rem;
  font-weight: var(--fw-body);
  letter-spacing: 0.025em;
}
.home-page .hs-track-copy {
  min-width: 0;
  max-width: 34rem;
}
.home-page .hs-track:nth-child(even) .hs-track-copy {
  justify-self: end;
}
.home-page main .hs-track-fit {
  color: var(--hs-ink);
  font-size: clamp(1.375rem, 2.1vw, 1.875rem);
  font-weight: var(--fw-heading);
  line-height: 1.45;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.home-page .hs-track-label {
  display: block;
  margin-bottom: 12px;
  color: var(--hs-quiet);
  font-size: 0.8125rem;
  font-weight: var(--fw-strong);
  letter-spacing: 0;
}
.home-page main .hs-track-how {
  margin-top: 18px;
  color: var(--hs-text);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}
.home-page main .hs-track-key {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--hs-soft);
  color: var(--hs-quiet);
  font-size: 0.8125rem;
  font-weight: var(--fw-strong);
  line-height: 1.5;
}
.home-page .hs-track-key strong {
  color: var(--brand-hover);
  font-size: 1rem;
  font-weight: var(--fw-heading);
}
.home-page .hs-tracks-overview {
  margin-top: clamp(72px, 9vw, 136px);
}
.home-page main .hs-tracks-overview-title {
  margin-bottom: 20px;
  color: var(--hs-quiet);
  font-size: 0.875rem;
  font-weight: var(--fw-heading);
  line-height: 1.5;
}
.home-page .hs-tracks-overview ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .hs-tracks-mini {
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 1.8vw, 24px);
  border-radius: 20px;
}
.home-page .hs-tracks-mini .track-marks {
  height: 36px;
  margin-bottom: 0;
  padding: 0 10px;
  border-radius: 8px;
}
.home-page .hs-tracks-mini .track-marks img {
  height: 16px;
  max-width: 100px;
}
.home-page .hs-tracks-mini .track-marks--set {
  padding: 0 8px;
  gap: 6px;
}
.home-page .hs-tracks-mini .track-marks--set img {
  height: 24px;
}
.home-page .hs-tracks-mini strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: var(--fw-heading);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.home-page main .hs-tracks-sum {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  color: var(--hs-quiet);
  font-size: 0.8125rem;
  font-weight: var(--fw-strong);
  line-height: 1.5;
}
.home-page .hs-tracks-sum strong {
  color: var(--hs-ink);
  font-size: 1rem;
  font-weight: var(--fw-heading);
  line-height: 1.45;
  text-wrap: balance;
}

/* 넓고 높은 화면: 네 박자와 머무는 구간만큼 스크롤하는 동안 장면이 고정된다.
   트랙이 차례로 무대에 오르고, 네 번째 뒤에는 패널이 나란히 모이며 핵심 문구가 아래에서 올라온다. */
@media (min-width: 1081px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .home-page .home-section--tracks {
    padding-top: 0;
  }
  .home-page .hs-tracks-scene {
    --tracks-stage: calc(100svh - var(--header-height));
    --tracks-beat: 42svh;
    /* 네 칸이 모인 뒤 장면이 풀리기까지 머무는 박자 수. Tracks가 읽는다. */
    --tracks-hold: 0.85;
    --tracks-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
    height: calc(var(--tracks-stage) + (4 + var(--tracks-hold)) * var(--tracks-beat));
  }
  .home-page .hs-tracks-stage {
    position: sticky;
    top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: var(--tracks-stage);
    padding-block: clamp(24px, 4svh, 48px);
    overflow: clip;
  }
  .home-page .hs-tracks-area {
    display: grid;
    align-items: center;
  }
  .home-page :is(.hs-tracks, .hs-tracks-overview),
  .home-page .hs-track {
    grid-area: 1 / 1;
  }
  .home-page .hs-tracks {
    gap: 0;
  }
  .home-page .hs-tracks-overview {
    margin-top: 0;
  }
  .home-page .hs-tracks-mini {
    visibility: hidden;
  }

  /* 여기서는 다른 화면의 스크롤 등장 대신 무대 자체의 상태를 쓴다. */
  .home-page .hs-tracks-scene :is(.hs-track, .hs-tracks-overview):is(.home-reveal-pending, .home-reveal-in) {
    opacity: 1;
    animation: none;
  }
  .home-page .hs-tracks-scene .hs-track.home-reveal-in :is(.hs-track-panel, .hs-track-copy > *),
  .home-page .hs-tracks-scene .hs-tracks-overview.home-reveal-in :is(.hs-tracks-overview-title, li) {
    animation: none;
  }

  .home-page .hs-track-panel {
    transform-origin: 0 0;
    transition:
      opacity 300ms ease,
      transform 500ms var(--tracks-ease);
  }
  .home-page .hs-track[data-state='next'] .hs-track-panel {
    opacity: 0;
    transform: translateX(-64px);
  }
  .home-page .hs-track:nth-child(even)[data-state='next'] .hs-track-panel {
    transform: translateX(64px);
  }
  /* 차례가 끝난 트랙은 모아 보기 칸 쪽으로 줄어들어 바로 아래에서 기다린다:
     모일 때 제자리로 오르기만 하므로 패널끼리 엇갈리지 않는다. */
  .home-page .hs-track[data-state='past'] .hs-track-panel {
    opacity: 0;
    transform: translate(var(--slot-x, 0px), calc(var(--slot-y, 0px) + 40px)) scale(var(--slot-s, 1));
  }
  .home-page .hs-track[data-state='current'] .hs-track-panel {
    transition:
      opacity 500ms ease,
      transform 900ms var(--home-arrive);
  }
  .home-page .hs-track[data-state='gathered'] .hs-track-panel {
    transform: translate(var(--slot-x, 0px), var(--slot-y, 0px)) scale(var(--slot-s, 1));
    transition:
      opacity 500ms ease calc(var(--track-index) * 70ms),
      transform 1000ms var(--home-arrive) calc(var(--track-index) * 70ms);
  }
  /* 패널이 줄어들면 영문 이름은 읽기에 너무 작아진다. */
  .home-page .hs-track h3 span {
    transition: opacity 250ms ease;
  }
  .home-page .hs-track[data-state='gathered'] h3 span {
    opacity: 0;
  }

  .home-page .hs-track-copy > * {
    transition:
      opacity 250ms ease,
      translate 400ms var(--tracks-ease);
  }
  .home-page .hs-track:not([data-state='current']) .hs-track-copy > * {
    opacity: 0;
    translate: 0 -16px;
  }
  .home-page .hs-track[data-state='next'] .hs-track-copy > * {
    translate: 0 24px;
  }
  .home-page .hs-track[data-state='current'] .hs-track-copy > * {
    transition:
      opacity 600ms ease calc(160ms + var(--home-item, 0) * 90ms),
      translate 800ms var(--home-arrive) calc(160ms + var(--home-item, 0) * 90ms);
  }

  .home-page :is(.hs-tracks-overview-title, .hs-tracks-sum) {
    opacity: 0;
    translate: 0 12px;
    transition:
      opacity 200ms ease,
      translate 300ms ease;
  }
  /* 안내 문구와 다음 링크는 비교와 한 묶음이다: 같은 화면 아래에 함께 나타난다. */
  .home-page .hs-tracks-foot {
    margin-top: clamp(24px, 4svh, 44px);
    opacity: 0;
    translate: 0 12px;
    pointer-events: none;
    transition:
      opacity 200ms ease,
      translate 300ms ease;
  }
  .home-page .hs-tracks-scene[data-step='all'] .hs-tracks-foot {
    opacity: 1;
    translate: none;
    pointer-events: auto;
    transition:
      opacity 500ms ease 900ms,
      translate 700ms var(--home-arrive) 900ms;
  }
  .home-page .hs-tracks-foot:focus-within {
    opacity: 1;
    translate: none;
    pointer-events: auto;
    transition: none;
  }
  .home-page .hs-tracks-scene[data-step='all'] :is(.hs-tracks-overview-title, .hs-tracks-sum) {
    opacity: 1;
    translate: none;
    transition:
      opacity 500ms ease calc(500ms + var(--track-index, 0) * 70ms),
      translate 700ms var(--home-arrive) calc(500ms + var(--track-index, 0) * 70ms);
  }
}

/* GICUS: 진단 네 단계와 단계마다 나오는 화면. 패널이 고정되지 않는 화면에서는 모든 단계를 펼친 목록으로 읽힌다.
   어느 형태인지는 스크립트가 아니라 여기서 정한다: 첫 페인트부터 페이지 높이가 확정된다. */
.home-page .hs-gicus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  width: min(calc(100% - 2 * var(--gutter)), var(--site-width));
  margin-inline: auto;
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: 28px 28px 0 0;
  background: var(--hs-panel);
  color: var(--hs-ink);
}
.home-page .hs-gicus-copy {
  min-width: 0;
}
.home-page .hs-gicus-copy h3 {
  color: var(--hs-ink);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: var(--fw-heading);
  line-height: 1.38;
  letter-spacing: -0.035em;
}
.home-page main .hs-gicus-scroll-note {
  display: none;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: #53677b;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.home-page .hs-gicus-scroll-note > :last-child {
  flex: none;
  color: var(--brand-hover);
  font-variant-numeric: tabular-nums;
}
.home-page .hs-flow {
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 1px solid #d3dae2;
  list-style: none;
}
.home-page .hs-flow li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 0 clamp(28px, 3vw, 44px);
  padding-block: 32px;
  border-top: 1px solid #d3dae2;
}
.home-page .hs-flow h4 {
  align-self: end;
  margin: 0;
  font: inherit;
}
.home-page .hs-flow-trigger {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--hs-ink);
  font: inherit;
  text-align: left;
}
.home-page .hs-flow button {
  cursor: pointer;
}
.home-page .hs-flow button:hover {
  color: var(--brand-hover);
}
.home-page .hs-flow li[data-current] button {
  color: var(--brand-hover);
  cursor: default;
}
.home-page .hs-flow button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.home-page .hs-flow-title {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: var(--fw-heading);
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.home-page .hs-flow-stage {
  flex: none;
  color: var(--brand-hover);
  font-size: 12px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.home-page .hs-flow-detail {
  display: grid;
  grid-column: 1;
}
.home-page .hs-flow-detail > div {
  min-height: 0;
  overflow: hidden;
}
.home-page main .hs-flow-detail p {
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}
.home-page main .hs-flow-detail .hs-flow-role {
  margin-top: 8px;
  padding-bottom: 22px;
  color: #53677b;
  font-size: 14px;
}
.home-page .hs-flow-inline-screen {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 0;
}
.home-page .hs-gicus-actions-wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--site-width));
  margin-inline: auto;
  padding-block: clamp(36px, 4vw, 56px);
  border-radius: 0 0 28px 28px;
  background: var(--hs-panel);
}
.home-page .hs-gicus-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 2.8vw, 40px);
}
/* 화면 속의 화면: 이 디자인에서 그림자를 쓰는 유일한 곳 */
.home-page .gicus-window {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f6f8fb;
  box-shadow: 0 32px 64px -28px rgb(26 32 40 / 26%);
}
.home-page .gicus-window-bar {
  display: grid;
  height: 44px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid #e6edf3;
  background: white;
}
.home-page .gicus-window-dots {
  display: flex;
  gap: 6px;
}
.home-page .gicus-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6dee5;
}
.home-page .gicus-window-address {
  padding: 3px 16px;
  border-radius: 999px;
  background: #f1f5f8;
  color: #646f7c;
  font-size: 12px;
  font-weight: var(--fw-strong);
  line-height: 1.5;
}
.home-page .gicus-window-note {
  justify-self: end;
  color: #646f7c;
  font-size: 11px;
  font-weight: var(--fw-strong);
  line-height: 1.5;
  white-space: nowrap;
}
.home-page .gicus-window img {
  display: block;
  width: 100%;
  height: auto;
}
/* 창 아래로 페이지가 이어진다: 아래쪽이 앱 배경색으로 풀린다. */
.home-page .gicus-window-view {
  position: relative;
}
.home-page .gicus-window-view::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16%;
  background: linear-gradient(180deg, rgb(245 248 255 / 0%), #f5f8ff 88%);
  content: '';
  pointer-events: none;
}
.home-page .hs-gicus-screen {
  display: none;
  min-width: 0;
}
.home-page main .hs-gicus-screen-caption {
  margin-top: 16px;
  color: #53677b;
  font-size: 0.875rem;
  line-height: 1.5;
}
.home-page .hs-gicus-screen-stack {
  display: grid;
  aspect-ratio: 16 / 10;
}
.home-page .gicus-window .hs-gicus-shot {
  grid-area: 1 / 1;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  visibility: hidden;
}
.home-page .gicus-window .hs-gicus-shot[data-current] {
  opacity: 1;
  visibility: visible;
}
.home-page .hs-flow-inline-screen .gicus-window .hs-gicus-shot {
  height: auto;
  opacity: 1;
  visibility: inherit;
}
/* 두 버튼은 중립 바탕에서 기준선·높이·알약 모양을 같이하고, GICUS로 가는 쪽만 파랑이다. */
.home-page .hs-gicus-actions .button-link {
  min-width: 180px;
  min-height: 56px;
  gap: 12px;
  padding: 14px 28px;
  border-color: #c5ccd5;
  border-radius: 999px;
  background: white;
  color: var(--hs-ink);
  font-size: 17px;
  font-weight: var(--fw-heading);
}
.home-page .hs-gicus-actions .button-primary {
  min-width: 224px;
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}
.home-page .hs-gicus-actions .button-link .ui-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.home-page .hs-gicus-actions .button-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
  .home-page .hs-gicus-actions .button-link:hover {
    border-color: var(--hs-ink);
    background: white;
    color: var(--hs-ink);
  }
  .home-page .hs-gicus-actions .button-primary:hover {
    border-color: var(--button-state-primary-hover);
    background: var(--button-state-primary-hover);
    color: #fff;
  }
}

/* 넓고 높으며 움직임이 허용된 화면: 패널이 무대에 고정되고 스크롤이 단계를 하나씩 연다.
   이 조건은 HomeGicusData.tsx의 gicusPinnedQuery와 같아야 한다. */
@media (min-width: 1081px) and (min-height: 740px) and (prefers-reduced-motion: no-preference) {
  .home-page .home-section--gicus {
    padding-bottom: 0;
  }
  .home-page .hs-gicus-actions-wrap {
    position: absolute;
    right: 0;
    bottom: clamp(48px, 7svh, 72px);
    left: 0;
    width: 100%;
    padding-block: 0;
    border-radius: 0;
    background: transparent;
    opacity: var(--gicus-finish, 0);
    translate: 0 calc(24px * (1 - var(--gicus-finish, 0)));
    pointer-events: none;
  }
  .home-page .hs-gicus-scene[data-actions-visible] .hs-gicus-actions-wrap {
    pointer-events: auto;
  }
  .home-page .hs-gicus-actions-wrap:focus-within {
    opacity: 1;
    translate: none;
    pointer-events: auto;
  }
  .home-page .hs-gicus-actions:is(.home-reveal-pending, .home-reveal-in) {
    opacity: 1;
    animation: none;
  }
  .home-page .hs-gicus-scene {
    --gicus-stage: calc(100svh - var(--header-height));
    height: calc(var(--gicus-stage) + var(--gicus-travel));
  }
  .home-page .hs-gicus-stage {
    position: sticky;
    top: var(--header-height);
    display: flex;
    align-items: center;
    height: var(--gicus-stage);
    padding-block: 16px;
    overflow: clip;
  }
  .home-page .hs-gicus-panel {
    position: relative;
    isolation: isolate;
    width: min(calc(100% - 2 * var(--gutter)), calc(var(--site-width) + 360px * var(--gicus-expand, 0)));
    grid-template-columns: clamp(300px, 24vw, 400px) minmax(0, 1fr);
    padding-block: 24px;
    background: transparent;
  }
  /* 퍼센트가 패널 자신을 기준으로 풀리므로, 움직이는 내용을 재지 않아도 커지는 면이 가운데에 머문다. */
  .home-page .hs-gicus-panel::before {
    position: absolute;
    z-index: -1;
    inset-block: calc((100% - var(--gicus-stage)) * var(--gicus-expand, 0) / 2);
    inset-inline: calc((100% - var(--gicus-viewport, 100vw)) * var(--gicus-expand, 0) / 2);
    border-radius: calc(28px * (1 - var(--gicus-expand, 0)));
    background: var(--hs-panel);
    content: '';
    pointer-events: none;
  }
  .home-page .hs-gicus-copy {
    translate: 0 calc(12px * (1 - var(--gicus-expand, 0)) - 48px * var(--gicus-finish, 0));
    scale: calc(1 - 0.06 * var(--gicus-finish, 0));
    transform-origin: left center;
  }
  .home-page .hs-gicus-copy h3 {
    font-size: clamp(26px, 2vw, 32px);
  }
  .home-page main .hs-gicus-scroll-note {
    display: flex;
  }
  .home-page .hs-gicus-screen {
    display: block;
    width: min(100%, calc((var(--gicus-stage) - 168px) * 1.6));
    justify-self: end;
    transform-origin: right center;
    transform: perspective(1600px)
      translate3d(0, calc(26px * (1 - var(--gicus-expand, 0)) - 56px * var(--gicus-finish, 0)), 0)
      rotateY(calc(-3deg * (1 - var(--gicus-expand, 0))))
      scale(calc(0.97 + 0.03 * var(--gicus-expand, 0) - 0.15 * var(--gicus-finish, 0)));
  }
  .home-page .hs-gicus-screen > .gicus-window {
    border: 1px solid #d3dae2;
    box-shadow: 0 30px 80px -32px rgb(26 32 40 / 28%);
  }

  /* 한 번에 한 단계만 연다: 제목이 밝아지고 선이 파랑으로 차오르며,
     설명이 펼쳐지는 동안 앞 단계는 빠르게 접힌다. */
  .home-page .hs-flow li {
    display: block;
    padding-block: 0;
  }
  .home-page .hs-flow li:is(.home-reveal-pending, .home-reveal-in) {
    opacity: 1;
    animation: none;
  }
  .home-page .hs-flow-inline-screen {
    display: none;
  }
  .home-page .hs-flow-trigger {
    color: #53677b;
    transition: color 250ms ease;
  }
  .home-page .hs-flow li[data-current] .hs-flow-trigger {
    color: var(--brand-hover);
  }
  .home-page .hs-flow-stage {
    color: #53677b;
    transition: color 250ms ease;
  }
  .home-page .hs-flow li[data-current] .hs-flow-stage {
    color: var(--brand-hover);
  }
  .home-page .hs-flow li::before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 350ms ease;
    content: '';
  }
  .home-page .hs-flow li[data-current]::before {
    transform: none;
    transition: transform 900ms var(--home-arrive);
  }
  .home-page .hs-flow-detail {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
      grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s 400ms;
  }
  .home-page .hs-flow li[data-current] .hs-flow-detail {
    grid-template-rows: 1fr;
    visibility: visible;
    transition:
      grid-template-rows 700ms var(--home-arrive),
      visibility 0s;
  }
  .home-page .hs-flow-detail > div {
    opacity: 0;
    translate: 0 -12px;
    transition:
      opacity 200ms ease,
      translate 250ms ease;
  }
  .home-page .hs-flow li[data-current] .hs-flow-detail > div {
    opacity: 1;
    translate: none;
    transition:
      opacity 450ms ease 100ms,
      translate 600ms var(--home-arrive) 100ms;
  }
  .home-page .hs-gicus-screen .hs-gicus-shot {
    transform: translate3d(0, 42px, 0) scale(1.025);
    transition:
      opacity 300ms ease,
      transform 600ms var(--home-arrive),
      visibility 0s 300ms;
  }
  .home-page .hs-gicus-screen .hs-gicus-shot[data-position='before'] {
    transform: translate3d(0, -28px, 0) scale(0.985);
  }
  .home-page .hs-gicus-screen .hs-gicus-shot[data-current] {
    transform: none;
    transition:
      opacity 500ms ease 100ms,
      transform 900ms var(--home-arrive) 100ms,
      visibility 0s;
  }
  .home-page .hs-gicus-screen-caption {
    animation: gicus-caption-enter 650ms var(--home-arrive) both;
  }
}

/* 진행 절차: 읽는 영역 아래에 산출물 띠를 따로 둔다. */
.home-page .hs-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .hs-process li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dde4ec;
  border-radius: 20px;
  background: #fff;
}
.home-page .hs-process-main {
  flex: 1;
  padding: 28px 24px 30px;
}
.home-page .hs-process-number {
  display: block;
  color: var(--hs-blue);
  font-size: clamp(40px, 3vw, 48px);
  font-weight: var(--fw-heading);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.home-page .hs-process h3 {
  margin: 30px 0 0;
  color: var(--hs-ink);
  font-size: 21px;
  font-weight: var(--fw-heading);
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.home-page .hs-process h3 span {
  display: block;
  margin-top: 5px;
  color: var(--hs-quiet);
  font-size: 11px;
  font-weight: var(--fw-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-page main .hs-process-main p {
  margin: 20px 0 0;
  color: #3a424c;
  font-size: 16px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.home-page .hs-process-output {
  position: relative;
  padding: 20px 24px 24px;
  background: var(--hs-soft);
}
.home-page .hs-process-output::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 1px;
  background: #cdd8e3;
  content: '';
  transform-origin: left center;
}
.home-page .hs-process-output-label {
  display: block;
  color: #5a6673;
  font-size: 12px;
  font-weight: var(--fw-strong);
}
.home-page main .hs-process-output p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  color: #1a2028;
  font-size: 16px;
  font-weight: var(--fw-heading);
  line-height: 1.5;
  letter-spacing: -0.03em;
}
.home-page .hs-process-output svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FAQ */
.home-page .home-section--faq {
  background: var(--section-surface);
}
.home-page .hs-faq {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.home-page .hs-faq-list {
  display: grid;
  gap: 10px;
}
.home-page .hs-contact {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--hs-radius);
  background: var(--hs-blue);
  color: white;
}
.home-page main .hs-contact-label {
  color: white;
  font-size: 14px;
  font-weight: var(--fw-strong);
}
.home-page .hs-contact-phone {
  display: block;
  margin-top: 10px;
  color: white;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: var(--fw-heading);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.home-page main .hs-contact-meta {
  margin: 8px 0 28px;
  color: white;
  font-size: 14px;
}
.home-page .hs-contact-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.home-page .hs-contact-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: white;
  color: var(--hs-blue);
  font-size: 16px;
  font-weight: var(--fw-heading);
  text-decoration: none;
}
.home-page .hs-contact-button .ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.home-page .hs-contact-button:hover {
  background: #e8eff8;
}
.home-page .hs-contact a:focus-visible {
  outline-color: white;
}

/* 닫는 문구는 화면 폭 건축 사진 위에 얹고, 가장자리를 흐리지 않는다. */
.home-page .site-cta {
  --home-cta-image: url('/assets/site/cta-market-daylight-v1.webp');
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 7vw, 112px);
  border: 0;
  background: #c6d9eb;
}
.home-page .site-cta::before,
.home-page .site-cta::after {
  position: absolute;
  content: '';
  pointer-events: none;
}
.home-page .site-cta::before {
  z-index: -2;
  inset: 0;
  background: var(--home-cta-image) center 54% / cover no-repeat;
}
.home-page .site-cta::after {
  z-index: -1;
  inset: 0;
  background: rgb(19 57 94 / 12%);
}
.home-page .site-cta .container {
  position: relative;
}
.home-page .site-cta-copy {
  max-width: 40rem;
}
.home-page .site-cta h2 {
  color: #163c64;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.home-page .site-cta-actions {
  justify-content: flex-end;
}
.home-page .site-cta .button-link {
  color: #163c64;
  border-color: #d0dbe5;
}
.home-page .site-cta .button-primary {
  background: #163c64;
  border-color: #163c64;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .home-page .site-cta .button-primary:hover {
    background: #102e4f;
    border-color: #102e4f;
    color: #fff;
  }
}
@media (max-width: 960px) {
  .home-page .site-cta {
    --home-cta-image: url('/assets/site/cta-market-daylight-v1-960.webp');
  }
  .home-page .site-cta-copy {
    max-width: min(75%, 35rem);
  }
  .home-page .site-cta-actions {
    justify-content: flex-start;
  }
  .home-page .site-cta::before {
    background-position: 58% center;
  }
  .home-page .site-cta::after {
    background: rgb(224 237 249 / 30%);
  }
}
@media (max-width: 600px) {
  .home-page .site-cta-copy {
    max-width: 100%;
  }
  .home-page .site-cta h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
  .home-page .site-cta::before {
    background-position: 62% center;
  }
  .home-page .site-cta::after {
    background: rgb(234 244 253 / 52%);
  }
}

@keyframes gicus-caption-enter {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 1080px) {
  .home-page {
    --hs-radius: 20px;
  }
  .home-page .home-section {
    padding-block: clamp(64px, 13vw, 104px);
  }
  .home-page .hs-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .home-page main .hs-intro {
    flex-basis: auto;
  }
  .home-page .hs-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .home-page .hs-figures dt {
    font-size: 14px;
  }
  .home-page .hs-field {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-page .hs-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
  .home-page .hs-proofs {
    padding: 24px 20px 28px;
    border-radius: 22px;
  }
  .home-page .journey-step-items {
    grid-template-columns: minmax(0, 1fr);
  }
  /* 트랙을 쌓는다: 패널 다음에 설명, 트랙을 하나씩 차례로 */
  .home-page .hs-tracks {
    gap: 56px;
  }
  .home-page .hs-track,
  .home-page .hs-track:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-page .hs-track:nth-child(even) .hs-track-panel {
    order: 0;
  }
  .home-page .hs-track:nth-child(even) .hs-track-copy {
    justify-self: start;
  }
  .home-page .hs-track-panel {
    min-height: 264px;
    aspect-ratio: 10 / 7;
  }
  .home-page .hs-track-panel .track-marks {
    height: 44px;
    padding: 0 12px;
  }
  .home-page .hs-track-panel .track-marks img {
    height: 21px;
  }
  .home-page .hs-track-panel .track-marks--set img {
    height: 32px;
  }
  .home-page .hs-flow li {
    display: block;
    padding-block: 24px 32px;
  }
  .home-page .hs-flow-inline-screen {
    margin-top: 20px;
  }
  .home-page .hs-flow-inline-screen .gicus-window {
    border-radius: 14px;
    box-shadow: none;
  }
  .home-page main .hs-flow-detail .hs-flow-role {
    padding-bottom: 18px;
  }
  .home-page .hs-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .home-page .hs-process-main {
    padding: 26px 24px;
  }
  .home-page .hs-process h3 {
    margin-top: 22px;
  }
  .home-page main .hs-process-main p {
    margin-top: 16px;
  }
  .home-page .hs-process-output {
    padding-block: 18px 22px;
  }
  .home-page .hs-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-page .hs-contact {
    position: static;
  }
}
@media (max-width: 560px) {
  /* 숫자는 한 줄에 통째로 두고, 단위는 일부러 늘 둘째 줄에 둔다. */
  .home-page .hs-figures dd a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .home-page .hs-figures strong {
    font-size: clamp(36px, 10vw, 44px);
    white-space: nowrap;
  }
  .home-page .hs-figures dd > a > span {
    font-size: 16px;
    white-space: nowrap;
  }
  .home-page .hs-field-photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-page .hs-gicus-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .home-page .hs-gicus-actions .button-link {
    width: 100%;
    min-width: 0;
    padding-inline: 20px;
    font-size: 16px;
  }
  /* 좁은 카드에서는 인증서 그림을 더 넓은 마크 묶음 아래에 둔다. */
  .home-page .hs-track-panel {
    min-height: 300px;
  }
  .home-page .hs-track-panel .track-art {
    top: 18%;
    height: 60%;
  }
}
@media (max-width: 360px) {
  .home-page .hs-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .home-page .hs-tracks-overview ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .home-page .hs-tracks-mini {
    padding: 14px;
    border-radius: 16px;
  }
  .home-page .hs-tracks-mini .track-art {
    display: none;
  }
  .home-page .hs-tracks-mini .track-marks {
    height: 36px;
    padding: 0 10px;
  }
  .home-page .hs-tracks-mini .track-marks img {
    height: 16px;
  }
  .home-page .hs-tracks-mini .track-marks--set {
    padding: 0 6px;
    gap: 4px;
  }
  .home-page .hs-tracks-mini .track-marks--set img {
    height: 22px;
  }
}
