/* BRIEF-29: four service steps in one compact panel. */
#products.p29-products {
  --p29-ink: #090a0c;
  --p29-paper: #f8f9fb;
  --p29-accent: #9ebcfc;
  --p29-blue: #4567c5;
  padding: 72px 0 80px;
  color: var(--p29-ink);
  background: var(--p29-paper);
  font-family: Pretendard, sans-serif;
}
#products .p29-heading { margin-bottom: 36px; text-align: center; }
#products .p29-heading h2 { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 550; letter-spacing: -.045em; }
#products .p29-heading p { margin: 12px 0 0; color: var(--p29-blue); font-size: 16px; line-height: 1.5; }
#products .p29-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 32px;
  list-style: none;
  border: 1px solid rgb(158 188 252 / 35%);
  border-radius: 20px;
  background: #fff;
}
#products .p29-step { position: relative; min-width: 0; scroll-margin-top: 112px; }
#products .p29-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 67px;
  right: -22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--p29-blue);
  border-right: 1px solid var(--p29-blue);
  transform: rotate(45deg);
}
#products .p29-step-copy { margin-top: 20px; }
#products .p29-step-number { display: block; color: var(--p29-blue); font-size: 13px; line-height: 20px; font-weight: 550; font-variant-numeric: tabular-nums; }
#products .p29-step h3 { margin: 8px 0 0; font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.035em; word-break: keep-all; }
#products .p29-step-copy > p { margin: 8px 0 0; color: rgb(9 10 12 / 70%); font-size: 14px; line-height: 1.6; letter-spacing: -.025em; word-break: keep-all; }
#products .p29-preview { display: flex; align-items: center; justify-content: center; height: 140px; min-width: 0; overflow: hidden; border-radius: 8px; background: rgb(158 188 252 / 14%); }
@media (min-width: 768px) and (max-width: 1100px) {
  #products .p29-steps { gap: 24px; padding: 24px; }
  #products .p29-step:not(:last-child)::after { right: -16px; width: 6px; height: 6px; }
  #products .p29-step h3 { font-size: 16px; }
  #products .p29-step-copy > p { font-size: 13px; }
}
@media (max-width: 767px) {
  #products.p29-products { padding: 44px 0 48px; }
  #products > .wrap { width: calc(100% - 32px); }
  #products .p29-heading { margin-bottom: 24px; }
  #products .p29-heading h2 { font-size: 29px; line-height: 1.3; }
  #products .p29-heading p { margin-top: 10px; font-size: 14px; }
  #products .p29-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 20px 16px; border-radius: 16px; }
  #products .p29-step { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; scroll-margin-top: 88px; }
  #products .p29-preview { height: 104px; border-radius: 6px; }
  #products .p29-step-copy { margin: 0; }
  #products .p29-step-number { font-size: 12px; line-height: 18px; }
  #products .p29-step h3 { margin-top: 5px; font-size: 17px; line-height: 1.4; }
  #products .p29-step-copy > p { margin-top: 7px; font-size: 13px; line-height: 1.6; }
  #products .p29-step:not(:last-child)::after { top: auto; bottom: -20px; right: auto; left: 51px; width: 6px; height: 6px; transform: rotate(135deg); }
}
@media (max-width: 359px) {
  #products .p29-steps { padding-inline: 12px; }
  #products .p29-step { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
  #products .p29-step:not(:last-child)::after { left: 39px; }
  #products .p29-step h3 { font-size: 16px; }
}
