@charset "utf-8";
/* 공정 기술 (process.php) — 색은 --fl-* 토큰만 사용. SVG 일러스트 내부 색만 예외 */

.hp-page { color: var(--fl-ink); background: var(--fl-cream); }
.hp-page em { font-style: normal; color: var(--fl-primary); }

.hp-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fl-font-en); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-primary); }
.hp-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hp-title { margin-top: 14px; font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; color: var(--fl-ink); }
.hp-lead { margin-top: 18px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.75; color: var(--fl-ink-2); }
.hp-text { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--fl-ink-2); }
.hp-head { max-width: 760px; margin-bottom: 56px; }
.hp-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.hp-sec { padding: var(--fl-sec-pad) 0; }
.hp-sec--cream { background: var(--fl-cream); }
.hp-sec--sand { background: var(--fl-sand); }
.hp-sec--dark { background: var(--fl-dark); color: var(--fl-cream); --fl-focus: var(--fl-white); }
.hp-sec--dark .hp-label, .hp-sec--dark em { color: var(--fl-mango-on-dark); }
.hp-sec--dark .hp-title { color: var(--fl-white); }
.hp-sec--dark .hp-lead { color: color-mix(in srgb, var(--fl-cream) 78%, transparent); }

/* 히어로 */
.hp-hero { padding: 96px 0 88px; text-align: center; background: var(--fl-cream); }
.hp-hero .fl-container { max-width: 900px; }
.hp-hero .hp-title { font-size: clamp(28px, 4vw, 52px); }

/* RSM 소개 */
.hp-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hp-surface { margin: 0; padding: 24px 24px 18px; background: var(--fl-white); border-radius: var(--fl-radius); box-shadow: var(--fl-shadow-lg); }
.hp-surface svg { display: block; width: 100%; height: auto; }
.hp-surface figcaption { margin-top: 10px; font-size: 13px; color: var(--fl-ink-3); text-align: center; }
.hp-surf-shadow { fill: var(--fl-sand); opacity: .7; }
.hp-surf-grid path { stroke: var(--fl-primary); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; opacity: .7; }
.hp-surf-peak { fill: var(--fl-primary); stroke: var(--fl-white); stroke-width: 3; }
.hp-surf-leader { stroke: var(--fl-primary-dark); stroke-width: 1.5; }
.hp-surf-note { font-size: 15px; font-weight: 700; fill: var(--fl-primary-dark); }
.hp-surf-axis { font-size: 14px; font-weight: 600; fill: var(--fl-ink-2); }

/* 비교 */
.hp-cmp { max-width: 980px; margin: 0 auto; border-radius: var(--fl-radius); overflow: hidden; background: var(--fl-white); box-shadow: var(--fl-shadow); }
.hp-cmp-row { display: grid; grid-template-columns: 150px 1fr 1fr; border-top: 1px solid var(--fl-line); }
.hp-cmp-row:first-child { border-top: 0; }
.hp-cmp-row.is-head { background: var(--fl-dark); color: var(--fl-white); font-weight: 700; }
.hp-cmp-row.is-head span { padding: 16px 24px; }
.hp-cmp-row.is-head span:last-child { color: var(--fl-mango-on-dark); }
.hp-cmp-row strong { padding: 22px 24px; background: var(--fl-cream); font-weight: 800; }
.hp-cmp-row p { padding: 22px 24px; font-size: 15px; line-height: 1.65; color: var(--fl-ink-2); }
.hp-cmp-row p.is-new { background: color-mix(in srgb, var(--fl-primary-soft) 55%, var(--fl-white)); color: var(--fl-ink); font-weight: 600; }
.hp-cmp-tag { display: none; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--fl-primary); }

/* 변수 → 결과 */
.hp-flow { display: grid; grid-template-columns: 1.15fr 110px 1fr; gap: 20px; align-items: center; }
.hp-vars, .hp-resps { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.hp-var { display: flex; gap: 18px; padding: 22px 24px; background: color-mix(in srgb, var(--fl-cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--fl-cream) 16%, transparent); border-radius: var(--fl-radius-sm); }
.hp-var-no { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fl-primary); color: var(--fl-white); font-family: var(--fl-font-en); font-weight: 800; }
.hp-var small { font-family: var(--fl-font-en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fl-mango-on-dark); }
.hp-var h4, .hp-resp h4 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; color: var(--fl-white); }
.hp-var p, .hp-resp p { font-size: 14px; line-height: 1.65; color: color-mix(in srgb, var(--fl-cream) 74%, transparent); }
.hp-flow-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hp-flow-mid svg { width: 80px; height: 160px; }
.hp-flow-mid path { stroke: var(--fl-mango-on-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-flow-mid span { font-size: 13px; font-weight: 700; color: var(--fl-mango-on-dark); }
.hp-resp { padding: 22px 24px; background: var(--fl-primary); border-radius: var(--fl-radius-sm); }
.hp-resp p { color: var(--fl-white); opacity: .92; }

/* 3단계 */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.hp-step { position: relative; padding: 40px 30px 34px; background: var(--fl-white); border-radius: var(--fl-radius); box-shadow: var(--fl-shadow); }
.hp-step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -20px; width: 16px; height: 16px; border-top: 3px solid var(--fl-primary); border-right: 3px solid var(--fl-primary); transform: rotate(45deg); }
.hp-step-no { display: block; margin-bottom: 14px; font-family: var(--fl-font-display); font-size: 56px; font-weight: 700; line-height: 1; color: var(--fl-primary-soft); -webkit-text-stroke: 1.5px var(--fl-primary); }
.hp-step h4 { margin-bottom: 10px; font-size: 20px; font-weight: 800; }
.hp-step p { font-size: 15px; line-height: 1.75; color: var(--fl-ink-2); }

/* 품질 목표 */
.hp-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-goal { padding: 34px 28px; background: var(--fl-white); border-radius: var(--fl-radius); box-shadow: var(--fl-shadow); }
.hp-goal-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--fl-primary); color: var(--fl-white); font-size: 12px; font-weight: 700; }
.hp-goal small { display: block; font-family: var(--fl-font-en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fl-ink-3); }
.hp-goal h4 { margin: 4px 0 10px; font-size: 22px; font-weight: 800; }
.hp-goal p { font-size: 15px; line-height: 1.75; color: var(--fl-ink-2); }

/* CTA */
.hp-cta { padding: 70px 0; background: var(--fl-dark); color: var(--fl-white); --fl-focus: var(--fl-white); }
.hp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hp-cta h3 { margin-bottom: 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.hp-cta p { color: color-mix(in srgb, var(--fl-cream) 74%, transparent); }
.hp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media screen and (max-width: 1024px) {
    .hp-sec { padding: 88px 0; }
    .hp-split { grid-template-columns: 1fr; gap: 36px; }
    .hp-flow { grid-template-columns: 1fr; }
    .hp-flow-mid { flex-direction: row; justify-content: center; }
    .hp-flow-mid svg { width: 60px; height: 60px; transform: rotate(90deg); }
    .hp-steps, .hp-goals { grid-template-columns: 1fr; }
    .hp-step:not(:last-child)::after { display: none; }
    .hp-cta-inner { justify-content: center; text-align: center; }
}
@media screen and (max-width: 576px) {
    .hp-sec { padding: 64px 0; }
    .hp-hero { padding: 64px 0; }
    .hp-head { margin-bottom: 36px; }
    .hp-cmp-row { grid-template-columns: 1fr; }
    .hp-cmp-row.is-head { display: none; }
    .hp-cmp-row strong { padding: 14px 18px; }
    .hp-cmp-row p { padding: 14px 18px; }
    .hp-cmp-tag { display: block; }
    .hp-var { padding: 18px; }
    .hp-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
}
