/* ==========================================================================
   또박또박 랜딩 v2
   - 새 섹션은 모두 .lp 범위 안에서만 스타일을 준다. (기존 템플릿 CSS와 충돌 방지)
   - 색은 앱 디자인 토큰(brand 500 = #5271FF, gray scale)과 같은 값을 쓴다.
   - 앱 화면 데모는 CSS로 만든 가짜 UI이고, 동작은 /js/landing.js가 맡는다.
   ========================================================================== */

.lp {
  --b25: #f6f8ff;
  --b50: #eef1ff;
  --b100: #dce3ff;
  --b200: #bac6ff;
  --b300: #97aaff;
  --b500: #5271ff;
  --b600: #425acc;
  --b700: #314499;
  --b800: #212d66;
  --b900: #101733;
  --g25: #f8f8f9;
  --g50: #f1f2f3;
  --g100: #e4e5e8;
  --g200: #c9cbd0;
  --g300: #adb0b9;
  --g400: #9296a1;
  --g500: #777c8a;
  --g600: #5f636e;
  --g700: #474a53;
  --g800: #303237;
  --g900: #18191c;
  --ok: #4ba054;
  --ok-bg: #f2fff5;
  --ok-bd: #c8f6d3;
  --warn: #c08d2f;
  --warn-bg: #fffaf2;
  --warn-bd: #f7d9b0;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--g700);
  background: #fff;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---- 리셋: 기존 템플릿의 전역 규칙(span/a transition 등)을 이 범위에서만 되돌린다 ---- */
.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}
/* :where()로 우선순위를 0으로 낮춰서, 아래 클래스 스타일이 항상 이기도록 한다. */
.lp :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) {
  margin: 0;
  padding: 0;
}
.lp :where(ul, ol) {
  list-style: none;
}
.lp :where(h1, h2, h3, h4) {
  color: var(--g900);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
}
.lp :where(p) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--g600);
}
.lp a {
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.lp svg {
  display: block;
}
.lp img {
  display: block;
  max-width: 100%;
}
.lp :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.lp a:focus-visible,
.lp button:focus-visible {
  outline: 3px solid var(--b300) !important;
  outline-offset: 2px;
}
.lp [hidden] {
  display: none !important;
}

/* ---- 레이아웃 ---- */
.lp-wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.lp-sec {
  padding: 72px 0;
}
@media (min-width: 992px) {
  .lp-sec {
    padding: 112px 0;
  }
}
.lp-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.lp-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.lp-head h2 {
  font-size: clamp(28px, 6.6vw, 44px);
}
.lp-head p {
  margin-top: 14px;
  font-size: clamp(16px, 4vw, 18px);
}

/* ---- 버튼 ---- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.lp-btn:active {
  transform: scale(0.98);
}
.lp-btn--white {
  background: #fff;
  color: var(--b600);
  box-shadow: 0 10px 24px -10px rgba(16, 23, 51, 0.5);
}
/* 부트스트랩의 a:hover(파란 글자색)가 .lp-btn의 글자색보다 우선순위가 높아서, 호버할 때 글자가 바탕과 비슷한 파랑으로 바뀐다.
   그래서 호버 규칙마다 글자색을 다시 적는다. */
.lp-btn--white:hover {
  background: var(--b50);
  color: var(--b600);
}
.lp-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.lp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.lp-btn--brand {
  background: var(--b500);
  color: #fff;
}
.lp-btn--brand:hover {
  background: var(--b600);
  color: #fff;
}
.lp-btn--line {
  background: #fff;
  color: var(--b600);
  box-shadow: inset 0 0 0 1.5px var(--b200);
}
.lp-btn--line:hover {
  background: var(--b50);
  color: var(--b600);
}
.lp-btn--block {
  width: 100%;
}
.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-cta.is-mobile .lp-btn {
  flex: 1 1 100%;
}

/* ==========================================================================
   앱 화면(폰) 컴포넌트
   ========================================================================== */
.lp-phone {
  position: relative;
  width: 272px;
  max-width: 100%;
  aspect-ratio: 9 / 18.4;
  margin-inline: auto;
  border: 9px solid #14161a;
  border-radius: 42px;
  background: #14161a;
  box-shadow: 0 34px 60px -24px rgba(16, 23, 51, 0.6), 0 0 0 2px #2b2f36;
  overflow: hidden;
}
.lp-phone::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 8;
  width: 74px;
  height: 21px;
  margin-left: -37px;
  border-radius: 14px;
  background: #14161a;
}
.lp-phone--crop {
  aspect-ratio: auto;
  height: 410px;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
}
/* 실제 앱 화면(캡처): 폰 안에 꽉 채우고, 위쪽 30px은 상단 노치 자리라 화면 배경색으로 둔다 */
.lp-scr {
  position: absolute;
  inset: 0;
  padding-top: 30px;
  background: #fff;
}
.lp-scr > img,
.lp-scr > video,
.lp-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.lp-shots {
  position: relative;
  width: 100%;
  height: 100%;
}
.lp-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.lp-shot.is-on {
  opacity: 1;
}
/* 전체 화면 영상은 위쪽 노치 자리까지 채운다 */
.lp-shot--full {
  top: -30px;
  height: calc(100% + 30px);
}

/* 떠 있는 알림 칩 */
.lp-float {
  position: absolute;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 32px -10px rgba(16, 23, 51, 0.5);
  color: var(--g800);
  font-size: 13px;
  font-weight: 700;
  animation: lp-float-in 0.5s 0.4s ease both;
}
.lp-float--b {
  animation-delay: 0.9s;
}
@keyframes lp-float-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-float {
    animation: none;
  }
}
.lp-float__ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--b50);
  color: var(--b500);
}
.lp-float__ic svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   1. 히어로
   ========================================================================== */
.lp-hero {
  position: relative;
  padding: 108px 0 56px;
  overflow: hidden;
  background: radial-gradient(
      120% 80% at 85% 10%,
      rgba(255, 255, 255, 0.16),
      transparent 60%
    ),
    linear-gradient(165deg, #6180ff 0%, #5271ff 42%, #3b52d0 100%);
  color: #fff;
}
.lp-hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
/* 제목 위 한 줄 라벨: 누구를 위한 앱인지 첫 화면에서 바로 알린다 */
.lp .lp-hero__tag {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
/* 라벨의 상황 단어: 위로 사라지고 아래에서 올라오며 바뀐다(transform·opacity만 움직인다) */
.lp .lp-hero__rot-w {
  display: inline-block;
}
.lp .lp-hero__rot-w.is-swap {
  animation: lp-rot 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lp-rot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  45% {
    opacity: 0;
    transform: translateY(-8px);
  }
  55% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 화면에는 안 보이고 스크린리더만 읽는 글 */
.lp .lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.lp .lp-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 8.8vw, 54px);
  line-height: 1.26;
}
/* 헤드카피 강조: 어두운 네모 박스 */
.lp-hero h1 .lp-hl {
  margin-left: -0.16em;
  padding: 0.02em 0.16em 0.06em;
  background: rgba(16, 23, 51, 0.22);
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lp .lp-hero__sub {
  max-width: 460px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 4.2vw, 19px);
}
.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 30px;
}
.lp-proof li {
  display: grid;
  gap: 2px;
}
.lp-proof b {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}
.lp-proof b svg {
  color: #ffd37c;
}
.lp-proof b.lp-proof__n {
  display: block;
}
.lp-proof small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}
.lp-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-bottom: 8px;
}
.lp-phone--back {
  display: none;
}
.lp-hero .lp-float--a {
  top: -12px;
  right: 0;
}
.lp-hero .lp-float--b {
  bottom: 12%;
  left: 0;
}
@media (min-width: 992px) {
  .lp-hero {
    padding: 150px 0 96px;
  }
  .lp-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }
  .lp-hero .lp-phone--front {
    position: relative;
    z-index: 2;
    width: 312px;
  }
  .lp-hero .lp-phone--back {
    position: absolute;
    top: 64px;
    left: -2%;
    z-index: 1;
    display: block;
    width: 272px;
    opacity: 0.96;
    transform: scale(0.86) rotate(-7deg);
    transform-origin: center;
  }
  .lp-hero .lp-float--a {
    top: 5%;
    right: -7%;
  }
  .lp-hero .lp-float--b {
    bottom: 10%;
    left: -4%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .lp-hero .lp-float--a {
    right: 0;
  }
}

/* ==========================================================================
   2. 고민 (이런 말 들어본 적 있나요? → 두 가지 방법)
   ========================================================================== */
.lp-concerns {
  background: #fff;
}
.lp-bubbles {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 44px;
}
.lp-bubble {
  max-width: 88%;
  padding: 16px 20px;
  border-radius: 24px 24px 24px 6px;
  background: var(--g50);
  color: var(--g800);
  font-size: clamp(17px, 4.6vw, 20px);
  font-weight: 700;
  line-height: 1.45;
}
.lp-bubble small {
  display: block;
  margin-bottom: 4px;
  color: var(--b500);
  font-size: 12.5px;
  font-weight: 800;
}
.lp-bubble--r {
  margin-left: auto;
  border-radius: 24px 24px 6px 24px;
  background: var(--b50);
}
/* 고민 → 해결 전환: 흰 바탕 안의 한 줄, 그 바로 아래 섹션 경계의 뾰족한 끝이 챌린지로 이어진다 */
.lp-concerns {
  padding-bottom: clamp(96px, 12vw, 132px);
}
.lp-turn {
  margin: clamp(44px, 6vw, 68px) 0 0;
  color: var(--g900);
  font-size: clamp(26px, 5.4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.lp-turn span {
  color: var(--g500);
}
.lp-turn em {
  font-style: normal;
  box-shadow: inset 0 -0.32em 0 rgba(82, 113, 255, 0.28);
}

/* 섹션 이름: 챌린지(메인)와 자유훈련(서브)이 한눈에 보이게 크게 */
.lp-lab {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--g900);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  line-height: 1;
}
.lp-lab b {
  padding-right: 12px;
  border-right: 2px solid var(--g200);
  color: var(--b500);
  font-size: 0.62em;
  letter-spacing: 0.04em;
}
/* ==========================================================================
   2. 챌린지 (메인: 진한 남색 바탕에 크게)
   ========================================================================== */
.lp-challenge {
  position: relative;
  padding-top: 108px;
  background: radial-gradient(
      90% 60% at 50% 0%,
      rgba(82, 113, 255, 0.35),
      transparent 70%
    ),
    var(--b900);
  color: #fff;
}
/* 섹션 경계: 앞 섹션의 색이 뾰족하게 내려와 다음 섹션을 가른다. 챌린지·자유훈련·클래스가 같은 모양이다. */
.lp-free,
.lp-class {
  position: relative;
  padding-top: 108px;
}
.lp-challenge {
  --notch: #fff;
}
.lp-free {
  --notch: var(--b900);
}
.lp-class {
  --notch: var(--g50);
  background: #fff;
}
.lp-challenge::before,
.lp-free::before,
.lp-class::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -44px;
  border-top: 36px solid var(--notch);
  border-right: 44px solid transparent;
  border-left: 44px solid transparent;
  content: "";
}
.lp-challenge .lp-lab {
  color: #fff;
}
.lp-challenge .lp-lab b {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--b300);
}
.lp-challenge .lp-head h2 {
  color: #fff;
}
.lp-challenge .lp-head p {
  color: #b9c3f0;
}
.lp-challenge .lp-foot {
  color: #8f9ad1;
}

/* 챌린지 스토리: 단계 문구(왼쪽)와 폰 화면(오른쪽)이 한 무대에 고정되고, 스크롤 양에 따라 1→4단계가 바뀐다.
   모바일은 폰 아래에서 단계가 자동·탭으로 넘어간다. */
.lp-story {
  margin-top: 8px;
}
.lp-story__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
.lp-story__phone {
  order: -1;
  width: 100%;
}
.lp-dots {
  order: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 6px;
}
.lp-dots button {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s, background 0.25s;
}
.lp-dots button[aria-pressed="true"] {
  width: 26px;
  background: #fff;
}
.lp-story__steps {
  order: 1;
  width: 100%;
  max-width: 520px;
}
.lp-ss {
  padding: 8px 0 0;
}
.lp-js .lp-ss:not(.is-on) {
  display: none;
}
.lp-ss__tag {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 16px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--b500);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.lp-ss h3 {
  color: #fff;
  font-size: clamp(26px, 6.6vw, 38px);
  line-height: 1.25;
}
.lp-ss p {
  margin-top: 12px;
  color: #b9c3f0;
  font-size: 17px;
  line-height: 1.65;
}

/* 1단계: 챌린지 이름이 두 줄로 반대 방향으로 흘러가서, 챌린지가 이만큼 다양하다는 걸 보여준다 */
.lp-mq {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.lp-mq__t {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-right: 12px;
  animation: lp-mq 46s linear infinite;
}
.lp-mq__t--rev {
  animation-direction: reverse;
  animation-duration: 54s;
  animation-delay: -22s;
}
@keyframes lp-mq {
  to {
    transform: translateX(-50%);
  }
}
.lp-ss:not(.is-on) .lp-mq__t {
  animation-play-state: paused;
}
.lp-mqc {
  display: flex;
  flex: 0 0 296px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.7);
}
.lp-mqc img,
.lp-mqc__ph {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 12px;
}
.lp-mqc img {
  object-fit: cover;
}
/* 어드민 썸네일을 아직 못 받은 챌린지는 분류 색 타일로 둔다 */

.lp-mqc b {
  display: -webkit-box;
  overflow: hidden;
  color: var(--g900);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.lp-ss .lp-mqc small {
  display: block;
  margin-top: 5px;
  color: var(--g500);
  font-size: 12px;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .lp-mq {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }
  .lp-mq__t {
    animation: none;
  }
  .lp-mqc[aria-hidden="true"] {
    display: none;
  }
}

/* 폰 1단계: 챌린지 커리큘럼 화면 (실제 캡처가 오면 교체) */

@media (min-width: 900px) {
  /* 화면에 고정된 채 머무는 거리(단계당 60vh). 길면 영상 구간에서 스크롤이 막힌 것처럼 느껴져서 360vh에서 줄였다. */
  .lp-story {
    height: calc(max(100vh, 700px) + 240vh);
  }
  .lp-story__stage {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 72px;
    align-items: center;
    max-width: 1020px;
    height: max(100vh, 700px);
    margin-inline: auto;
    padding: 76px 16px 44px;
    box-sizing: border-box;
  }
  .lp-story__phone {
    order: 0;
    grid-column: 2;
    grid-row: 1;
  }
  .lp-story__steps {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: none;
  }
  .lp-ss {
    display: flex !important;
    flex-direction: column;
    grid-area: 1 / 1;
    justify-content: center;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s, transform 0.45s, visibility 0.45s;
  }
  .lp-ss.is-on {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .lp-dots {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    margin: 0;
  }
}

/* ==========================================================================
   3. 자유훈련 (보조: 옅은 회색 바탕, 작은 카드)
   ========================================================================== */
.lp-free {
  background: var(--g50);
}
.lp-free .lp-kicker {
  background: #fff;
  color: var(--g600);
}

/* 고민별 묶음: 묶음마다 폰 하나, 탭으로 훈련을 바꾼다 */
.lp-fgs {
  display: grid;
  gap: 22px;
}
.lp-fg {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 30px 22px 0;
  overflow: hidden;
  border: 1px solid var(--g100);
  border-radius: 32px;
  background: #fff;
}
.lp-fg__copy {
  min-width: 0;
}
.lp-fg__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b600);
  font-size: 13px;
  font-weight: 800;
}
.lp-fg h3 {
  margin-bottom: 20px;
  font-size: clamp(26px, 6.4vw, 36px);
  line-height: 1.25;
}
.lp-fg__cap {
  display: none;
}
.lp-fg__tabs {
  display: grid;
  gap: 8px;
}
.lp-fgtab {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--g100);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lp-fgtab img {
  flex: none;
  width: 40px;
  height: 40px;
}
.lp-fgtab .lp-fgtab__t {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
}
.lp-fgtab:hover {
  border-color: var(--b200);
}
.lp-fgtab b {
  display: block;
  color: var(--g900);
  font-size: 17px;
  font-weight: 800;
}
.lp-fgtab span {
  display: block;
  margin-top: 3px;
  color: var(--g500);
  font-size: 14px;
  line-height: 1.5;
}
.lp-fgtab[aria-pressed="true"] {
  border-color: var(--b500);
  background: var(--b25);
  box-shadow: 0 12px 24px -16px rgba(82, 113, 255, 0.7);
}
.lp-fg__phone {
  align-self: end;
}
.lp-fg .lp-phone--crop {
  height: 400px;
}
.lp-pane {
  position: absolute;
  inset: 0;
  display: none;
}
.lp-pane.is-on {
  display: block;
}
@media (min-width: 900px) {
  .lp-fg {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 64px;
    padding: 48px 60px 0;
  }
  .lp-fg:nth-child(even) {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .lp-fg:nth-child(even) .lp-fg__phone {
    order: -1;
  }
  .lp-fg__copy {
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   4. 클래스
   ========================================================================== */
.lp-class__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .lp-class__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.lp-class__list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}
.lp-class__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--g100);
  border-radius: 16px;
  color: var(--g800);
  font-size: 16px;
  font-weight: 700;
  transition: border-color 0.3s, background 0.3s;
}
.lp-class__list b {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--g100);
  color: var(--g500);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.3s, color 0.3s;
}
.lp-class__list small {
  display: block;
  color: var(--g500);
  font-size: 13px;
  font-weight: 500;
}
.lp-class[data-step="1"] .lp-class__list li:nth-child(1),
.lp-class[data-step="2"] .lp-class__list li:nth-child(2) {
  border-color: var(--b500);
  background: var(--b25);
}
.lp-class[data-step="1"] .lp-class__list li:nth-child(1) b,
.lp-class[data-step="2"] .lp-class__list li:nth-child(2) b {
  background: var(--b500);
  color: #fff;
}
.lp-class__visual {
  display: grid;
  place-items: center;
  padding: 36px 0;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--b50), var(--b100));
}

/* ==========================================================================
   선택받는 이유
   ========================================================================== */
.lp-why {
  background: var(--b25);
}
.lp-whys {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .lp-whys {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 18px;
  }
}
.lp-wc {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 24px;
  border: 1px solid var(--g100);
  border-radius: 28px;
  background: #fff;
}
.lp-wc h3 {
  color: var(--g900);
  font-size: 24px;
  line-height: 1.3;
}
.lp-wc p {
  margin-top: 8px;
  color: var(--g600);
  font-size: 15px;
  line-height: 1.6;
}
.lp-wc > small {
  margin-top: auto;
  color: var(--g400);
  font-size: 12.5px;
}
.lp-pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
  height: 236px;
}
.lp-pc__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.lp-pc__col span {
  color: var(--g600);
  font-size: 13px;
  font-weight: 700;
}
.lp-pc__lbl {
  color: var(--g700);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.lp-pc__lbl--us {
  color: var(--b600);
}
.lp-pc__bar {
  width: 100%;
  border-radius: 14px;
  transition: height 0.9s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.lp-pc__bar--rival {
  height: 150px;
  background: var(--g200);
}
.lp-pc__bar--us {
  height: 24px;
  background: var(--b500);
  transition-delay: 0.5s;
}
.lp-js .lp-wc:not(.is-in) .lp-pc__bar {
  height: 0;
}
/* 훈련 캘린더 (앱 마이 탭의 달력과 같은 모양: 훈련한 날은 연필 표시 + 이어진 날은 띠로 연결) */
.lp-cal {
  padding: 14px 8px 8px;
  border: 1px solid var(--g100);
  border-radius: 16px;
  background: #fff;
}
.lp-cal__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  margin-bottom: 8px;
  color: var(--g700);
}
.lp-cal__h b {
  color: var(--g900);
  font-size: 15px;
  font-weight: 800;
}
.lp-cal__w {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 2px;
  color: var(--g400);
  font-size: 11px;
  text-align: center;
}
.lp-cal__g {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.lp-cal__d {
  position: relative;
  display: grid;
  place-items: center;
  height: 34px;
}
.lp-cal__d i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 50%;
  font-style: normal;
  transition: background 0.25s, border-color 0.25s;
}
.lp-cal__d b {
  color: var(--g900);
  font-size: 12.5px;
  font-weight: 700;
}
.lp-cal__d svg {
  display: none;
  width: 14px;
  height: 14px;
  color: #fff;
}
.lp-cal__d.is-past b,
.lp-cal__d.is-c b {
  color: var(--g400);
}
.lp-cal__d.is-today i {
  border-color: var(--b500);
}
.lp-cal__d.is-today b {
  color: var(--b500);
}
.lp-cal__d.is-c::before {
  position: absolute;
  top: 3px;
  right: 0;
  bottom: 3px;
  left: 0;
  background: var(--b50);
  opacity: 0;
  transition: opacity 0.25s;
  content: "";
}
.lp-cal__d.is-lead::before {
  border-radius: 8px 0 0 8px;
}
.lp-cal__d.is-trail::before {
  border-radius: 0 8px 8px 0;
}
.lp-cal__d.is-c.is-on i {
  border-color: var(--b500);
  background: var(--b500);
}
.lp-cal__d.is-c.is-on b {
  display: none;
}
.lp-cal__d.is-c.is-on svg {
  display: block;
}
.lp-cal__d.is-c.is-on.is-lead::before,
.lp-cal__d.is-c.is-on.is-mid::before,
.lp-cal__d.is-c.is-on.is-trail::before {
  opacity: 1;
}
.lp-pick {
  display: grid;
  gap: 14px;
}
.lp-pick__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lp-pick__row small {
  flex: 0 0 100%;
  color: var(--g500);
  font-size: 12px;
  font-weight: 800;
}
.lp-chip2 {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--g50);
  color: var(--g600);
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.lp-chip2.is-on {
  background: var(--b500);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   6. 후기 + 숫자 + 제휴
   ========================================================================== */
.lp-rvsec {
  background: #fff;
}
/* 기존 .our-achievement(템플릿 파랑 배경)를 이 범위에서 되돌린다. 마크업과 id는 그대로 유지한다. */
.lp .our-achievement {
  padding: 0;
  background: none;
  text-align: left;
}
.lp-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto 44px;
  max-width: 760px;
}
.lp-num {
  padding: 18px 8px;
  border-radius: 20px;
  background: var(--b25);
  text-align: center;
}
.lp-num b {
  display: block;
  color: var(--b600);
  font-size: clamp(22px, 5.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.lp-num > span {
  display: block;
  color: var(--g500);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.lp-num > span small {
  display: block;
  color: var(--g400);
  font-size: 12px;
  font-weight: 600;
}
.lp-num b svg {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 4px;
  color: #f5a524;
  vertical-align: 0.02em;
}
.lp-rv__wrap {
  position: relative;
}
.lp-rv {
  display: flex;
  gap: 14px;
  margin: 0 -16px;
  padding: 6px 16px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lp-rv::-webkit-scrollbar {
  display: none;
}
.lp-rv__c {
  display: flex;
  flex: 0 0 min(310px, 84%);
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--g100);
  border-radius: 24px;
  background: #fff;
  scroll-snap-align: start;
}
.lp-rv__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-rv__top img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.lp-rv__who {
  min-width: 0;
  flex: 1;
}
.lp-rv__who b {
  display: block;
  overflow: hidden;
  color: var(--g900);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-rv__who small {
  display: block;
  color: var(--g400);
  font-size: 12px;
}
.lp-rv__star {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f5a524;
  font-size: 13px;
  font-weight: 800;
}
.lp-rv__c h4 {
  font-size: 16px;
  line-height: 1.4;
}
.lp-rv__c p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  color: var(--g600);
  font-size: 14px;
  line-height: 1.65;
}
.lp-rv__nav {
  display: none;
}
/* 이전·다음 버튼은 카드 줄 아래가 아니라 줄 양옆에, 카드 줄 "밖"에 둔다. 아래에 두면 다음 섹션 제목과 같은 가운데 축에 서서
   후기가 아니라 다음 섹션의 일부처럼 읽혔고, 카드 줄 안쪽 가장자리에 겹치면 카드 테두리와 글자를 가렸다.
   그래서 줄 양옆에 버튼 전용 칸(40px)을 따로 두고 카드 줄은 그 사이에서만 보이게 한다. 처음·끝에서는 누를 수 없는 쪽 버튼을 숨긴다(칸은 남는다). */
@media (min-width: 768px) {
  .lp-rv__wrap {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 16px;
    align-items: center;
  }
  .lp-rv {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .lp-rv__nav {
    display: contents;
  }
  .lp-rv__nav button {
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border: 1.5px solid var(--g200);
    border-radius: 50%;
    background: #fff;
    color: var(--g700);
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lp-rv__nav button[data-rv="prev"] {
    grid-column: 1;
  }
  .lp-rv__nav button[data-rv="next"] {
    grid-column: 3;
  }
  .lp-rv__nav button:hover {
    border-color: var(--b500);
    color: var(--b500);
  }
  .lp-rv__nav button:active {
    transform: scale(0.96);
  }
  .lp-rv__nav button:disabled {
    opacity: 0;
    pointer-events: none;
  }
  .lp-rv__nav svg {
    width: 20px;
    height: 20px;
  }
}
/* 제휴 기관 로고. 기관이 늘어도 줄이 어색하게 남지 않도록 한 줄로 흘려 보낸다(landing.js가 .is-marquee를 붙인다).
   스크립트가 없거나 움직임을 줄인 설정이면 같은 카드가 가운데 정렬로 줄바꿈되어 보인다. */
.lp-partners {
  margin-top: 80px;
  text-align: center;
}
.lp-partners__t {
  margin-bottom: 32px;
  color: var(--g900);
  font-size: 20px;
  text-wrap: balance;
}
/* 정지 화면(스크립트 없음·움직임 줄임): 좁은 화면은 3열, 넓은 화면은 6열로 채우고 모자란 줄은 가운데로 모은다.
   가로로 긴 글자형 로고(.is-wordmark: 멋쟁이사자처럼 약 9:1, 숭실대 약 4:1, 비드리머 약 3:1)는 좁은 화면에서 두 칸을 써서
   글자가 너무 작아지지 않게 한다. 12곳이면 3열에서 칸이 15개(= 5줄), 6열 2줄로 딱 맞는다.
   기관 수나 글자형 로고 수가 바뀌면 마지막 줄은 가운데에 놓이고, 열 수와 칸 수는 이때 다시 맞춘다. */
.lp-partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
/* 로고는 안쪽 여백이 커서 작게 보이므로 칸을 키우고, 기관 이름을 함께 적어 알아보기 쉽게 한다.
   바로 위 후기 카드와 같은 모양(테두리·둥근 흰 카드)으로 보이지 않게, 로고 칸에는 카드 모양을 주지 않는다. */
.lp-partners__row li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: calc((100% - 16px) / 3);
  padding: 8px;
}
.lp-partners__row .is-wordmark {
  width: calc((100% - 16px) / 3 * 2 + 8px);
}
.lp-partners__row img {
  width: 100%;
  max-width: 80px;
  height: 80px;
  object-fit: contain;
}
.lp-partners__row span {
  color: var(--g700);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}
/* 가로로 긴 로고(성균관대학교 창업지원단)는 정사각형 이미지 안에서 얇게 떠 있어서 카드 너비에 맞춰 키운다 */
.lp-partners__row .is-wide img {
  max-width: 100%;
  object-fit: cover;
}
.lp-partners__row .is-wordmark img {
  max-width: 240px;
  object-fit: contain;
}
/* 한 칸 안에서 카드 너비를 다 쓰는 가로로 긴 로고(아웃핏코드): 칸은 그대로 두고 로고만 가로로 채운다 */
.lp-partners__row .is-flat img {
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 359px) {
  .lp-partners__row li {
    width: calc(50% - 4px);
  }
  .lp-partners__row .is-wordmark {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .lp-partners {
    margin-top: 96px;
  }
  .lp-partners__t {
    font-size: 24px;
  }
  .lp-partners__row {
    gap: 16px;
  }
  .lp-partners__row li {
    gap: 12px;
    width: calc((100% - 32px) / 3);
    padding: 16px;
  }
  .lp-partners__row .is-wordmark {
    width: calc((100% - 32px) / 3 * 2 + 16px);
  }
  .lp-partners__row img {
    max-width: 96px;
    height: 96px;
  }
  .lp-partners__row span {
    font-size: 16px;
  }
}
@media (min-width: 900px) {
  .lp-partners__row li,
  .lp-partners__row .is-wordmark {
    width: calc((100% - 80px) / 6);
    padding-inline: 8px;
  }
}

/* 한 줄 띠: 화면 가장자리까지 펼쳐 로고가 가장자리 밖으로 흘러 나가게 한다(그라데이션 없이 그대로 잘림).
   목록을 한 번 더 이어 붙여(스크립트) 절반만큼 이동하면 처음과 똑같아져 끊김이 없다.
   보이지 않을 때와 마우스를 올렸을 때는 멈춰서 읽을 수 있다. */
.lp-partners__strip.is-marquee {
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
}
.is-marquee .lp-partners__row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 16px;
  padding-right: 16px;
  animation: lp-pm var(--pm-dur, 48s) linear infinite;
  animation-play-state: paused;
}
.is-marquee.is-live .lp-partners__row {
  animation-play-state: running;
}
.is-marquee:hover .lp-partners__row {
  animation-play-state: paused;
}
.is-marquee .lp-partners__row li {
  flex: none;
  width: 152px;
}
.is-marquee .lp-partners__row .is-wordmark {
  width: 240px;
}
@keyframes lp-pm {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 768px) {
  .is-marquee .lp-partners__row li {
    width: 184px;
  }
  .is-marquee .lp-partners__row .is-wordmark {
    width: 280px;
  }
}

/* ==========================================================================
   7. 가격
   ========================================================================== */
.lp-pricing {
  background: var(--g25);
}
.lp-switch {
  display: flex;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 4px;
  border-radius: 999px;
  background: var(--g100);
}
.lp-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lp-switch label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--g600);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lp-switch input:checked + label {
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 23, 51, 0.12);
  color: var(--b600);
}
.lp-switch input:focus-visible + label {
  outline: 3px solid var(--b300);
}
.lp-switch label b {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--b500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.lp-plans {
  display: grid;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lp-plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
  }
}

/* 두 카드는 같은 패딩·같은 줄 높이라 줄마다 나란히 비교된다. 크기 차이 대신 색·빛·배지로 PLUS를 띄운다. */
.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 22px 24px;
  border: 1.5px solid var(--g100);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}
@media (min-width: 768px) {
  .lp-plan {
    padding: 44px 28px 28px;
  }
  .lp-plan__head {
    min-height: 168px;
  }
  /* FREE의 "무료"를 PLUS 가격과 같은 높이에 맞춘다 */
  .lp-plan:not(.lp-plan--plus) .lp-plan__price {
    margin-top: 37px;
  }
}
.lp-plan__name {
  color: var(--g400);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.lp-plan__price {
  margin-top: 6px;
  color: var(--g700);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.lp-plan__price small {
  color: var(--g500);
  font-size: 16px;
  font-weight: 700;
}
.lp-plan__list {
  display: grid;
}
.lp-plan li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--g600);
  font-weight: 600;
  line-height: 1.35;
}
.lp-plan li svg {
  flex: none;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 5px;
  color: var(--g300);
}
/* 핵심 혜택: 크고 굵게, 줄 사이를 선으로 나눈다 */
.lp-plan li.is-a {
  min-height: 58px;
  border-bottom: 1px solid var(--g100);
  color: var(--g700);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* 보조 혜택 */
.lp-plan li.is-b {
  min-height: 44px;
  font-size: 15px;
}
.lp-plan li.is-a + li.is-b {
  margin-top: 8px;
}
/* 부가 혜택 */
.lp-plan li.is-c {
  min-height: 40px;
  font-size: 14px;
}
.lp-plan li.is-off {
  color: var(--g300);
  text-decoration: line-through;
}
.lp-plan li.is-off svg {
  color: var(--g200);
}
.lp-plan > .lp-btn {
  margin-top: auto;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--g200);
  color: var(--g600);
}
.lp-plan > .lp-btn:hover {
  background: var(--g50);
  color: var(--g600);
}

/* PLUS: 짙은 남색 카드에 빛이 번진다 */
.lp-plan--plus {
  order: -1;
  border-color: transparent;
  color: #fff;
  background: radial-gradient(
      110% 60% at 50% -8%,
      rgba(82, 113, 255, 0.6),
      transparent 62%
    ),
    linear-gradient(165deg, var(--b800), var(--b900));
  box-shadow: 0 0 0 1.5px rgba(151, 170, 255, 0.5),
    0 44px 80px -34px rgba(82, 113, 255, 0.9);
}
@media (min-width: 768px) {
  .lp-plan--plus {
    order: 0;
  }
}
.lp-plan__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px -10px rgba(16, 23, 51, 0.7);
  color: var(--b600);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transform: translateX(-50%);
}
.lp-plan--plus .lp-plan__name {
  color: var(--b300);
  font-size: 15px;
}
.lp-plan__anchor {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.lp-plan__anchor.is-off {
  visibility: hidden;
}
.lp-plan__anchor s {
  text-decoration-thickness: 1.5px;
}
.lp-plan--plus .lp-plan__price {
  margin-top: 2px;
  color: #fff;
  font-size: clamp(32px, 8.5vw, 38px);
}
.lp-plan--plus .lp-plan__price small {
  color: rgba(255, 255, 255, 0.7);
}
.lp-plan__note {
  display: flex;
  align-items: center;
  height: 34px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-plan__note b {
  color: #c3ceff;
  font-size: 17px;
  font-weight: 800;
}
.lp-plan--plus li {
  color: rgba(255, 255, 255, 0.86);
}
.lp-plan--plus li svg {
  color: var(--b300);
}
.lp-plan--plus li.is-a {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.lp-plan--plus li.is-a svg {
  padding: 6px;
  border-radius: 50%;
  background: var(--b500);
  color: #fff;
}
.lp-plan--plus li.is-c {
  color: rgba(255, 255, 255, 0.62);
}
.lp-plan--plus b {
  color: #b9c6ff;
  font-weight: inherit;
}
.lp-plan--plus > .lp-btn {
  padding: 17px 24px;
  background: #fff;
  box-shadow: 0 16px 32px -12px rgba(255, 255, 255, 0.35);
  color: var(--b600);
  font-size: 17px;
}
.lp-plan--plus > .lp-btn:hover {
  background: var(--b50);
  color: var(--b600);
}
.lp-foot {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--g400);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   자주 묻는 질문
   ========================================================================== */
.lp-faq {
  background: #fff;
}
.lp-faq__list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.lp-q2 {
  overflow: hidden;
  border: 1.5px solid var(--g100);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s;
}
.lp-q2[open] {
  border-color: var(--b200);
}
.lp-q2 summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--g900);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.lp-q2 summary::-webkit-details-marker {
  display: none;
}
.lp-q2 summary::after {
  content: "+";
  flex: none;
  color: var(--b500);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.lp-q2[open] summary::after {
  content: "\2212";
}
.lp-q2 p {
  padding: 0 20px 20px;
  color: var(--g600);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ==========================================================================
   8. 마지막 CTA / 하단 고정 바
   ========================================================================== */
.lp-final {
  background: radial-gradient(
      90% 120% at 50% 120%,
      rgba(255, 255, 255, 0.2),
      transparent 60%
    ),
    linear-gradient(165deg, #6180ff, #5271ff 45%, #3b52d0);
  color: #fff;
  text-align: center;
}
.lp .lp-final h2 {
  color: #fff;
  font-size: clamp(30px, 7vw, 48px);
}
.lp .lp-final p {
  max-width: 520px;
  margin: 16px auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}
.lp-final .lp-cta {
  justify-content: center;
}
@media (max-width: 767px) {
  .scroll-top {
    display: none !important;
  }
}

/* ==========================================================================
   등장 효과 — JS가 켜진 경우에만 숨겼다가 보여준다(JS가 없으면 그냥 보인다)
   ========================================================================== */
.lp-js .lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-js .lp-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation: none !important;
    transition: none !important;
  }
  .lp-js .lp-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   모바일: 쇼케이스 구간은 글과 화면이 한 화면(상단 헤더를 뺀 높이) 안에 들어오게 한다.
   - 높이는 100svh(주소창이 보일 때의 높이) 기준이라 주소창이 움직여도 흔들리지 않는다.
   - 스냅은 챌린지 단계(JS)에만 있고, 나머지 구간은 자유롭게 스크롤된다.
   ========================================================================== */
@media (max-width: 899px) {
  .lp {
    --lp-chrome: 78px;
  }
  /* 좌우 여백은 24px, 폴더블·태블릿처럼 넓은 화면에서는 본문 폭을 640px로 제한해 가로로 길게 늘어나지 않게 한다 */
  .lp-wrap {
    width: min(640px, calc(100% - 48px));
  }
  .lp-plans {
    max-width: 480px;
  }
  .lp-story__stage {
    padding-inline: 24px;
  }
  /* 섹션 사이 간격은 넉넉하게 */
  .lp-sec {
    padding: 96px 0;
  }
  .lp-head {
    margin-bottom: 44px;
  }
  .lp-fgs {
    gap: 36px;
  }

  /* 히어로: 한 화면에 맞추고, 폰은 아래가 잘린 채로 이어진다 */
  .lp-hero {
    padding-bottom: 56px;
  }
  .lp-hero .lp-float--b {
    display: none;
  }
  /* 알림 칩: 폰 오른쪽 위 모서리의 바깥쪽에 살짝 걸친다 */
  .lp-hero .lp-float--a {
    top: -16px;
    right: 4px;
    gap: 6px;
    padding: 8px 12px 8px 8px;
    font-size: 12px;
  }

  /* 가격: 카드를 작게 */
  .lp-plan {
    gap: 14px;
    padding: 34px 18px 18px;
  }
  .lp-plan--plus {
    padding-top: 38px;
  }
  .lp-plan__price {
    font-size: 28px;
  }
  .lp-plan--plus .lp-plan__price {
    font-size: clamp(30px, 8.6vw, 34px);
  }
  .lp-plan__anchor {
    margin-top: 8px;
  }
  .lp-plan__note {
    height: 30px;
    margin-top: 8px;
  }
  .lp-plan li {
    min-height: 40px;
    gap: 10px;
    font-size: 15px;
  }
  .lp-plan li.is-a {
    min-height: 48px;
    font-size: 16.5px;
  }
  .lp-plan li.is-c {
    min-height: 36px;
    font-size: 14px;
  }
  .lp-plan li svg {
    width: 24px;
    height: 24px;
    padding: 4px;
  }
  .lp-plan--plus li.is-a svg {
    padding: 5px;
  }
  .lp-plan .lp-btn,
  .lp-plan--plus > .lp-btn {
    padding: 14px 20px;
    font-size: 15.5px;
  }

  /* 챌린지: 폰 높이는 100svh 기준 CSS 계산(글 높이는 JS가 --rest로 전달) */
  /* 챌린지: 데스크톱처럼 무대가 헤더 아래에 고정되고, 스크롤 양에 따라 1→4단계로 바뀐다 */
  /* 챌린지 단계 스냅: 무대가 화면에 있는 동안만 켜고, 단계 위치마다 반드시 멈춘다(한 번에 한 단계씩) */
  .lp-story {
    position: relative;
  }
  .lp-story__snap {
    display: block;
    position: absolute;
    left: 0;
    width: 1px;
    height: 1px;
    top: calc(300vh * var(--f));
    top: calc(300svh * var(--f));
    scroll-snap-align: start;
    scroll-snap-stop: always;
    pointer-events: none;
  }
  .lp-story__snap--edge {
    scroll-snap-stop: normal;
  }
  html.is-pin {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 78px;
  }
  .lp-story {
    height: calc(100vh - var(--lp-chrome) + 300vh);
    height: calc(100svh - var(--lp-chrome) + 300svh);
  }
  .lp-story__stage {
    position: sticky;
    top: 78px;
    justify-content: center;
    height: calc(100vh - var(--lp-chrome));
    height: calc(100svh - var(--lp-chrome));
    padding-top: 4px;
    padding-bottom: 40px;
  }
  .lp-story__sticky {
    display: flex;
    justify-content: center;
  }
  .lp-story .lp-phone,
  .lp-class .lp-phone {
    border-width: 6px;
    border-radius: 30px;
  }
  .lp-story .lp-phone::after,
  .lp-class .lp-phone::after {
    top: 5px;
    width: 52px;
    height: 15px;
    margin-left: -26px;
  }
  .lp-story .lp-scr,
  .lp-class .lp-scr {
    padding-top: 22px;
  }
  .lp-class .lp-shot--full {
    top: -22px;
    height: calc(100% + 22px);
  }
  .lp-story .lp-phone {
    width: auto;
    height: clamp(260px, calc(100svh - var(--lp-chrome) - var(--rest, 250px)), 556px);
    aspect-ratio: 9 / 18.4;
  }
  /* 1단계는 챌린지 띠가 주인공이라 폰은 빼고(히어로에 같은 화면이 있다) 작은 화면에서도 띠를 크게 보여준다 */
  .lp-story__sticky[data-step="1"] {
    display: none;
  }
  .lp-ss h3 {
    font-size: 21px;
  }
  .lp-ss p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
  }
  .lp-ss__tag {
    margin-bottom: 8px;
    padding: 5px 13px;
    font-size: 14px;
  }
  /* 인덱스(점)는 4단계 모두 무대 맨 아래에 고정 */
  .lp-dots {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    margin: 0;
  }
  .lp-mq {
    gap: 8px;
    margin-top: 14px;
  }
  .lp-mq__t {
    gap: 8px;
  }
  .lp-mqc {
    flex-basis: 232px;
    gap: 10px;
    padding: 7px 12px 7px 7px;
    border-radius: 14px;
  }
  .lp-mqc img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }
  .lp-mqc b {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .lp-ss .lp-mqc small {
    margin-top: 2px;
    font-size: 11px;
  }

  /* 자유훈련: 탭은 아이콘과 이름만 한 줄로 */
  .lp-fg {
    gap: 26px;
    padding: 22px 18px 0;
  }
  .lp-fg h3 {
    margin-bottom: 12px;
    font-size: 24px;
  }
  .lp-fg__tag {
    margin-bottom: 8px;
  }
  .lp-fg,
  .lp-fg__copy,
  .lp-fg__phone {
    min-width: 0;
  }
  .lp-fg__tabs {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 6px;
  }
  .lp-fgtab {
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px 2px;
    border-radius: 14px;
    text-align: center;
  }
  .lp-fgtab img {
    width: 34px;
    height: 34px;
  }
  .lp-fgtab .lp-fgtab__t span {
    display: none;
  }
  .lp-fg__cap {
    display: block;
    min-height: 42px;
    margin-top: 10px;
    color: var(--g600);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
  }
  .lp-fgtab b {
    font-size: 13px;
    letter-spacing: -0.04em;
    word-break: keep-all;
  }
  .lp-fg .lp-phone--crop {
    height: clamp(330px, calc(100svh - var(--lp-chrome) - 338px), 440px);
  }

  /* 클래스: 단계 목록은 한 줄 칩 */
  .lp-class .lp-head p {
    display: none;
  }
  .lp-class__grid {
    gap: 16px;
  }
  .lp-class__visual {
    padding: 18px 0;
  }
  .lp-class .lp-phone {
    width: auto;
    height: clamp(380px, calc(100svh - var(--lp-chrome) - 330px), 460px);
    aspect-ratio: 9 / 18.4;
  }
  .lp-class__list {
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 8px;
    margin: 0 0 14px;
  }
  .lp-class__list li {
    flex-direction: column;
    gap: 6px;
    padding: 10px 6px;
    font-size: 14px;
    text-align: center;
  }
  .lp-class__list small {
    display: none;
  }
  .lp-class__cta {
    display: flex;
    width: fit-content;
    min-width: 220px;
    margin-inline: auto;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .lp-pricing .lp-wrap {
    width: min(780px, calc(100% - 48px));
  }
  .lp-plans {
    max-width: none;
  }
}
