/* HERMES SMS 로그인 전 화면 v2 — hermes-member.css(디자인 시스템) 위에 얹는다(10-09) */
body.hp { display: flex; flex-direction: column; min-height: 100vh; }
.hp-main { flex: 1; width: 100%; }
.hp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* 머리 */
.hp-top { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.hp-top.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.hp-top-inner { display: flex; align-items: center; gap: 24px; max-width: 1180px; height: 64px; margin: 0 auto; padding: 0 28px; }
.hp-nav { display: flex; gap: 4px; margin: 0 auto; }
.hp-nav a { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; transition: color .15s, background-color .15s; }
.hp-nav a:hover, .hp-nav a.active { color: var(--ink); background: var(--surface-2); }
.hp-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hp-actions .is-current { border-color: var(--accent-line); color: var(--accent) !important; }

/* 첫 화면 히어로 */
.hp-hero { position: relative; overflow: hidden; margin-top: -64px; padding: 150px 0 90px; text-align: center; }
.hp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), radial-gradient(500px 300px at 85% 30%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%); pointer-events: none; }
.hp-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hp-hero > * { position: relative; z-index: 1; }
.hp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); }
.hp-kicker b { padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.hp-hero h1 { max-width: 860px; margin: 22px auto 18px; font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; line-height: 1.06; letter-spacing: -.055em; }
.hp-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 60%, #ffc08a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-lead { max-width: 600px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hp-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hp-shot { position: relative; max-width: 980px; margin: 64px auto 0; padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.hp-shot-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); text-align: left; }
.hp-shot-side { padding: 16px 12px; border-right: 1px solid var(--line); background: var(--surface); }
.hp-shot-side i { display: block; height: 30px; margin-bottom: 6px; border-radius: 8px; background: var(--surface-2); }
.hp-shot-side i:first-child { background: var(--accent-soft); }
.hp-shot-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 86px; gap: 10px; padding: 16px; }
.hp-shot-main div { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.hp-shot-main div b { display: block; margin-top: 8px; color: var(--ink); font-size: 22px; letter-spacing: -.04em; }
.hp-shot-main .is-hero { grid-column: span 2; grid-row: span 2; background: #0c0a09; color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .06); background-image: radial-gradient(300px 160px at 100% 0%, rgba(255, 107, 44, .55), transparent 60%); }
.hp-shot-main .is-hero b { color: #fff; font-size: 24px; line-height: 1.25; }
.hp-shot-main .is-accent { background: linear-gradient(135deg, #ff7a33, var(--accent)); color: rgba(255, 255, 255, .8); border-color: transparent; }
.hp-shot-main .is-accent b { color: #fff; }

/* 숫자 띠 */
.hp-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.hp-metrics div { padding: 22px; background: var(--surface); text-align: left; }
.hp-metrics b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.hp-metrics span { color: var(--muted); font-size: 13px; font-weight: 600; }

/* 섹션 */
.hp-section { padding: 96px 0; }
.hp-section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.hp-section-head h2 { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.hp-section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.hp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hp-feature { position: relative; overflow: hidden; padding: 26px; grid-column: span 2; min-height: 200px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s var(--ease); }
.hp-feature:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.hp-feature.is-big { grid-column: span 4; background: radial-gradient(400px 220px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.hp-feature.is-dark { background: #0c0a09; color: #fff; border-color: rgba(255, 255, 255, .06); background-image: radial-gradient(380px 220px at 0% 100%, rgba(255, 107, 44, .45), transparent 65%); }
.hp-feature.is-dark p { color: rgba(255, 255, 255, .66); }
.hp-feature .hm-ico { margin-bottom: auto; }
.hp-feature h3 { margin: 20px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.hp-feature p { margin: 0; color: var(--muted); line-height: 1.65; }
.hp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.hp-step { padding: 24px 22px; }
.hp-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; }
.hp-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.hp-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.hp-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 44px 48px; border-radius: 24px; background: #0c0a09; color: #fff; flex-wrap: wrap; }
.hp-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 107, 44, .5), transparent 60%); }
.hp-band > * { position: relative; }
.hp-band h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.hp-band p { margin: 0; color: rgba(255, 255, 255, .66); }
.hp-band .hp-cta { justify-content: flex-start; }

/* 로그인 · 가입 */
.hp-auth { display: grid; place-items: center; min-height: calc(100vh - 64px - 60px); padding: 48px 20px; position: relative; overflow: hidden; }
.hp-auth::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 340px at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); pointer-events: none; }
.hp-auth-card { position: relative; width: 100%; max-width: 420px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.hp-auth-logo { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.hp-auth-card h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.hp-auth-card .hm-sub { margin-bottom: 24px; }
.hp-input { position: relative; }
.hp-input .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 16px; pointer-events: none; }
.hp-input .hm-input { min-height: 46px; padding-left: 42px; }
.hp-alert { display: flex; gap: 8px; margin-bottom: 18px; padding: 11px 13px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-size: 13.5px; font-weight: 600; }
.hp-switch { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 14px; }
.hp-switch a { color: var(--accent); font-weight: 700; text-decoration: none; }
.hp-perks { display: flex; gap: 14px; justify-content: center; margin-top: 18px; color: var(--muted); font-size: 12.5px; font-weight: 600; flex-wrap: wrap; }
.hp-perks .bi { color: var(--accent); }

@media (max-width: 900px) {
    .hp-nav { display: none; }
    .hp-top-inner, .hp-wrap { padding: 0 16px; }
    .hp-hero { padding: 120px 0 64px; }
    .hp-shot-inner { grid-template-columns: 1fr; }
    .hp-shot-side { display: none; }
    .hp-shot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-bento { grid-template-columns: 1fr 1fr; }
    .hp-feature, .hp-feature.is-big { grid-column: span 2; }
    .hp-steps { grid-template-columns: 1fr 1fr; }
    .hp-section { padding: 64px 0; }
    .hp-band { padding: 30px 24px; }
}
@media (max-width: 560px) {
    .hp-hide-sm { display: none !important; }
    .hp-steps { grid-template-columns: 1fr; }
    .hp-lead { font-size: 16px; }
    .hp-auth-card { padding: 24px; }
}
