/* ======================================================
   Pn.IT 메인 페이지 (v2)
====================================================== */

/* ---------- 상단 ---------- */
.hm-hero{padding:72px 0 64px;background:var(--surface);border-bottom:1px solid var(--line)}
.hm-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center}
.hm-eyebrow{margin:0 0 16px;font-size:14px;font-weight:700;color:var(--primary)}
.hm-hero h1{margin:0;font-size:50px;line-height:1.18;letter-spacing:-.04em;font-weight:800}
.hm-lead{margin:20px 0 0;max-width:500px;font-size:17px;line-height:1.75;color:#4a4d52}
.hm-actions{display:flex;gap:8px;margin-top:30px;flex-wrap:wrap}
.hm-checks{display:flex;flex-wrap:wrap;gap:8px 22px;margin:26px 0 0;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.hm-checks li{position:relative;padding-left:20px}
.hm-checks li::before{content:"";position:absolute;left:2px;top:5px;width:9px;height:5px;border-left:2px solid var(--primary);border-bottom:2px solid var(--primary);transform:rotate(-45deg)}

/* 상품별 시작 요금 */
.hm-prices{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}
.hm-prices-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:var(--surface-2);border-bottom:1px solid var(--line)}
.hm-prices-head strong{font-size:15px}
.hm-prices-head a{font-size:13px;font-weight:600;color:var(--muted)}
.hm-prices-head a:hover{color:var(--primary)}
.hm-price-row{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line);transition:background .12s}
.hm-price-row:last-child{border-bottom:0}
.hm-price-row:hover{background:#fcfaf7}
.hm-price-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--primary-soft);color:var(--primary);flex:none}
.hm-price-icon svg{width:19px;height:19px}
.hm-price-name{flex:1;min-width:0}
.hm-price-name strong{display:block;font-size:15px}
.hm-price-name small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.hm-price-value{font-size:13px;color:var(--muted);white-space:nowrap}
.hm-price-value b{font-size:18px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;margin-right:1px}
.hm-price-go{width:16px;height:16px;color:#b2aea4;flex:none}
.hm-price-row:hover .hm-price-go{color:var(--primary)}
.hm-prices-empty{margin:0;padding:28px 20px;color:var(--muted);font-size:14px;text-align:center}

/* ---------- 수치 ---------- */
.hm-facts{padding:28px 0;border-bottom:1px solid var(--line)}
.hm-facts-row{display:grid;grid-template-columns:repeat(4,1fr);margin:0}
.hm-facts-row div{padding:4px 24px;border-left:1px solid var(--line)}
.hm-facts-row div:first-child{border-left:0;padding-left:0}
.hm-facts-row dt{font-size:13px;font-weight:600;color:var(--muted)}
.hm-facts-row dd{margin:6px 0 0;font-size:30px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.hm-facts-row dd small{font-size:16px;font-weight:700;margin-left:2px;color:#4a4d52}

/* ---------- 섹션 공통 ---------- */
.hm-section{padding:72px 0 0}
.hm-head{margin-bottom:28px}
.hm-head h2{margin:0;font-size:28px;line-height:1.3}
.hm-head p{margin:8px 0 0;color:var(--muted);font-size:15px}
.hm-head-row{display:flex;justify-content:space-between;align-items:baseline}
.hm-head-row a{font-size:14px;font-weight:600;color:var(--muted)}
.hm-head-row a:hover{color:var(--primary)}

/* 기능 목록 */
.hm-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.hm-feature{display:flex;gap:16px;padding:26px 24px 26px 0;border-bottom:1px solid var(--line)}
.hm-feature + .hm-feature{padding-left:24px}
.hm-feature:nth-child(3n+1){padding-left:0}
.hm-feature:not(:nth-child(3n)){border-right:1px solid var(--line)}
.hm-feature > svg{width:24px;height:24px;color:var(--primary);flex:none;margin-top:2px}
.hm-feature h3{margin:0 0 6px;font-size:17px}
.hm-feature p{margin:0;font-size:14.5px;line-height:1.7;color:var(--muted)}

/* 이용 방법 + 공지사항 */
.hm-split{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.hm-steps{list-style:none;margin:0;padding:0;position:relative}
.hm-steps::before{content:"";position:absolute;left:17px;top:18px;bottom:18px;width:1px;background:var(--line-strong)}
.hm-steps li{position:relative;display:flex;gap:18px;padding:0 0 26px}
.hm-steps li:last-child{padding-bottom:0}
.hm-steps b{position:relative;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--surface);border:1px solid var(--line-strong);font-size:14px;flex:none}
.hm-steps li:first-child b{background:var(--primary);border-color:var(--primary);color:#fff}
.hm-steps h3{margin:6px 0 4px;font-size:16px}
.hm-steps p{margin:0;font-size:14.5px;line-height:1.65;color:var(--muted)}

.hm-notices{list-style:none;margin:0;padding:0;border-top:1px solid var(--text)}
.hm-notices li{border-bottom:1px solid var(--line)}
.hm-notices a{display:flex;align-items:center;gap:12px;padding:15px 2px}
.hm-notices a:hover .hm-notice-title{color:var(--primary)}
.hm-notice-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500}
.hm-notices time{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.hm-badge{flex:none;padding:2px 7px;border-radius:4px;font-size:12px;font-weight:700;background:var(--surface-2);border:1px solid var(--line);color:#4a4d52}
.hm-badge.warn{background:var(--warn-soft);border-color:#f1dfa6;color:var(--warn)}
.hm-badge.danger{background:var(--danger-soft);border-color:#f6cdc9;color:var(--danger)}
.hm-notices-empty{margin:0;padding:24px 0;border-top:1px solid var(--text);color:var(--muted)}

/* ---------- 반응형 ---------- */
@media(max-width:960px){
    .hm-hero-grid,.hm-split{grid-template-columns:1fr;gap:40px}
    .hm-hero h1{font-size:40px}
    .hm-features{grid-template-columns:1fr 1fr}
    .hm-feature,.hm-feature + .hm-feature,.hm-feature:nth-child(3n+1){padding:22px 20px 22px 0;border-right:0}
    .hm-feature:nth-child(2n){padding-left:20px}
    .hm-feature:nth-child(2n+1){border-right:1px solid var(--line)}
    .hm-facts-row{grid-template-columns:1fr 1fr;row-gap:18px}
    .hm-facts-row div:nth-child(3){border-left:0;padding-left:0}
}
@media(max-width:620px){
    .hm-hero{padding:48px 0 44px}
    .hm-hero h1{font-size:32px}
    .hm-lead{font-size:16px}
    .hm-features{grid-template-columns:1fr}
    .hm-feature,.hm-feature:nth-child(2n),.hm-feature:nth-child(2n+1){padding:20px 0;border-right:0}
    .hm-section{padding-top:56px}
    .hm-head h2{font-size:23px}
    .hm-price-row{padding:14px 16px;gap:12px}
    .hm-price-value b{font-size:16px}
}
.hm-price-value small{font-size:12px;color:var(--muted)}
