* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    var(--font-sans);
  background: var(--white);
  color: var(--ink-700);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  word-break: keep-all;
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
p,
ul,
ol,
li,
figure {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  color: var(--blue-600);
  text-decoration: none;
}
a:hover {
  color: var(--green-600);
}
button,
input,
select,
textarea {
  font-family: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
}
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details .faq-sign::after {
  content: "+";
}
details[open] .faq-sign::after {
  content: "−";
}

.case-art {
  width: 76%;
  aspect-ratio: 1374 / 1145;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  transition: transform 0.35s ease;
}
.case-card:hover .case-art {
  transform: translateY(-4px);
}

@media (min-width: 1081px) {
  .case-card:nth-child(even) {
    margin-top: clamp(30px, 3.6vw, 58px);
  }
}
/* 카드 하단 여백(--case-pb)은 그림 높이(폭 × 1145/1374)에 맞춰 함께 줄인다 */
@media (max-width: 1080px) {
  .case-art {
    width: 62%;
  }
  .case-card {
    --case-pb: 44%;
  }
}
@media (max-width: 560px) {
  .case-card {
    --case-mh: 0;
    --case-pb: 30%;
    padding-top: 22px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .case-art {
    width: 42%;
  }
}

.stack-grid {
  display: grid;
  grid-template-columns: minmax(158px, 212px) minmax(0, 1fr) 82px 96px;
  align-items: center;
  gap: 6px 20px;
}
.stack-head {
  padding: 0 27px 12px;
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  color: rgba(255, 255, 255, 0.38);
}
.stack-head > span:nth-child(3),
.stack-head > span:nth-child(4) {
  text-align: center;
}
.stack-row {
  background: var(--on-dark-05);
  border: 1px solid var(--on-dark-14);
  border-radius: var(--radius-sm);
  padding: 20px 26px;
}

/* 녹색 강조는 스크롤 위치에 따라 줄을 옮겨 다닌다 (script.js mountStackLight) */
.stack-row.is-lit {
  border-color: rgba(74, 222, 155, 0.38);
  background: rgba(74, 222, 155, 0.06);
}
#custom .stack-row[data-reveal] {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.45s ease,
    background-color 0.45s ease;
}
.row-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: var(--t-small);
  font-weight: 800;
  letter-spacing: var(--ls-small);
  color: var(--white);
}
.row-desc {
  font-size: var(--t-micro);
  letter-spacing: var(--ls-micro);
  line-height: 1.7;
  color: var(--on-dark-72);
}
.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 0;
  border-radius: 0.4rem;
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  white-space: nowrap;
}
.mark-out {
  border: 1px solid var(--on-dark-08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.32);
}
.mark-plain {
  border: 1px solid var(--on-dark-16);
  background: var(--on-dark-06);
  color: rgba(255, 255, 255, 0.66);
}
.mark-own {
  border: 1px solid rgba(74, 222, 155, 0.32);
  background: rgba(74, 222, 155, 0.1);
  color: var(--green-300);
}

.mark-k {
  display: none;
}
@media (max-width: 820px) {
  .stack-head {
    display: none;
  }
  .stack-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
  }
  .stack-row > .row-title,
  .stack-row > .row-desc {
    grid-column: 1 / -1;
  }
  .mark {
    justify-content: flex-start;
    padding: 8px 11px;
  }
  .mark-k {
    display: inline;
    font-weight: 600;
    opacity: 0.72;
  }
}
.ai-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--white);
  vertical-align: -0.16em;
  animation: ai-blink 1s steps(1) infinite;
}
@keyframes ai-blink {
  50% {
    opacity: 0;
  }
}
.ai-dots {
  display: none;
  align-items: center;
  gap: 5px;
  height: 20px;
}
.ai-dots.is-on {
  display: inline-flex;
}
.ai-dots span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: var(--on-dark-50);
  animation: ai-bounce 0.9s ease-in-out infinite;
}
.ai-dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.ai-dots span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes ai-bounce {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.ai-row {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.ai-row.is-on {
  opacity: 1;
  transform: none;
}
.chip-btn {
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.chip-btn:hover,
.chip-btn.is-on {
  border-color: rgba(90, 180, 236, 0.6);
  background: rgba(90, 180, 236, 0.16);
  color: #8fd0f7;
}
@keyframes cta-pulse {
  0% {
    box-shadow:
      0 10px 24px rgba(0, 131, 92, 0.24),
      0 0 0 0 rgba(0, 131, 92, 0.5);
  }
  70% {
    box-shadow:
      0 10px 24px rgba(0, 131, 92, 0.24),
      0 0 0 18px rgba(0, 131, 92, 0);
  }
  100% {
    box-shadow:
      0 10px 24px rgba(0, 131, 92, 0.24),
      0 0 0 0 rgba(0, 131, 92, 0);
  }
}
.cta-pulse.is-pulsing {
  animation: cta-pulse 1.3s ease-out 1;
}
.faq-chip {
  padding: 8px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--t-fine);
  letter-spacing: var(--ls-micro);
  font-weight: 700;
  color: var(--ink-500);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.faq-chip:hover {
  border-color: var(--green-600);
  color: var(--green-600);
}
.faq-chip.is-on {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}
.mock-row > span:nth-child(2) {
  text-align: center;
}
.mock-row > span:nth-child(3) {
  text-align: right;
}
.win {
  overflow: hidden;
  border: 1px solid var(--on-dark-14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 15px;
  background: var(--on-dark-06);
  border-bottom: 1px solid var(--on-dark-10);
}
.win-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: var(--on-dark-18);
}
.win-addr {
  flex: 1;
  max-width: 320px;
  height: 20px;
  margin-left: 10px;
  border-radius: var(--radius-pill);
  background: var(--on-dark-06);
}
.win-body {
  padding: 22px 24px 24px;
}

.mk {
  width: 320px;
  max-width: 100%;
  padding: 9px;
  border-radius: 36px;
  box-sizing: border-box;
}
.mk-dark {
  background: #05070d;
  border: 1px solid var(--on-dark-16);
  box-shadow:
    0 34px 64px rgba(2, 6, 23, 0.44),
    0 12px 24px rgba(2, 6, 23, 0.26);
}
.mk-light {
  background: var(--ink-950);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow:
    0 34px 64px rgba(15, 23, 42, 0.22),
    0 12px 24px rgba(15, 23, 42, 0.14);
}
.mk-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding-bottom: 20px;
}
.mk-dark .mk-screen {
  background: var(--ink-900);
}
.mk-light .mk-screen {
  background: var(--white);
}
.mk-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mk-dark .mk-bar {
  color: rgba(255, 255, 255, 0.62);
}
.mk-light .mk-bar {
  color: var(--ink-500);
}
.mk-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 21px;
  border-radius: var(--radius-pill);
  background: #05070d;
}
.mk-pad {
  padding: 4px 16px 0;
}
.mk-h {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mk-dark .mk-h {
  color: var(--white);
}
.mk-light .mk-h {
  color: var(--ink-900);
}
.mk-sub {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.mk-dark .mk-sub {
  color: rgba(255, 255, 255, 0.42);
}
.mk-light .mk-sub {
  color: var(--ink-400);
}
.mk-card {
  margin-top: 12px;
  padding: 14px 15px;
  border-radius: 14px;
}
.mk-dark .mk-card {
  background: var(--on-dark-05);
  border: 1px solid var(--on-dark-10);
}
.mk-light .mk-card {
  background: var(--ink-050);
  border: 1px solid var(--ink-200);
}
.mk-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mk-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mk-dark .mk-label {
  color: rgba(255, 255, 255, 0.8);
}
.mk-light .mk-label {
  color: var(--ink-700);
}
.mk-val {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mk-note {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
}
.mk-dark .mk-note {
  color: rgba(255, 255, 255, 0.44);
}
.mk-light .mk-note {
  color: var(--ink-400);
}

.mk-tog {
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: background 0.2s ease;
}
.mk-tog::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-round);
  background: var(--white);
}
.mk-tog-on {
  background: var(--green-600);
}
.mk-tog-on::after {
  right: 3px;
}
.mk-tog-off {
  background: var(--on-dark-16);
}
.mk-tog-off::after {
  left: 3px;
  background: rgba(255, 255, 255, 0.55);
}

.mk-gauge {
  margin-top: 11px;
  height: 7px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.mk-dark .mk-gauge {
  background: var(--on-dark-10);
}
.mk-light .mk-gauge {
  background: var(--ink-200);
}
.mk-gauge > span {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--green-600), var(--green-300));
}

.mk-alert {
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(244, 185, 66, 0.38);
  background: rgba(244, 185, 66, 0.12);
}
.mk-alert-t {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f4b942;
}
.mk-alert-d {
  margin-top: 5px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.6);
}
.mk-act {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}
.mk-log {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.mk-dark .mk-log + .mk-log {
  border-top: 1px solid var(--on-dark-08);
}
.mk-light .mk-log + .mk-log {
  border-top: 1px solid var(--ink-200);
}
.mk-dark .mk-log {
  color: rgba(255, 255, 255, 0.56);
}
.mk-light .mk-log {
  color: var(--ink-500);
}

.mk-light .mk-alert {
  border-color: rgba(217, 119, 6, 0.3);
  background: #fff7ed;
}
.mk-light .mk-alert-t {
  color: #b45309;
}
.mk-light .mk-alert-d {
  color: var(--ink-500);
}
/* 강조 카드: 01 목업의 제어 이력 */
.mk-light .mk-card-key {
  border-color: rgba(0, 131, 92, 0.32);
  background: #f3faf7;
  box-shadow: 0 6px 16px rgba(0, 131, 92, 0.08);
}
.mk-light .mk-card-key .mk-label {
  color: var(--ink-900);
}
.mk-light .mk-card-key .mk-log + .mk-log {
  border-top-color: rgba(0, 131, 92, 0.12);
}
.mk-tag {
  flex: none;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}
.mk-tag-ok {
  background: rgba(0, 131, 92, 0.1);
  color: var(--green-700);
}
.mk-tag-warn {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.feat-finale {
  --ramp: clamp(110px, 12vw, 172px);
  position: relative;
  padding: calc(var(--ramp) + clamp(30px, 3.4vw, 48px)) 24px
    clamp(30px, 3.6vw, 56px);
  background:
    radial-gradient(
      64% 260px at 50% var(--ramp),
      rgba(0, 155, 109, 0.18),
      rgba(0, 155, 109, 0) 72%
    ),
    linear-gradient(
      180deg,
      var(--ink-050) 0,
      #f6f8fb calc(var(--ramp) * 0.05),
      #f2f4f6 calc(var(--ramp) * 0.10),
      #eaecef calc(var(--ramp) * 0.15),
      #e0e2e6 calc(var(--ramp) * 0.20),
      #d4d7db calc(var(--ramp) * 0.25),
      #c6c9cf calc(var(--ramp) * 0.30),
      #b6bac1 calc(var(--ramp) * 0.35),
      #a6aab2 calc(var(--ramp) * 0.40),
      #959aa3 calc(var(--ramp) * 0.45),
      #848993 calc(var(--ramp) * 0.50),
      #727883 calc(var(--ramp) * 0.55),
      #616774 calc(var(--ramp) * 0.60),
      #515765 calc(var(--ramp) * 0.65),
      #414857 calc(var(--ramp) * 0.70),
      #333b4b calc(var(--ramp) * 0.75),
      #272f40 calc(var(--ramp) * 0.80),
      #1d2538 calc(var(--ramp) * 0.85),
      #161d30 calc(var(--ramp) * 0.90),
      #11192c calc(var(--ramp) * 0.95),
      var(--ink-900) var(--ramp)
    );
}

.fchip {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid #dfe6ee;
  background: linear-gradient(180deg, var(--white), #f5f8fb);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  color: var(--ink-700);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}
.fchip:hover {
  border-color: rgba(0, 131, 92, 0.5);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.09);
  color: var(--ink-900);
}

.feat-stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 34%, 400px);
  column-gap: clamp(28px, 3.2vw, 56px);
  align-items: start;
}
.feat-blk {
  grid-column: 1;
}
.feat-blk {
  position: relative;
  padding: clamp(40px, 6vh, 96px) 0;
  min-height: clamp(360px, 56vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-blk::before {
  content: attr(data-n);
  position: absolute;
  left: calc(-1 * clamp(18px, 4.4vw, 84px));
  top: clamp(4px, 2vh, 26px);
  z-index: 0;
  font-size: clamp(112px, 14vw, 232px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(15, 23, 42, 0.05);
  pointer-events: none;
  user-select: none;
}
.feat-blk > .feat-copy {
  position: relative;
  z-index: 1;
}

.feat-mock {
  --mock-h: clamp(420px, 62vh, 620px);
  grid-column: 2;
  grid-row: 1 / span 4;
  position: sticky;
  top: max(96px, calc((100vh - var(--mock-h)) / 2));
  align-self: start;
  height: var(--mock-h);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease-out-soft);
}
.feat-mock.is-on {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .feat-stage {
    display: block;
    margin-top: clamp(48px, 9vw, 72px);
  }
  .feat-blk {
    min-height: 0;
    padding: 0;
  }
  /* 인라인 flex-basis 380px 가 세로 flex 안에서 높이가 되어 제목이 위로 밀려 올라가던 문제 */
  .feat-blk > .feat-copy {
    flex: none !important;
    min-width: 0 !important;
  }
  .feat-blk::before {
    left: auto;
    right: 0;
    top: -10px;
    font-size: clamp(88px, 22vw, 150px);
  }
  .feat-mock {
    position: static;
    height: auto;
    margin-top: clamp(24px, 4vw, 36px);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .feat-mock + .feat-blk {
    margin-top: clamp(88px, 16vw, 128px);
  }
}

.dark-exit {
  --ramp: clamp(56px, 6vw, 88px);
  position: relative;
  padding: clamp(44px, 5vw, 76px) 24px
    calc(var(--ramp) + clamp(30px, 3.4vw, 48px));
  background:
    radial-gradient(
      64% 260px at 50% calc(100% - var(--ramp)),
      rgba(0, 155, 109, 0.18),
      rgba(0, 155, 109, 0) 72%
    ),
    linear-gradient(
      0deg,
      var(--ink-050) 0,
      #f6f8fa calc(var(--ramp) * 0.05),
      #f1f4f6 calc(var(--ramp) * 0.10),
      #eaecef calc(var(--ramp) * 0.15),
      #dfe2e5 calc(var(--ramp) * 0.20),
      #d3d6da calc(var(--ramp) * 0.25),
      #c5c8cc calc(var(--ramp) * 0.30),
      #b5b9be calc(var(--ramp) * 0.35),
      #a5a8af calc(var(--ramp) * 0.40),
      #93979e calc(var(--ramp) * 0.45),
      #82868e calc(var(--ramp) * 0.50),
      #70757e calc(var(--ramp) * 0.55),
      #5e646d calc(var(--ramp) * 0.60),
      #4e535e calc(var(--ramp) * 0.65),
      #3e4450 calc(var(--ramp) * 0.70),
      #303642 calc(var(--ramp) * 0.75),
      #242a37 calc(var(--ramp) * 0.80),
      #19202d calc(var(--ramp) * 0.85),
      #121826 calc(var(--ramp) * 0.90),
      #0d1422 calc(var(--ramp) * 0.95),
      var(--ink-950) var(--ramp)
    );
}

.dark-exit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.conn {
  position: relative;
  height: clamp(96px, 11vw, 150px);
}
.stack-row.is-app {
  position: relative;
  --conn-h: clamp(220px, 25vw, 322px);
}
.stack-row.is-app::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--conn-h));
  width: 1px;
  height: 0;
  background: linear-gradient(
    180deg,
    rgba(74, 222, 155, 0),
    rgba(74, 222, 155, 0.9)
  );
  transition: height 0.75s var(--ease-out-soft);
}
.stack-row.is-app::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: var(--radius-round);
  background: var(--green-300);
  box-shadow:
    0 0 0 4px rgba(74, 222, 155, 0.16),
    0 0 16px rgba(74, 222, 155, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease 0.62s;
}
.stack-row.is-app[data-revealed]::before {
  height: var(--conn-h);
}
.stack-row.is-app[data-revealed]::after {
  opacity: 1;
}

.row-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--on-dark-14);
  background: var(--on-dark-05);
  color: rgba(255, 255, 255, 0.66);
}
.row-ico {
  transition:
    border-color 0.45s ease,
    background-color 0.45s ease,
    color 0.45s ease;
}
.stack-row.is-lit .row-ico {
  border-color: rgba(74, 222, 155, 0.36);
  background: rgba(74, 222, 155, 0.1);
  color: var(--green-300);
}
@media (max-width: 1000px) {
  .conn {
    height: clamp(64px, 12vw, 96px);
  }
  .stack-row.is-app {
    --conn-h: clamp(120px, 26vw, 180px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack-row.is-app::before {
    height: var(--conn-h);
    transition: none;
  }
  .stack-row.is-app::after {
    opacity: 1;
    transition: none;
  }
}

.bleed-r {
  --bleed: max(24px, (100vw - var(--max-page)) / 2);
  margin-right: calc(-1 * var(--bleed));
}
@media (min-width: 1001px) {
  .bleed-r > .win-bar {
    padding-right: calc(15px + var(--bleed));
  }
  .bleed-r > .win-body {
    padding-right: calc(24px + var(--bleed));
  }
}
@media (max-width: 1000px) {
  .bleed-r {
    --bleed: 0px;
    margin-right: 0;
  }
}
.stage {
  position: relative;
  max-width: var(--max-page);
  margin: 0 auto;
}
.split {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.44vw, 44px);
}
.split > .split-side {
  flex: 0 0 var(--side, 300px);
  min-width: 0;
}
.split > .split-main {
  flex: 1 1 0;
  min-width: 0;
}

.drift-r {
  transform: translateX(4%);
}
@media (max-width: 1000px) {
  .drift-r {
    transform: none;
  }
}
.split-side--sticky {
  position: sticky;
  top: 96px;
}

.rail-h {
  font-size: var(--t-h2-mf);
  font-weight: 800;
  letter-spacing: var(--ls-h2-mf);
  line-height: 1.22;
}
.rail-h--sm {
  font-size: var(--t-h3);
  letter-spacing: var(--ls-h3);
}

.rail-h--lg {
  font-size: var(--t-h2-f);
  letter-spacing: var(--ls-h2-f);
}
@media (max-width: 1000px) {
  .split {
    flex-direction: column;
    gap: clamp(26px, 4vw, 40px);
  }
  .split > .split-side,
  .split > .split-main {
    flex: 1 1 auto;
    width: 100%;
  }
  .split-side--sticky {
    position: static;
  }
}

/* "눌러서 바꿔보세요" 안내. 질문을 한 번 누르기 전까지 손가락과 점이 번갈아 깜빡인다 */
.q-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(74, 222, 155, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 155, 0.1);
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  color: var(--green-300);
}
.q-hint-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  background: rgba(74, 222, 155, 0.18);
}
.q-rail {
  position: relative;
  margin-top: clamp(20px, 2.4vw, 30px);
  padding-left: 26px;
}
.q-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--on-dark-02),
    var(--on-dark-14) 12%,
    var(--on-dark-14) 88%,
    var(--on-dark-02)
  );
}
.q-rail .chip-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: left;
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: var(--ls-micro);
  color: var(--on-dark-50);
}
.q-rail .chip-btn::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: var(--ink-900);
  border: 1.5px solid var(--on-dark-24);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease-out-soft),
    box-shadow 0.3s ease;
}
.q-rail .chip-btn:hover {
  background: none;
  color: rgba(255, 255, 255, 0.8);
}
.q-rail .chip-btn:hover::before {
  border-color: var(--on-dark-50);
}
.q-rail .chip-btn.is-on {
  background: none;
  color: var(--white);
}
.q-rail .chip-btn.is-on::before {
  background: var(--green-300);
  border-color: var(--green-300);
  transform: scale(1.12);
  box-shadow:
    0 0 0 5px rgba(74, 222, 155, 0.13),
    0 0 18px rgba(74, 222, 155, 0.55);
}
.form-wrap {
  max-width: var(--max-page);
}
.form-split {
  display: flex;
  align-items: stretch;
}
.form-aside {
  position: relative;
  flex: 0 0 40%;
  display: flex;
  align-items: flex-end;
  background: var(--ink-900)
    url("assets/img/form-bg.webp") no-repeat center 42%/cover;
}
.form-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0) 30%,
      rgba(15, 23, 42, 0.58) 62%,
      rgba(15, 23, 42, 0.88) 100%
    ),
    linear-gradient(
      145deg,
      rgba(15, 23, 42, 0.34),
      rgba(0, 131, 92, 0.16) 55%,
      rgba(15, 23, 42, 0.42)
    );
}
.form-aside-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(30px, 3.2vw, 46px);
}
.aside-k {
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-pill);
  color: rgba(255, 255, 255, 0.56);
}
.aside-tel {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--t-num);
  font-weight: 800;
  letter-spacing: var(--ls-num);
  line-height: 1.1;
  color: var(--white);
}
.aside-tel:hover {
  color: var(--green-300);
}
.aside-steps {
  position: relative;
  margin-top: clamp(26px, 3vw, 40px);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aside-steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(74, 222, 155, 0.75),
    var(--on-dark-14)
  );
}
.aside-steps li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  color: rgba(255, 255, 255, 0.92);
}
.aside-steps li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: var(--ink-900);
  border: 1.5px solid rgba(74, 222, 155, 0.85);
}
.aside-steps li span {
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-plain);
  color: rgba(74, 222, 155, 0.9);
}
.form-main {
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 1080px) {
  .form-wrap {
    max-width: 920px;
  }
  .form-split {
    flex-direction: column;
  }
  .form-aside {
    flex: 0 0 auto;
  }
}
@media (max-width: 560px) {
  .win-body {
    padding: 18px 16px 20px;
  }
}
.faq-body {
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-body > p {
  max-width: 68ch;
}
.field-ok {
  position: absolute;
  right: 14px;
  bottom: 0;
  height: 52px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-600);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.field input:valid:not(:placeholder-shown) ~ .field-ok {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .ai-row {
    opacity: 1;
    transform: none;
  }
  .ai-caret,
  .ai-dots span,
  .cta-pulse.is-pulsing {
    animation: none;
  }
  .faq-body {
    transition: none;
  }
}

.float-dock,
.float-top {
  --float-size: 52px;
  --float-gap: 16px;
  --float-right: 28px;
  --float-bottom: 28px;
}

body.bar-up .float-dock,
body.bar-up .float-top {
  --float-bottom: calc(var(--bar-h) + 16px);
}

.float-dock a {
  color: inherit;
}
.float-dock img {
  display: block;
}
.float-dock :focus-visible,
.float-top:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: var(--radius-round);
}

.float-dock {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    bottom var(--dur-base) var(--ease-standard),
    opacity var(--dur-base) ease;
}

.float-dock.is-lift {
  bottom: calc(var(--float-bottom) + var(--float-size) + var(--float-gap));
}

.float-btn {
  transition:
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    filter var(--dur-fast) ease;
}
.float-btn:hover {
  transform: translateY(-3px);
}

.float-sym {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: var(--shadow-sym);
}
.float-sym:hover {
  filter: var(--shadow-sym-hover);
}
.float-sym img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-dock .float-sym {
  flex: none;
  width: var(--float-size);
  height: var(--float-size);
  transition:
    height 0.3s var(--ease-out-soft),
    margin-top 0.3s var(--ease-out-soft),
    opacity 0.24s ease,
    transform 0.3s var(--ease-out-soft),
    filter var(--dur-fast) ease;
}
.float-dock .float-sym + .float-sym {
  margin-top: var(--float-gap);
}
.float-dock .float-sym:not(:first-child) {
  height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.86);
  pointer-events: none;
  overflow: hidden;
}
.float-dock:hover .float-sym:not(:first-child),
.float-dock:focus-within .float-sym:not(:first-child),
.float-dock.is-open .float-sym:not(:first-child) {
  height: var(--float-size);
  margin-top: var(--float-gap);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-dock:hover .float-sym:not(:first-child):hover,
.float-dock:focus-within .float-sym:not(:first-child):hover,
.float-dock.is-open .float-sym:not(:first-child):hover {
  transform: translateY(-3px);
}

.float-top {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 50;
  width: var(--float-size);
  height: var(--float-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-float);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    bottom var(--dur-base) var(--ease-standard),
    opacity var(--dur-base) ease,
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}
.float-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.float-top:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-float-hover);
}
.float-top span {
  font-size: 20px;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--text-accent);
}

body.dock-dim .float-dock {
  opacity: 0.26;
}

body.dock-dim .float-top.is-show {
  opacity: 0.45;
}
body.dock-dim .float-dock:hover,
body.dock-dim .float-dock:focus-within,
body.dock-dim .float-dock.is-open,
body.dock-dim .float-top.is-show:hover,
body.dock-dim .float-top.is-show:focus-visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .float-dock,
  .float-top {
    --float-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-dock,
  .float-dock .float-sym,
  .float-btn,
  .float-btn:hover,
  .float-top {
    transition: none;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .feat-row {
    opacity: 1 !important;
    transform: none !important;
  }
  .feat-row .feat-copy > p,
  .feat-row .feat-copy > h3,
  .feat-row .feat-copy > ul > li,
  .feat-row .feat-art {
    opacity: 0;
    will-change: transform, opacity;
  }
  .feat-row[data-revealed] .feat-copy > p {
    animation: featRise 0.72s var(--ease-out-soft) both;
  }
  .feat-row[data-revealed] .feat-copy > h3 {
    animation: featTitle 0.88s var(--ease-out-soft) both;
  }
  .feat-row[data-revealed] .feat-copy > ul > li {
    animation: featChip 0.6s cubic-bezier(0.3, 1.45, 0.5, 1) both;
  }
  .feat-row[data-revealed] .feat-art {
    animation: featArt 0.98s var(--ease-out-soft) 0.1s both;
  }
  .feat-row--alt[data-revealed] .feat-art {
    animation-name: featArtAlt;
  }
  .feat-row[data-revealed] .feat-copy > *:nth-child(1) {
    animation-delay: 0.05s;
  }
  .feat-row[data-revealed] .feat-copy > *:nth-child(2) {
    animation-delay: 0.13s;
  }
  .feat-row[data-revealed] .feat-copy > *:nth-child(3) {
    animation-delay: 0.27s;
  }
  .feat-row[data-revealed] .feat-copy > *:nth-child(4) {
    animation-delay: 0.37s;
  }
  .feat-row[data-revealed] .feat-copy > ul > li:nth-child(1) {
    animation-delay: 0.47s;
  }
  .feat-row[data-revealed] .feat-copy > ul > li:nth-child(2) {
    animation-delay: 0.54s;
  }
  .feat-row[data-revealed] .feat-copy > ul > li:nth-child(3) {
    animation-delay: 0.61s;
  }
  .feat-row[data-revealed] .feat-copy > ul > li:nth-child(4) {
    animation-delay: 0.68s;
  }
}
@keyframes featRise {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes featTitle {
  0% {
    opacity: 0;
    transform: translate3d(0, 46px, 0) scale(0.965) rotate(-1.1deg);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes featChip {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes featArt {
  0% {
    opacity: 0;
    transform: translate3d(64px, 20px, 0) scale(0.88) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes featArtAlt {
  0% {
    opacity: 0;
    transform: translate3d(-64px, 20px, 0) scale(0.88) rotate(-3deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.hero {
  /* air 처럼 히어로만 --t-hero 를 지역으로 다시 잡는다. 영상과 나란히 서야 해서 전역값(최대 96px)보다 작게 둔다 */
  --t-hero: clamp(32px, calc(16px + 3.9vw), 72px);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink-950);
  overflow-x: clip;
}

.hero-next {
  background: var(--white);
  padding: clamp(136px, 15.5vw, 224px) 24px
    var(--section-y);
}
.hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 48px) 24px clamp(30px, 3.4vw, 52px);
}
.hero-title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-size: var(--t-hero);
  font-weight: 900;
  letter-spacing: var(--ls-display);
  line-height: 1.08;
  color: var(--white);
}
.hero-title em {
  display: block;
  font-style: normal;
  color: var(--green-300);
}
.hero-actions {
  margin-top: clamp(18px, 2.2vw, 30px);
  text-align: left;
}
.hero-sub {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: var(--ls-small);
  color: rgba(255, 255, 255, 0.76);
}
.hero-cta {
  display: inline-block;
  margin-top: clamp(12px, 1.3vw, 18px);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  background: var(--green-600);
  color: var(--white);
  font-size: var(--t-lead);
  font-weight: 800;
  letter-spacing: var(--ls-lead);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 131, 92, 0.24);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus,
.hero-cta:active {
  color: var(--white);
  background: #0a9d70;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 131, 92, 0.34);
}
.hero-cta:focus-visible {
  outline: 3px solid var(--green-300);
  outline-offset: 3px;
}

.hero-head {
  position: relative;
  z-index: 3;
  max-width: min(880px, 72%);
}
.hero-chapters {
  position: relative;
  z-index: 2;
  margin-top: clamp(20px, 2.4vw, 34px);
  padding-top: 15px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 30px);
}

.hero-chapters::before,
.hero-chapters::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
}
.hero-chapters::before {
  right: 0;
  background: linear-gradient(
    90deg,
    var(--on-dark-02),
    var(--on-dark-14) 6%,
    var(--on-dark-14) 94%,
    var(--on-dark-02)
  );
}
.hero-chapters::after {
  width: var(--rail-p, 0px);
  background: linear-gradient(
    90deg,
    rgba(74, 222, 155, 0.28),
    var(--green-300)
  );
  box-shadow: 0 0 14px rgba(74, 222, 155, 0.45);
  transition: width 0.28s linear;
}
.hero-chapters li {
  position: relative;
}
.hero-chapters li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: var(--ink-950);
  border: 1.5px solid var(--on-dark-24);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease-out-soft);
}
.hero-chapters li:hover::before {
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-chapters li.is-done::before {
  background: rgba(74, 222, 155, 0.6);
  border-color: rgba(74, 222, 155, 0.6);
}
.hero-chapters li.is-on::before {
  background: var(--green-300);
  border-color: var(--green-300);
  transform: scale(1.12);
  box-shadow:
    0 0 0 5px rgba(74, 222, 155, 0.13),
    0 0 18px rgba(74, 222, 155, 0.55);
}
.hero-chapters button {
  display: block;
  width: 100%;
  padding: 4px 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--on-dark-72);
  transition:
    color 0.35s ease,
    transform 0.35s var(--ease-out-soft);
}
.hero-chapters button:hover {
  color: var(--white);
}
.hero-chapters button:focus-visible {
  outline: 2px solid var(--green-300);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero-chapters li.is-on button {
  color: var(--white);
  transform: translateY(-2px);
}
.rail-tc {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-fine);
  letter-spacing: var(--ls-plain);
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
  transition: color 0.35s ease;
}
.hero-chapters li.is-on .rail-tc {
  color: var(--green-300);
}
.rail-tx {
  display: block;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  line-height: 1.5;
}

.hero-screen {
  position: relative;
  z-index: 2;
  width: min(1180px, 74vw);
  margin-left: auto;

  margin-right: calc(50% - 50vw);
  margin-top: calc(-1 * clamp(84px, 17vw, 250px));
}
.hero-screen video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px 0 0 10px;
  background: #000;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--on-dark-10);
  box-shadow: 0 42px 90px -34px rgba(0, 0, 0, 0.85);
}
.hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  border: 1px solid var(--on-dark-24);
  background: rgba(2, 6, 23, 0.62);
  color: var(--white);
  font-size: 21px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-screen.is-paused .hero-play {
  display: flex;
}
.hero-sound {
  position: absolute;
  right: 88px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 6, 23, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--t-fine);
  font-weight: 700;
  letter-spacing: var(--ls-micro);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.hero-sound:hover {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}
.hero-sound:focus-visible,
.hero-play:focus-visible {
  outline: 2px solid var(--green-300);
  outline-offset: 3px;
}
.hero-sound svg {
  display: block;
  flex: none;
}

@media (max-width: 1000px) {
  /* 세로로 쌓이면 영상이 다음 섹션에 걸치지 않으므로 첫 화면 높이·윗여백을 강제하지 않는다 */
  .hero {
    min-height: 0;
  }
  .hero-next {
    padding-top: clamp(64px, 12vw, 104px);
  }
  .hero-head {
    max-width: none;
  }
  .hero-screen {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    margin-top: clamp(22px, 3.4vw, 34px);
  }
  .hero-screen video {
    border-radius: 10px;
  }
  .hero-sound {
    right: 18px;
  }
  .hero-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
    padding-top: 0;
  }
  .hero-chapters::before,
  .hero-chapters::after,
  .hero-chapters li::before {
    display: none;
  }
  .hero-chapters button {
    position: relative;
    padding: 8px 0 8px 14px;
  }
  .hero-chapters li.is-on button {
    transform: none;
  }
  .hero-chapters button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 2px;
    background: var(--on-dark-14);
    transition:
      background 0.35s ease,
      box-shadow 0.35s ease;
  }
  .hero-chapters li.is-on button::before {
    background: var(--green-300);
    box-shadow: 0 0 12px rgba(74, 222, 155, 0.45);
  }
}
@media (max-width: 560px) {
  .hero-chapters {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-sound {
    top: 12px;
    right: 12px;
    bottom: auto !important;
    height: 32px;
    padding: 0 11px 0 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta,
  .hero-cta:hover,
  .hero-sound,
  .hero-sound:hover,
  .hero-chapters button,
  .hero-chapters button::before,
  .hero-chapters li::before,
  .hero-chapters::after,
  .rail-tc {
    transition: none;
  }
  .hero-cta:hover,
  .hero-chapters li.is-on button {
    transform: none;
  }
}

.hdr {
  --hdr-btn-h: 42px;
  --hdr-radius: 10px;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  box-sizing: border-box;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding: 0 var(--page-gutter) env(safe-area-inset-bottom);
  color: var(--text-heading);
  font-family: var(--font-sans);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid var(--border-default);

  box-shadow:
    0 -1px 2px rgba(15, 23, 42, 0.04),
    0 -10px 30px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.3s var(--ease-standard),
    opacity 0.3s var(--ease-standard);
}

.hdr *,
.hdr *::before,
.hdr *::after {
  box-sizing: border-box;
}
.hdr img {
  display: block;
  max-width: 100%;
}
.hdr a {
  text-decoration: none;
  color: inherit;
}
.hdr :focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: var(--hdr-radius);
}

.hdr.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.hdr .hdr-wrap {
  max-width: var(--max-page);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hdr-logo {
  display: flex;
  align-items: center;
  border-radius: var(--hdr-radius);
}
.hdr-logo img {
  height: 30px;
  width: auto;
}
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--hdr-btn-h);
  padding: 0 10px;
  border-radius: var(--hdr-radius);
  color: var(--text-heading);
  white-space: nowrap;
  transition:
    background 0.18s var(--ease-standard),
    color 0.18s var(--ease-standard);
}
.hdr-tel:hover {
  background: var(--ink-050);
}
.hdr-tel svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: var(--text-muted);
  transition: fill 0.18s var(--ease-standard);
}
.hdr-tel:hover svg {
  fill: var(--text-heading);
}
.hdr-tel .num {
  font-size: var(--t-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-num);
  font-variant-numeric: tabular-nums;
}

.hdr .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--hdr-btn-h);
  padding: 0 16px;
  border-radius: var(--hdr-radius);
  font-size: var(--t-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-micro);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.18s var(--ease-standard),
    border-color 0.18s var(--ease-standard),
    box-shadow 0.18s var(--ease-standard);
}

.hdr .btn-store {
  background: var(--white);
  color: var(--text-heading);
  border: 1px solid var(--ink-300);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.hdr .btn-store:hover {
  background: var(--ink-050);
  transform: none;
}
.hdr .btn-store img {
  width: 18px;
  height: 18px;
  flex: none;
}

.hdr .btn-primary {
  background: var(--action-primary);
  color: var(--text-inverse);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}
.hdr .btn-primary:hover {
  background: var(--action-primary-hover);
  color: var(--text-inverse);
  transform: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}

@media (max-width: 720px) {
  :root {
    --bar-h: 60px;
  }
  .hdr {
    --hdr-btn-h: 40px;
  }
  .hdr .hdr-wrap {
    gap: 10px;
  }
  .hdr-logo img {
    height: 24px;
  }
  .hdr-cta {
    gap: 7px;
  }
  .hdr-tel {
    padding: 0 6px;
    gap: 6px;
  }
  .hdr .btn {
    padding: 0 13px;
  }
  .hdr .btn-store {
    padding: 0 5px;
  }
  /* 글자가 빠지고 아이콘만 남으므로 심볼을 키워 버튼 안을 채운다.
     원본(104px)에 투명 여백이 커서 실제 배지는 이 크기의 절반 정도로 보인다 */
  .hdr .btn-store img {
    width: 34px;
    height: 34px;
  }
  .hdr .btn-store .label {
    display: none;
  }
}

@media (max-width: 420px) {
  .hdr-tel {
    padding: 0 8px;
  }
  .hdr-tel .num {
    display: none;
  }
  .hdr-tel svg {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdr,
  .hdr .btn,
  .hdr-tel,
  .hdr-tel svg {
    transition: none;
  }
}

.ftr {
  --ftr-radius: 8px;

  box-sizing: border-box;
  padding: 44px var(--page-gutter) calc(44px + env(safe-area-inset-bottom));
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--t-micro);
  letter-spacing: var(--ls-micro);
  background: #eef1f6;
  border-top: 1px solid var(--border-default);
}

.ftr *,
.ftr *::before,
.ftr *::after {
  box-sizing: border-box;
}
.ftr img {
  display: block;
  max-width: 100%;
}
.ftr p {
  margin: 0;
}
.ftr nav,
.ftr div {
  margin: 0;
  padding: 0;
}
.ftr :focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: var(--ftr-radius);
}

.ftr .ftr-wrap {
  max-width: var(--max-page);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.ftr-info img {
  height: 26px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.9;
}
.ftr-info p {
  line-height: 1.85;
}
.ftr-info a {
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.18s var(--ease-standard);
}
.ftr-info a:hover {
  color: var(--green-600);
}

.ftr-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.ftr-sym {
  display: flex;
  gap: 12px;
}
.ftr-sym a {
  display: block;
  border-radius: var(--ftr-radius);
  opacity: 0.9;
  transition: opacity 0.2s var(--ease-standard);
}
.ftr-sym a:hover {
  opacity: 1;
}
.ftr-sym img {
  width: 30px;
  height: 30px;
}
.ftr-links {
  display: flex;
  gap: 14px;
}
.ftr-links a {
  color: var(--ink-700);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: color 0.18s var(--ease-standard);
}
.ftr-links a:hover {
  color: var(--green-600);
}

@media (max-width: 720px) {
  .ftr {
    padding-top: 36px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .ftr .ftr-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .ftr-side {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ftr-info a,
  .ftr-links a,
  .ftr-sym a {
    transition: none;
  }
}

.case-card:hover {
  border-color: var(--green-600);
  transform: translateY(-6px);
}
#faq details:hover {
  border-color: var(--green-600);
}
.band-cta:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}
.quote-submit:hover {
  background: var(--green-700);
  box-shadow: 0 12px 24px rgba(0, 131, 92, 0.24);
}

.hero-sound [data-sound-on] {
  display: none;
}
.hero-sound.is-on [data-sound-on] {
  display: block;
}
.hero-sound.is-on [data-sound-off] {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .q-hint-ico svg {
    animation: q-tap 1.6s var(--ease-out-soft) infinite;
  }
  .q-hint {
    animation: q-glow 1.6s ease-in-out infinite;
  }
  .q-rail:not(.is-touched) .chip-btn:not(.is-on)::before {
    animation: q-dot 3.2s ease-in-out infinite;
  }
  .q-rail:not(.is-touched) .chip-btn:nth-child(2)::before {
    animation-delay: 0.4s;
  }
  .q-rail:not(.is-touched) .chip-btn:nth-child(3)::before {
    animation-delay: 0.8s;
  }
  .q-rail:not(.is-touched) .chip-btn:nth-child(4)::before {
    animation-delay: 1.2s;
  }
  .q-hint.is-touched,
  .q-hint.is-touched .q-hint-ico svg {
    animation: none;
  }
}
@keyframes q-tap {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(2px) scale(0.86);
  }
  55% {
    transform: translateY(0) scale(1);
  }
}
@keyframes q-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 155, 0.35);
  }
  60% {
    box-shadow: 0 0 0 8px rgba(74, 222, 155, 0);
  }
}
@keyframes q-dot {
  0%,
  70%,
  100% {
    border-color: var(--on-dark-24);
    box-shadow: 0 0 0 0 rgba(74, 222, 155, 0);
  }
  80% {
    border-color: var(--green-300);
    box-shadow: 0 0 0 5px rgba(74, 222, 155, 0.18);
  }
}

/* 모바일 글자 단계 (air 와 같은 규칙).
   인라인에 쓴 var(--t-body) 를 구역별로 한 단계씩 내려 받는다 */
@media (max-width: 720px) {
  #faq summary {
    --t-body: var(--t-small);
  }
  #faq .faq-body {
    --t-body: var(--t-micro);
  }
  .field,
  #quote textarea {
    --t-body: var(--t-small);
  }
}

/* 모바일 다듬기: 크기는 인라인 토큰을 블록 안에서 한 단계씩 내려 받는다 */
@media (max-width: 720px) {
  .case-grid {
    gap: 12px !important;
  }
  .case-card {
    --t-lead: var(--t-micro);
    --ls-lead: var(--ls-micro);
  }
  /* 인용 따옴표 장식 */
  .case-card > div:not(.case-art) > span[aria-hidden] {
    font-size: 40px !important;
  }
  .case-card > div:not(.case-art) + p {
    margin-top: 10px !important;
  }
  /* 그림은 오른쪽 아래 작은 칸으로 비키고, 카드 높이는 글 높이만큼만 잡는다 */
  .case-card {
    --case-pb: 22px;
    padding-right: 116px !important;
  }
  .case-art {
    width: 104px;
  }

  .feat-copy {
    --t-h2-mf: var(--t-h3);
    --ls-h2-mf: var(--ls-h3);
  }
  .feat-copy > p br {
    display: none;
  }
  .feat-mock .mk,
  .feat-mock > img {
    zoom: 0.72;
  }

  .band-h {
    --t-h2-mf: var(--t-h3);
    --ls-h2-mf: var(--ls-h3);
  }
  .band-lead {
    --t-body: var(--t-micro);
    --ls-body: var(--ls-micro);
  }

  /* 모바일에서는 폼 제목 아래 안내 문구를 뺀다 */
  .form-intro {
    display: none;
  }
  #quote textarea::placeholder {
    font-size: var(--t-micro);
    letter-spacing: var(--ls-micro);
  }
  /* 체크박스(20px)+간격(12px)을 뺀 폭을 라벨이 차지해 같은 줄에 붙는다. 전문 보기는 다음 줄 */
  .agree-label {
    flex: 1 1 calc(100% - 32px) !important;
    min-width: 0;
  }
}

/* 세로로 쌓이면 #custom 의 제목 위로 선이 지나가므로 연결선과 점을 뺀다 */
@media (max-width: 1000px) {
  .conn {
    height: clamp(40px, 8vw, 64px);
  }
  .stack-row.is-app::before,
  .stack-row.is-app::after {
    display: none;
  }
}

/* 개인정보 동의 내용: 항목과 내용을 두 열로 맞춰 구분 (homepage cs.html과 같은 방식) */
[data-terms] dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
}
[data-terms] dt {
  font-weight: 400;
}
[data-terms] dd {
  margin: 0;
}
[data-terms] p {
  margin: 10px 0 0;
  font-size: inherit;
  line-height: inherit;
}
@media (max-width: 560px) {
  [data-terms] dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  [data-terms] dd {
    margin-bottom: 8px;
  }
}
