/*
 * 학부모 안내 쪽(/parents/)에만 있는 스타일. landing.css 다음에 불러온다.
 * 머리(메뉴), 구역 머리(.section-head), 요금 카드(.plans, .plan), 자주 묻는 것(.faq-*), 바닥글은 landing.css의 것을 그대로 쓴다.
 * 색은 첫 쪽(시안 A)과 같은 값만 쓴다: 글자 #1a1d23·#4a5160·#5b6270, 파랑 #2e4bd1·#1f36a3·#e3e9ff, 노랑 #ffce00·#fff0b0·#5c4600,
 * 초록 #dcf1e3·#1c5a3a, 크림 #fdf8ec, 테두리 #ece5d3·#e9e4d8. 밝은 화면만 있다(첫 쪽과 같다).
 * 글자는 13px보다 작게 쓰지 않는다.
 */

/* 구역 바탕: 흰색과 크림이 번갈아 나온다(첫 화면 흰색 → 공부 크림 → 보호자 흰색 → 안전 크림 → 요금 흰색 → 질문 크림 → 문의 파랑) */
.p-hero,
.p-guardian,
.p-price {
  background: #ffffff;
}

.p-study,
.p-safety,
.p-faq {
  background: #fdf8ec;
}

/* ---------- 1. 첫 화면 ---------- */

.p-hero-in {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(56px, 6.5vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 56px;
}

.p-hero-copy {
  flex: 1 1 440px;
  max-width: 680px;
  min-width: 0;
}

.p-title {
  margin: 16px 0 0;
  font-size: clamp(34px, 3.9vw, 50px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* 좁은 폰에서는 "자녀의 영어 공부,"(nb 한 덩이)가 한 줄에 들어가게 조금 줄인다(360px에서 32px). */
@media (max-width: 400px) {
  .p-title {
    font-size: clamp(28px, 8.9vw, 34px);
  }
}

/* 첫 쪽 제목의 노란 칠과 같은 모양(움직임은 없다) */
.p-mark {
  padding: 0 0.06em;
  box-shadow: inset 0 -0.5em 0 #ffce00;
}

.p-lead {
  margin: 22px 0 0;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.7;
  color: #4a5160;
}

.p-actions {
  margin-top: 32px;
  max-width: 520px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p-btn {
  flex: 1 1 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  box-sizing: border-box;
  padding: 8px 22px;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.p-btn-dark {
  background: #1a1d23;
  color: #ffffff;
}

.p-btn-light {
  background: #f1efe9;
  color: #1a1d23;
}

.p-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: #5b6270;
}

/* 보호자님이 할 수 있는 것 세 줄(오른쪽 카드) */
.p-quick {
  flex: 1 1 360px;
  max-width: 480px;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid #e9e4d8;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(26, 29, 35, 0.08);
}

.p-quick-h {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #1f36a3;
}

.p-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-quick-list li + li {
  border-top: 1px solid #efebe2;
}

.p-quick-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 14px 4px;
  color: #1a1d23;
  text-decoration: none;
}

.p-quick-list a:hover strong {
  color: #1f36a3;
}

.p-quick-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.p-quick-text strong {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}

.p-quick-text span {
  font-size: 15px;
  line-height: 1.5;
  color: #4a5160;
}

/* 둥근 네모 아이콘 칸 */
.p-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.p-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-ico-blue {
  background: #e3e9ff;
  color: #1f36a3;
}

.p-ico-yellow {
  background: #fff0b0;
  color: #5c4600;
}

.p-ico-green {
  background: #dcf1e3;
  color: #1c5a3a;
}

/* ---------- 공용: 카드와 꼬리표 ---------- */

.p-card {
  min-width: 0;
  box-sizing: border-box;
  padding: 24px 24px 26px;
  border: 1px solid #e9e4d8;
  border-radius: 20px;
  background: #ffffff;
}

.p-card p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4a5160;
}

.p-card-title {
  margin: 12px 0 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.p-card > .p-card-title:first-child {
  margin-top: 0;
}

.p-card .p-card-link {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.p-card-link a,
.p-center-note a,
.p-facts a,
.p-price-notes a {
  color: #1f36a3;
}

.p-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.p-tag-blue {
  background: #e3e9ff;
  color: #1f36a3;
}

.p-tag-yellow {
  background: #fff0b0;
  color: #5c4600;
}

.p-tag-green {
  background: #dcf1e3;
  color: #1c5a3a;
}

.p-tag-gray {
  background: #f1efe9;
  color: #4a5160;
}

.p-center-note {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: #5b6270;
}

/* ---------- 2. 자녀가 하는 공부 ---------- */

.p-study-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

/* ---------- 3. 보호자님이 할 수 있는 것 ---------- */

.p-feature {
  max-width: 960px;
  margin: 48px auto 0;
  box-sizing: border-box;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid #ece5d3;
  border-radius: 24px;
  background: #ffffff;
  scroll-margin-top: 16px;
}

.p-feature + .p-feature {
  margin-top: 24px;
}

.p-feature-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
}

.p-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #2e4bd1;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.p-feature-kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1f36a3;
}

.p-feature-title {
  margin: 2px 0 0;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.p-feature-lead {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #4a5160;
}

.p-aside {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fdf8ec;
  font-size: 15px;
  line-height: 1.7;
  color: #4a5160;
}

/* 연결 네 걸음 */
.p-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.p-steps li {
  min-width: 0;
  box-sizing: border-box;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: #f6f7fd;
}

.p-steps p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4a5160;
}

.p-steps strong {
  color: #1a1d23;
}

.p-step-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffce00;
  color: #1a1d23;
  font-size: 15px;
  font-weight: 800;
}

/* 리포트 예시 그림 두 장. 폰 화면을 찍은 것이라 폭을 정해 두고, 넓으면 나란히, 좁으면 위아래로 놓는다. */
.p-shots {
  margin: 28px 0 0;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 20px;
  background: #e3e9ff;
}

.p-shots-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.p-shots img {
  display: block;
  flex: 1 1 260px;
  min-width: 0;
  max-width: 340px;
  height: auto;
  box-sizing: border-box;
  border: 1px solid #c9d2f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 54, 163, 0.12);
}

.p-shots figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #1f36a3;
  font-weight: 700;
}

/* 보여 드리는 것 / 보여 드리지 않는 것 */
.p-twolist {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.p-list-box {
  min-width: 0;
  box-sizing: border-box;
  padding: 20px 22px 22px;
  border: 1px solid #ece5d3;
  border-radius: 16px;
}

.p-list-h {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.p-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.p-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5160;
}

/* 줄 앞의 표시: 보여 드리는 것은 파란 체크, 보여 드리지 않는 것은 회색 가로줄 */
.p-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.p-list-yes li::before {
  background: #2e4bd1;
}

.p-list-yes li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: calc(0.3em + 3px);
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.p-list-no li::before {
  background: #e7e5df;
}

.p-list-no li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: calc(0.3em + 7px);
  width: 8px;
  height: 2px;
  background: #5b6270;
}

/* 알아 두실 것 몇 줄 */
.p-facts {
  margin: 22px 0 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a5160;
}

.p-facts strong {
  color: #1a1d23;
}

/* 보호자 결제: 글과 "누가 무엇을" 표 */
.p-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
}

.p-pay-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.p-payer {
  flex: 0 1 300px;
  min-width: 0;
  margin: 22px 0 0;
  box-sizing: border-box;
  padding: 8px 22px;
  border-radius: 18px;
  background: #fdf8ec;
  border: 1px solid #ece5d3;
}

.p-payer div {
  padding: 14px 0;
}

.p-payer div + div {
  border-top: 1px dashed #d9d1bd;
}

.p-payer dt {
  font-size: 14px;
  font-weight: 700;
  color: #5b6270;
}

.p-payer dd {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 800;
  color: #1a1d23;
}

/* 폰: 카드 안의 카드가 겹쳐 글 폭이 좁아지지 않게 안쪽 여백을 줄인다 */
@media (max-width: 600px) {
  .p-feature {
    padding: 22px 16px 24px;
    border-radius: 20px;
  }

  .p-steps {
    gap: 10px;
  }

  .p-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 14px 14px 16px;
  }

  .p-steps p {
    margin: 2px 0 0;
  }

  .p-shots {
    padding: 14px;
  }

  .p-list-box {
    padding: 16px 16px 18px;
  }
}

/* ---------- 4. 안전과 개인정보 ---------- */

.p-safety-grid {
  max-width: 980px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

/* ---------- 5. 요금 ---------- */

/* 카드 안에 [결제하기]가 없어 첫 쪽보다 낮다. 카드 모양은 landing.css "6. 요금제" 그대로다. */
.p-price .plans {
  margin-top: 40px;
}

.p-price-notes {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a5160;
}

/* ---------- 6. 자주 묻는 질문 ---------- */

/* 크림 바탕 위의 흰 카드(첫 쪽은 흰 바탕) */
.p-faq .faq-item {
  border-color: #ece5d3;
}

/* ---------- 7. 문의 (첫 쪽 "앱 내려받기"의 파란 띠와 같은 모양) ---------- */

.p-contact {
  background: #2e4bd1;
  color: #ffffff;
}

.p-contact-in {
  padding-top: clamp(56px, 6.5vw, 92px);
  padding-bottom: clamp(56px, 6.5vw, 92px);
  text-align: center;
}

.p-contact-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #ffce00;
  color: #1a1d23;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.p-contact-title {
  margin: 18px 0 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.p-contact-lead {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: #eef1ff;
}

.p-contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 28px;
  box-sizing: border-box;
  padding: 8px 28px;
  border-radius: 16px;
  background: #ffffff;
  color: #1f36a3;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.p-contact-more {
  margin: 18px 0 0;
  font-size: 15px;
  color: #eef1ff;
}

.p-contact-more a {
  color: #ffffff;
  font-weight: 700;
}

.p-contact a:focus-visible {
  outline-color: #ffffff;
}

/* ---------- 인쇄 ---------- */

@media print {
  .p-quick,
  .p-actions,
  .header-cta,
  .header-nav {
    display: none;
  }

  .p-feature,
  .p-card,
  .p-shots {
    break-inside: avoid;
  }

  .p-contact {
    background: #ffffff;
    color: #1a1d23;
  }

  .p-contact-lead,
  .p-contact-more {
    color: #1a1d23;
  }
}
