/* 화면 너비에 맞춰 랜딩의 콘텐츠 폭을 정합니다. */
.landing-page {
  --landing-width: 1024px;
  --landing-gutter: clamp(16px, 3vw, 32px);
  --muted: #68666c;
  --line: #e8e6e9;
  background: #fff;
  color: #171519;
}

.landing-page .site-header, .landing-page .hero, .landing-page .gallery-inner {
  width: min(calc(100% - 2 * var(--landing-gutter)), var(--landing-width));
  max-width: none;
  margin-inline: auto;
}
.landing-page .site-header { position: relative; min-height: 64px; padding: 12px 0; }
.landing-page .site-header nav { align-items: center; }
.landing-page .site-header .button, .landing-page main .button {
  border-radius: 999px;
  font-weight: 650;
}

.landing-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  cursor: pointer;
}
.landing-menu-toggle span {
  width: 17px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px, 0 -5px;
}

.landing-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(56px, 10vw, 136px) 0;
  text-align: left;
}
.landing-page .hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -.055em;
  font-weight: 740;
}
.landing-page .hero-copy > p {
  margin: 20px auto 24px;
  max-width: 650px;
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.landing-page .demo {
  width: 100%;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 18px 54px #28152e12;
  text-align: left;
}
.landing-page .demo figcaption { justify-content: space-between; flex-wrap: wrap; padding: 14px 20px; }
.landing-page .demo figcaption span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-weight: 500;
}

/* 사진 첨부부터 게시 미리보기까지의 예시를 보여줍니다. */
.landing-workflow {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
  margin: 0;
  padding: clamp(12px, 2.5vw, 26px);
  list-style: none;
  background: #f8f6f8;
  border-top: 1px solid var(--line);
}
.landing-workflow > li {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: clamp(10px, 1.5vw, 18px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.landing-workflow h2 { font-size: clamp(.83rem, 1.55vw, 1rem); }
.landing-workflow p { margin: 0; font-size: .82rem; }
.workflow-art { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-price, .nail-swatch { min-height: clamp(94px, 18vw, 226px); border-radius: 8px; }
.demo-price {
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 5px;
  text-align: center;
  background: #f6ece5;
  font-size: clamp(.64rem, 1.3vw, .9rem);
}
.demo-price strong { font-size: clamp(.78rem, 2vw, 1.25rem); }
.nail-swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3%;
  padding: 8%;
  background: #f8e9ef;
}
.nail-swatch i {
  width: 16%;
  aspect-ratio: 1 / 2.25;
  border-radius: 45% 45% 34% 34%;
  background: linear-gradient(150deg, #e7afb6, #a35376);
}
.nail-swatch i:nth-child(2n) {
  background: linear-gradient(150deg, #faf2fa, #bd91cf);
  transform: translateY(-12%);
}
.nail-swatch i:nth-child(3n) { background: linear-gradient(150deg, #f5dbce, #cf826e); }
.result-swatch { background: #eee5f6; }
.publish-swatch { background: #f7eae1; }
/* 안내 섹션에는 같은 콘텐츠 폭과 수직 간격을 적용합니다. */
.landing-section { padding-block: clamp(48px, 8vw, 104px); }
.landing-tinted { background: var(--onecut-canvas); }
.landing-inner { width: min(calc(100% - 2 * var(--landing-gutter)), var(--landing-width)); margin-inline: auto; text-align: center; }
.landing-inner h2 { font-size: clamp(1.55rem, 3.5vw, 2.55rem); line-height: 1.25; letter-spacing: -.045em; text-wrap: balance; }
.landing-section-intro { margin-top: 12px; color: var(--muted); }
.landing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.landing-cards > * { padding: clamp(16px, 2.7vw, 30px); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.landing-cards h3 { margin: 0 0 8px; font-size: 1.02rem; }
.landing-cards p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.landing-benefits > article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 16px 27px;
  border-radius: 20px;
}
.landing-benefits svg,
.landing-process svg {
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-benefits h3 { margin: 0 0 8px; color: #c4420b; font-size: 24px; line-height: 1.25; }
.landing-benefits article:last-child h3 { color: var(--accent); }
.landing-benefits p { margin: 0; font-size: 12px; }
.landing-process > li { display: grid; justify-items: center; align-content: center; gap: 8px; }
.landing-process h3,
.landing-process svg,
.landing-problems p { margin: 0; }
.landing-step { color: var(--accent); font-size: .75rem; font-weight: 750; }
.landing-problems .landing-step {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff0e8;
  color: #c4420b;
}
.landing-steps svg {
  box-sizing: content-box;
  margin-bottom: 6px;
  padding: 12px;
  border-radius: 10px;
  background: #f0e7fc;
}
.landing-steps + .button { margin-top: 24px; }
.landing-problem-note { margin-top: 24px; color: var(--muted); }

@media (min-width: 781px) {
  .landing-problems,
  .landing-steps,
  .landing-benefits { margin-inline: auto; gap: 24px; max-width: 1112px; }
  .landing-problems > li { min-height: 222px; }
  .landing-steps { max-width: 1042px; }
  .landing-steps > li { min-height: 202px; }
  .landing-benefits > article { min-height: 188px; justify-content: center; }
}
.landing-page .gallery-inner { padding: 0; }

@media (min-width: 1024px) {
  .landing-page .site-header, .landing-page .hero { --landing-width: 1280px; }
}

@media (max-width: 780px) {
  .landing-page .site-header { min-height: 58px; padding: 7px 0; }
  .landing-menu-toggle { display: grid; }
  .landing-page .site-header nav {
    display: none;
    position: absolute;
    z-index: 2;
    inset: calc(100% + 4px) 0 auto auto;
    width: min(220px, 100%);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px #28152e18;
  }
  .landing-menu-toggle[aria-expanded="true"] + nav { display: grid; }
  .landing-page .hero { grid-template-columns: minmax(0, 1fr); padding-block: clamp(36px, 7vw, 58px); }
  .landing-page .hero h1 { font-size: clamp(2rem, 6vw, 2.85rem); }
  .landing-page .hero-copy > p { margin: 14px auto 20px; }
}

@media (max-width: 530px) {
  .landing-cards { grid-template-columns: minmax(0, 1fr); }
  .landing-workflow { grid-template-columns: 1fr 1.2fr; gap: 8px; }
  .landing-workflow > .workflow-publish {
    grid-column: 1 / -1;
    grid-template-columns: minmax(70px, 1fr) 2fr;
  }
  .workflow-publish h2 { grid-column: 1 / -1; }
  .workflow-publish .nail-swatch { min-height: 56px; }
  .workflow-publish p { align-self: center; }
}
