/*
 * fx 모듈 붙이고 떼기(/how/) - 화면 키 how. 접두사 fx-how-. 공용 부품은 n3-common.css.
 * 면: 머리 s0 -> 시연 s1(어두운 관리자 모형 + 밝은 예시 사이트) -> 네 걸음 s0 -> 안전 s2 -> 마지막 CTA s0.
 * 움직임은 transform·opacity 만(조각이 붙을 때 페이드 + 8px 올라옴, 스위치 손잡이 이동).
 */

/* ===== 시연 ===== */
.fx-how-grid{display:grid;gap:20px}
.fx-how-admin__hint{margin-bottom:12px;font-size:15px;color:var(--fx-fg-2)}
.fx-how-admin__list{border-top:1px solid var(--fx-edge)}
.fx-how-admin__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--fx-edge)}
.fx-how-admin__txt{display:grid;gap:2px;min-width:0}
.fx-how-admin__txt strong{font-size:18px;line-height:1.35}
.fx-how-admin__txt span{font-size:15px;line-height:1.5;color:var(--fx-fg-2)}
.fx-how-admin__row.is-on .fx-how-admin__txt strong{color:var(--fx-brand)}

.fx-how-switch{display:inline-flex;align-items:center;gap:12px;flex:none;min-height:44px;padding:0 4px;border-radius:var(--fx-radius-pill);cursor:pointer}
.fx-how-switch__text{min-width:2.4em;text-align:right;font-size:14px;font-weight:700;color:var(--fx-fg-2)}
.fx-how-switch__track{position:relative;display:block;width:52px;height:30px;border-radius:var(--fx-radius-pill);background:var(--fx-card-2);box-shadow:inset 0 0 0 1px var(--fx-edge-strong);transition:background-color .25s var(--fx-ease-std)}
.fx-how-switch__knob{position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:var(--fx-t1);transition:transform .25s var(--fx-ease-out)}
.fx-how-switch[aria-checked="true"] .fx-how-switch__track{background:var(--fx-brand);box-shadow:none}
.fx-how-switch[aria-checked="true"] .fx-how-switch__knob{transform:translateX(22px);background:var(--fx-brand-ink)}
.fx-how-switch[aria-checked="true"] .fx-how-switch__text{color:var(--fx-fg)}

.fx-how-browser__url{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-how-site{display:grid;gap:14px;padding:clamp(16px,2.4vw,28px)}
.fx-how-strip{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:var(--fx-radius-s);background:var(--fx-fg);color:var(--fx-bg);font-size:14px}
.fx-how-shop{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}
.fx-how-photo{display:grid;place-items:center;aspect-ratio:1;border-radius:var(--fx-radius-m);background:var(--fx-bg-2)}
.fx-how-photo i{width:36px;height:36px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--fx-edge-strong)}
.fx-how-shop__txt{display:grid;gap:8px;min-width:0}
.fx-how-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:18px;font-weight:700}
.fx-how-tag{display:none;padding:2px 10px;border-radius:var(--fx-radius-pill);background:var(--fx-brand);color:var(--fx-brand-ink);font-size:13px;font-weight:700}
.fx-how-tag.is-on{display:inline-flex}
.fx-how-price{font-size:20px;font-weight:700}
.fx-how-eg{margin-left:6px;font-size:13px;font-weight:500;color:var(--fx-fg-3)}
.fx-how-blk{display:none}
.fx-how-blk.is-on{display:block;animation:fx-how-in .45s var(--fx-ease-out)}
@keyframes fx-how-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.fx-how-seg{display:grid;grid-template-columns:1fr 1fr;border-radius:var(--fx-radius-pill);box-shadow:inset 0 0 0 1px var(--fx-edge-strong);font-size:15px;font-weight:600;text-align:center}
.fx-how-seg span{padding:10px 8px}
.fx-how-seg span+span{border-radius:var(--fx-radius-pill);background:var(--fx-fg);color:var(--fx-bg)}
.fx-how-gauge p{display:flex;justify-content:space-between;margin-bottom:6px;font-size:14px;font-weight:600}
.fx-how-gauge__bar{height:8px;border-radius:var(--fx-radius-pill);background:var(--fx-bg-2);overflow:hidden}
.fx-how-gauge__bar i{display:block;width:72%;height:100%;background:var(--fx-fg);border-radius:inherit}
.fx-how-paytitle{margin-top:6px;font-size:14px;font-weight:600;color:var(--fx-fg-3)}
.fx-how-pay{display:grid;gap:8px}
.fx-how-method{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--fx-radius-m);box-shadow:inset 0 0 0 1px var(--fx-edge-strong);font-size:16px}
.fx-how-method--on{box-shadow:inset 0 0 0 2px var(--fx-fg)}
.fx-how-radio{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--fx-edge-strong)}
.fx-how-method--on .fx-how-radio{box-shadow:inset 0 0 0 5px var(--fx-fg)}
.fx-how-buy{display:grid;place-items:center;min-height:48px;border-radius:var(--fx-radius-pill);background:var(--fx-fg);color:var(--fx-bg);font-weight:700}
.fx-how-note{grid-column:1/-1;min-height:3.4em;font-size:17px;line-height:1.7;color:var(--fx-fg)}
.fx-how-eg{margin-top:12px}

/* ===== 네 걸음 ===== */
.fx-how-steps__list{display:grid;gap:0;margin-top:clamp(32px,4vw,56px);border-top:1px solid var(--fx-edge-strong)}
.fx-how-steps__i{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 12px;padding:clamp(20px,2.4vw,32px) 0;border-bottom:1px solid var(--fx-edge)}
.fx-how-steps__n{grid-row:1 / span 2;font-size:clamp(28px,3.4vw,44px);font-weight:700;line-height:1.1;letter-spacing:-.03em;color:var(--fx-brand)}
.fx-how-steps__t{font-size:clamp(20px,2vw,26px);line-height:1.35;font-weight:700;letter-spacing:-.02em}
.fx-how-steps__d{max-width:34em;font-size:17px;line-height:1.7;color:var(--fx-fg-2)}

/* ===== 안전 ===== */
.fx-how-safe .fx-n3-split{align-items:end}
.fx-how-safe__d{max-width:30em;color:var(--fx-fg-2)}
.fx-how-safe__a{display:inline-block;padding:10px 2px;margin:-10px 0;color:var(--fx-fg);font-weight:700;text-decoration:underline;text-underline-offset:4px}

@media (min-width:768px){
  .fx-how-steps__i{grid-template-columns:minmax(0,1fr)}
  .fx-how-steps__n{grid-row:auto}
}
@media (min-width:1024px){
  .fx-how-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px 32px;align-items:start}
  .fx-how-steps__list{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 clamp(24px,3vw,40px);border-top:0}
  .fx-how-steps__i{align-content:start;gap:12px;padding:28px 0 0;border-top:1px solid var(--fx-edge-strong);border-bottom:0}
}
@media (prefers-reduced-motion:reduce){
  .fx-how-blk.is-on{animation:none}
  .fx-how-switch__knob,.fx-how-switch__track{transition:none}
}
