@charset "utf-8";
/* 메인 화면 (index.php). 색상 변수는 ext_site.css에 있다. 그림은 모두 직접 그린 SVG다. */
.eh { color: var(--eh-text); font-size: 16px; line-height: 1.65; word-break: keep-all; }
.eh .ext-layout { width: min(92%, 1240px); }
html { scroll-behavior: smooth; }
.eh section[id] { scroll-margin-top: 80px; }

.eh-eyebrow { margin: 0 0 10px; color: var(--eh-point); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.eh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.eh-btn:hover { transform: translateY(-1px); }
.eh-btn--primary { background: var(--eh-point); color: #fff; }
.eh-btn--primary:hover { background: var(--eh-point-dark); color: #fff; }
.eh-btn--ghost { background: #fff; color: var(--eh-night); box-shadow: inset 0 0 0 1.5px #d6d9e2; }
.eh-btn--line { background: #fff; color: var(--eh-point); box-shadow: inset 0 0 0 1.5px var(--eh-point); }
.eh-btn--white { background: #fff; color: var(--eh-night); }

/* 첫 화면: 새벽(하늘색)에서 아침 해(코랄)로 넘어가는 배경 */
.eh-hero { padding: 72px 0 80px; background: radial-gradient(circle at 88% 12%, #ffe2d3 0, transparent 42%), radial-gradient(circle at 8% 92%, var(--eh-sky) 0, transparent 42%), var(--eh-cream); }
.eh-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eh-hero__title { margin: 0 0 18px; color: var(--eh-night); font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; }
.eh-hero__title em { color: var(--eh-point); font-style: normal; }
.eh-hero__lead { max-width: 580px; margin: 0 0 28px; color: var(--eh-muted); font-size: 18px; }
.eh-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.eh-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 660px; margin: 0; padding: 0; list-style: none; }
.eh-hero__facts li { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(22, 33, 62, .06); }
.eh-hero__facts strong { display: block; color: var(--eh-night); font-size: 16.5px; }
.eh-hero__facts span { color: var(--eh-muted); font-size: 13.5px; }
.eh-hero__art svg { display: block; width: 100%; max-width: 500px; height: auto; margin: 0 auto; font-family: inherit; }

/* 공통 섹션 */
.eh-section { padding: 96px 0; }
.eh-section--tint { background: var(--eh-cream); }
.eh-section--dark { background: var(--eh-night); color: #d9deea; }
.eh-section--dark .eh-section__title { color: #fff; }
.eh-section--dark .eh-eyebrow { color: var(--eh-point-light); }
.eh-section__head { margin-bottom: 44px; }
.eh-section__title { margin: 0; color: var(--eh-night); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; }
.eh-section__desc { max-width: 560px; margin: 16px 0 0; }

/* 약속 카드 */
.eh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.eh-card { padding: 30px 26px; border: 1px solid var(--eh-line); border-radius: 20px; background: #fff; }
.eh-card h3 { margin: 18px 0 10px; color: var(--eh-night); font-size: 19px; font-weight: 800; }
.eh-card p { margin: 0; color: var(--eh-muted); font-size: 15px; }
.eh-icon { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--eh-point-soft); color: var(--eh-point); }

/* 이런 분께 */
.eh-fit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.eh-fit li { padding: 22px 22px 22px 52px; border-radius: 16px; background: #fff no-repeat 20px 25px/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23fff1ea'/%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.7' fill='none' stroke='%23cf4127' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.eh-fit strong { display: block; color: var(--eh-night); font-size: 17px; }
.eh-fit span { color: var(--eh-muted); font-size: 14px; }

/* 상품 */
.eh-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.eh-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid var(--eh-line); border-radius: 22px; background: #fff; }
.eh-plan.is-featured { border: 2px solid var(--eh-point); box-shadow: 0 18px 40px rgba(207, 65, 39, .14); }
.eh-plan__badge { position: absolute; top: -14px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--eh-point); color: #fff; font-size: 13px; font-weight: 800; }
.eh-plan__name { margin: 0 0 10px; color: var(--eh-night); font-size: 21px; font-weight: 800; }
.eh-plan__price { margin: 0; color: var(--eh-night); font-size: 17px; }
.eh-plan__price strong { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.eh-plan__per { display: inline-block; align-self: flex-start; margin: 10px 0 20px; padding: 4px 10px; border-radius: 8px; background: var(--eh-point-soft); color: var(--eh-point-dark); font-size: 14px; font-weight: 700; }
.eh-plan__list { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.eh-plan__list li { padding: 7px 0 7px 26px; border-top: 1px solid #f2eeea; background: no-repeat 0 50%/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23cf4127' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); font-size: 15px; }
.eh-empty { padding: 28px; border-radius: 16px; background: var(--eh-cream); text-align: center; }
.eh-note { margin: 22px 0 0; color: var(--eh-muted); font-size: 14px; }

/* 상품 찾기 */
.eh-finder { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.eh-finder__text p { color: var(--eh-muted); }
.eh-finder__box { padding: 34px; border-radius: 22px; background: linear-gradient(135deg, #fff, var(--eh-sky)); box-shadow: 0 10px 30px rgba(22, 33, 62, .06); }
.eh-finder__label { display: block; margin-bottom: 14px; color: var(--eh-night); font-size: 17px; font-weight: 700; }
.eh-finder__label strong { color: var(--eh-point); font-size: 26px; }
.eh-finder__box input[type=range] { width: 100%; accent-color: var(--eh-point); }
.eh-finder__result { margin: 22px 0; padding: 20px; border-radius: 14px; background: #fff; color: var(--eh-night); font-size: 17px; }
.eh-finder__result strong { color: var(--eh-point); font-size: 21px; }
.eh-finder__result span { display: block; margin-top: 4px; color: var(--eh-muted); font-size: 15px; }
.eh-finder__result .eh-finder__per { color: var(--eh-point-dark); font-weight: 700; }

/* 신원 인증 */
.eh-verify { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
.eh-verify .eh-section__head { margin: 0; }
.eh-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.eh-docs li { padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .05); }
.eh-docs span { display: block; color: var(--eh-point-light); font-size: 14px; font-weight: 800; }
.eh-docs strong { display: block; margin: 6px 0 2px; color: #fff; font-size: 19px; }
.eh-docs em { color: #aab2c4; font-size: 14px; font-style: normal; }

/* 절차 */
.eh-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.eh-steps li { position: relative; padding: 26px 22px; border-radius: 18px; background: var(--eh-cream); }
.eh-steps__no { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--eh-night); color: #fff; font-weight: 800; }
.eh-steps li:last-child .eh-steps__no { background: var(--eh-point); }
.eh-steps h3 { margin: 14px 0 8px; color: var(--eh-night); font-size: 18px; font-weight: 800; }
.eh-steps p { margin: 0; color: var(--eh-muted); font-size: 14.5px; }

/* 자주 묻는 질문 */
.eh-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.eh-faq__list details { border-bottom: 1px solid var(--eh-line); }
.eh-faq__list summary { position: relative; padding: 22px 40px 22px 0; color: var(--eh-night); font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.eh-faq__list summary::-webkit-details-marker { display: none; }
.eh-faq__list summary::after { position: absolute; top: 50%; right: 6px; color: var(--eh-point); font-size: 24px; font-weight: 400; content: "+"; transform: translateY(-50%); }
.eh-faq__list details[open] summary::after { content: "−"; }
.eh-faq__list p { margin: 0 0 22px; color: var(--eh-muted); }

/* 마지막 신청 띠: 밤에서 아침으로 */
.eh-cta { padding: 80px 0; background: linear-gradient(120deg, var(--eh-night) 0%, #3a2f5b 55%, var(--eh-point) 120%); color: #fff; text-align: center; }
.eh-cta h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.eh-cta p { margin: 0 0 28px; opacity: .9; }

@media (max-width: 1100px) {
    .eh-fit { grid-template-columns: repeat(2, 1fr); }
    .eh-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .eh-hero { padding: 40px 0 56px; }
    .eh-hero__inner, .eh-finder, .eh-verify, .eh-faq { grid-template-columns: 1fr; gap: 28px; }
    .eh-hero__art { order: -1; max-width: 420px; margin: 0 auto; }
    .eh-hero__lead { font-size: 16px; }
    .eh-hero__facts { grid-template-columns: 1fr; }
    .eh-section { padding: 64px 0; }
    .eh-steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .eh-cards, .eh-fit, .eh-docs { grid-template-columns: 1fr; }
    .eh-hero__actions .eh-btn { flex: 1 1 100%; }
    .eh-finder__box, .eh-plan { padding: 26px 22px; }
}
