/**
 * Renewal — About > Plan (Figma 29:32108 PC / 29:32781 Mobile)
 */
body.renewal .plan-rn {
  --plan-text: #2c2c2c;
  --plan-body: #4e4e4e;
  --plan-muted: #959ba7;
  --plan-unit: #6b7280;
  --plan-border: #e5e7eb;
  --plan-accent-border: #9ab8ff;
  --plan-check-bg: #f1f2f2;
  --plan-check-accent-bg: #f0fdff;
  --plan-feature-bg: linear-gradient(90deg, #f7faff 0%, #ebf3ff 100%);
  --plan-ribbon-bg: linear-gradient(90deg, rgba(255, 230, 235, 0.78) 0%, rgba(155, 195, 255, 0.78) 50%, rgba(225, 214, 255, 0.78) 100%);

  font-family: 'Montserrat', 'Pretendard', sans-serif;
  color: var(--plan-text);
  word-break: keep-all;
}

body.renewal .plan-rn__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

body.renewal .plan-rn__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
  color: var(--plan-text);
}

body.renewal .plan-rn__note {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  color: var(--plan-body);
}

body.renewal .plan-rn__note img {
  flex: none;
  width: 7.866px;
  height: 8.5px;
}

/* ---------- Hero ---------- */
body.renewal .plan-rn-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 463px;
  padding: 100px 80px;
  box-sizing: border-box;
  overflow: hidden;
  background: #000 url("/img/renewal/plan/hero.jpg") center / cover no-repeat;
  color: #fff;
  text-align: right;
}

body.renewal .plan-rn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 371px;
  background: linear-gradient(270deg, rgba(1, 1, 1, 0.8) 0%, rgba(1, 1, 1, 0) 100%);
  pointer-events: none;
}

body.renewal .plan-rn-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 1120px;
}

body.renewal .plan-rn-hero__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 34px;
}

body.renewal .plan-rn-hero__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

/* ---------- Choose your plan ---------- */
body.renewal .plan-rn-choose {
  padding-top: 105px;
}

body.renewal .plan-rn-choose__body {
  display: flex;
  flex-direction: column;
  gap: 21px;
  max-width: 1200px;
  margin: 40px auto 0;
}

body.renewal .plan-rn-cards {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

body.renewal .plan-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 661px;
  border: 1px solid var(--plan-border);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

body.renewal .plan-card--premium {
  border-color: var(--plan-accent-border);
}

body.renewal .plan-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  padding: 0 40px;
  background: #f8f8f8;
  font-size: 20px;
  font-weight: 700;
  color: var(--plan-text);
}

body.renewal .plan-card--premium .plan-card__head {
  background: linear-gradient(180deg, #9bc3ff 0%, #c8dcfa 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

body.renewal .plan-card__head-name {
  display: block;
}

body.renewal .plan-card__body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
}

body.renewal .plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

body.renewal .plan-card__amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--plan-text);
}

body.renewal .plan-card__unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--plan-unit);
}

/* 모바일 전용 카드 내부 플랜명 / 구분선 */
body.renewal .plan-card__name,
body.renewal .plan-card__divider {
  display: none;
}

body.renewal .plan-card__label {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--plan-muted);
}

body.renewal .plan-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.renewal .plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.renewal .plan-feature__check {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--plan-check-bg);
}

body.renewal .plan-feature--accent .plan-feature__check {
  background: var(--plan-check-accent-bg);
}

body.renewal .plan-feature__check img {
  width: 14px;
  height: 14px;
}

body.renewal .plan-feature__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  line-height: 1.4;
}

body.renewal .plan-feature__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--plan-text);
}

body.renewal .plan-feature__sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  font-weight: 500;
  color: var(--plan-muted);
}

body.renewal .plan-card--premium .plan-feature__sub {
  color: #6b6e7e;
}

/* Best Price */
body.renewal .plan-rn-best {
  border: 1px solid var(--plan-accent-border);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

body.renewal .plan-rn-best__ribbon {
  padding: 12px 0;
  background: var(--plan-ribbon-bg);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  color: var(--plan-text);
}

body.renewal .plan-rn-best__body {
  padding: 24px 32px;
  font-size: 19px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
  color: var(--plan-text);
}

body.renewal .plan-rn-best__body p {
  margin: 0;
}

/* ---------- 36-month subscription ---------- */
body.renewal .plan-rn-sub {
  padding-top: 173px;
}

body.renewal .plan-rn-sub__body {
  max-width: 1200px;
  margin: 40px auto 0;
}

body.renewal .plan-rn-sub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 46px;
  align-items: center;
}

body.renewal .plan-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.renewal .plan-benefit__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
}

body.renewal .plan-benefit__icon img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

body.renewal .plan-benefit__icon--dim img {
  opacity: 0.8;
}

body.renewal .plan-benefit__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 24px 29px;
  box-sizing: border-box;
  border-radius: 15px;
  background: var(--plan-feature-bg);
}

body.renewal .plan-benefit--list .plan-benefit__card {
  min-height: 180px;
}

body.renewal .plan-benefit__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 42px;
  color: #000;
}

body.renewal .plan-benefit__desc {
  max-width: 348px;
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
  color: var(--plan-body);
}

body.renewal .plan-benefit__bullets li {
  position: relative;
  padding: 3px 0 3px 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
  color: var(--plan-body);
}

body.renewal .plan-benefit__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--plan-body);
}

body.renewal .plan-rn-sub .plan-rn__note {
  margin-top: 6px;
  padding-left: 120px;
}

/* ---------- CTA ---------- */
body.renewal .plan-rn-cta {
  padding: 199px 0 170px;
  text-align: center;
}

body.renewal .plan-rn-cta__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: #000;
}

body.renewal .plan-rn-cta__desc {
  margin-top: 40px;
  font-size: 19px;
  font-weight: 400;
  line-height: 31px;
  color: var(--plan-text);
}

body.renewal .plan-rn-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding: 20px 29px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 4.9px rgba(0, 0, 0, 0.19);
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  color: var(--plan-text);
  transition: box-shadow 0.2s ease;
}

body.renewal .plan-rn-cta__btn:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

body.renewal .plan-rn-cta__mo-note {
  display: none;
}

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  body.renewal .plan-rn-hero {
    padding: 80px 40px;
  }

  body.renewal .plan-rn-sub__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  body.renewal .plan-rn-sub .plan-rn__note {
    padding-left: 0;
  }
}

/* ---------- Mobile (Figma 375) ---------- */
@media (max-width: 767px) {
  body.renewal .plan-rn__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
  }

  body.renewal .plan-rn__note {
    gap: 7px;
    font-size: 9px;
    line-height: 9px;
  }

  body.renewal .plan-rn__note img {
    width: 6.261px;
    height: 7.225px;
  }

  body.renewal .plan-rn-hero {
    height: 109px;
    padding: 5px 10px;
  }

  body.renewal .plan-rn-hero::after {
    width: 100px;
  }

  body.renewal .plan-rn-hero__copy {
    gap: 2px;
  }

  body.renewal .plan-rn-hero__title {
    font-size: 14px;
    line-height: 21px;
  }

  body.renewal .plan-rn-hero__desc {
    font-size: 12px;
    line-height: 15px;
  }

  body.renewal .plan-rn-choose {
    padding-top: 46px;
  }

  body.renewal .plan-rn-choose__body {
    gap: 10px;
    margin-top: 17px;
  }

  body.renewal .plan-rn-cards {
    flex-direction: column;
    gap: 10px;
  }

  body.renewal .plan-card {
    flex: none;
    min-height: 0;
    border-radius: 16px;
  }

  body.renewal .plan-card--premium {
    border-width: 2px;
  }

  body.renewal .plan-card__head {
    display: none;
  }

  body.renewal .plan-card__body {
    gap: 24px;
    padding: 28px;
  }

  body.renewal .plan-card__summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body.renewal .plan-card__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--plan-text);
  }

  body.renewal .plan-card__divider {
    display: block;
    height: 1px;
    background: #f3f4f6;
  }

  body.renewal .plan-card__price {
    gap: 4px;
  }

  body.renewal .plan-card__amount {
    font-size: 30px;
  }

  body.renewal .plan-card__unit {
    font-size: 12px;
  }

  body.renewal .plan-card__label {
    font-size: 9px;
  }

  body.renewal .plan-feature {
    gap: 12px;
  }

  body.renewal .plan-feature__check {
    width: 15px;
    height: 15px;
    border-radius: 7.2px;
  }

  body.renewal .plan-feature__check img {
    width: 8.4px;
    height: 8.4px;
  }

  body.renewal .plan-feature__text {
    gap: 2px;
    padding-top: 0;
    line-height: normal;
  }

  body.renewal .plan-feature__name {
    font-size: 11px;
  }

  body.renewal .plan-feature__sub {
    gap: 2px;
    font-size: 10px;
  }

  body.renewal .plan-card--premium .plan-feature__sub {
    color: var(--plan-muted);
  }

  body.renewal .plan-rn-best {
    border-color: var(--plan-border);
    border-radius: 16px;
  }

  body.renewal .plan-rn-best__ribbon {
    font-size: 14px;
    line-height: normal;
  }

  body.renewal .plan-rn-best__body {
    padding: 24px;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    color: #4b5563;
  }

  body.renewal .plan-rn-sub {
    padding-top: 67px;
  }

  body.renewal .plan-rn-sub__body {
    max-width: 328px;
    margin-top: 16px;
  }

  body.renewal .plan-rn-sub__grid {
    row-gap: 6px;
  }

  body.renewal .plan-benefit {
    gap: 9px;
  }

  body.renewal .plan-benefit__icon,
  body.renewal .plan-benefit__icon img {
    width: 40px;
    height: 40px;
  }

  body.renewal .plan-benefit__card,
  body.renewal .plan-benefit--list .plan-benefit__card {
    gap: 6px;
    min-height: 95px;
    padding: 12px 20px;
  }

  body.renewal .plan-benefit__title {
    font-size: 11px;
    line-height: 11px;
  }

  body.renewal .plan-benefit__desc {
    font-size: 10px;
    line-height: 13px;
  }

  body.renewal .plan-benefit__bullets li {
    padding: 3px 0 3px 7px;
    font-size: 10px;
    line-height: 10px;
  }

  body.renewal .plan-benefit__bullets li::before {
    width: 2px;
    height: 2px;
    margin-top: -1px;
  }

  body.renewal .plan-rn-sub .plan-rn__note {
    display: none;
  }

  body.renewal .plan-rn-cta {
    padding: 67px 0 46px;
  }

  body.renewal .plan-rn-cta__title {
    font-size: 15px;
    line-height: 21px;
  }

  body.renewal .plan-rn-cta__desc {
    margin-top: 24px;
    font-size: 12px;
    line-height: 17px;
    color: #000;
  }

  body.renewal .plan-rn-cta__btn {
    margin-top: 24px;
    padding: 10px 14.5px;
    border-radius: 12px;
    box-shadow: 0 0 2.45px rgba(0, 0, 0, 0.19);
    font-size: 12px;
    line-height: 17px;
  }

  body.renewal .plan-rn-cta__mo-note {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    line-height: 21px;
    color: #515151;
  }

  body.renewal .plan-rn-br-pc {
    display: none;
  }
}

@media (min-width: 768px) {
  body.renewal .plan-rn-br-mo {
    display: none;
  }
}
